avm-tools 0.94.1 → 0.97.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/app_src.rb +60 -0
- data/lib/avm/core_ext.rb +4 -0
- data/lib/avm/eac_asciidoctor_base0/deploy.rb +5 -5
- data/lib/avm/eac_webapp_base0/instance.rb +5 -2
- data/lib/avm/eac_webapp_base0/instance/subcommand_parent.rb +24 -0
- data/lib/avm/eac_webapp_base0/runner/data.rb +1 -0
- data/lib/avm/eac_webapp_base0/runner/data/dump.rb +1 -1
- data/lib/avm/eac_webapp_base0/runner/data/load.rb +1 -1
- data/lib/avm/git/issue/complete/_test.rb +2 -2
- data/lib/avm/instances/base.rb +6 -12
- data/lib/avm/instances/base/entry_keys.rb +17 -0
- data/lib/{eac_launcher → avm/launcher}/instances/error.rb +0 -0
- data/lib/avm/launcher/instances/runner_helper.rb +42 -0
- data/lib/avm/patches/class.rb +4 -0
- data/lib/avm/patches/eac_ruby_gems_utils.rb +4 -0
- data/lib/avm/patches/eac_ruby_gems_utils/gem.rb +2 -2
- data/lib/avm/patches/object.rb +4 -0
- data/lib/avm/patches/object/fs_cache.rb +16 -0
- data/lib/avm/ruby/bundler.rb +11 -0
- data/lib/avm/ruby/bundler/incompatible_parser.rb +25 -0
- data/lib/avm/ruby/bundler/incompatible_parser/depends_on.rb +25 -0
- data/lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb +39 -0
- data/lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb +19 -0
- data/lib/avm/ruby/bundler/incompatible_parser/line_buffer.rb +73 -0
- data/lib/avm/ruby/bundler/incompatible_parser/line_factory.rb +31 -0
- data/lib/avm/ruby/bundler/incompatible_parser/line_parser_base.rb +19 -0
- data/lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb +26 -0
- data/lib/avm/ruby/gems/generator.rb +1 -5
- data/lib/avm/ruby/rubocop/_configured.rb +2 -2
- data/lib/avm/tools/runner/{local_project.rb → app_src.rb} +3 -3
- data/lib/avm/tools/runner/{local_project → app_src}/eac_asciidoctor_base0.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/eac_asciidoctor_base0/build.rb +19 -7
- data/lib/avm/tools/runner/{local_project → app_src}/eac_writings_base0.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/eac_writings_base0/build_chapters.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/eac_writings_base0/build_single.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/eac_writings_base0/info.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/info.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/ruby.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/ruby/bundler.rb +4 -8
- data/lib/avm/tools/runner/{local_project → app_src}/ruby/bundler/gemfile_lock.rb +11 -14
- data/lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb +84 -0
- data/lib/avm/tools/runner/{local_project → app_src}/test.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/update.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/version_bump.rb +1 -1
- data/lib/avm/tools/runner/launcher.rb +3 -6
- data/lib/avm/tools/runner/launcher/instances.rb +10 -21
- data/lib/avm/tools/runner/launcher/projects.rb +10 -18
- data/lib/avm/tools/runner/launcher/publish.rb +18 -26
- data/lib/avm/tools/runner/ruby/rubocop.rb +9 -25
- data/lib/avm/tools/runner/self.rb +7 -15
- data/lib/avm/tools/runner/self/docker.rb +1 -1
- data/lib/avm/tools/version.rb +1 -1
- data/lib/eac_launcher/instances.rb +1 -1
- data/template/avm/ruby/gems/generator/static/spec/rubocop_spec.rb +1 -5
- data/template/avm/ruby/gems/generator/static/spec/spec_helper.rb +2 -0
- data/vendor/avm-apps/avm-apps.gemspec +1 -1
- data/vendor/avm-apps/lib/avm/apps/sources/configuration.rb +57 -0
- data/vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb +18 -0
- data/vendor/avm-apps/lib/avm/apps/sources/configuration/_rubocop.rb +26 -0
- data/vendor/avm-apps/lib/avm/apps/sources/configuration/_tests.rb +29 -0
- data/vendor/avm-apps/lib/avm/apps/version.rb +1 -1
- data/vendor/avm-apps/spec/rubocop_spec.rb +1 -5
- data/vendor/avm-apps/spec/spec_helper.rb +3 -0
- data/vendor/avm-eac_asciidoctor_base0/Gemfile +5 -0
- data/vendor/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +19 -0
- data/{lib/avm/local_projects.rb → vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb} +1 -1
- data/{lib/avm/eac_asciidoctor_base0/project.rb → vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb} +2 -4
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +15 -0
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb +49 -0
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb +30 -0
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +7 -0
- data/vendor/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +3 -0
- data/vendor/avm-eac_asciidoctor_base0/spec/spec_helper.rb +102 -0
- data/vendor/eac_cli/eac_cli.gemspec +1 -1
- data/vendor/eac_cli/lib/eac_cli/definition/base_option.rb +5 -1
- data/vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb +3 -1
- data/vendor/eac_cli/lib/eac_cli/runner/context.rb +2 -1
- data/vendor/eac_cli/lib/eac_cli/runner/instance_methods.rb +8 -1
- data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
- data/vendor/eac_cli/spec/rubocop_spec.rb +1 -5
- data/vendor/eac_cli/spec/spec_helper.rb +3 -0
- data/vendor/eac_docker/eac_docker.gemspec +1 -1
- data/vendor/eac_docker/lib/eac_docker/version.rb +1 -1
- data/vendor/eac_docker/spec/rubocop_spec.rb +1 -5
- data/vendor/eac_docker/spec/spec_helper.rb +3 -0
- data/vendor/eac_git/eac_git.gemspec +2 -1
- data/vendor/eac_git/lib/eac_git/local.rb +4 -0
- data/vendor/eac_git/lib/eac_git/local/commit.rb +53 -0
- data/vendor/eac_git/lib/eac_git/local/commit/changed_file.rb +46 -0
- data/vendor/eac_git/lib/eac_git/local/commit/diff_tree_line.rb +32 -0
- data/vendor/eac_git/lib/eac_git/rspec.rb +6 -1
- data/{lib/avm/git/spec_helper.rb → vendor/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb} +16 -13
- data/vendor/eac_git/lib/eac_git/version.rb +1 -1
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb +13 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out +1 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out +1 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out +1 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out +2 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit_spec.rb +58 -0
- data/vendor/eac_git/spec/rubocop_spec.rb +1 -5
- data/vendor/eac_git/spec/spec_helper.rb +3 -0
- data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +4 -4
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb +36 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb +58 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
- data/vendor/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb +81 -0
- data/vendor/eac_ruby_base0/spec/rubocop_spec.rb +1 -5
- data/vendor/eac_ruby_base0/spec/spec_helper.rb +3 -0
- data/vendor/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +4 -3
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +7 -10
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +9 -2
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +1 -1
- data/vendor/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb +1 -5
- data/vendor/eac_ruby_gems_utils/spec/spec_helper.rb +3 -0
- data/vendor/eac_ruby_utils/eac_ruby_utils.gemspec +2 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/filesystem_cache.rb +6 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/logs.rb +63 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb +9 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb +3 -2
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel/nyi.rb +4 -2
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb +10 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb +4 -2
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb +34 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb +10 -29
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb +69 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb +18 -5
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb +8 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb +9 -0
- data/vendor/eac_ruby_utils/spec/rubocop_check_spec.rb +1 -5
- data/vendor/eac_ruby_utils/spec/spec_helper.rb +3 -0
- metadata +90 -39
- data/lib/avm/eac_asciidoctor_base0/build.rb +0 -47
- data/lib/avm/eac_asciidoctor_base0/build/file.rb +0 -28
- data/lib/avm/instances/configuration.rb +0 -55
- data/lib/avm/instances/configuration/_locale.rb +0 -16
- data/lib/avm/instances/configuration/_rubocop.rb +0 -24
- data/lib/avm/instances/configuration/_tests.rb +0 -27
- data/lib/avm/local_projects/instance.rb +0 -62
- data/lib/eac_launcher/instances/runner_helper.rb +0 -42
- data/vendor/eac_cli/lib/eac_cli/runner_with/output_file.rb +0 -30
- data/vendor/eac_cli/spec/lib/eac_cli/runner_with/output_file_spec.rb +0 -53
@@ -0,0 +1,63 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'active_support/core_ext/string/filters'
|
4
|
+
require 'eac_ruby_utils/fs/temp'
|
5
|
+
require 'filesize'
|
6
|
+
|
7
|
+
module EacRubyUtils
|
8
|
+
module Fs
|
9
|
+
class Logs
|
10
|
+
TRUNCATE_DEFAULT_LENGTH = 1000
|
11
|
+
TRUNCATE_APPEND_TEXT = '(...) '
|
12
|
+
|
13
|
+
def [](label)
|
14
|
+
log_set.fetch(sanitize_label(label))
|
15
|
+
end
|
16
|
+
|
17
|
+
def add(label)
|
18
|
+
log_set[sanitize_label(label)] = ::EacRubyUtils::Fs::Temp.file
|
19
|
+
|
20
|
+
self
|
21
|
+
end
|
22
|
+
|
23
|
+
def remove_all
|
24
|
+
log_set.each_key { |label| remove(label) }
|
25
|
+
|
26
|
+
self
|
27
|
+
end
|
28
|
+
|
29
|
+
def remove(label)
|
30
|
+
log_set.fetch(sanitize_label(label)).remove
|
31
|
+
log_set.delete(sanitize_label(label))
|
32
|
+
end
|
33
|
+
|
34
|
+
def truncate(label, length = TRUNCATE_DEFAULT_LENGTH)
|
35
|
+
content = self[label].read.strip
|
36
|
+
return content if content.length <= TRUNCATE_DEFAULT_LENGTH
|
37
|
+
|
38
|
+
TRUNCATE_APPEND_TEXT + content[content.length - length + TRUNCATE_APPEND_TEXT.length,
|
39
|
+
length - TRUNCATE_APPEND_TEXT.length]
|
40
|
+
end
|
41
|
+
|
42
|
+
def truncate_all(length = TRUNCATE_DEFAULT_LENGTH)
|
43
|
+
s = "Files: #{log_set.length}\n"
|
44
|
+
log_set.each do |label, path|
|
45
|
+
x = truncate(label, length)
|
46
|
+
y = [label, path, ::Filesize.from("#{path.size} B").pretty].join(' / ')
|
47
|
+
s += x.blank? ? ">>> #{y} (Blank) <<<" : ">>> #{y}\n#{x}\n<<< #{y}\n"
|
48
|
+
end
|
49
|
+
s
|
50
|
+
end
|
51
|
+
|
52
|
+
private
|
53
|
+
|
54
|
+
def sanitize_label(label)
|
55
|
+
label.to_sym
|
56
|
+
end
|
57
|
+
|
58
|
+
def log_set
|
59
|
+
@log_set ||= {}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -7,11 +7,19 @@ module EacRubyUtils
|
|
7
7
|
class << self
|
8
8
|
VARIABLE_NAME_PATTERN = /[_a-z][_a-z0-9]*/i.freeze
|
9
9
|
|
10
|
-
|
10
|
+
# Convert a string to a variable format: first character as a lowercase letter or underscore
|
11
|
+
# and other as a lowercase letter, underscore or numbers.
|
12
|
+
# @param string [String] The source string.
|
13
|
+
# @param validate [Boolean] Affect the outcome when the result builded is not in a valid
|
14
|
+
# variable format. If `true`, it raises a {ArgumentError}. If `false`, return `nil`.
|
15
|
+
# @return [String, nil]
|
16
|
+
# @raise [ArgumentError]
|
17
|
+
def variableize(string, validate = true)
|
11
18
|
r = ::ActiveSupport::Inflector.transliterate(string).gsub(/[^_a-z0-9]/i, '_')
|
12
19
|
.gsub(/_+/, '_').gsub(/_\z/, '').gsub(/\A_/, '').downcase
|
13
20
|
m = VARIABLE_NAME_PATTERN.match(r)
|
14
21
|
return r if m
|
22
|
+
return nil unless validate
|
15
23
|
|
16
24
|
raise ::ArgumentError, "Invalid variable name \"#{r}\" was generated " \
|
17
25
|
"from string \"#{string}\""
|
@@ -54,8 +54,9 @@ module EacRubyUtils
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def value_validate!(value, error_class = ::StandardError)
|
57
|
-
value_valid?(value)
|
58
|
-
|
57
|
+
return value if value_valid?(value)
|
58
|
+
|
59
|
+
raise(error_class, "Invalid value: \"#{value}\" (Valid: #{values_to_s})")
|
59
60
|
end
|
60
61
|
|
61
62
|
def values_to_s
|
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
module Kernel
|
4
4
|
# Raise exception with text "Not yet implemented".
|
5
|
-
def nyi
|
6
|
-
|
5
|
+
def nyi(message = nil)
|
6
|
+
s = "Not yet implemented (Called in #{caller.first})"
|
7
|
+
s += ": #{message}" if message
|
8
|
+
raise s
|
7
9
|
end
|
8
10
|
end
|
@@ -3,7 +3,9 @@
|
|
3
3
|
require 'eac_ruby_utils/inflector'
|
4
4
|
|
5
5
|
class String
|
6
|
-
|
7
|
-
|
6
|
+
# Shortcut to `EacRubyUtils::Inflector.variableize(self, ...)`.
|
7
|
+
# @see EacRubyUtils::Inflector.variableize
|
8
|
+
def variableize(validate = true)
|
9
|
+
::EacRubyUtils::Inflector.variableize(self, validate)
|
8
10
|
end
|
9
11
|
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module EacRubyUtils
|
4
|
+
class RegexpParser
|
5
|
+
attr_reader :pattern, :builder_proc
|
6
|
+
|
7
|
+
def initialize(pattern, &builder_proc)
|
8
|
+
@pattern = pattern
|
9
|
+
@builder_proc = builder_proc
|
10
|
+
end
|
11
|
+
|
12
|
+
def parse(string)
|
13
|
+
internal_parse(string)[1]
|
14
|
+
end
|
15
|
+
|
16
|
+
def parse!(string)
|
17
|
+
match, result = internal_parse(string)
|
18
|
+
return result if match
|
19
|
+
|
20
|
+
raise ::ArgumentError, "String \"#{string}\" does not match pattern \"#{pattern}\""
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def internal_parse(string)
|
26
|
+
m = pattern.match(string)
|
27
|
+
if m
|
28
|
+
[true, builder_proc ? builder_proc.call(m) : m]
|
29
|
+
else
|
30
|
+
[false, nil]
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -1,15 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'eac_ruby_utils/options_consumer'
|
3
|
+
require 'eac_ruby_utils/require_sub'
|
5
4
|
|
6
5
|
module EacRubyUtils
|
7
6
|
# Provide a option by constant, method or options object.
|
8
7
|
module SettingsProvider
|
8
|
+
::EacRubyUtils.require_sub __FILE__, base: self
|
9
|
+
|
9
10
|
def setting_constant_name(key, fullname = false)
|
10
|
-
|
11
|
-
name = "#{self.class.name}::#{name}" if fullname
|
12
|
-
name
|
11
|
+
setting_value_instance(key).constant_name(fullname)
|
13
12
|
end
|
14
13
|
|
15
14
|
def setting_search_order
|
@@ -25,41 +24,23 @@ module EacRubyUtils
|
|
25
24
|
end
|
26
25
|
|
27
26
|
def setting_value(key, options = {})
|
28
|
-
|
29
|
-
options.order.each do |method|
|
30
|
-
value = send("setting_value_by_#{method}", key)
|
31
|
-
return value if value
|
32
|
-
end
|
33
|
-
return nil unless options.required
|
34
|
-
|
35
|
-
raise "Setting \"#{key}\" not found. Supply in #{settings_object_name}, implement a " \
|
36
|
-
"\"#{key}\" method or declare a #{setting_constant_name(key, true)} constant."
|
27
|
+
setting_value_instance(key, options).value
|
37
28
|
end
|
38
29
|
|
39
30
|
def setting_value_by_constant(key)
|
40
|
-
|
41
|
-
begin
|
42
|
-
self.class.const_get(constant_name)
|
43
|
-
rescue NameError
|
44
|
-
nil
|
45
|
-
end
|
31
|
+
setting_value_instance(key).value_by_constant
|
46
32
|
end
|
47
33
|
|
48
34
|
def setting_value_by_method(key)
|
49
|
-
|
35
|
+
setting_value_instance(key).value_by_method
|
50
36
|
end
|
51
37
|
|
52
38
|
def setting_value_by_settings_object(key)
|
53
|
-
|
39
|
+
setting_value_instance(key).value_by_settings_object
|
54
40
|
end
|
55
41
|
|
56
|
-
|
57
|
-
|
58
|
-
def parse_setting_value_options(options)
|
59
|
-
r = ::EacRubyUtils::OptionsConsumer.new(options).consume_all(:required, :order, ostruct: true)
|
60
|
-
r.required = true if r.required.nil?
|
61
|
-
r.order = setting_search_order if r.order.nil?
|
62
|
-
r
|
42
|
+
def setting_value_instance(key, options = {})
|
43
|
+
::EacRubyUtils::SettingsProvider::SettingValue.new(self, key, options)
|
63
44
|
end
|
64
45
|
end
|
65
46
|
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'active_support/core_ext/string/inflections'
|
4
|
+
require 'eac_ruby_utils/listable'
|
5
|
+
require 'eac_ruby_utils/simple_cache'
|
6
|
+
require 'eac_ruby_utils/struct'
|
7
|
+
|
8
|
+
module EacRubyUtils
|
9
|
+
module SettingsProvider
|
10
|
+
class SettingValue
|
11
|
+
include ::EacRubyUtils::Listable
|
12
|
+
include ::EacRubyUtils::SimpleCache
|
13
|
+
|
14
|
+
attr_reader :source, :key, :options
|
15
|
+
lists.add_symbol :option, :default, :order, :required
|
16
|
+
|
17
|
+
def initialize(source, key, options)
|
18
|
+
@source = source
|
19
|
+
@key = key
|
20
|
+
@options = options
|
21
|
+
end
|
22
|
+
|
23
|
+
def constant_name(fullname = false)
|
24
|
+
name = key.to_s.underscore.upcase
|
25
|
+
name = "#{source.class.name}::#{name}" if fullname
|
26
|
+
name
|
27
|
+
end
|
28
|
+
|
29
|
+
def value
|
30
|
+
parsed_options.order.each do |method|
|
31
|
+
value = send("value_by_#{method}")
|
32
|
+
return value if value
|
33
|
+
end
|
34
|
+
return parsed_options.default if parsed_options.respond_to?(OPTION_DEFAULT)
|
35
|
+
return nil unless parsed_options.required
|
36
|
+
|
37
|
+
raise_key_not_found
|
38
|
+
end
|
39
|
+
|
40
|
+
def value_by_constant
|
41
|
+
source.class.const_get(constant_name)
|
42
|
+
rescue NameError
|
43
|
+
nil
|
44
|
+
end
|
45
|
+
|
46
|
+
def value_by_method
|
47
|
+
source.respond_to?(key, true) ? source.send(key) : nil
|
48
|
+
end
|
49
|
+
|
50
|
+
def value_by_settings_object
|
51
|
+
source.settings_object[key.to_s] || source.settings_object[key.to_sym]
|
52
|
+
end
|
53
|
+
|
54
|
+
private
|
55
|
+
|
56
|
+
def parsed_options_uncached
|
57
|
+
r = self.class.lists.option.hash_keys_validate!(options.symbolize_keys)
|
58
|
+
r[:required] = true unless r.key?(OPTION_REQUIRED)
|
59
|
+
r[:order] = source.setting_search_order if r[OPTION_ORDER].nil?
|
60
|
+
::EacRubyUtils::Struct.new(r)
|
61
|
+
end
|
62
|
+
|
63
|
+
def raise_key_not_found
|
64
|
+
raise "Setting \"#{key}\" not found. Supply in #{source.settings_object_name}, implement "\
|
65
|
+
"a \"#{key}\" method or declare a #{constant_name(true)} constant."
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -2,12 +2,18 @@
|
|
2
2
|
|
3
3
|
module EacRubyUtils
|
4
4
|
module SimpleCache
|
5
|
-
|
5
|
+
UNCACHED_METHOD_NAME_SUFFIX = '_uncached'
|
6
|
+
UNCACHED_METHOD_PATTERN = /\A(\s+)_#{::Regexp.quote(UNCACHED_METHOD_NAME_SUFFIX)}\z/.freeze
|
7
|
+
|
8
|
+
class << self
|
9
|
+
def uncached_method_name(method_name)
|
10
|
+
"#{method_name}#{UNCACHED_METHOD_NAME_SUFFIX}"
|
11
|
+
end
|
12
|
+
end
|
6
13
|
|
7
14
|
def method_missing(method, *args, &block)
|
8
|
-
|
9
|
-
|
10
|
-
call_method_with_cache(uncached_method, args, &block)
|
15
|
+
if respond_to?(::EacRubyUtils::SimpleCache.uncached_method_name(method), true)
|
16
|
+
call_method_with_cache(method, args, &block)
|
11
17
|
else
|
12
18
|
super
|
13
19
|
end
|
@@ -35,10 +41,17 @@ module EacRubyUtils
|
|
35
41
|
raise 'Não é possível realizar o cache de métodos com bloco' if block
|
36
42
|
|
37
43
|
key = ([method] + args).join('@@@')
|
38
|
-
|
44
|
+
unless cache_keys.key?(key)
|
45
|
+
uncached_value = call_uncached_method(method, args)
|
46
|
+
cache_keys[key] = uncached_value
|
47
|
+
end
|
39
48
|
cache_keys[key]
|
40
49
|
end
|
41
50
|
|
51
|
+
def call_uncached_method(method, args)
|
52
|
+
send(::EacRubyUtils::SimpleCache.uncached_method_name(method), *args)
|
53
|
+
end
|
54
|
+
|
42
55
|
def cache_keys
|
43
56
|
@cache_keys ||= {}
|
44
57
|
end
|
@@ -42,5 +42,13 @@ RSpec.describe ::EacRubyUtils::SettingsProvider do
|
|
42
42
|
it do
|
43
43
|
expect(stub.setting_value('key_e', required: false)).to eq(nil)
|
44
44
|
end
|
45
|
+
|
46
|
+
it do
|
47
|
+
expect(stub.setting_value('key_e', default: nil)).to eq(nil)
|
48
|
+
end
|
49
|
+
|
50
|
+
it do
|
51
|
+
expect(stub.setting_value('key_e', default: 'default_e')).to eq('default_e')
|
52
|
+
end
|
45
53
|
end
|
46
54
|
end
|
@@ -16,6 +16,11 @@ class CacheableObject
|
|
16
16
|
"#{arg1}/#{@counter2}"
|
17
17
|
end
|
18
18
|
|
19
|
+
def method_with_reset_uncached
|
20
|
+
reset_cache
|
21
|
+
'result'
|
22
|
+
end
|
23
|
+
|
19
24
|
private
|
20
25
|
|
21
26
|
def private_method_uncached
|
@@ -39,6 +44,10 @@ RSpec.describe ::EacRubyUtils::SimpleCache do
|
|
39
44
|
it 'is able to call private uncached as cached' do
|
40
45
|
expect(instance.private_method).to eq(instance.private_method)
|
41
46
|
end
|
47
|
+
|
48
|
+
it 'return value even if reset cache' do
|
49
|
+
expect(instance.method_with_reset).to eq('result')
|
50
|
+
end
|
42
51
|
end
|
43
52
|
|
44
53
|
describe 'cache value with args' do
|
@@ -5,6 +5,9 @@ require 'tmpdir'
|
|
5
5
|
|
6
6
|
RSpec.configure do |config|
|
7
7
|
config.example_status_persistence_file_path = ::File.join(::Dir.tmpdir, 'eac_ruby_utils_rspec')
|
8
|
+
|
9
|
+
require 'eac_ruby_gem_support/rspec'
|
10
|
+
::EacRubyGemSupport::Rspec.setup(::File.expand_path('..', __dir__), config)
|
8
11
|
end
|
9
12
|
|
10
13
|
require 'i18n'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.97.0
|
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: 2021-
|
11
|
+
date: 2021-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -98,20 +98,14 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '0.
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 0.1.2
|
101
|
+
version: '0.2'
|
105
102
|
type: :development
|
106
103
|
prerelease: false
|
107
104
|
version_requirements: !ruby/object:Gem::Requirement
|
108
105
|
requirements:
|
109
106
|
- - "~>"
|
110
107
|
- !ruby/object:Gem::Version
|
111
|
-
version: '0.
|
112
|
-
- - ">="
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: 0.1.2
|
108
|
+
version: '0.2'
|
115
109
|
- !ruby/object:Gem::Dependency
|
116
110
|
name: eac_cli
|
117
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -264,6 +258,20 @@ dependencies:
|
|
264
258
|
- - ">="
|
265
259
|
- !ruby/object:Gem::Version
|
266
260
|
version: '0'
|
261
|
+
- !ruby/object:Gem::Dependency
|
262
|
+
name: os
|
263
|
+
requirement: !ruby/object:Gem::Requirement
|
264
|
+
requirements:
|
265
|
+
- - ">="
|
266
|
+
- !ruby/object:Gem::Version
|
267
|
+
version: '0'
|
268
|
+
type: :runtime
|
269
|
+
prerelease: false
|
270
|
+
version_requirements: !ruby/object:Gem::Requirement
|
271
|
+
requirements:
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: '0'
|
267
275
|
- !ruby/object:Gem::Dependency
|
268
276
|
name: ruby-progressbar
|
269
277
|
requirement: !ruby/object:Gem::Requirement
|
@@ -294,8 +302,10 @@ files:
|
|
294
302
|
- Gemfile
|
295
303
|
- exe/avm
|
296
304
|
- lib/avm.rb
|
305
|
+
- lib/avm/app_src.rb
|
297
306
|
- lib/avm/cached_download.rb
|
298
307
|
- lib/avm/configs.rb
|
308
|
+
- lib/avm/core_ext.rb
|
299
309
|
- lib/avm/data.rb
|
300
310
|
- lib/avm/data/instance.rb
|
301
311
|
- lib/avm/data/instance/files_unit.rb
|
@@ -313,11 +323,8 @@ files:
|
|
313
323
|
- lib/avm/eac_asciidoctor_base0.rb
|
314
324
|
- lib/avm/eac_asciidoctor_base0/apache_host.rb
|
315
325
|
- lib/avm/eac_asciidoctor_base0/apache_path.rb
|
316
|
-
- lib/avm/eac_asciidoctor_base0/build.rb
|
317
|
-
- lib/avm/eac_asciidoctor_base0/build/file.rb
|
318
326
|
- lib/avm/eac_asciidoctor_base0/deploy.rb
|
319
327
|
- lib/avm/eac_asciidoctor_base0/instance.rb
|
320
|
-
- lib/avm/eac_asciidoctor_base0/project.rb
|
321
328
|
- lib/avm/eac_rails_base0.rb
|
322
329
|
- lib/avm/eac_rails_base0/apache_host.rb
|
323
330
|
- lib/avm/eac_rails_base0/apache_path.rb
|
@@ -354,6 +361,7 @@ files:
|
|
354
361
|
- lib/avm/eac_webapp_base0/deploy/version.rb
|
355
362
|
- lib/avm/eac_webapp_base0/deploy/write_on_target.rb
|
356
363
|
- lib/avm/eac_webapp_base0/instance.rb
|
364
|
+
- lib/avm/eac_webapp_base0/instance/subcommand_parent.rb
|
357
365
|
- lib/avm/eac_webapp_base0/runner.rb
|
358
366
|
- lib/avm/eac_webapp_base0/runner/apache_host.rb
|
359
367
|
- lib/avm/eac_webapp_base0/runner/apache_path.rb
|
@@ -437,7 +445,6 @@ files:
|
|
437
445
|
- lib/avm/git/organize/reference_update.rb
|
438
446
|
- lib/avm/git/organize/repository.rb
|
439
447
|
- lib/avm/git/revision_test.rb
|
440
|
-
- lib/avm/git/spec_helper.rb
|
441
448
|
- lib/avm/git/subrepo_check.rb
|
442
449
|
- lib/avm/git/subrepo_check/parent.rb
|
443
450
|
- lib/avm/git/subrepo_check/remote.rb
|
@@ -458,10 +465,7 @@ files:
|
|
458
465
|
- lib/avm/instances/base/auto_values/system.rb
|
459
466
|
- lib/avm/instances/base/auto_values/web.rb
|
460
467
|
- lib/avm/instances/base/dockerizable.rb
|
461
|
-
- lib/avm/instances/
|
462
|
-
- lib/avm/instances/configuration/_locale.rb
|
463
|
-
- lib/avm/instances/configuration/_rubocop.rb
|
464
|
-
- lib/avm/instances/configuration/_tests.rb
|
468
|
+
- lib/avm/instances/base/entry_keys.rb
|
465
469
|
- lib/avm/instances/entries.rb
|
466
470
|
- lib/avm/instances/entry.rb
|
467
471
|
- lib/avm/instances/entry_keys.rb
|
@@ -473,13 +477,17 @@ files:
|
|
473
477
|
- lib/avm/launcher/errors/non_project.rb
|
474
478
|
- lib/avm/launcher/instances/base.rb
|
475
479
|
- lib/avm/launcher/instances/base/cache.rb
|
480
|
+
- lib/avm/launcher/instances/error.rb
|
481
|
+
- lib/avm/launcher/instances/runner_helper.rb
|
476
482
|
- lib/avm/launcher/instances/settings.rb
|
477
|
-
- lib/avm/local_projects.rb
|
478
|
-
- lib/avm/local_projects/instance.rb
|
479
483
|
- lib/avm/patches.rb
|
484
|
+
- lib/avm/patches/class.rb
|
480
485
|
- lib/avm/patches/class/i18n.rb
|
486
|
+
- lib/avm/patches/eac_ruby_gems_utils.rb
|
481
487
|
- lib/avm/patches/eac_ruby_gems_utils/gem.rb
|
482
488
|
- lib/avm/patches/i18n.rb
|
489
|
+
- lib/avm/patches/object.rb
|
490
|
+
- lib/avm/patches/object/fs_cache.rb
|
483
491
|
- lib/avm/patches/object/i18n.rb
|
484
492
|
- lib/avm/patches/object/template.rb
|
485
493
|
- lib/avm/path_string.rb
|
@@ -514,6 +522,15 @@ files:
|
|
514
522
|
- lib/avm/rails.rb
|
515
523
|
- lib/avm/result.rb
|
516
524
|
- lib/avm/ruby.rb
|
525
|
+
- lib/avm/ruby/bundler.rb
|
526
|
+
- lib/avm/ruby/bundler/incompatible_parser.rb
|
527
|
+
- lib/avm/ruby/bundler/incompatible_parser/depends_on.rb
|
528
|
+
- lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb
|
529
|
+
- lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb
|
530
|
+
- lib/avm/ruby/bundler/incompatible_parser/line_buffer.rb
|
531
|
+
- lib/avm/ruby/bundler/incompatible_parser/line_factory.rb
|
532
|
+
- lib/avm/ruby/bundler/incompatible_parser/line_parser_base.rb
|
533
|
+
- lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb
|
517
534
|
- lib/avm/ruby/gems.rb
|
518
535
|
- lib/avm/ruby/gems/generator.rb
|
519
536
|
- lib/avm/ruby/rubocop.rb
|
@@ -529,6 +546,21 @@ files:
|
|
529
546
|
- lib/avm/sync.rb
|
530
547
|
- lib/avm/tools.rb
|
531
548
|
- lib/avm/tools/runner.rb
|
549
|
+
- lib/avm/tools/runner/app_src.rb
|
550
|
+
- lib/avm/tools/runner/app_src/eac_asciidoctor_base0.rb
|
551
|
+
- lib/avm/tools/runner/app_src/eac_asciidoctor_base0/build.rb
|
552
|
+
- lib/avm/tools/runner/app_src/eac_writings_base0.rb
|
553
|
+
- lib/avm/tools/runner/app_src/eac_writings_base0/build_chapters.rb
|
554
|
+
- lib/avm/tools/runner/app_src/eac_writings_base0/build_single.rb
|
555
|
+
- lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
|
556
|
+
- lib/avm/tools/runner/app_src/info.rb
|
557
|
+
- lib/avm/tools/runner/app_src/ruby.rb
|
558
|
+
- lib/avm/tools/runner/app_src/ruby/bundler.rb
|
559
|
+
- lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb
|
560
|
+
- lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb
|
561
|
+
- lib/avm/tools/runner/app_src/test.rb
|
562
|
+
- lib/avm/tools/runner/app_src/update.rb
|
563
|
+
- lib/avm/tools/runner/app_src/version_bump.rb
|
532
564
|
- lib/avm/tools/runner/eac_asciidoctor_base0.rb
|
533
565
|
- lib/avm/tools/runner/eac_rails_base0.rb
|
534
566
|
- lib/avm/tools/runner/eac_redmine_base0.rb
|
@@ -559,20 +591,6 @@ files:
|
|
559
591
|
- lib/avm/tools/runner/launcher/instances.rb
|
560
592
|
- lib/avm/tools/runner/launcher/projects.rb
|
561
593
|
- lib/avm/tools/runner/launcher/publish.rb
|
562
|
-
- lib/avm/tools/runner/local_project.rb
|
563
|
-
- lib/avm/tools/runner/local_project/eac_asciidoctor_base0.rb
|
564
|
-
- lib/avm/tools/runner/local_project/eac_asciidoctor_base0/build.rb
|
565
|
-
- lib/avm/tools/runner/local_project/eac_writings_base0.rb
|
566
|
-
- lib/avm/tools/runner/local_project/eac_writings_base0/build_chapters.rb
|
567
|
-
- lib/avm/tools/runner/local_project/eac_writings_base0/build_single.rb
|
568
|
-
- lib/avm/tools/runner/local_project/eac_writings_base0/info.rb
|
569
|
-
- lib/avm/tools/runner/local_project/info.rb
|
570
|
-
- lib/avm/tools/runner/local_project/ruby.rb
|
571
|
-
- lib/avm/tools/runner/local_project/ruby/bundler.rb
|
572
|
-
- lib/avm/tools/runner/local_project/ruby/bundler/gemfile_lock.rb
|
573
|
-
- lib/avm/tools/runner/local_project/test.rb
|
574
|
-
- lib/avm/tools/runner/local_project/update.rb
|
575
|
-
- lib/avm/tools/runner/local_project/version_bump.rb
|
576
594
|
- lib/avm/tools/runner/ruby.rb
|
577
595
|
- lib/avm/tools/runner/ruby/gems.rb
|
578
596
|
- lib/avm/tools/runner/ruby/gems/generate.rb
|
@@ -599,8 +617,6 @@ files:
|
|
599
617
|
- lib/eac_launcher/git/sub_warp_base.rb
|
600
618
|
- lib/eac_launcher/git/warp_base.rb
|
601
619
|
- lib/eac_launcher/instances.rb
|
602
|
-
- lib/eac_launcher/instances/error.rb
|
603
|
-
- lib/eac_launcher/instances/runner_helper.rb
|
604
620
|
- lib/eac_launcher/paths.rb
|
605
621
|
- lib/eac_launcher/paths/logical.rb
|
606
622
|
- lib/eac_launcher/paths/real.rb
|
@@ -647,9 +663,23 @@ files:
|
|
647
663
|
- vendor/avm-apps/lib/avm/apps/jobs.rb
|
648
664
|
- vendor/avm-apps/lib/avm/apps/jobs/base.rb
|
649
665
|
- vendor/avm-apps/lib/avm/apps/jobs/variables_source.rb
|
666
|
+
- vendor/avm-apps/lib/avm/apps/sources/configuration.rb
|
667
|
+
- vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
|
668
|
+
- vendor/avm-apps/lib/avm/apps/sources/configuration/_rubocop.rb
|
669
|
+
- vendor/avm-apps/lib/avm/apps/sources/configuration/_tests.rb
|
650
670
|
- vendor/avm-apps/lib/avm/apps/version.rb
|
651
671
|
- vendor/avm-apps/spec/rubocop_spec.rb
|
652
672
|
- vendor/avm-apps/spec/spec_helper.rb
|
673
|
+
- vendor/avm-eac_asciidoctor_base0/Gemfile
|
674
|
+
- vendor/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec
|
675
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb
|
676
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb
|
677
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
|
678
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb
|
679
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb
|
680
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb
|
681
|
+
- vendor/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb
|
682
|
+
- vendor/avm-eac_asciidoctor_base0/spec/spec_helper.rb
|
653
683
|
- vendor/eac_cli/Gemfile
|
654
684
|
- vendor/eac_cli/eac_cli.gemspec
|
655
685
|
- vendor/eac_cli/lib/eac_cli.rb
|
@@ -688,7 +718,6 @@ files:
|
|
688
718
|
- vendor/eac_cli/lib/eac_cli/runner/instance_methods.rb
|
689
719
|
- vendor/eac_cli/lib/eac_cli/runner_with.rb
|
690
720
|
- vendor/eac_cli/lib/eac_cli/runner_with/help.rb
|
691
|
-
- vendor/eac_cli/lib/eac_cli/runner_with/output_file.rb
|
692
721
|
- vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb
|
693
722
|
- vendor/eac_cli/lib/eac_cli/runner_with_set.rb
|
694
723
|
- vendor/eac_cli/lib/eac_cli/version.rb
|
@@ -697,7 +726,6 @@ files:
|
|
697
726
|
- vendor/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb
|
698
727
|
- vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb
|
699
728
|
- vendor/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb
|
700
|
-
- vendor/eac_cli/spec/lib/eac_cli/runner_with/output_file_spec.rb
|
701
729
|
- vendor/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb
|
702
730
|
- vendor/eac_cli/spec/rubocop_spec.rb
|
703
731
|
- vendor/eac_cli/spec/spec_helper.rb
|
@@ -726,14 +754,30 @@ files:
|
|
726
754
|
- vendor/eac_git/lib/eac_git.rb
|
727
755
|
- vendor/eac_git/lib/eac_git/executables.rb
|
728
756
|
- vendor/eac_git/lib/eac_git/local.rb
|
757
|
+
- vendor/eac_git/lib/eac_git/local/commit.rb
|
758
|
+
- vendor/eac_git/lib/eac_git/local/commit/changed_file.rb
|
759
|
+
- vendor/eac_git/lib/eac_git/local/commit/diff_tree_line.rb
|
729
760
|
- vendor/eac_git/lib/eac_git/local/dirty_files.rb
|
730
761
|
- vendor/eac_git/lib/eac_git/local/subrepo.rb
|
731
762
|
- vendor/eac_git/lib/eac_git/local/subrepo/config.rb
|
732
763
|
- vendor/eac_git/lib/eac_git/remote.rb
|
733
764
|
- vendor/eac_git/lib/eac_git/remote/ls_result.rb
|
734
765
|
- vendor/eac_git/lib/eac_git/rspec.rb
|
766
|
+
- vendor/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb
|
735
767
|
- vendor/eac_git/lib/eac_git/version.rb
|
736
768
|
- vendor/eac_git/spec/lib/eac_git/executables_spec.rb
|
769
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb
|
770
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out
|
771
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml
|
772
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out
|
773
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml
|
774
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out
|
775
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml
|
776
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out
|
777
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml
|
778
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out
|
779
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml
|
780
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit_spec.rb
|
737
781
|
- vendor/eac_git/spec/rubocop_spec.rb
|
738
782
|
- vendor/eac_git/spec/spec_helper.rb
|
739
783
|
- vendor/eac_git/vendor/git-subrepo/Changes
|
@@ -937,8 +981,11 @@ files:
|
|
937
981
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb
|
938
982
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb
|
939
983
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb
|
984
|
+
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb
|
985
|
+
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb
|
940
986
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb
|
941
987
|
- vendor/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb
|
988
|
+
- vendor/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb
|
942
989
|
- vendor/eac_ruby_base0/spec/rubocop_spec.rb
|
943
990
|
- vendor/eac_ruby_base0/spec/spec_helper.rb
|
944
991
|
- vendor/eac_ruby_gems_utils/Gemfile
|
@@ -1028,6 +1075,7 @@ files:
|
|
1028
1075
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs.rb
|
1029
1076
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb
|
1030
1077
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb
|
1078
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/logs.rb
|
1031
1079
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp.rb
|
1032
1080
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/directory.rb
|
1033
1081
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/file.rb
|
@@ -1092,6 +1140,7 @@ files:
|
|
1092
1140
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb
|
1093
1141
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb
|
1094
1142
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
|
1143
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb
|
1095
1144
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb
|
1096
1145
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb
|
1097
1146
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb
|
@@ -1100,6 +1149,7 @@ files:
|
|
1100
1149
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/entry_key_error.rb
|
1101
1150
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/node.rb
|
1102
1151
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/path_search.rb
|
1152
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb
|
1103
1153
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb
|
1104
1154
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb
|
1105
1155
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/conditional.rb
|
@@ -1108,6 +1158,7 @@ files:
|
|
1108
1158
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb
|
1109
1159
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb
|
1110
1160
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb
|
1161
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb
|
1111
1162
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb
|
1112
1163
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb
|
1113
1164
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/templates.rb
|
@@ -1191,7 +1242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1191
1242
|
- !ruby/object:Gem::Version
|
1192
1243
|
version: '0'
|
1193
1244
|
requirements: []
|
1194
|
-
rubygems_version: 3.0.
|
1245
|
+
rubygems_version: 3.0.9
|
1195
1246
|
signing_key:
|
1196
1247
|
specification_version: 4
|
1197
1248
|
summary: Tools for AVM.
|