iap-verifier 1.0.0 → 1.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 +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fceb7ebeab21bcdc0a3524d264cabbf9cdf08cb24722578579f955f0479a30c6
4
- data.tar.gz: c4d109dbb1148f5eac052d5efb5786f2e2e688974bd03a26644c1ba1e3891089
3
+ metadata.gz: 8dca263ae6583b73eefca96d4b1b09f328e38f7aec33d555ef673a664b0e4982
4
+ data.tar.gz: 4b505cf89438196a8e3d2f08d133493817c1f868df157d1279d85cc8a414a40b
5
5
  SHA512:
6
- metadata.gz: ff56babfe74a9b96452f8a09250d9e3d42aabaf73386fd4f5a7069c90a7375d6f97261a3174bbb1867a8eee656be3bd522ee66b294a0ef4a990307ec54248171
7
- data.tar.gz: c36b35f0a8cf8cd46960616b9353f5ababfcb22a504e07771dc406bfd2d27748d4b71601624ae4f154b5726a00b19b5a4512e42fc3d351aff2c84f8513abaca0
6
+ metadata.gz: '083ab73669440331e6817f69374da0678e049dedd9e1b306d6a8f22d46b9c250fb889c3eb11af388a374d31aa3da958125da428e1f584c93b71282df031c46a0'
7
+ data.tar.gz: 73f1b5bb0e7f1644bf4a02e0085b02b72a2e475af9f364f5517205294677ea58d4a18b58cc73b68b7fccfdebb54f79a6c39c6817ccda350be29f5a8927d0d6fb
@@ -62,7 +62,7 @@ module Rack
62
62
  cached_key = public_keys[kid]
63
63
  return cached_key if cached_key
64
64
 
65
- @public_keys = JSON.parse(open(PUBLIC_KEYS_ENDPOINT).read)
65
+ @public_keys = JSON.parse(URI.open(PUBLIC_KEYS_ENDPOINT).read)
66
66
 
67
67
  cached_key = public_keys[kid]
68
68
  return cached_key if cached_key
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: 1.0.0
4
+ version: 1.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-02-15 00:00:00.000000000 Z
13
+ date: 2022-03-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack