rack-protection 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/rack-protection.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05fc5bb37ba46f92e6546fdbfaa57ca4c82edc67567bed960cdaf4de5cca3fa3
|
4
|
+
data.tar.gz: 2790e639e1e9dbdf698e13a0df81c39b406dc8571c1d012fc0fae0600b3086c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eb5a3f954059b911c4da2639539465b4b149572d9848a770e587ee9ee7a615080fc79a8aa640ea69669cb2278df1cdef6ea56d22002f7970c4de5a448fc2014
|
7
|
+
data.tar.gz: 24078381a4cfcf82813a499c07528bd659aad08db324690f13d2800888fde9352eab9a51509f5c38c3312cdcff0e463ac3a29f073f8793d77e2348ed6406c09b
|
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ gem 'rake'
|
|
7
7
|
|
8
8
|
rack_version = ENV['rack'].to_s
|
9
9
|
rack_version = nil if rack_version.empty? || (rack_version == 'stable')
|
10
|
-
rack_version = { github: 'rack/rack' } if rack_version == '
|
10
|
+
rack_version = { github: 'rack/rack' } if rack_version == 'main'
|
11
11
|
gem 'rack', rack_version
|
12
12
|
|
13
13
|
gem 'sinatra', path: '..'
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'rack/protection'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-protection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://github.com/sinatra/sinatra/graphs/contributors
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- License
|
64
64
|
- README.md
|
65
65
|
- Rakefile
|
66
|
+
- lib/rack-protection.rb
|
66
67
|
- lib/rack/protection.rb
|
67
68
|
- lib/rack/protection/authenticity_token.rb
|
68
69
|
- lib/rack/protection/base.rb
|