forked from er1c/gattica
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Rakefile
24 lines (22 loc) · 920 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'rake'
require 'rake/testtask'
require 'rake/task'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "gattica"
gemspec.summary = "Gattica is a easy to use Ruby Gem for getting data from the Google Analytics API."
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/chrisle/gattica"
gemspec.description = "Gattica is a easy to use Ruby Gem for getting data from the Google Analytics API. It supports metrics, dimensions, sort, filters, goals, and segments. It can handle accounts with 1000+ profiles, and can return data in CSV, Hash, or JSON"
gemspec.authors = ["Christopher Le, et all"]
gemspec.add_dependency 'hpricot'
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = 'test/**/test_*.rb'
t.verbose = false
end