http_signature 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/http_signature.gemspec +1 -1
- data/lib/http_signature/rack.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33793ff4276cb6c366f88d15abb0e38b69cdb468
|
4
|
+
data.tar.gz: cde3efe53a20f5ef8a94c2ed21b9341300f4ed76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88cf8f428a7bafd0971b4e8d0650c8b9ee15c8f74794347afa7cdaed32da0462468f4a7f1471f1f4578886009801a822dcf990481d859dac5fa3e9b65e2e8630
|
7
|
+
data.tar.gz: 516d8a279e8a340df3e2aae7e8b1bd313229dd8e8643c81bda7caea37e321d1e812e692afabe2b4535281c6c35970b2b62286ffdd07178fa5a57ca2c63d0c72f
|
data/Gemfile.lock
CHANGED
data/http_signature.gemspec
CHANGED
data/lib/http_signature/rack.rb
CHANGED
@@ -79,8 +79,10 @@ class HTTPSignature::Rack
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def path_excluded?(path)
|
82
|
-
self.class.exclude_paths.map do |exclude_path|
|
82
|
+
matches = self.class.exclude_paths.map do |exclude_path|
|
83
83
|
path.match(exclude_path).present?
|
84
|
-
end
|
84
|
+
end
|
85
|
+
|
86
|
+
matches.select { |v| v == true }.length.positive?
|
85
87
|
end
|
86
88
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http_signature
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Larsson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|