keratin-authn 0.5.0 → 0.5.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: ad2249f2cb34275c7f28c5f0bb163f62a2c7140e
4
- data.tar.gz: 74d562ac45f801426514cff133ca41ec5cb33a35
3
+ metadata.gz: 5d2d826dd40be664ad919a13a8dd52e7284017d5
4
+ data.tar.gz: df99c6ea9df6465def2e65266af262c1a2d1ffd0
5
5
  SHA512:
6
- metadata.gz: 01476b8e1ce1b963665aae57c308fe2035a87ce51b681f2eb5f7143f874965efcd349bb60000692749769fc9884f819670a270f4cac1d9349706810f86f9541c
7
- data.tar.gz: 0532c690abb32c73675a60ab6418d831d7360378ecb690c585bbe0e373d03f3ca53ce75160beea130130b69347e387d2197ffdba9d62639ff63fb656bd6485bf
6
+ metadata.gz: 90cedee1587bd5585083cfe535a31d2788b1682e0ca12be2da50dd06fe1386706e5cac6b3613b1c6daf0bb81132d0806aa9c21251b0696b274a90e3625b0874f
7
+ data.tar.gz: 8c9ead274600d3d4ecbcb222a14356bb9b954942241e1a3d6d1fac6fd4ac8e1f3f22f07addc9f67dd467c01b9cb2b9c74b306a6880ebc28580bcdc762ca4d732
@@ -43,7 +43,7 @@ module Keratin::AuthN
43
43
  end
44
44
 
45
45
  def token_for_us?
46
- jwt[:aud] == @audience
46
+ Array(jwt[:aud]).include? @audience
47
47
  end
48
48
 
49
49
  def token_fresh?
@@ -1,5 +1,5 @@
1
1
  module Keratin # rubocop:disable Style/ClassAndModuleChildren
2
2
  module AuthN
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.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.5.0
4
+ version: 0.5.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-06-22 00:00:00.000000000 Z
11
+ date: 2017-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-jwt
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  version: '0'
185
185
  requirements: []
186
186
  rubyforge_project:
187
- rubygems_version: 2.5.1
187
+ rubygems_version: 2.6.13
188
188
  signing_key:
189
189
  specification_version: 4
190
190
  summary: Client gem for keratin/authn service.