ehbrs-tools 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ehbrs/runner.rb +9 -13
  3. data/lib/ehbrs/runner/fs/used_space.rb +4 -4
  4. data/lib/ehbrs/tools/version.rb +1 -1
  5. data/vendor/eac_cli/eac_cli.gemspec +3 -3
  6. data/vendor/eac_cli/lib/eac_cli/definition.rb +72 -0
  7. data/vendor/eac_cli/lib/eac_cli/definition/argument_option.rb +13 -0
  8. data/vendor/eac_cli/lib/eac_cli/{runner → definition}/base_option.rb +5 -1
  9. data/vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb +13 -0
  10. data/vendor/eac_cli/lib/eac_cli/{runner → definition}/positional_argument.rb +5 -1
  11. data/vendor/eac_cli/lib/eac_cli/{runner/docopt_doc.rb → docopt/doc_builder.rb} +15 -8
  12. data/vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb +51 -0
  13. data/vendor/eac_cli/lib/eac_cli/parser.rb +14 -0
  14. data/vendor/eac_cli/lib/eac_cli/parser/collector.rb +56 -0
  15. data/vendor/eac_cli/lib/eac_cli/parser/error.rb +15 -0
  16. data/vendor/eac_cli/lib/eac_cli/parser/options_collection.rb +105 -0
  17. data/vendor/eac_cli/lib/eac_cli/parser/parse_result.rb +21 -0
  18. data/vendor/eac_cli/lib/eac_cli/parser/positional_collection.rb +49 -0
  19. data/vendor/eac_cli/lib/eac_cli/runner.rb +25 -5
  20. data/vendor/eac_cli/lib/eac_cli/runner/context.rb +18 -0
  21. data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
  22. data/vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb +70 -0
  23. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb +31 -0
  24. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner.rb +6 -0
  25. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner/_class_methods.rb +2 -2
  26. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner/_subcommands.rb +8 -2
  27. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env.rb +12 -9
  28. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb +53 -0
  29. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb +25 -0
  30. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb +24 -0
  31. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb +34 -0
  32. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb +4 -0
  33. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb +4 -0
  34. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb +18 -0
  35. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb +5 -0
  36. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb +22 -0
  37. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb +4 -0
  38. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb +9 -0
  39. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb +8 -8
  40. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb +47 -0
  41. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  42. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb +15 -0
  43. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb +46 -0
  44. metadata +30 -10
  45. data/vendor/eac_cli/lib/eac_cli/runner/argument_option.rb +0 -13
  46. data/vendor/eac_cli/lib/eac_cli/runner/boolean_option.rb +0 -13
  47. data/vendor/eac_cli/lib/eac_cli/runner/definition.rb +0 -64
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/concern'
4
+ require 'eac_ruby_utils/envs/ssh_env/dasho_options'
5
+ require 'eac_ruby_utils/listable'
6
+ require 'eac_ruby_utils/patches/object/if_present'
7
+
8
+ module EacRubyUtils
9
+ module Envs
10
+ class SshEnv < ::EacRubyUtils::Envs::BaseEnv
11
+ module Terminal
12
+ extend ::ActiveSupport::Concern
13
+
14
+ included do
15
+ include ::EacRubyUtils::Envs::SshEnv::DashoOptions
16
+ add_nodasho_option('Terminal')
17
+ include ::EacRubyUtils::Listable
18
+ lists.add_string :terminal_option, :auto, :disable, :enable, :force
19
+ end
20
+
21
+ def ssh_command_line_terminal_args(value)
22
+ self.class.lists.terminal_option.value_validate!(value)
23
+ case value
24
+ when TERMINAL_OPTION_AUTO then ENV['TERM'].present? ? %w[-t] : []
25
+ when TERMINAL_OPTION_DISABLE then ['-T']
26
+ when TERMINAL_OPTION_ENABLE then ['-t']
27
+ when TERMINAL_OPTION_FORCE then ['-tt']
28
+ else raise "Invalid conditional branch: #{value}"
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -18,6 +18,10 @@ module EacRubyUtils
18
18
  end
19
19
  end
20
20
 
21
+ def immutable_value_get(object)
22
+ super || []
23
+ end
24
+
21
25
  def immutable_value_set(object, value)
22
26
  duplicate_object(object) do |old_value|
23
27
  (old_value || []) + [value]
@@ -11,6 +11,10 @@ module EacRubyUtils
11
11
  apply_set(klass)
12
12
  end
13
13
 
