keratin-authn 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41e0f6b3be694546e1b0d6d6c0fc7edc59c31b92
4
- data.tar.gz: ea05eb73430755ffe1c1206d3a05f4450b760a9c
3
+ metadata.gz: 26792097cc800060345fe082b39cb723fe81545f
4
+ data.tar.gz: 58f5ecd4e08a125fb65c338beecbd28cf3665d19
5
5
  SHA512:
6
- metadata.gz: 1ce29627b9490406232318c6c7aa1c8ba5487cb25fe3a156a96829668f3d4daf38050b28a7c7d9e56c5235dd2e3d0f0fa7c0b888b88d0ead76e2bd9fb402c221
7
- data.tar.gz: d1dc214b9a05d61814238ac04763da77d1ac88679da02866d3ca7851c30098ae6eb5fbd92a9f4b48a14076dee86d2f887c648dde9439655793b0c3e9c78dad8f
6
+ metadata.gz: 2187cd129222281b93945b2a02518cb972bdc76636c436dc3fe64bebcd6e747540e2afe4b4f4bee0dfef57014e75207750fa3420d3e1712d6ddd9ef27e5eef54
7
+ data.tar.gz: 1e6dfbb0044a45dc438d84b6dae4fa7fdacaca4ca67ca87b3da78b37b7571c7892bfab48baf2bb063193fe41f9168f22f30ae3fcd767d68251111f8806f455b5
@@ -38,7 +38,9 @@ module Keratin::AuthN
38
38
 
39
39
  private def keys
40
40
  JSON::JWK::Set.new(
41
- get(path: URI.parse(configuration['jwks_uri']).path).data
41
+ JSON.parse(
42
+ Net::HTTP.get(URI.parse(configuration['jwks_uri']))
43
+ )
42
44
  )
43
45
  end
44
46
  end
@@ -1,5 +1,5 @@
1
1
  module Keratin # rubocop:disable Style/ClassAndModuleChildren
2
2
  module AuthN
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keratin-authn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lance Ivy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-16 00:00:00.000000000 Z
11
+ date: 2017-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-jwt