This commit is contained in:
Aaron Suggs 2012-07-26 18:44:24 -04:00
parent 9284a08cc3
commit c22c33f9ec
3 changed files with 12 additions and 2 deletions

9
Rakefile Normal file
View file

@ -0,0 +1,9 @@
require "rubygems"
require "bundler/setup"
require 'rake/testtask'
Rake::TestTask.new do |t|
t.pattern = "spec/*_spec.rb"
end
task :default => :test

View file

@ -1,5 +1,5 @@
module Rack
module Attack
VERSION = '0.0.1'
VERSION = '0.0.2'
end
end

View file

@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.description = "A flexible rack middleware for throttling and blocking requests"
s.email = "aaron@ktheory.com"
s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE README.md)
s.files = Dir.glob("{bin,lib}/**/*") + %w(Rakefile LICENSE README.md)
s.homepage = 'http://github.com/kickstarter/rack-attack'
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
@ -24,6 +24,7 @@ Gem::Specification.new do |s|
s.add_dependency 'rack'
s.add_development_dependency 'minitest'
s.add_development_dependency 'rack-test'
s.add_development_dependency 'rake'
s.add_development_dependency 'activesupport', '>= 3.0.0'
s.add_development_dependency 'debugger', '~> 1.1.3'
end