2016-08-22 23:49:54 +09:00
|
|
|
$:.unshift File.expand_path("../../lib", __FILE__)
|
2016-08-22 23:08:23 +09:00
|
|
|
require "sinatra/version"
|
|
|
|
|
2011-05-23 10:07:54 +02:00
|
|
|
Gem::Specification.new do |s|
|
|
|
|
# general infos
|
|
|
|
s.name = "rack-protection"
|
2016-08-22 23:08:23 +09:00
|
|
|
s.version = Sinatra::VERSION
|
|
|
|
s.description = "Protect against typical web attacks, works with all Rack apps, including Rails."
|
2015-03-28 09:58:24 +01:00
|
|
|
s.homepage = "http://github.com/sinatra/rack-protection"
|
2011-05-23 10:07:54 +02:00
|
|
|
s.summary = s.description
|
2013-10-21 11:34:40 +02:00
|
|
|
s.license = 'MIT'
|
2011-05-23 10:07:54 +02:00
|
|
|
|
|
|
|
# generated from git shortlog -sn
|
|
|
|
s.authors = [
|
2011-09-02 13:45:05 -06:00
|
|
|
"Konstantin Haase",
|
2016-07-25 16:57:04 +09:00
|
|
|
"Maurizio De Santis",
|
2012-12-10 16:50:39 +01:00
|
|
|
"Alex Rodionov",
|
2014-04-08 10:56:31 -04:00
|
|
|
"Jason Staten",
|
2016-07-25 16:57:04 +09:00
|
|
|
"Patrick Ellis",
|
2013-10-21 11:41:16 +02:00
|
|
|
"ITO Nobuaki",
|
2014-01-15 10:36:59 +01:00
|
|
|
"Jeff Welling",
|
2014-04-08 10:56:31 -04:00
|
|
|
"Matteo Centenaro",
|
2016-07-25 16:57:04 +09:00
|
|
|
"Akzhan Abdulin",
|
|
|
|
"Alan deLevie",
|
|
|
|
"Bj\u{f8}rge N\u{e6}ss",
|
|
|
|
"Chris Heald",
|
|
|
|
"Chris Mytton",
|
|
|
|
"Corey Ward",
|
|
|
|
"Dario Cravero",
|
|
|
|
"David Kellum",
|
2013-03-01 15:55:54 +11:00
|
|
|
"Egor Homakov",
|
2013-03-13 07:39:42 +01:00
|
|
|
"Florian Gilcher",
|
2011-12-30 13:07:33 +01:00
|
|
|
"Fojas",
|
2014-04-08 10:56:31 -04:00
|
|
|
"Igor Bochkariov",
|
2016-07-25 16:57:04 +09:00
|
|
|
"Josef Stribny",
|
|
|
|
"Katrina Owen",
|
2012-12-10 16:50:39 +01:00
|
|
|
"Mael Clerambault",
|
|
|
|
"Martin Mauch",
|
2014-01-15 10:36:59 +01:00
|
|
|
"Renne Nissinen",
|
2012-12-10 16:50:39 +01:00
|
|
|
"SAKAI, Kazuaki",
|
|
|
|
"Stanislav Savulchik",
|
|
|
|
"Steve Agalloco",
|
|
|
|
"TOBY",
|
2014-04-08 10:56:31 -04:00
|
|
|
"Thais Camilo and Konstantin Haase",
|
2014-01-15 10:36:59 +01:00
|
|
|
"Vipul A M",
|
2016-07-25 16:57:04 +09:00
|
|
|
"Zachary Scott",
|
|
|
|
"ashley williams",
|
|
|
|
"brookemckim"
|
2011-05-23 10:07:54 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
# generated from git shortlog -sne
|
|
|
|
s.email = [
|
2016-07-25 16:57:04 +09:00
|
|
|
"mail@zzak.io",
|
|
|
|
"konstantin.haase@gmail.com"
|
2011-05-23 10:07:54 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
# generated from git ls-files
|
|
|
|
s.files = [
|
|
|
|
"License",
|
|
|
|
"README.md",
|
|
|
|
"Rakefile",
|
2016-07-25 16:57:04 +09:00
|
|
|
"Gemfile",
|
|
|
|
"rack-protection.gemspec",
|
|
|
|
"lib/rack",
|
|
|
|
"lib/rack/protection",
|
2011-06-20 15:49:38 +02:00
|
|
|
"lib/rack/protection/escaped_params.rb",
|
|
|
|
"lib/rack/protection/remote_referrer.rb",
|
2016-07-25 16:57:04 +09:00
|
|
|
"lib/rack/protection/ip_spoofing.rb",
|
|
|
|
"lib/rack/protection/base.rb",
|
2011-06-20 15:49:38 +02:00
|
|
|
"lib/rack/protection/session_hijacking.rb",
|
2016-07-25 16:57:04 +09:00
|
|
|
"lib/rack/protection/authenticity_token.rb",
|
2011-05-23 10:07:54 +02:00
|
|
|
"lib/rack/protection/version.rb",
|
2016-07-25 16:57:04 +09:00
|
|
|
"lib/rack/protection/path_traversal.rb",
|
|
|
|
"lib/rack/protection/form_token.rb",
|
|
|
|
"lib/rack/protection/json_csrf.rb",
|
|
|
|
"lib/rack/protection/http_origin.rb",
|
|
|
|
"lib/rack/protection/frame_options.rb",
|
2011-06-20 15:49:38 +02:00
|
|
|
"lib/rack/protection/xss_header.rb",
|
2016-07-25 16:57:04 +09:00
|
|
|
"lib/rack/protection/remote_token.rb",
|
|
|
|
"lib/rack/protection.rb",
|
|
|
|
"lib/rack-protection.rb"
|
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"
|
2014-09-03 01:57:09 +02:00
|
|
|
s.add_development_dependency "rspec", "~> 3.0.0"
|
2011-05-23 10:07:54 +02:00
|
|
|
end
|