iap-verifier 2.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rack/iap_verifier.rb +1 -1
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a24ffa0907fe59feef78b1d247e9c12bffbee4f4407dab41b93dbf17863d2905
4
- data.tar.gz: a89b8370d381c4e09fcce54edd4f65c13b499a22e428283ed27ad4c5812466e4
3
+ metadata.gz: '09aca8072a469b76210475732aa044e3aef9cd56be9fd9fe4037fe94e45b92a9'
4
+ data.tar.gz: 75dd359381c3803dcb67acfdc288c1d87608282d06679353060506a24d6f024e
5
5
  SHA512:
6
- metadata.gz: 403a0bd2f1af7a98f2c23ef842927ff3b5c3b45943f30413346dcf13813983d1b7d7e77197caf2421cfe919c9c41b24b3e90a57949f7fc2472591283c8a61322
7
- data.tar.gz: 68dd413a07e49afd2867d58a5639f9f246e0e8ae0bf75dce175bf6d3b05f15895edfc3d70a50f27d1cd7a99be4d76d3d99f1e7cc36b96ea24621f8a24235c6e8
6
+ metadata.gz: 3a5fb7efabafc0b371e83ead82f31ec2e72ede01aedd8153ebe7d464590140650cf8a9602bc241aedba64e4390159cb57555e0d692f1dab6ae228a06ac07b57e
7
+ data.tar.gz: 603932c0925287a9dfe5ae303a18f8428d32cb292fc3418f91f804c52a87b17ce212fdfac0df3f91d8d8b7994ad53a31151daf2b4f05958a63388ac7544ab87b
@@ -34,7 +34,7 @@ module Rack
34
34
  end
35
35
 
36
36
  def skip_path?(env)
37
- skip_paths&.match?(env['PATH_INFO'])
37
+ skip_paths&.match?("#{env['SERVER_NAME']}#{env['PATH_INFO']}")
38
38
  end
39
39
 
40
40
  def valid_jwt?(token)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iap-verifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dawid.janczak@yourgolftravel.com
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-11-18 00:00:00.000000000 Z
13
+ date: 2023-05-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '1.15'
21
+ version: 2.4.0
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '1.15'
28
+ version: 2.4.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rack
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -46,14 +46,14 @@ dependencies:
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '10.0'
49
+ version: '13.0'
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: '10.0'
56
+ version: '13.0'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: rspec
59
59
  requirement: !ruby/object:Gem::Requirement