Sha256: 32f6f3bc62a3f010d54cadbabeb123e19c86b8a7b6648d29a37d4740a8d5b96f

Contents?: true

Size: 1.53 KB

Versions: 6

Compression:

Stored size: 1.53 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "sfanalytics"
    gem.summary = %Q{Google Analytics Gem}
    gem.description = %Q{
        SFanalytics provides Google Analytics for your app. Probably only really
        useful for Ecommerce users of analytics, to provide the functionality to add
        the order items to your transactions for tracking in Analytics.
      }
    gem.email = "graeme.lawton@setfiremedia.com"
    gem.homepage = "http://github.com/graemel/sfanalytics"
    gem.authors = ["Graeme Lawton"]
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "sfanalytics #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sfanalytics-0.2.16 Rakefile
sfanalytics-0.2.15 Rakefile
sfanalytics-0.2.13 Rakefile
sfanalytics-0.2.1 Rakefile
sfanalytics-0.2.0 Rakefile
sfanalytics-0.1.0 Rakefile