authentic-rb 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/authentic/validator.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a3e28c6d5e92fd5fce9edf02b6876814912d5efa4f986b237bf8071ac24e66f
|
4
|
+
data.tar.gz: 30e8bdef21c0341eee35492d28041405ce291889a4f0868c9ba52089a4f5e2de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a1ff3430a2a8d73566a2c0e77274698395f8f825ae49b4d56db2db740da4c71540123e6f071aaf6c7f93af0559eca24e3129d1ea2b5fa1ea6e5ae7c7d532388
|
7
|
+
data.tar.gz: 80e3776ff22768e4e1c49810893e103f0484769fc36e1170a5ffa23f9726d1a140863d101d88edbc281688e3bf127037934723bcffdc35fbdc34d2e4872e49f6
|
data/lib/authentic/validator.rb
CHANGED
@@ -45,7 +45,7 @@ module Authentic
|
|
45
45
|
|
46
46
|
def initialize
|
47
47
|
# Default iss whitelist if it is empty
|
48
|
-
@@iss_whitelist = @@iss_whitelist&.empty? ? ENV['
|
48
|
+
@@iss_whitelist = @@iss_whitelist&.empty? ? ENV['ISS_WHITELIST']&.split('|') : @@iss_whitelist
|
49
49
|
|
50
50
|
valid_opts = !@@iss_whitelist&.empty?
|
51
51
|
raise IncompleteOptions unless valid_opts
|