yaml_vault 1.0.0.beta3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -4
  3. data/lib/yaml_vault/version.rb +1 -1
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 641188e122959d60bd72891ae20aef1d70b89774
4
- data.tar.gz: b2d33ede10df492fb15f9617eb840bd9ebf728ff
3
+ metadata.gz: 43855ec62bda6f5823652b290cf5d39c9922e50d
4
+ data.tar.gz: beb4cc67173da42678bbd5769163d5833feb78f9
5
5
  SHA512:
6
- metadata.gz: 45928616ec6cf21f64f0febc557f1d94b0fb14b17b75d054f45043a61052201354b22d33ff46d39e2f11a9a6d6c993fef93bb9eeab142f71addee752e4fec136
7
- data.tar.gz: 35b70114cc2f3d08513db891a87e6e765db62c46c54fa4f7c819f968b13d49a26e36c3105d4c7c0e71a59903ac575d367b2e24414c8cdd990f94ae95435dd1a5
6
+ metadata.gz: 057a332c09a33cab04c26c8ab41d024d358c0ba9722fd888806ebfc3e552b792773d67752f90b1dfa4948d5bddb205df316bb9ab11b7deb8b36925771eed6ee9
7
+ data.tar.gz: b300224b641595bbda4fb2148046f6ca9460a09384a201bb80b81c6bb1e2cda342b17106c5f050030ba4650e9d5371c926f3ed8215fa8e2ccc30507472fa037d
data/README.md CHANGED
@@ -75,8 +75,6 @@ vault:
75
75
  - [{key1: val1, key2: val2}, {key3: val3}]
76
76
  ```
77
77
 
78
- yaml_vault encrypts values under `vault` key.
79
-
80
78
  ```
81
79
  % yaml_vault encrypt secrets.yml -o encrypted_secrets.yml"
82
80
  Enter passphrase: <enter your passphrase>
@@ -128,7 +126,7 @@ vault:
128
126
  If use `--key` option.
129
127
 
130
128
  ```
131
- % yaml_vault encrypt secrets.yml -o encrypted_secrets.yml -k vault.secret_data
129
+ % yaml_vault encrypt secrets.yml -o encrypted_secrets.yml -k $.vault.secret_data
132
130
  Enter passphrase: <enter your passphrase>
133
131
  ```
134
132
 
@@ -136,8 +134,26 @@ output is ...
136
134
 
137
135
  ```yml
138
136
  # encrypted_secrets.yml
139
- ---
137
+
138
+ default: &default
139
+ hoge: fuga
140
+ aaa: true
141
+ bbb: 2
140
142
  foo: bar
143
+ complicated:
144
+ - 1
145
+ - ["hoge", "fuga"]
146
+ - [{key1: val1, key2: val2}, {key3: val3}]
147
+ - a:
148
+ b:
149
+ c: d
150
+ e: !ruby/range 1..10
151
+ test:
152
+ <<: *default
153
+ hoge:
154
+ - 1
155
+ - 2
156
+ - 3
141
157
  vault:
142
158
  secret_data: SzZoOGlpcSs4UlBaQnhTYWx0YlN3NHk2QXhiZGYvVmpsc0c3ckllSlh1TT0tLU13ZERzRWsxaGc0Y090blNIdXVVMmc9PQ==--24b2af56d2563776ca316dbfa243333dd053fea1
143
159
  secrets:
@@ -1,3 +1,3 @@
1
1
  module YamlVault
2
- VERSION = "1.0.0.beta3"
2
+ VERSION = "1.0.0"
3
3
  end
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.beta3
4
+ version: 1.0.0
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-08 00:00:00.000000000 Z
11
+ date: 2017-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -119,9 +119,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.3.1
124
+ version: '0'
125
125
  requirements: []
126
126
  rubyforge_project:
127
127
  rubygems_version: 2.6.13