Sha256: ba1c0c22b260956e766463f84b4c1377ef68d05e8667900ee51ca30af39a7fac

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "jsmestad-chargify"
    gem.summary = %Q{Ruby wrapper for the Chargify API}
    gem.email = "justin.smestad@gmail.com"
    gem.homepage = "http://github.com/jsmestad/chargify"
    gem.authors = ["Wynn Netherland", "Justin Smestad"]

    gem.add_dependency('httparty', '~> 0.6.1')
    gem.add_dependency('hashie', '~> 0.1.8')
    gem.add_dependency('json')
    gem.add_dependency('active_support', '>= 3.0.0')
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

desc "Run all examples using rcov"
RSpec::Core::RakeTask.new :rcov => :cleanup_rcov_files do |t|
  t.rcov = true
  t.rcov_opts =  %[-Ilib -Ispec --exclude "mocks,expectations,gems/*,spec/resources,spec/lib,spec/spec_helper.rb,db/*,/Library/Ruby/*,config/*"]
  t.rcov_opts << %[--no-html --aggregate coverage.data]
end

task :default => :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jsmestad-chargify-0.3.2 Rakefile