invar 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/RELEASE_NOTES.md +30 -2
- data/lib/invar/reality.rb +3 -3
- data/lib/invar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7402299987dd129eaa1626ca46ea07f90fb15d8dec329a83ee8a33ea81974ee
|
4
|
+
data.tar.gz: b47b0b5678fc96626d36c796d26472ff384ef70630c208b49e5591dcb441806b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2973d08e11198e26e528dc858344fac2ba78a92841fbe4448e37a251a86bf6d96855f28655ef9953732456f240454d9597c72aeb0d8d722d993c4f23abbeb15
|
7
|
+
data.tar.gz: e3671eaea2a99e28ec28a647d2dcd70b29980c073888248b091f5ddf02f9d6b57485b911029ae072b6408c3ae1af6982555fe111a6cf405f47092e476ab3dbb6
|
data/RELEASE_NOTES.md
CHANGED
@@ -9,6 +9,34 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
9
9
|
|
10
10
|
### Major Changes
|
11
11
|
|
12
|
+
* none
|
13
|
+
|
14
|
+
### Minor Changes
|
15
|
+
|
16
|
+
* none
|
17
|
+
|
18
|
+
### Bugfixes
|
19
|
+
|
20
|
+
* none
|
21
|
+
|
22
|
+
## [0.5.1] - 2022-12-10
|
23
|
+
|
24
|
+
### Major Changes
|
25
|
+
|
26
|
+
*none
|
27
|
+
|
28
|
+
### Minor Changes
|
29
|
+
|
30
|
+
* none
|
31
|
+
|
32
|
+
### Bugfixes
|
33
|
+
|
34
|
+
* Fixed error message that showed blank filename when looking for lockbox master keyfile
|
35
|
+
|
36
|
+
## [0.5.0] - 2022-12-09
|
37
|
+
|
38
|
+
### Major Changes
|
39
|
+
|
12
40
|
* Renamed `Invar::Invar` to `Invar::Reality`
|
13
41
|
* Maintenance Rake task inclusion now requires explicit define call
|
14
42
|
|
@@ -50,7 +78,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
50
78
|
|
51
79
|
* none
|
52
80
|
|
53
|
-
## [0.2.0] - Unreleased
|
81
|
+
## [0.2.0] - Unreleased Prototype
|
54
82
|
|
55
83
|
### Major Changes
|
56
84
|
|
@@ -66,7 +94,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
66
94
|
|
67
95
|
* none
|
68
96
|
|
69
|
-
## [0.1.0] - Unreleased
|
97
|
+
## [0.1.0] - Unreleased Prototype
|
70
98
|
|
71
99
|
### Major Changes
|
72
100
|
|
data/lib/invar/reality.rb
CHANGED
@@ -79,7 +79,7 @@ module Invar
|
|
79
79
|
end
|
80
80
|
|
81
81
|
begin
|
82
|
-
@secrets = Scope.new(load_secrets(locator, decryption_keyfile))
|
82
|
+
@secrets = Scope.new(load_secrets(locator, decryption_keyfile || DEFAULT_KEY_FILE_NAME))
|
83
83
|
rescue FileLocator::FileNotFoundError
|
84
84
|
raise MissingSecretsFileError,
|
85
85
|
"No secrets file found. Create encrypted secrets.yml in one of these locations: #{ search_paths }"
|
@@ -160,7 +160,7 @@ module Invar
|
|
160
160
|
end
|
161
161
|
|
162
162
|
def resolve_key(pathname, locator, prompt)
|
163
|
-
key_file = locator.find(pathname
|
163
|
+
key_file = locator.find(pathname)
|
164
164
|
|
165
165
|
read_keyfile(key_file)
|
166
166
|
rescue FileLocator::FileNotFoundError
|
@@ -169,7 +169,7 @@ module Invar
|
|
169
169
|
$stdin.noecho(&:gets).strip
|
170
170
|
else
|
171
171
|
raise SecretsFileDecryptionError,
|
172
|
-
"Could not find file '#{ pathname }'. Searched in: #{ locator.search_paths }"
|
172
|
+
"Could not find file '#{ pathname }'. Searched in: #{ locator.search_paths.join(', ') }"
|
173
173
|
end
|
174
174
|
end
|
175
175
|
|
data/lib/invar/version.rb
CHANGED