sinatra/rack-protection/rack-protection.gemspec

26 lines
797 B
Ruby
Raw Normal View History

version = File.read(File.expand_path("../../VERSION", __FILE__)).strip
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"
s.version = version
2016-08-22 14:08:23 +00:00
s.description = "Protect against typical web attacks, works with all Rack apps, including Rails."
s.homepage = "http://www.sinatrarb.com/protection/"
2011-05-23 08:07:54 +00:00
s.summary = s.description
2013-10-21 09:34:40 +00:00
s.license = 'MIT'
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",
"Gemfile",
"rack-protection.gemspec"
2011-05-23 08:07:54 +00:00
]
# dependencies
s.add_dependency "rack"
s.add_development_dependency "rack-test"
s.add_development_dependency "rspec", "~> 3.6"
2011-05-23 08:07:54 +00:00
end