2016-08-22 16:54:35 +00:00
|
|
|
$:.unshift File.expand_path("../../rack-protection/lib", __FILE__)
|
|
|
|
require "rack/protection/version"
|
2016-08-22 14:08:23 +00:00
|
|
|
|
2011-05-23 08:07:54 +00:00
|
|
|
Gem::Specification.new do |s|
|
|
|
|
# general infos
|
|
|
|
s.name = "rack-protection"
|
2016-08-22 16:54:35 +00:00
|
|
|
s.version = Rack::Protection::VERSION
|
2016-08-22 14:08:23 +00:00
|
|
|
s.description = "Protect against typical web attacks, works with all Rack apps, including Rails."
|
2017-03-04 18:29:06 +00:00
|
|
|
s.homepage = "http://github.com/sinatra/sinatra/tree/master/rack-protection"
|
2011-05-23 08:07:54 +00:00
|
|
|
s.summary = s.description
|
2013-10-21 09:34:40 +00:00
|
|
|
s.license = 'MIT'
|
2017-03-19 03:07:18 +00:00
|
|
|
s.authors = ["https://github.com/sinatra/sinatra/graphs/contributors"]
|
|
|
|
s.email = "sinatrarb@googlegroups.com"
|
|
|
|
s.files = Dir["lib/**/*.rb"] + [
|
2011-05-23 08:07:54 +00:00
|
|
|
"License",
|
|
|
|
"README.md",
|
|
|
|
"Rakefile",
|
2016-07-25 07:57:04 +00:00
|
|
|
"Gemfile",
|
2017-03-17 21:43:09 +00:00
|
|
|
"rack-protection.gemspec"
|
2011-05-23 08:07:54 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# dependencies
|
|
|
|
s.add_dependency "rack"
|
2011-05-23 15:36:16 +00:00
|
|
|
s.add_development_dependency "rack-test"
|
2014-09-02 23:57:09 +00:00
|
|
|
s.add_development_dependency "rspec", "~> 3.0.0"
|
2011-05-23 08:07:54 +00:00
|
|
|
end
|