ruby_vault 0.2.0.pre.4 → 0.2.0.pre.5

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: 96a8b5f514aa7dd330450bf35a5361d0e8378235c1a5ad361b1b75de096d4b89
4
- data.tar.gz: ed3fd76d40ebf407aba1e7b104d81bc8dab7071654ed9232f7692ed34a24fc22
3
+ metadata.gz: 9d7345bf20d3f0b9b9de6010d3c7c6a82f27d94adacc6edf7be5dca628820aad
4
+ data.tar.gz: 73a434ca6729f8f341d25511da3d3a95ff3fee2a45e210e4034baec72c57f967
5
5
  SHA512:
6
- metadata.gz: 9c14bb470b07aa1164e131c1c61325d3b1a6413ad98d18e9357245493485c885119da428cd1d4b84318775a1c45e289ffa4254bbf54303b838dfa25d4e165f27
7
- data.tar.gz: 7e299320d897e43a00651b8d0dadd04603b5d3f4ae0dcd453975c0f5c1dd999e8b8504aec7b4c0924d1efea32d1bc273fd819db5faf7565a8717b81468f1f2b7
6
+ metadata.gz: 222b84f2f1ae98eb0fbb60833e69065498381fe624cf514468c1e31417679af39f0417b35b75377b7af881ac0e815966c136a2285ed409c5abbae438d9f276f3
7
+ data.tar.gz: 77e9ece9bd8c39796347ec4b21ed67094def8e68913efde4be30ed79137dce4b46a23dcf3019d28c38f36300097b68761ca82c25720e18eb8ac49ec110ce84ba
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_vault (0.2.0.pre.4)
4
+ ruby_vault (0.2.0.pre.5)
5
5
  immutable-struct (~> 2.4)
6
- lino (~> 3.0)
6
+ lino (>= 3.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.1.1)
11
+ activesupport (7.1.3.4)
12
12
  base64
13
13
  bigdecimal
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -18,31 +18,31 @@ GEM
18
18
  minitest (>= 5.1)
19
19
  mutex_m
20
20
  tzinfo (~> 2.0)
21
- addressable (2.8.5)
22
- public_suffix (>= 2.0.2, < 6.0)
21
+ addressable (2.8.7)
22
+ public_suffix (>= 2.0.2, < 7.0)
23
23
  ast (2.4.2)
24
- base64 (0.1.1)
25
- bigdecimal (3.1.4)
24
+ base64 (0.2.0)
25
+ bigdecimal (3.1.8)
26
+ childprocess (5.0.0)
26
27
  coderay (1.1.3)
27
28
  colored2 (3.1.2)
28
- concurrent-ruby (1.2.2)
29
+ concurrent-ruby (1.3.3)
29
30
  connection_pool (2.4.1)
30
- diff-lcs (1.5.0)
31
+ diff-lcs (1.5.1)
31
32
  docile (1.4.0)
32
- drb (2.1.1)
33
- ruby2_keywords
34
- excon (0.104.0)
35
- faker (3.2.2)
33
+ drb (2.2.1)
34
+ excon (0.111.0)
35
+ faker (3.4.2)
36
36
  i18n (>= 1.8.11, < 2)
37
- faraday (2.7.11)
38
- base64
39
- faraday-net_http (>= 2.0, < 3.1)
40
- ruby2_keywords (>= 0.0.4)
41
- faraday-net_http (3.0.2)
42
- ffi (1.16.3)
37
+ faraday (2.10.0)
38
+ faraday-net_http (>= 2.0, < 3.2)
39
+ logger
40
+ faraday-net_http (3.1.0)
41
+ net-http
42
+ ffi (1.17.0)
43
43
  formatador (1.1.0)
44
44
  gem-release (2.2.2)
45
- git (1.18.0)
45
+ git (1.19.1)
46
46
  addressable (~> 2.8)
47
47
  rchardet (~> 1.8)
48
48
  guard (2.18.1)
@@ -61,40 +61,45 @@ GEM
61
61
  rspec (>= 2.99.0, < 4.0)
62
62
  hamster (3.0.0)
63
63
  concurrent-ruby (~> 1.0)
64
- i18n (1.14.1)
64
+ i18n (1.14.5)
65
65
  concurrent-ruby (~> 1.0)
66
66
  immutable-struct (2.4.1)
67
- json (2.6.3)
67
+ json (2.7.2)
68
68
  language_server-protocol (3.17.0.3)
69
- lino (3.1.0)
69
+ lino (4.0.0)
70
+ childprocess (~> 5.0.0)
70
71
  hamster (~> 3.0)
