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