2011-05-23 10:07:54 +02:00
|
|
|
# Run `rake rack-protection.gemspec` to update the gemspec.
|
|
|
|
Gem::Specification.new do |s|
|
|
|
|
# general infos
|
|
|
|
s.name = "rack-protection"
|
2011-09-03 16:59:36 -06:00
|
|
|
s.version = "1.1.0"
|
2011-05-23 10:07:54 +02:00
|
|
|
s.description = "You should use protection!"
|
|
|
|
s.homepage = "http://github.com/rkh/rack-protection"
|
|
|
|
s.summary = s.description
|
|
|
|
|
|
|
|
# generated from git shortlog -sn
|
|
|
|
s.authors = [
|
2011-09-02 13:45:05 -06:00
|
|
|
"Konstantin Haase",
|
|
|
|
"Corey Ward",
|
|
|
|
"Fojas"
|
2011-05-23 10:07:54 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
# generated from git shortlog -sne
|
|
|
|
s.email = [
|
2011-09-02 13:45:05 -06:00
|
|
|
"konstantin.mailinglists@googlemail.com",
|
|
|
|
"coreyward@me.com",
|
|
|
|
"developer@fojasaur.us"
|
2011-05-23 10:07:54 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
# generated from git ls-files
|
|
|
|
s.files = [
|
|
|
|
"License",
|
|
|
|
"README.md",
|
|
|
|
"Rakefile",
|
|
|
|
"lib/rack-protection.rb",
|
|
|
|
"lib/rack/protection.rb",
|
2011-06-20 15:49:38 +02:00
|
|
|
"lib/rack/protection/authenticity_token.rb",
|
|
|
|
"lib/rack/protection/base.rb",
|
|
|
|
"lib/rack/protection/escaped_params.rb",
|
|
|
|
"lib/rack/protection/form_token.rb",
|
|
|
|
"lib/rack/protection/frame_options.rb",
|
|
|
|
"lib/rack/protection/ip_spoofing.rb",
|
|
|
|
"lib/rack/protection/json_csrf.rb",
|
|
|
|
"lib/rack/protection/path_traversal.rb",
|
|
|
|
"lib/rack/protection/remote_referrer.rb",
|
|
|
|
"lib/rack/protection/remote_token.rb",
|
|
|
|
"lib/rack/protection/session_hijacking.rb",
|
2011-05-23 10:07:54 +02:00
|
|
|
"lib/rack/protection/version.rb",
|
2011-06-20 15:49:38 +02:00
|
|
|
"lib/rack/protection/xss_header.rb",
|
2011-05-23 10:07:54 +02:00
|
|
|
"rack-protection.gemspec",
|
2011-06-20 15:49:38 +02:00
|
|
|
"spec/authenticity_token_spec.rb",
|
|
|
|
"spec/escaped_params_spec.rb",
|
|
|
|
"spec/form_token_spec.rb",
|
|
|
|
"spec/frame_options_spec.rb",
|
|
|
|
"spec/ip_spoofing_spec.rb",
|
|
|
|
"spec/json_csrf_spec.rb",
|
|
|
|
"spec/path_traversal_spec.rb",
|
|
|
|
"spec/protection_spec.rb",
|
|
|
|
"spec/remote_referrer_spec.rb",
|
|
|
|
"spec/remote_token_spec.rb",
|
|
|
|
"spec/session_hijacking_spec.rb",
|
|
|
|
"spec/spec_helper.rb",
|
|
|
|
"spec/xss_header_spec.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"
|
2011-05-23 10:07:54 +02:00
|
|
|
s.add_development_dependency "rspec", "~> 2.0"
|
|
|
|
end
|