14
+ def immutable_value_get(object)
15
+ super || {}
16
+ end
17
+
14
18
  def immutable_value_set(object, key, value)
15
19
  duplicate_object(object) do |old_value|
16
20
  (old_value || {}).merge(key => value)
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EacRubyUtils
4
+ class Inflector
5
+ class << self
6
+ VARIABLE_NAME_PATTERN = /[_a-z][_a-z0-9]*/i.freeze
7
+
8
+ def variableize(string)
9
+ r = string.gsub(/[^_a-z0-9]/i, '_').gsub(/_+/, '_').gsub(/_\z/, '').gsub(/\A_/, '').downcase
10
+ m = VARIABLE_NAME_PATTERN.match(r)
11
+ return r if m
12
+
13
+ raise ::ArgumentError, "Invalid variable name \"#{r}\" was generated " \
14
+ "from string \"#{string}\""
15
+ end
16
+ end
17
+ end
18
+ end
@@ -33,6 +33,11 @@ module EacRubyUtils
33
33
  find_list_by_method(name) || super
34
34
  end
35
35
 
36
+ def hash_keys_validate!(hash, error_class = ::StandardError)
37
+ hash.keys.each { |key| value_validate!(key, error_class) }
38
+ hash
39
+ end
40
+
36
41
  def i18n_key
37
42
  "eac_ruby_utils.listable.#{class_i18n_key}.#{item}"
38
43
  end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/core_ext/object/blank'
4
+
5
+ class Object
6
+ # @return +block.call(self.method_name)+ if +self+ responds to +method_name+, +default_value+
7
+ # otherwise.
8
+ def if_respond(method_name, default_value = nil)
9
+ return default_value unless respond_to?(method_name)
10
+
11
+ value = send(method_name)
12
+
13
+ block_given? ? yield(value) : value
14
+ end
15
+
16
+ # @return +yield+ if +self+ is blank.
17
+ def if_blank
18
+ return yield if blank? && block_given?
19
+
20
+ self
21
+ end
22
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/require_sub'
4
+ ::EacRubyUtils.require_sub __FILE__
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/inflector'
4
+
5
+ class String
6
+ def variableize
7
+ ::EacRubyUtils::Inflector.variableize(self)
8
+ end
9
+ end
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'active_support/inflector'
4
+ require 'eac_ruby_utils/listable'
4
5
 
5
6
  module EacRubyUtils
6
7
  class << self
@@ -10,15 +11,14 @@ module EacRubyUtils
10
11
  end
11
12
 
12
13
  class RequireSub
13
- BASE_OPTION_KEY = :base
14
- INCLUDE_MODULES_OPTION_KEY = :include_modules
15
- REQUIRE_DEPENDENCY_OPTION_KEY = :require_dependency
14
+ include ::EacRubyUtils::Listable
15
+ lists.add_symbol :option, :base, :include_modules, :require_dependency
16
16
 
17
17
  attr_reader :file, :options
18
18
 
19
19
  def initialize(file, options = {})
20
20
  @file = file
21
- @options = options
21
+ @options = self.class.lists.option.hash_keys_validate!(options)
22
22
  end
23
23
 
24
24
  def apply
@@ -29,7 +29,7 @@ module EacRubyUtils
29
29
  private
30
30
 
31
31
  def active_support_require(path)
32
- return false unless options[REQUIRE_DEPENDENCY_OPTION_KEY]
32
+ return false unless options[OPTION_REQUIRE_DEPENDENCY]
33
33
 
34
34
  ::Kernel.require_dependency(path)
35
35
  true
@@ -46,7 +46,7 @@ module EacRubyUtils
46
46
  end
47
47
 
48
48
  def include_modules
49
- return unless options[INCLUDE_MODULES_OPTION_KEY]
49
+ return unless options[OPTION_INCLUDE_MODULES]
50
50
 
51
51
  base.constants.each do |constant_name|
52
52
  constant = base.const_get(constant_name)
@@ -57,11 +57,11 @@ module EacRubyUtils
57
57
  end
58
58
 
59
59
  def base
60
- options[BASE_OPTION_KEY] || raise('Option :base not setted')
60
+ options[OPTION_BASE] || raise('Option :base not setted')
61
61
  end
62
62
 
63
63
  def base?
64
- options[BASE_OPTION_KEY] ? true : false
64
+ options[OPTION_BASE] ? true : false
65
65
  end
66
66
 
