Sha256: 3af1bf1ba9547f5962c5168b6170b01389c79a6508e0dcb9f35ebbc331ca104c

Contents?: true

Size: 1.45 KB

Versions: 16

Compression:

Stored size: 1.45 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "prop"
    gem.summary = %Q{Puts a cork in their requests}
    gem.description = %Q{A gem for implementing rate limiting}
    gem.email = "morten@zendesk.com"
    gem.homepage = "http://github.com/morten/prop"
    gem.authors = ["Morten Primdahl"]
    gem.add_development_dependency "shoulda", ">= 0"
    gem.add_development_dependency "mocha", ">= 0.9.8"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  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 = "prop #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
glebpom-prop-0.0.4 Rakefile
glebpom-prop-0.0.3 Rakefile
glebpom-prop-0.0.2 Rakefile
glebpom-prop-0.0.1 Rakefile
prop-0.6.3 Rakefile
prop-0.6.2 Rakefile
prop-0.6.1 Rakefile
prop-0.6.0 Rakefile
prop-0.5.1 Rakefile
prop-0.4.1 Rakefile
prop-0.3.6 Rakefile
prop-0.3.5 Rakefile
prop-0.3.4 Rakefile
prop-0.3.3 Rakefile
prop-0.3.2 Rakefile
prop-0.3.1 Rakefile