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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99dc3bead686a110abf091e8d84f00389dc66f3d
4
- data.tar.gz: 76e400cd298525d60e531f3d06fbc4dcceb78398
3
+ metadata.gz: 90dca39ac2ebd159e00e009f2701e0d07a9edb78
4
+ data.tar.gz: fb4fa59ce7bf405fa56329e86494a45f391d68ca
5
5
  SHA512:
6
- metadata.gz: e324e71a0553d6551ecbb8320fa8fe78fb9f0a0be5cbe1e78e90158f82b2742c4597fe98156a5df89aa61dd0e24f1e69a7ed1ee5e6b7f58f20a4328f3e50cfc3
7
- data.tar.gz: d03db2b0c2df6129cd6f417b393abfe119486e740eb8617f1a1909b29f5b824d2ec2bf6cf364536337b4bb2251d8f578468c64e50fa79eaad4c3c30ccae31888
6
+ metadata.gz: cb2f2c1264b8aa3b4a51d9b2a2359ad24357d161b783417ee09afbc116efdfabf3cb2fd2f3a836fe795d210daa1acf63cd261c3cd84a83d3cfd1c1d0504b751e
7
+ data.tar.gz: 11c9b17f0537329792a860f4b7328aed97dce3f57786b1eef03ec5ba0af8a99e5c92bbce817900ae0a92fa2ada9d85879b68565fcc9737d2ec96388c9195513a
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  class DecodeThis
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
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 KeyFileNotFoundError.new("Cannot found file in #{jwt_config.path}") unless File.readable?(keys_absolute_path)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decode_this
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sasha Kotov