71
72
  open4 (~> 1.3)
72
- listen (3.8.0)
73
+ listen (3.9.0)
73
74
  rb-fsevent (~> 0.10, >= 0.10.3)
74
75
  rb-inotify (~> 0.9, >= 0.9.10)
75
- lumberjack (1.2.9)
76
- method_source (1.0.0)
77
- minitest (5.20.0)
78
- mutex_m (0.1.2)
76
+ logger (1.6.0)
77
+ lumberjack (1.2.10)
78
+ method_source (1.1.0)
79
+ minitest (5.24.1)
80
+ mutex_m (0.2.0)
79
81
  nenv (0.3.0)
82
+ net-http (0.4.1)
83
+ uri
80
84
  notiffany (0.1.3)
81
85
  nenv (~> 0.1)
82
86
  shellany (~> 0.0)
83
- octokit (8.0.0)
87
+ octokit (8.1.0)
88
+ base64
84
89
  faraday (>= 1, < 3)
85
90
  sawyer (~> 0.9)
86
91
  open4 (1.3.4)
87
- parallel (1.23.0)
88
- parser (3.2.2.4)
92
+ parallel (1.25.1)
93
+ parser (3.3.4.0)
89
94
  ast (~> 2.4.1)
90
95
  racc
91
96
  pry (0.14.2)
92
97
  coderay (~> 1.1)
93
98
  method_source (~> 1.0)
94
- public_suffix (5.0.3)
95
- racc (1.7.3)
99
+ public_suffix (6.0.0)
100
+ racc (1.8.0)
96
101
  rainbow (3.1.1)
97
- rake (13.1.0)
102
+ rake (13.2.1)
98
103
  rake_circle_ci (0.11.0)
99
104
  colored2 (~> 3.1)
100
105
  excon (~> 0.72)
@@ -107,72 +112,66 @@ GEM
107
112
  colored2 (~> 3.1)
108
113
  git (~> 1.13, >= 1.13.2)
109
114
  rake_factory (= 0.32.0.pre.2)
110
- rake_git_crypt (0.1.0.pre.29)
115
+ rake_git_crypt (0.1.0.pre.32)
111
116
  colored2 (~> 3.1)
112
117
  rake_factory (= 0.32.0.pre.2)
113
- ruby_git_crypt (= 0.1.0.pre.4)
114
- ruby_gpg2 (~> 0.6)
118
+ ruby_git_crypt (= 0.1.0.pre.8)
119
+ ruby_gpg2 (= 0.11.0.pre.6)
115
120
  rake_github (0.13.0)
116
121
  colored2 (~> 3.1)
117
122
  octokit (>= 4.16, < 9.0)
118
123
  rake_factory (~> 0.23)
119
124
  sshkey (~> 2.0)
120
- rake_gpg (0.18.0)
125
+ rake_gpg (0.19.0.pre.6)
121
126
  rake_factory (~> 0.23)
122
- ruby_gpg2 (~> 0.6)
127
+ ruby_gpg2 (= 0.11.0.pre.6)
123
128
  rake_ssh (0.10.0)
124
129
  colored2 (~> 3.1)
125
130
  rake_factory (~> 0.23)
126
131
  sshkey (~> 2.0)
127
132
  rb-fsevent (0.11.2)
128
- rb-inotify (0.10.1)
133
+ rb-inotify (0.11.1)
129
134
  ffi (~> 1.0)
130
135
  rchardet (1.8.0)
131
- regexp_parser (2.8.2)
132
- rexml (3.2.6)
133
- rspec (3.12.0)
134
- rspec-core (~> 3.12.0)
135
- rspec-expectations (~> 3.12.0)
136
- rspec-mocks (~> 3.12.0)
137
- rspec-core (3.12.2)
138
- rspec-support (~> 3.12.0)
139
- rspec-expectations (3.12.3)
136
+ regexp_parser (2.9.2)
137
+ rexml (3.3.2)
138
+ strscan
139
+ rspec (3.13.0)
140
+ rspec-core (~> 3.13.0)
141
+ rspec-expectations (~> 3.13.0)
142
+ rspec-mocks (~> 3.13.0)
143
+ rspec-core (3.13.0)
144
+ rspec-support (~> 3.13.0)
145
+ rspec-expectations (3.13.1)
140
146
  diff-lcs (>= 1.2.0, < 2.0)
141
- rspec-support (~> 3.12.0)
142
- rspec-mocks (3.12.6)
147
+ rspec-support (~> 3.13.0)
148
+ rspec-mocks (3.13.1)
143
149
  diff-lcs (>= 1.2.0, < 2.0)
