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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e3d07cd5d6d704c0bec06fe0803e0a5fd553f69e54f74501ddd7e9639353172
4
- data.tar.gz: 3ecb948cb3b856d9f15d0d1d985f5e59db62532a724e8c4c748287532d1efac2
3
+ metadata.gz: d7402299987dd129eaa1626ca46ea07f90fb15d8dec329a83ee8a33ea81974ee
4
+ data.tar.gz: b47b0b5678fc96626d36c796d26472ff384ef70630c208b49e5591dcb441806b
5
5
  SHA512:
6
- metadata.gz: 66ebee132d5bc1ba58e5876594435514d19b177fda6820d1ebe05ad6908b590f48b4466c30af950127cf3178a43eeb74573535fcfd32aa9f2165e378b657f4be
7
- data.tar.gz: 3972595f9f126f76707b1bf6c2d76ef6803d5056808cf06977106256524be109ed9b0975a99931cb9acf694d9e1fb934916f5de0939e6dc65fc920e61c412195
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 beta
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 beta
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 || DEFAULT_KEY_FILE_NAME)
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Invar
4
4
  # Current version of the gem
5
- VERSION = '0.5.0'
5
+ VERSION = '0.5.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Miller