67
67
  def kernel_require(path)
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/hash_with_indifferent_access'
4
+ require 'active_support/core_ext/object/blank'
5
+
6
+ module EacRubyUtils
7
+ class Struct
8
+ def initialize(initial_data = {})
9
+ self.data = ::ActiveSupport::HashWithIndifferentAccess.new(initial_data)
10
+ end
11
+
12
+ def [](key)
13
+ key, bool = parse_key(key)
14
+ bool ? self[key].present? : data[key]
15
+ end
16
+
17
+ def fetch(key)
18
+ key, bool = parse_key(key)
19
+ bool ? fetch(key).present? : data.fetch(key)
20
+ end
21
+
22
+ def method_missing(method_name, *arguments, &block)
23
+ property_method?(method_name) ? fetch(method_name) : super
24
+ end
25
+
26
+ def respond_to_missing?(method_name, include_private = false)
27
+ property_method?(method_name) || super
28
+ end
29
+
30
+ private
31
+
32
+ attr_accessor :data
33
+
34
+ def parse_key(key)
35
+ m = /\A(.+)\?\z/.match(key.to_s)
36
+ [(m ? m[1] : key.to_s).to_sym, m ? true : false]
37
+ end
38
+
39
+ def property_method?(key)
40
+ property_methods.include?(key.to_sym)
41
+ end
42
+
43
+ def property_methods
44
+ data.keys.flat_map { |k| [k.to_sym, "#{k}?".to_sym] }
45
+ end
46
+ end
47
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.40.0'
4
+ VERSION = '0.45.0'
5
5
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/inflector'
4
+
5
+ RSpec.describe ::EacRubyUtils::Inflector do
6
+ describe '#variableize' do
7
+ {
8
+ '_A_variableName' => 'a_variablename'
9
+ }.each do |source, expected|
10
+ context "when source is \"#{source}\"" do
11
+ it { expect(described_class.variableize(source)).to eq(expected) }
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/struct'
4
+
5
+ RSpec.describe ::EacRubyUtils::Struct do
6
+ let(:instance) { described_class.new(a: 1, b: '') }
7
+
8
+ describe '#[]' do
9
+ it { expect(instance[:a]).to eq(1) }
10
+ it { expect(instance['a']).to eq(1) }
11
+ it { expect(instance[:a?]).to eq(true) }
12
+ it { expect(instance['a?']).to eq(true) }
13
+ it { expect(instance[:b]).to eq('') }
14
+ it { expect(instance['b']).to eq('') }
15
+ it { expect(instance[:b?]).to eq(false) }
16
+ it { expect(instance['b?']).to eq(false) }
17
+ it { expect(instance[:c]).to eq(nil) }
18
+ it { expect(instance['c']).to eq(nil) }
19
+ it { expect(instance[:c?]).to eq(false) }
20
+ it { expect(instance['c?']).to eq(false) }
21
+ end
22
+
23
+ describe '#fetch' do
24
+ it { expect(instance.fetch(:a)).to eq(1) }
25
+ it { expect(instance.fetch('a')).to eq(1) }
26
+ it { expect(instance.fetch(:a?)).to eq(true) }
27
+ it { expect(instance.fetch('a?')).to eq(true) }
28
+ it { expect(instance.fetch(:b)).to eq('') }
29
+ it { expect(instance.fetch('b')).to eq('') }
30
+ it { expect(instance.fetch(:b?)).to eq(false) }
31
+ it { expect(instance.fetch('b?')).to eq(false) }
32
+ it { expect { instance.fetch(:c) }.to raise_error(::KeyError) }
33
+ it { expect { instance.fetch('c') }.to raise_error(::KeyError) }
34
+ it { expect { instance.fetch(:c?) }.to raise_error(::KeyError) }
35
+ it { expect { instance.fetch('c?') }.to raise_error(::KeyError) }
36
+ end
37
+
38
+ describe '#property_method' do
39
+ it { expect(instance.a).to eq(1) }
40
+ it { expect(instance.a?).to eq(true) }
41
+ it { expect(instance.b).to eq('') }
42
+ it { expect(instance.b?).to eq(false) }
43
+ it { expect { instance.c }.to raise_error(::NoMethodError) }
44
+ it { expect { instance.c? }.to raise_error(::NoMethodError) }
45
+ end
46
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ehbrs-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-10 00:00:00.000000000 Z
11
+ date: 2020-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm-tools
@@ -193,14 +193,23 @@ files:
193
193
  - vendor/eac_cli/eac_cli.gemspec
194
194
  - vendor/eac_cli/lib/eac_cli.rb
195
195
  - vendor/eac_cli/lib/eac_cli/default_runner.rb
