http_signature 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e856db84d163534a1f63dda575f6638f3a0a176
4
- data.tar.gz: a0f25862111f95abf82f598902f928acfd62d3e5
3
+ metadata.gz: 96bbb6b5351fbe8dd09acdc5bb4097fb9f1e61cd
4
+ data.tar.gz: 991f6688e309f5eda0566018f7228d20234c2b0f
5
5
  SHA512:
6
- metadata.gz: 3a9b3e8636cc8c1689c47016fcfe271b4b2bca8bf618045894750efa695295ead602a33daa75b085647b8cf7a2d2833eba158d2bffb562bb4fdca94c4d81cbe6
7
- data.tar.gz: 68027c22824a7d0468e57d287d00f5fd087861c03ca9637e356630d5f7f9cc0e498a6011d7e3600c24af9d17a1ba2cf930bf87c71d5d6a38b86b4f6a11c48aae
6
+ metadata.gz: 5eece9d663a92b5d9021d36d22d733c1dcf349679fc86ad79d4267bd1672bc8d238a5a4b286c27037be5388576ec56588e9b704036a5e69193e17414281d08f2
7
+ data.tar.gz: b3f23307b691d673dd70b98f8ce06e1c7a43f36c2db99ba0d521c04ab36a8b69750840cffe7044d49fba7c0099e790d65dbaedc03747f15ea2e22a27250de4a9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- http_signature (0.0.5)
4
+ http_signature (0.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'http_signature'
6
- spec.version = '0.0.5'
6
+ spec.version = '0.0.6'
7
7
  spec.authors = ['Joel Larsson']
8
8
  spec.email = ['bolmaster2@gmail.com']
9
9
 
@@ -79,6 +79,8 @@ class HTTPSignature::Rack
79
79
  end
80
80
 
81
81
  def path_excluded?(path)
82
- self.class.exclude_paths.include?(path)
82
+ self.class.exclude_paths.map do |exclude_path|
83
+ path.match(exclude_path).present?
84
+ end.compact.length.positive?
83
85
  end
84
86
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_signature
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Larsson