iap-verifier 2.0.0 → 3.0.0

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: 53065cbf4e8a2edee1bf850736e74515ec0563ed368cd402c10059311e5b11ee
4
+ data.tar.gz: b7d3baba415a4a44dadf9a1fd0875ec8a95aab0bcc3bda7974a8955994cce4cd
5
5
  SHA512:
6
- metadata.gz: 403a0bd2f1af7a98f2c23ef842927ff3b5c3b45943f30413346dcf13813983d1b7d7e77197caf2421cfe919c9c41b24b3e90a57949f7fc2472591283c8a61322
7
- data.tar.gz: 68dd413a07e49afd2867d58a5639f9f246e0e8ae0bf75dce175bf6d3b05f15895edfc3d70a50f27d1cd7a99be4d76d3d99f1e7cc36b96ea24621f8a24235c6e8
6
+ metadata.gz: 55ab2a799dab3a6817ff9f10f0f5cae517ccb69ebcf84d381033c3954716f50519b6fce8d032b6b733bac77b6148f0e6d380dc5467cc6cebf327392173cd10a8
7
+ data.tar.gz: 4910995d56e61c8068538000f3c106f8db874b62a6fd8dea9bd523e02ae0c3fb0e8c52246da4057de8dc826f8fc3e8c1bddd34307565b85fb828ee7fb1538944
@@ -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.0
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-12 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