144
- rspec-support (~> 3.12.0)
145
- rspec-support (3.12.1)
146
- rubocop (1.57.2)
150
+ rspec-support (~> 3.13.0)
151
+ rspec-support (3.13.1)
152
+ rubocop (1.65.0)
147
153
  json (~> 2.3)
148
154
  language_server-protocol (>= 3.17.0)
149
155
  parallel (~> 1.10)
150
- parser (>= 3.2.2.4)
156
+ parser (>= 3.3.0.2)
151
157
  rainbow (>= 2.2.2, < 4.0)
152
- regexp_parser (>= 1.8, < 3.0)
158
+ regexp_parser (>= 2.4, < 3.0)
153
159
  rexml (>= 3.2.5, < 4.0)
154
- rubocop-ast (>= 1.28.1, < 2.0)
160
+ rubocop-ast (>= 1.31.1, < 2.0)
155
161
  ruby-progressbar (~> 1.7)
156
162
  unicode-display_width (>= 2.4.0, < 3.0)
157
- rubocop-ast (1.30.0)
158
- parser (>= 3.2.1.0)
159
- rubocop-capybara (2.19.0)
160
- rubocop (~> 1.41)
161
- rubocop-factory_bot (2.24.0)
162
- rubocop (~> 1.33)
163
+ rubocop-ast (1.31.3)
164
+ parser (>= 3.3.1.0)
163
165
  rubocop-rake (0.6.0)
164
166
  rubocop (~> 1.0)
165
- rubocop-rspec (2.25.0)
166
- rubocop (~> 1.40)
167
- rubocop-capybara (~> 2.17)
168
- rubocop-factory_bot (~> 2.22)
167
+ rubocop-rspec (3.0.3)
168
+ rubocop (~> 1.61)
169
169
  ruby-progressbar (1.13.0)
170
- ruby2_keywords (0.0.5)
171
- ruby_git_crypt (0.1.0.pre.4)
170
+ ruby_git_crypt (0.1.0.pre.8)
172
171
  immutable-struct (~> 2.4)
173
- lino (~> 3.0)
174
- ruby_gpg2 (0.10.0)
175
- lino (~> 3.0)
172
+ lino (>= 3.1)
173
+ ruby_gpg2 (0.11.0.pre.6)
174
+ lino (>= 3.1)
176
175
  sawyer (0.9.2)
177
176
  addressable (>= 2.3.5)
178
177
  faraday (>= 0.17.3, < 3)
@@ -184,12 +183,14 @@ GEM
184
183
  simplecov-html (0.12.3)
185
184
  simplecov_json_formatter (0.1.4)
186
185
  sshkey (2.0.0)
186
+ strscan (3.1.0)
187
187
  terminal-notifier-guard (1.7.0)
188
- thor (1.3.0)
188
+ thor (1.3.1)
189
189
  tzinfo (2.0.6)
190
190
  concurrent-ruby (~> 1.0)
191
191
  unicode-display_width (2.5.0)
192
- yard (0.9.34)
192
+ uri (0.13.0)
193
+ yard (0.9.36)
193
194
 
194
195
  PLATFORMS
195
196
  arm64-darwin-21
@@ -209,9 +210,9 @@ DEPENDENCIES
209
210
  rake
210
211
  rake_circle_ci
211
212
  rake_git
212
- rake_git_crypt
213
+ rake_git_crypt (>= 0.1.0.pre.31)
213
214
  rake_github
214
- rake_gpg
215
+ rake_gpg (>= 0.19.0.pre.6)
215
216
  rake_ssh
216
217
  rspec
217
218
  rubocop
@@ -50,9 +50,9 @@ module RubyVault
50
50
 
51
51
  logger.debug("Running '#{command}'.")
52
52
  command.execute(
53
- stdin: stdin,
54
- stdout: stdout,
55
- stderr: stderr
53
+ stdin:,
54
+ stdout:,
55
+ stderr:
56
56
  )
57
57
  end
58
58
 
@@ -99,7 +99,7 @@ module RubyVault
99
99
  end
100
100
 
101
101
  def build_option(value)
102
- option_type.new(name, value, separator: separator, placement: placement)
102
+ option_type.new(name, value, separator:, placement:)
103
103
  end
104
104
 
105
105
  def build_value(value)
@@ -20,7 +20,7 @@ module RubyVault
20
20
  end
21
21
 
22
22
  def as_plural_key
23
- "#{snake_case}s".to_sym
23
+ :"#{snake_case}s"
24
24
  end