196
+ - vendor/eac_cli/lib/eac_cli/definition.rb
197
+ - vendor/eac_cli/lib/eac_cli/definition/argument_option.rb
198
+ - vendor/eac_cli/lib/eac_cli/definition/base_option.rb
199
+ - vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb
200
+ - vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb
201
+ - vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb
202
+ - vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb
203
+ - vendor/eac_cli/lib/eac_cli/parser.rb
204
+ - vendor/eac_cli/lib/eac_cli/parser/collector.rb
205
+ - vendor/eac_cli/lib/eac_cli/parser/error.rb
206
+ - vendor/eac_cli/lib/eac_cli/parser/options_collection.rb
207
+ - vendor/eac_cli/lib/eac_cli/parser/parse_result.rb
208
+ - vendor/eac_cli/lib/eac_cli/parser/positional_collection.rb
196
209
  - vendor/eac_cli/lib/eac_cli/runner.rb
197
- - vendor/eac_cli/lib/eac_cli/runner/argument_option.rb
198
- - vendor/eac_cli/lib/eac_cli/runner/base_option.rb
199
- - vendor/eac_cli/lib/eac_cli/runner/boolean_option.rb
200
- - vendor/eac_cli/lib/eac_cli/runner/definition.rb
201
- - vendor/eac_cli/lib/eac_cli/runner/docopt_doc.rb
202
- - vendor/eac_cli/lib/eac_cli/runner/positional_argument.rb
210
+ - vendor/eac_cli/lib/eac_cli/runner/context.rb
203
211
  - vendor/eac_cli/lib/eac_cli/version.rb
212
+ - vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb
204
213
  - vendor/eac_cli/spec/rubocop_spec.rb
205
214
  - vendor/eac_cli/spec/spec_helper.rb
206
215
  - vendor/eac_docker/Gemfile
@@ -222,6 +231,7 @@ files:
222
231
  - vendor/eac_ruby_utils/eac_ruby_utils.gemspec
223
232
  - vendor/eac_ruby_utils/lib/eac_ruby_utils.rb
224
233
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/arguments_consumer.rb
234
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb
225
235
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/by_reference.rb
226
236
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb
227
237
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor.rb
@@ -252,6 +262,10 @@ files:
252
262
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/process.rb
253
263
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/spawn.rb
254
264
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env.rb
265
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb
266
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb
267
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb
268
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb
255
269
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/filesystem_cache.rb
256
270
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs.rb
257
271
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb
@@ -269,6 +283,7 @@ files:
269
283
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/common_accessor.rb
270
284
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb
271
285
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/instance_methods.rb
286
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb
272
287
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/listable.rb
273
288
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/class_methods.rb
274
289
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/instance_methods.rb
@@ -300,12 +315,15 @@ files:
300
315
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb
301
316
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb
302
317
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb
318
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb
303
319
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/template.rb
304
320
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb
305
321
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb
306
322
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb
307
323
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb
308
324
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
325
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb
326
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb
309
327
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb
310
328
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/default_time_zone_set.rb
311
329
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/local_time_zone.rb
@@ -319,6 +337,7 @@ files:
319
337
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb
320
338
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb
321
339
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb
340
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb
322
341
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/templates.rb
323
342
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/templates/directory.rb
324
343
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/templates/file.rb
@@ -345,6 +364,7 @@ files:
345
364
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/extname_spec.rb
346
365
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/temp_spec.rb
347
366
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb
367
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
348
368
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb
349
369
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb
350
370
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb
@@ -364,6 +384,7 @@ files:
364
384
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/ruby_spec.rb
365
385
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb
366
386
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb
387
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb
367
388
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/templates/file_spec.rb
368
389
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/templates/file_spec_files/expected_content
369
390
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/templates/file_spec_files/source.template
@@ -393,8 +414,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
393
414
  - !ruby/object:Gem::Version
394
415
  version: '0'
395
416
  requirements: []
396
- rubyforge_project:
397
- rubygems_version: 2.7.7
417
+ rubygems_version: 3.0.8
398
418
  signing_key:
399
419
  specification_version: 4
400
420
  summary: Tools for EHB/RS.
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_cli/runner/base_option'
4
-
5
- module EacCli
6
- module Runner
7
- class ArgumentOption < ::EacCli::Runner::BaseOption
8
- def argument?
9
- true
10
- end
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_cli/runner/base_option'
4
-
5
- module EacCli
6
- module Runner
7
- class BooleanOption < ::EacCli::Runner::BaseOption
8
- def argument?
9
- false
10
- end
11
- end
12
- end
13
- end