jwtear 1.1.8 → 1.1.9

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: 0d16d14566a4ef0035cf36f1120930d6d8147015768bf5eafab76940587003a7
4
- data.tar.gz: 9d44f6bee9b1541b3f1f9010ea213392353140d45d897c44fa01cea3e25d1bbd
3
+ metadata.gz: c204817c953daad64ae360c9ce596a455b56312d0ace1a1ed17052b8077a271c
4
+ data.tar.gz: 3cb27aa9ffb55b0c492eb72ed375298f40f75e33ebd98bb308e8086e51e54c07
5
5
  SHA512:
6
- metadata.gz: d8b73d0cb81751b22da4a5a9645bf02c4fb1f967bb4e3a3ee6a2a75b045cc81acbf21657eae422e0262abb043da056a02f9d526a5bb445754c716e4193fd4bd7
7
- data.tar.gz: 14586493d374327ee19530b5d92bc2bb9bc4807bdc51f56e0becc27e58bf05f5a614227c4cac334f9cd970d10494bc20c31c132cffef89042b48d2e08f25e43a
6
+ metadata.gz: 9682f4285990d4b3a6b47d2dc44a619137c21dde563f52b9848123dd626318adfe1bf17ac8cb545e05f06b806ed24d37ccf57eefaae2b9a58cf8cabdc525e8f7
7
+ data.tar.gz: 4d6ae9c5588721153b4f919ec744466378cf20bcd1da1ce437f3fe2bcf2fbb8a74e9cac3329fa39bcf58e4a50bc1e2b880ab735cbd8bc3f4700345585adc8e67
@@ -19,7 +19,7 @@ module JWTear
19
19
 
20
20
  # read key as a string or from file(eg. pub_key.pem)
21
21
  def read_key(key)
22
- if File.file?(File.absolute_path(key))
22
+ if File.exist?(key.to_s) && File.file?(key.to_s)
23
23
  File.read(File.absolute_path(key))
24
24
  else
25
25
  key
@@ -1,3 +1,3 @@
1
1
  module JWTear
2
- VERSION = "1.1.8"
2
+ VERSION = "1.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwtear
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - KING SABRI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-27 00:00:00.000000000 Z
11
+ date: 2021-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli