Permalink
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 903 Bytes
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 = 'martijn@thenextweb.com'
gemspec.homepage = 'http://github.com/martijnsch/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 = ['Martijn Scheijbeler, Christopher Le, et all']
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