25
25
 
26
26
  private
@@ -8,7 +8,7 @@ module RubyVault
8
8
  :value
9
9
  )
10
10
  def initialize(name, value, **_opts)
11
- super(name: name, value: value)
11
+ super(name:, value:)
12
12
  end
13
13
 
14
14
  def apply(builder)
@@ -11,7 +11,7 @@ module RubyVault
11
11
  )
12
12
  def initialize(name, value, **opts)
13
13
  super(
14
- name: name, value: value,
14
+ name:, value:,
15
15
  separator: opts[:separator],
16
16
  placement: opts[:placement]
17
17
  )
@@ -21,8 +21,8 @@ module RubyVault
21
21
  builder.with_option(
22
22
  name,
23
23
  value.render,
24
- separator: separator,
25
- placement: placement
24
+ separator:,
25
+ placement:
26
26
  )
27
27
  end
28
28
  end
@@ -7,7 +7,7 @@ module RubyVault
7
7
  module Values
8
8
  class Base < ImmutableStruct.new(:value)
9
9
  def initialize(value)
10
- super(value: value)
10
+ super(value:)
11
11
  end
12
12
  end
13
13
  end
@@ -7,7 +7,7 @@ module RubyVault
7
7
  module Values
8
8
  class KeyValue < ImmutableStruct.new(:key, :value)
9
9
  def initialize(key, value)
10
- super(key: key, value: value)
10
+ super(key:, value:)
11
11
  end
12
12
 
13
13
  def resolve
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyVault
4
- VERSION = '0.2.0.pre.4'
4
+ VERSION = '0.2.0.pre.5'
5
5
  end
data/lib/ruby_vault.rb CHANGED
@@ -66,7 +66,7 @@ module RubyVault
66
66
  @binary = 'vault'
67
67
  @logger = default_logger
68
68
  @options = default_options
69
- @stdin = ''
69
+ @stdin = nil
70
70
  @stdout = $stdout
71
71
  @stderr = $stderr
72
72
  end
data/ruby_vault.gemspec CHANGED
@@ -36,10 +36,10 @@ Gem::Specification.new do |spec|
36
36
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
37
  spec.require_paths = ['lib']
38
38
 
39
- spec.required_ruby_version = '>= 2.7'
39
+ spec.required_ruby_version = '>= 3.1'
40
40
 
41
41
  spec.add_dependency 'immutable-struct', '~> 2.4'
42
- spec.add_dependency 'lino', '~> 3.0'
42
+ spec.add_dependency 'lino', '>= 3.1'
43
43
 
44
44
  spec.add_development_dependency 'bundler'
45
45
  spec.add_development_dependency 'faker'
@@ -49,9 +49,9 @@ Gem::Specification.new do |spec|
49
49
  spec.add_development_dependency 'rake'
50
50
  spec.add_development_dependency 'rake_circle_ci'
51
51
  spec.add_development_dependency 'rake_git'
52
- spec.add_development_dependency 'rake_git_crypt'
52
+ spec.add_development_dependency 'rake_git_crypt', '>= 0.1.0.pre.31'
53
53
  spec.add_development_dependency 'rake_github'
54
- spec.add_development_dependency 'rake_gpg'
54
+ spec.add_development_dependency 'rake_gpg', '>= 0.19.0.pre.6'
55
55
  spec.add_development_dependency 'rake_ssh'
56
56
  spec.add_development_dependency 'rspec'
57
57
  spec.add_development_dependency 'rubocop'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.4
4
+ version: 0.2.0.pre.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: immutable-struct
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: lino
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '3.0'
33
+ version: '3.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '3.0'
40
+ version: '3.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: 0.1.0.pre.31
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: 0.1.0.pre.31
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rake_github
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: '0'
187
+ version: 0.19.0.pre.6
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
- version: '0'
194
+ version: 0.19.0.pre.6
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rake_ssh
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -358,14 +358,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
358
358
  requirements:
359
359
  - - ">="
360
360
  - !ruby/object:Gem::Version
361
- version: '2.7'
361
+ version: '3.1'
362
362
  required_rubygems_version: !ruby/object:Gem::Requirement
363
363
  requirements:
364
364
  - - ">"
365
365
  - !ruby/object:Gem::Version
366
366
  version: 1.3.1
367
367
  requirements: []
368
- rubygems_version: 3.1.6
368
+ rubygems_version: 3.3.7
369
369
  signing_key:
370
370
  specification_version: 4
371
371
  summary: A simple Ruby wrapper for invoking Vault commands.