Sha256: b03e31a9a3d0d4e934c2ee9e11d83c9b3a18f7c1e3057c31f31b7570ab70f946

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "ryanwood-mousetrap"
    gem.summary = %Q{CheddarGetter API Client in Ruby}
    gem.description = %Q{CheddarGetter API Client in Ruby}
    gem.email = "ryan.wood@gmail.com"
    gem.homepage = "http://github.com/ryanwood/mousetrap"
    gem.authors = ["Jon Larkowski", "Sandro Turriate", "Wolfram Arnold", "Corey Grusden", "Cameron Cox", "Ryan Wood"]
    gem.add_dependency 'httparty', '>= 0.4.2'
    gem.add_development_dependency "activesupport", '>= 2.3.3'
    gem.add_development_dependency "rspec", '>= 1.2.9'
    gem.add_development_dependency 'factory_girl', '>= 1.2.3'
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.spec_opts = ['--options', 'spec/spec.opts']
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ryanwood-mousetrap-0.5.7 Rakefile
ryanwood-mousetrap-0.5.6 Rakefile