yaml_vault 1.0.0.beta2 → 1.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yaml_vault/rails.rb +1 -1
- data/lib/yaml_vault/version.rb +1 -1
- data/lib/yaml_vault/yaml_tree_builder.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 641188e122959d60bd72891ae20aef1d70b89774
|
4
|
+
data.tar.gz: b2d33ede10df492fb15f9617eb840bd9ebf728ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45928616ec6cf21f64f0febc557f1d94b0fb14b17b75d054f45043a61052201354b22d33ff46d39e2f11a9a6d6c993fef93bb9eeab142f71addee752e4fec136
|
7
|
+
data.tar.gz: 35b70114cc2f3d08513db891a87e6e765db62c46c54fa4f7c819f968b13d49a26e36c3105d4c7c0e71a59903ac575d367b2e24414c8cdd990f94ae95435dd1a5
|
data/lib/yaml_vault/rails.rb
CHANGED
@@ -7,7 +7,7 @@ module YamlVault
|
|
7
7
|
secrets = ActiveSupport::OrderedOptions.new
|
8
8
|
yaml = config.paths["config/secrets"].first
|
9
9
|
if File.exist?(yaml)
|
10
|
-
all_secrets = YamlVault::Main.from_content(IO.read(yaml), keys, cryptor_name, **options).
|
10
|
+
all_secrets = YamlVault::Main.from_content(IO.read(yaml), keys, cryptor_name, **options).decrypt_hash
|
11
11
|
env_secrets = all_secrets[::Rails.env]
|
12
12
|
secrets.merge!(env_secrets.symbolize_keys) if env_secrets
|
13
13
|
end
|
data/lib/yaml_vault/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaml_vault
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joker1007
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: 1.3.1
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.6.
|
127
|
+
rubygems_version: 2.6.13
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: yaml encryption/decryption helper.
|