jwt-authenticator 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: 0aaf041548d6b16756d9cadbccf38afa83f5eeaaa7954bc41f00c9a99c21ce12
4
- data.tar.gz: 1e796bbd42368f5c76fbfe31416b847ebd983e76aa664cd051a8aedf119be754
3
+ metadata.gz: 1594405585a9b9ca3a4aabbc78009933f4b2fb61a9b2603859e94e0fb5bc405e
4
+ data.tar.gz: 5367a7f47901e011873617629f9ad7fa19cf105683b77e62ebaf2243e00bf42d
5
5
  SHA512:
6
- metadata.gz: a420c305744cb0e49dd685e9f572b5f2dc374e1fa0101fb836ae6440861f70113db30ba9ffca205aeaa584a5c5e579e3db23a7922abf731c673ef8cd20c84797
7
- data.tar.gz: 336e1dccc210c359c7e94995eda94c24c45ce0a038287f82e1349deae4252a053f692dedb00dd251fc638191cff0f24118d49977564441a84f5be4dacede205c
6
+ metadata.gz: 1c65456b9315075410754af88b86695408d59cd65d8cc3a1d6c359565673fde288e7888eb6a8d306ce1dc6f091c6748772ce78071620bf363058a7a3d8cb38a4
7
+ data.tar.gz: c140db9b70ecd140c48155390cda1c94fcd62a6d370330f79342596d16e8fdc01adcf930fd823119b43cfe8c01f2474d23e0cd30ff13859edfa7edeca0f6db3b
@@ -37,7 +37,7 @@ protected
37
37
  namespace = namespace.gsub(/_+\z/, "")
38
38
  { verify_expiration: ENV["#{namespace}_VERIFY_EXP"] != "false",
39
39
  verify_not_before: ENV["#{namespace}_VERIFY_NBF"] != "false",
40
- iss: ENV["#{namespace}_ISS"].to_s.squish.presence,
40
+ iss: ENV["#{namespace}_ISS"].to_s.split(",").map(&:squish).reject(&:blank?).presence, # Comma-separated values.
41
41
  verify_iat: ENV["#{namespace}_VERIFY_IAT"] != "false",
42
42
  verify_jti: ENV["#{namespace}_VERIFY_JTI"] != "false",
43
43
  aud: ENV["#{namespace}_AUD"].to_s.split(",").map(&:squish).reject(&:blank?).presence, # Comma-separated values.
@@ -3,6 +3,6 @@
3
3
 
4
4
  module JWT
5
5
  class Authenticator
6
- VERSION = "1.0.1"
6
+ VERSION = "1.0.2"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwt-authenticator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Konoplov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-03 00:00:00.000000000 Z
11
+ date: 2019-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt