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