secret_env 0.3.1 → 0.3.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
  SHA1:
3
- metadata.gz: 52b7870cef734af82975f624722b676042b315db
4
- data.tar.gz: c5c318185c0ada87a1033656f05bd43abc235834
3
+ metadata.gz: 7b7fd45045664cce3ef970f014b7b6e9e69bb1d3
4
+ data.tar.gz: f5b28f4de7822f8906eaef22620924003fb9b508
5
5
  SHA512:
6
- metadata.gz: 9be9783599132ab0a3a774abe682db5e6961b625f545b254d0c3726b6fedb4e4e2a31adb3755697bae1d7719478a181d3d554798bc641568ade81dc1376d89c5
7
- data.tar.gz: 75755c730b9ce3035b8a0f55d230e7796c9f83ac94e0afa04c232cac8998fb0c20326c7096d3a624e1060eaddae892435e77b5766930f3d623e1bee8fa0c9466
6
+ metadata.gz: 4a48dad04748521ae7a1fd9dd3b6f051b12f88c7304ba6c7f94d4f9149bb413e982332448639dd1e71954ad131381e16a7c0b8e8ba93af73bf8c32c0e352d6f2
7
+ data.tar.gz: e774b89c3334d001aa32830dbf5d5195874569511d44af88882b2f83108d2c087490f5c492e319531518546288522a110fe8758ffc5f7029fd1ae299a852cab6
@@ -1,3 +1,3 @@
1
1
  module SecretEnv
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
data/lib/secret_env.rb CHANGED
@@ -50,7 +50,7 @@ module SecretEnv
50
50
  @storage.retrieve(secret_key)
51
51
  end
52
52
 
53
- raise SecretEnv::KeyNotFound unless secret
53
+ raise SecretEnv::KeyNotFound, secret_key unless secret
54
54
  parts << part.gsub(scanner.matched, secret)
55
55
  end
56
56
  parts << scanner.rest
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secret_env
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - adorechic