decode_this 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/decode_this/version.rb +1 -1
- data/lib/decode_this.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90dca39ac2ebd159e00e009f2701e0d07a9edb78
|
4
|
+
data.tar.gz: fb4fa59ce7bf405fa56329e86494a45f391d68ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb2f2c1264b8aa3b4a51d9b2a2359ad24357d161b783417ee09afbc116efdfabf3cb2fd2f3a836fe795d210daa1acf63cd261c3cd84a83d3cfd1c1d0504b751e
|
7
|
+
data.tar.gz: 11c9b17f0537329792a860f4b7328aed97dce3f57786b1eef03ec5ba0af8a99e5c92bbce817900ae0a92fa2ada9d85879b68565fcc9737d2ec96388c9195513a
|
data/lib/decode_this/version.rb
CHANGED
data/lib/decode_this.rb
CHANGED
@@ -52,7 +52,7 @@ class DecodeThis
|
|
52
52
|
def pem
|
53
53
|
keys_absolute_path = File.expand_path(jwt_config.path)
|
54
54
|
|
55
|
-
raise
|
55
|
+
raise ConfigFileNotFoundError.new("Cannot found file in #{jwt_config.path}") unless File.readable?(keys_absolute_path)
|
56
56
|
File.read(jwt_config.path)
|
57
57
|
end
|
58
58
|
end
|