rack-protection 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rack/protection/version.rb +1 -1
- data/rack-protection.gemspec +16 -1
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8ba8ecb030aad36c1a4040127ba75e64a74e9847
|
4
|
+
data.tar.gz: e7df95e4a9af97f0238a4300e7521392ddea7e9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7219e1d495145c0d17135c4f4ac70125a8d412d65dbcf41cc9f016aa24efede04562998e6f665b4b7b81574f17859a5a46a3f48dee113fd90fc13e307119c77f
|
7
|
+
data.tar.gz: 8383207347526acb829901e6fe179f124c9c802054b99e9d5a3935cc52283cf822bb5058e5229beb777589e33dda210f75848964aaa94ce2211d182dcf237e8f
|
data/rack-protection.gemspec
CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
|
|
5
5
|
s.name = "rack-protection"
|
6
6
|
s.version = version
|
7
7
|
s.description = "Protect against typical web attacks, works with all Rack apps, including Rails."
|
8
|
-
s.homepage = "http://
|
8
|
+
s.homepage = "http://sinatrarb.com/protection/"
|
9
9
|
s.summary = s.description
|
10
10
|
s.license = 'MIT'
|
11
11
|
s.authors = ["https://github.com/sinatra/sinatra/graphs/contributors"]
|
@@ -18,6 +18,21 @@ Gem::Specification.new do |s|
|
|
18
18
|
"rack-protection.gemspec"
|
19
19
|
]
|
20
20
|
|
21
|
+
if s.respond_to?(:metadata)
|
22
|
+
s.metadata = {
|
23
|
+
'source_code_uri' => 'https://github.com/sinatra/sinatra/tree/master/rack-protection',
|
24
|
+
'homepage_uri' => 'http://sinatrarb.com/protection/',
|
25
|
+
'documentation_uri' => 'https://www.rubydoc.info/gems/rack-protection'
|
26
|
+
}
|
27
|
+
else
|
28
|
+
raise <<-EOF
|
29
|
+
RubyGems 2.0 or newer is required to protect against public gem pushes. You can update your rubygems version by running:
|
30
|
+
gem install rubygems-update
|
31
|
+
update_rubygems:
|
32
|
+
gem update --system
|
33
|
+
EOF
|
34
|
+
end
|
35
|
+
|
21
36
|
# dependencies
|
22
37
|
s.add_dependency "rack"
|
23
38
|
s.add_development_dependency "rack-test"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-protection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://github.com/sinatra/sinatra/graphs/contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -83,10 +83,13 @@ files:
|
|
83
83
|
- lib/rack/protection/version.rb
|
84
84
|
- lib/rack/protection/xss_header.rb
|
85
85
|
- rack-protection.gemspec
|
86
|
-
homepage: http://
|
86
|
+
homepage: http://sinatrarb.com/protection/
|
87
87
|
licenses:
|
88
88
|
- MIT
|
89
|
-
metadata:
|
89
|
+
metadata:
|
90
|
+
source_code_uri: https://github.com/sinatra/sinatra/tree/master/rack-protection
|
91
|
+
homepage_uri: http://sinatrarb.com/protection/
|
92
|
+
documentation_uri: https://www.rubydoc.info/gems/rack-protection
|
90
93
|
post_install_message:
|
91
94
|
rdoc_options: []
|
92
95
|
require_paths:
|
@@ -103,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
106
|
version: '0'
|
104
107
|
requirements: []
|
105
108
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
109
|
+
rubygems_version: 2.6.8
|
107
110
|
signing_key:
|
108
111
|
specification_version: 4
|
109
112
|
summary: Protect against typical web attacks, works with all Rack apps, including
|