Sha256: 29cfe52d888a88d6696914aefccffb0508b8e51b02537010cad21946e16b7b30

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

require 'rake'
require 'rake/rdoctask'
require "bundler"
Bundler.setup

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

require 'rspec'
require "rspec/core/rake_task"
Rspec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
end

Rspec::Core::RakeTask.new(:rcov) do |spec|
  # spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

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

1 entries across 1 versions & 1 rubygems

Version Path
sproutbox-mousetrap-0.6.4 Rakefile