eac_tools 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +25 -19
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm/avm.gemspec +1 -0
  5. data/sub/avm/lib/avm/registry/with_path/cache.rb +31 -0
  6. data/sub/avm/lib/avm/registry/with_path.rb +25 -5
  7. data/sub/avm/lib/avm/sources/base/configuration.rb +23 -2
  8. data/sub/avm/lib/avm/sources/base/locale.rb +1 -1
  9. data/sub/avm/lib/avm/sources/base/parent.rb +8 -11
  10. data/sub/avm/lib/avm/sources/base/subs_paths.rb +1 -1
  11. data/sub/avm/lib/avm/sources/base/testing.rb +4 -4
  12. data/sub/avm/lib/avm/sources/tests/builder.rb +5 -10
  13. data/sub/avm/lib/avm/version.rb +1 -1
  14. data/sub/avm-eac_rails_base0/Gemfile +3 -0
  15. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  16. data/sub/avm-eac_redmine_plugin_base0/avm-eac_redmine_plugin_base0.gemspec +1 -1
  17. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb +15 -4
  18. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/version.rb +1 -1
  19. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +1 -1
  20. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +1 -1
  21. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb +14 -0
  22. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  23. data/sub/avm-tools/Gemfile +3 -0
  24. data/sub/avm-tools/Gemfile.lock +17 -22
  25. data/sub/avm-tools/lib/avm/tools/runner/app_src/info.rb +19 -0
  26. data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
  27. data/sub/eac_cli/Gemfile +3 -0
  28. data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
  29. data/sub/eac_config/Gemfile +8 -0
  30. data/sub/{avm-tools/sub/eac_config → eac_config}/eac_config.gemspec +0 -0
  31. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/entry.rb +0 -0
  32. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/entry_path.rb +5 -0
  33. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/envvars_node/entry.rb +0 -0
  34. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/envvars_node.rb +0 -0
  35. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/load_nodes_search.rb +0 -0
  36. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/load_path.rb +0 -0
  37. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node.rb +6 -0
  38. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node_entry.rb +0 -0
  39. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node_uri.rb +0 -0
  40. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs/base.rb +0 -0
  41. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs/file.rb +0 -0
  42. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs.rb +0 -0
  43. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/entry_key_error.rb +0 -0
  44. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/node.rb +0 -0
  45. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/path_search.rb +0 -0
  46. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash.rb +0 -0
  47. data/sub/eac_config/lib/eac_config/prefixed_path_node/entry.rb +25 -0
  48. data/sub/eac_config/lib/eac_config/prefixed_path_node.rb +19 -0
  49. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/rspec/setup.rb +0 -0
  50. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/rspec.rb +0 -0
  51. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/version.rb +1 -1
  52. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/yaml_file_node/entry.rb +0 -0
  53. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/yaml_file_node.rb +0 -0
  54. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config.rb +0 -0
  55. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/entry_path_spec.rb +0 -0
  56. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/envvars_node/entry_spec.rb +0 -0
  57. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/envvars_node_spec.rb +0 -0
  58. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/old_configs_spec.rb +0 -0
  59. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/paths_hash_spec.rb +0 -0
  60. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec.rb +0 -0
  61. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml +0 -0
  62. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml +0 -0
  63. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml +0 -0
  64. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml +0 -0
  65. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/rubocop_spec.rb +0 -0
  66. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/spec_helper.rb +0 -0
  67. data/sub/eac_fs/Gemfile +3 -0
  68. data/sub/eac_fs/lib/eac_fs/version.rb +1 -1
  69. data/sub/eac_ruby_base0/Gemfile +3 -0
  70. data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
  71. data/sub/eac_ruby_utils/Gemfile +2 -10
  72. data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  73. metadata +47 -44
  74. data/sub/avm-tools/sub/eac_config/Gemfile +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2a2823e5a682fec9ab91720f10d7783faa49fa2015806b7a5d39580bc218001
4
- data.tar.gz: f5fd98b06fe0fa9d9e31e55d9c9f5ca31f7efef2e78a80cd9a6c4157ed1a06ee
3
+ metadata.gz: ee0e7b0ec8c211e2d60baa268eec54c8f94ed0402f8a248d354f6d5ced0e0b3b
4
+ data.tar.gz: 68ca11e086283e81939d5c8552e6c4c7ea03897790038e789d6d5f2dbf91eb16
5
5
  SHA512:
6
- metadata.gz: e8c12e5907f1977602dbaedc5d6bd278d2ff4f34090ca74ce9b5b3bd2ec38e55936412e1cf161c43594d760d940f24f1fcfa90b4a80e871077797c8906241cee
7
- data.tar.gz: c92d636d848558c31f0b51213e464573a30a70de11ccda7853f0e70f96d8e9853ba9d5298142a939926b65f9f5fe33c906a4fbf22d66dbaca0a2c9fa0dcc13b9
6
+ metadata.gz: bbbcbdb525534c94dea882fc4aa20533c1836e56fefa47f816c97da91f8d31ec03b95ffe7d4b6da049fab7f42d64f64ff652162533ab53056ce06ef4df285556
7
+ data.tar.gz: 8a14803261fca0b5780abb81a23ee5ac63b72e442b0ebfdc087984277a21e3ec08f17d6cd39ce460e5d0c6768105ec829590afa531e95945e7777d983efbe825
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eac_tools (0.7.0)
4
+ eac_tools (0.8.0)
5
5
  avm-eac_generic_base0 (~> 0.3)
6
6
  avm-eac_rails_base0 (~> 0.5)
7
7
  avm-eac_rails_base1 (~> 0.4, >= 0.4.1)
8
8
  avm-eac_redmine_base0 (~> 0.9)
9
- avm-eac_redmine_plugin_base0 (~> 0.2)
10
- avm-eac_ruby_base1 (~> 0.10)
11
- avm-tools (~> 0.121)
9
+ avm-eac_redmine_plugin_base0 (~> 0.3)
10
+ avm-eac_ruby_base1 (~> 0.11)
11
+ avm-tools (~> 0.122)
12
12
  eac_ruby_utils (~> 0.95, >= 0.95.2)
13
13
 
14
14
  PATH
@@ -36,7 +36,7 @@ PATH
36
36
  PATH
37
37
  remote: sub/avm-eac_redmine_base0
38
38
  specs:
39
- avm-eac_redmine_base0 (0.9.0)
39
+ avm-eac_redmine_base0 (0.9.1)
40
40
  avm-eac_rails_base1 (~> 0.4, >= 0.4.1)
41
41
  avm-eac_ubuntu_base0 (~> 0.3)
42
42
  curb (~> 0.9.11)
@@ -47,22 +47,22 @@ PATH
47
47
  PATH
48
48
  remote: sub/avm-eac_redmine_plugin_base0
49
49
  specs:
50
- avm-eac_redmine_plugin_base0 (0.2.0)
51
- avm-eac_ruby_base1 (~> 0.10)
50
+ avm-eac_redmine_plugin_base0 (0.3.0)
51
+ avm-eac_ruby_base1 (~> 0.11)
52
52
  eac_ruby_utils (~> 0.95, >= 0.95.1)
53
53
 
54
54
  PATH
55
55
  remote: sub/avm-eac_ruby_base1
56
56
  specs:
57
- avm-eac_ruby_base1 (0.10.0)
58
- avm (~> 0.23)
57
+ avm-eac_ruby_base1 (0.11.0)
58
+ avm (~> 0.26)
59
59
  avm-eac_generic_base0 (~> 0.2)
60
60
  eac_ruby_utils (~> 0.95, >= 0.95.1)
61
61
 
62
62
  PATH
63
63
  remote: sub/avm-tools
64
64
  specs:
65
- avm-tools (0.121.2)
65
+ avm-tools (0.122.0)
66
66
  aranha-parsers (~> 0.4)
67
67
  avm (~> 0.22)
68
68
  avm-eac_asciidoctor_base0 (~> 0.3, >= 0.3.4)
@@ -81,8 +81,9 @@ PATH
81
81
  PATH
82
82
  remote: sub/avm
83
83
  specs:
84
- avm (0.25.0)
84
+ avm (0.26.0)
85
85
  eac_cli (~> 0.27, >= 0.27.6)
86
+ eac_config (~> 0.9)
86
87
  eac_docker (~> 0.3)
87
88
  eac_git (~> 0.6)
88
89
  eac_ruby_utils (~> 0.95)
@@ -94,15 +95,22 @@ PATH
94
95
  PATH
95
96
  remote: sub/eac_cli
96
97
  specs:
97
- eac_cli (0.27.6)
98
+ eac_cli (0.27.7)
98
99
  colorize (~> 0.8.1)
99
100
  eac_config (~> 0.8)
100
101
  eac_ruby_utils (~> 0.95)
101
102
 
103
+ PATH
104
+ remote: sub/eac_config
105
+ specs:
106
+ eac_config (0.9.0)
107
+ addressable
108
+ eac_ruby_utils (~> 0.83)
109
+
102
110
  PATH
103
111
  remote: sub/eac_fs
104
112
  specs:
105
- eac_fs (0.12.2)
113
+ eac_fs (0.12.3)
106
114
  content-type
107
115
  eac_ruby_utils (~> 0.70)
108
116
  ruby-filemagic
@@ -110,7 +118,7 @@ PATH
110
118
  PATH
111
119
  remote: sub/eac_ruby_base0
112
120
  specs:
113
- eac_ruby_base0 (0.16.5)
121
+ eac_ruby_base0 (0.16.6)
114
122
  avm-eac_ruby_base1 (~> 0.8)
115
123
  eac_cli (~> 0.27, >= 0.27.5)
116
124
  eac_fs (~> 0.10)
@@ -119,7 +127,7 @@ PATH
119
127
  PATH
120
128
  remote: sub/eac_ruby_utils
121
129
  specs:
122
- eac_ruby_utils (0.95.2)
130
+ eac_ruby_utils (0.95.3)
123
131
  activesupport (>= 4, < 7)
124
132
  addressable (~> 2.6)
125
133
  bundler
@@ -183,9 +191,6 @@ GEM
183
191
  parslet (~> 2.0)
184
192
  curb (0.9.11)
185
193
  diff-lcs (1.5.0)
186
- eac_config (0.8.1)
187
- addressable
188
- eac_ruby_utils (~> 0.83)
189
194
  eac_docker (0.4.1)
190
195
  eac_ruby_utils (~> 0.74)
191
196
  eac_templates (~> 0.1)
@@ -289,7 +294,7 @@ GEM
289
294
  ruby-filemagic (0.7.3)
290
295
  ruby-progressbar (1.11.0)
291
296
  ruby2_keywords (0.0.5)
292
- tzinfo (2.0.4)
297
+ tzinfo (2.0.5)
293
298
  concurrent-ruby (~> 1.0)
294
299
  unicode-display_width (1.6.1)
295
300
  zeitwerk (2.6.0)
@@ -308,6 +313,7 @@ DEPENDENCIES
308
313
  avm-eac_ruby_base1!
309
314
  avm-tools!
310
315
  eac_cli!
316
+ eac_config!
311
317
  eac_fs!
312
318
  eac_ruby_base0!
313
319
  eac_ruby_gem_support (~> 0.5.1)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacTools
4
- VERSION = '0.7.0'
4
+ VERSION = '0.8.0'
5
5
  end
data/sub/avm/avm.gemspec CHANGED
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.files = Dir['{lib}/**/*']
14
14
 
15
15
  s.add_dependency 'eac_cli', '~> 0.27', '>= 0.27.6'
16
+ s.add_dependency 'eac_config', '~> 0.9'
16
17
  s.add_dependency 'eac_docker', '~> 0.3'
17
18
  s.add_dependency 'eac_git', '~> 0.6'
18
19
  s.add_dependency 'eac_ruby_utils', '~> 0.95'
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/registry/base'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module Registry
8
+ class WithPath < ::Avm::Registry::Base
9
+ class Cache
10
+ enable_simple_cache
11
+ common_constructor :owner
12
+
13
+ def detect_optional(path)
14
+ return nil if path.root?
15
+ return cached_paths.fetch(path) if cached_paths.key?(path)
16
+
17
+ detected = owner.detect_optional(path)
18
+ detected = detect_optional(path.parent) if detected.blank?
19
+ cached_paths[path] = detected
20
+ detected
21
+ end
22
+
23
+ private
24
+
25
+ def cached_paths_uncached
26
+ {}
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
@@ -6,17 +6,37 @@ require 'eac_ruby_utils/core_ext'
6
6
  module Avm
7
7
  module Registry
8
8
  class WithPath < ::Avm::Registry::Base
9
+ require_sub __FILE__
10
+
9
11
  def detect_by_path(path)
10
12
  detect_by_path_optional(path) || raise_not_found(path)
11
13
  end
12
14
 
13
15
  def detect_by_path_optional(path)
14
- current_path = path.to_pathname.expand_path
15
- until current_path.root?
16
- detect_optional(current_path).if_present { |v| return v }
17
- current_path = current_path.parent
16
+ on_cache do
17
+ cache.detect_optional(path)
18
+ end
19
+ end
20
+
21
+ private
22
+
23
+ attr_accessor :cache
24
+
25
+ def on_cache(&block)
26
+ cache.present? ? on_cache_with_cache(&block) : on_cache_with_no_cache(&block)
27
+ end
28
+
29
+ def on_cache_with_cache(&block)
30
+ block.call
31
+ end
32
+
33
+ def on_cache_with_no_cache(&block)
34
+ self.cache = ::Avm::Registry::WithPath::Cache.new(self)
35
+ begin
36
+ block.call
37
+ ensure
38
+ self.cache = nil
18
39
  end
19
- nil
20
40
  end
21
41
  end
22
42
  end
@@ -9,8 +9,19 @@ module Avm
9
9
  module Sources
10
10
  class Base
11
11
  module Configuration
12
+ PARENT_CONFIGURATION_SUFFIX = %w[subs at].freeze
12
13
  CONFIGURATION_FILENAMES = %w[.avm.yml .avm.yaml].freeze
13
14
 
15
+ # @return [EacConfig::NodeEntry]
16
+ def configuration_entry(*entry_args)
17
+ parent_configuration.if_present do |v|
18
+ parent_entry = v.entry(*entry_args)
19
+ return parent_entry if parent_entry.found?
20
+ end
21
+
22
+ configuration.entry(*entry_args)
23
+ end
24
+
14
25
  # @return [EacRubyUtils::Envs::Command, nil]
15
26
  def configuration_value_to_env_command(value)
16
27
  configuration_value_to_shell_words(value).if_present { |v| env.command(v).chdir(path) }
@@ -25,13 +36,13 @@ module Avm
25
36
 
26
37
  # @return [Array<String>, nil]
27
38
  def read_configuration_as_shell_words(key)
28
- configuration_value_to_shell_words(configuration.entry(key).value)
39
+ configuration_value_to_shell_words(configuration_entry(key).value)
29
40
  end
30
41
 
31
42
  # Utility to read a configuration as a [EacRubyUtils::Envs::Command].
32
43
  # @return [EacRubyUtils::Envs::Command]
33
44
  def read_configuration_as_env_command(key)
34
- configuration_value_to_env_command(configuration.entry(key).value)
45
+ configuration_value_to_env_command(configuration_entry(key).value)
35
46
  end
36
47
 
37
48
  private
@@ -44,6 +55,16 @@ module Avm
44
55
  configuration_with_filename(CONFIGURATION_FILENAMES.first, false)
45
56
  end
46
57
 
58
+ # @return [String]
59
+ def parent_configuration_prefix
60
+ PARENT_CONFIGURATION_SUFFIX + [relative_path]
61
+ end
62
+
63
+ # @return [EacConfig::PrefixedPathNode]
64
+ def parent_configuration_uncached
65
+ parent.if_present { |v| v.configuration.with_prefix(parent_configuration_prefix) }
66
+ end
67
+
47
68
  # @return [EacConfig::YamlFileNode, nil]
48
69
  def configuration_with_filename(filename, needs_exist)
49
70
  file_path = path.join(filename)
@@ -14,7 +14,7 @@ module Avm
14
14
  end
15
15
 
16
16
  def configured_locale
17
- configuration.entry(LOCALE_KEY).value
17
+ configuration_entry(LOCALE_KEY).value
18
18
  end
19
19
 
20
20
  def default_locale
@@ -6,11 +6,6 @@ module Avm
6
6
  module Sources
7
7
  class Base
8
8
  module Parent
9
- # @return [Avm::Sources::Base]
10
- def parent
11
- parent_by_option || parent_by_search
12
- end
13
-
14
9
  # @return [Avm::Sources::Base]
15
10
  def parent_by_option
16
11
  options[OPTION_PARENT]
@@ -18,12 +13,14 @@ module Avm
18
13
 
19
14
  # @return [Avm::Sources::Base]
20
15
  def parent_by_search
21
- parent_path = path.parent
22
- until parent_path.root?
23
- ::Avm::Registry.sources.detect_optional(parent_path).if_present { |v| return v }
24
- parent_path = parent_path.parent
25
- end
26
- nil
16
+ ::Avm::Registry.sources.detect_by_path_optional(path.parent)
17
+ end
18
+
19
+ private
20
+
21
+ # @return [Avm::Sources::Base]
22
+ def parent_uncached
23
+ parent_by_option || parent_by_search
27
24
  end
28
25
  end
29
26
  end
@@ -22,7 +22,7 @@ module Avm
22
22
 
23
23
  # @return [Array<String>]
24
24
  def configured_paths
25
- source.configuration.entry(configuration_key).value.if_present do |v|
25
+ source.configuration_entry(configuration_key).value.if_present do |v|
26
26
  v.split(SUBS_PATH_SEPARATOR)
27
27
  end
28
28
  end
@@ -18,12 +18,12 @@ module Avm
18
18
 
19
19
  # @return [Hash<String, EacRubyUtils::Envs::Command>, nil]
20
20
  def configured_test_commands
21
- configured_value_as_test_commands(configuration.entry(TEST_COMMANDS_KEY).value)
21
+ configured_value_as_test_commands(configuration_entry(TEST_COMMANDS_KEY).value)
22
22
  end
23
23
 
24
24
  # @return [Hash<String, EacRubyUtils::Envs::Command>, nil]
25
25
  def configured_value_as_test_commands(value)
26
- return nil if value.blank?
26
+ return nil if value.nil?
27
27
 
28
28
  [::EacRubyUtils::Envs::Command, ::Hash, ::Enumerable].each do |type|
29
29
  next unless value.is_a?(type)
@@ -45,8 +45,8 @@ module Avm
45
45
  # @return [Enumerable<EacRubyUtils::Envs::Command>]
46
46
  def test_commands
47
47
  configured_test_commands ||
48
- configured_value_as_test_commands(configured_test_command)
49
- default_test_commands
48
+ configured_value_as_test_commands(configured_test_command) ||
49
+ default_test_commands
50
50
  end
51
51
 
52
52
  protected
@@ -35,7 +35,7 @@ module Avm
35
35
  # @return [Array<Avm::Sources::Tests::Single>]
36
36
  def available_units
37
37
  @available_units ||= ([main_source] + main_source.subs)
38
- .map { |a_source| create_unit(a_source) }
38
+ .flat_map { |a_source| create_source_units(a_source) }
39
39
  end
40
40
 
41
41
  def available_units_from_main
@@ -62,20 +62,15 @@ module Avm
62
62
  end
63
63
  end
64
64
 
65
- # @return [Avm::Sources::Tests::Single]
66
- def create_unit(source)
67
- ::Avm::Sources::Tests::Single.new(self, source)
68
- end
69
-
70
65
  # @return [Array<Avm::Sources::Tests::Single>]
71
66
  def create_units(sources)
72
67
  sources.flat_map { |a_source| create_source_units(a_source) }
73
68
  end
74
69
 
75
70
  # @return [Avm::Sources::Tests::Single]
76
- def create_unit_by_id(source_id)
77
- r = available_units.find { |unit| unit.id == source_id }
78
- return r if r
71
+ def create_units_by_id(source_id)
72
+ r = available_units.select { |unit| unit.source.relative_path.to_path == source_id.to_s }
73
+ return r if r.any?
79
74
 
80
75
  raise ::ArgumentError, "Source not found with ID=#{source_id}" \
81
76
  "(Available: #{available_units.map(&:id).join(', ')})"
@@ -83,7 +78,7 @@ module Avm
83
78
 
84
79
  # @return [Array<Avm::Sources::Tests::Single>]
85
80
  def select_units_from_ids
86
- include_ids.map { |source_id| create_unit_by_id(source_id) }
81
+ include_ids.flat_map { |source_id| create_units_by_id(source_id) }
87
82
  end
88
83
 
89
84
  # @return [Array<Avm::Sources::Tests::Single>]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Avm
4
- VERSION = '0.25.0'
4
+ VERSION = '0.26.0'
5
5
  end
@@ -3,3 +3,6 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRedmineBase0
5
- VERSION = '0.9.0'
5
+ VERSION = '0.9.1'
6
6
  end
7
7
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
 
13
13
  s.files = Dir['{lib}/**/*']
14
14
 
15
- s.add_dependency 'avm-eac_ruby_base1', '~> 0.10'
15
+ s.add_dependency 'avm-eac_ruby_base1', '~> 0.11'
16
16
  s.add_dependency 'eac_ruby_utils', '~> 0.95', '>= 0.95.1'
17
17
 
18
18
  s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5', '>= 0.5.1'
@@ -8,6 +8,7 @@ module Avm
8
8
  module Sources
9
9
  class Base < ::Avm::EacRubyBase1::Sources::Base
10
10
  DEFAULT_GEMFILE_PATH = 'SelfGemfile'
11
+ RUBOCOP_GEM_NAME = 'rubocop'
11
12
  RUBOCOP_TEST_NAME = 'rubocop'
12
13
  PARENT_RAKE_TASK_TEST_NAME = 'parent_rake_task'
13
14
  INIT_SUBPATH = 'init.rb'
@@ -19,10 +20,10 @@ module Avm
19
20
 
20
21
  # @return [Hash<String, EacRubyUtils::Envs::Command>]
21
22
  def default_test_commands
22
- {
23
- PARENT_RAKE_TASK_TEST_NAME => parent_rake_test_command,
24
- RUBOCOP_TEST_NAME => rubocop_test_command
25
- }
23
+ r = {}
24
+ r[PARENT_RAKE_TASK_TEST_NAME] = parent_rake_test_command if parent_rake_test_command?
25
+ r[RUBOCOP_TEST_NAME] = rubocop_test_command if rubocop_test_command?
26
+ r
26
27
  end
27
28
 
28
29
  # @return [String]
@@ -35,6 +36,11 @@ module Avm
35
36
  [gem_name, 'test'].map(&:variableize).join(':')
36
37
  end
37
38
 
39
+ # @return [Boolean]
40
+ def parent_rake_test_command?
41
+ ruby_parent.rake_task?(parent_rake_test_task_name)
42
+ end
43
+
38
44
  # @return [EacRubyUtils::Envs::Command]
39
45
  def parent_rake_test_command
40
46
  ruby_parent.rake(parent_rake_test_task_name).chdir_root.envvar('RAILS_ENV', 'test')
@@ -47,6 +53,11 @@ module Avm
47
53
  .chdir_root
48
54
  end
49
55
 
56
+ # @return [Boolean]
57
+ def rubocop_test_command?
58
+ gemfile_path.exist? && gemfile_lock_gem_version(RUBOCOP_GEM_NAME).present?
59
+ end
60
+
50
61
  # @return [Boolean]
51
62
  def valid?
52
63
  init_path.exist?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRedminePluginBase0
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
 
13
13
  s.files = Dir['{lib,locale}/**/*']
14
14
 
15
- s.add_dependency 'avm', '~> 0.23'
15
+ s.add_dependency 'avm', '~> 0.26'
16
16
  s.add_dependency 'avm-eac_generic_base0', '~> 0.2'
17
17
  s.add_dependency 'eac_ruby_utils', '~> 0.95', '>= 0.95.1'
18
18
 
@@ -20,7 +20,7 @@ module Avm
20
20
 
21
21
  # @return [String]
22
22
  def configured_gemfile_path
23
- configuration.entry(CONFIGURED_GEMFILE_PATH_ENTRY_KEY).value
23
+ configuration_entry(CONFIGURED_GEMFILE_PATH_ENTRY_KEY).value
24
24
  end
25
25
 
26
26
  # @return [String]
@@ -9,6 +9,9 @@ module Avm
9
9
  class Base < ::Avm::EacGenericBase0::Sources::Base
10
10
  module Rake
11
11
  RAKEFILE_BASENAME = 'Rakefile'
12
+ RAKE_TASKS_LINE_PARSER = /\Arake\s+(\S+)\s+/.to_parser do |m|
13
+ m[1]
14
+ end
12
15
 
13
16
  # @return [Avm::EacRubyBase1::Sources::Base::BundleCommand]
14
17
  def rake(*args)
@@ -21,6 +24,17 @@ module Avm
21
24
  def rakefile_path
22
25
  path.join(RAKEFILE_BASENAME)
23
26
  end
27
+
28
+ # @return [Boolean]
29
+ def rake_task?(task_name)
30
+ rake_tasks.include?(task_name)
31
+ end
32
+
33
+ # @return [Array<String>]
34
+ def rake_tasks
35
+ rake('--all', '--tasks').execute!.each_line
36
+ .map { |line| RAKE_TASKS_LINE_PARSER.parse!(line) }
37
+ end
24
38
  end
25
39
  end
26
40
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRubyBase1
5
- VERSION = '0.10.0'
5
+ VERSION = '0.11.0'
6
6
  end
7
7
  end
@@ -10,3 +10,6 @@ Dir["#{gems_subdir}/*"].each do |dir|
10
10
 
11
11
  gem ::File.basename(dir), path: dir
12
12
  end
13
+
14
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
15
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avm-tools (0.121.2)
4
+ avm-tools (0.122.0)
5
5
  aranha-parsers (~> 0.4)
6
6
  avm (~> 0.22)
7
7
  avm-eac_asciidoctor_base0 (~> 0.3, >= 0.3.4)
@@ -59,13 +59,6 @@ PATH
59
59
  eac_git (~> 0.11)
60
60
  eac_ruby_utils (~> 0.76)
61
61
 
62
- PATH
63
- remote: sub/eac_config
64
- specs:
65
- eac_config (0.8.1)
66
- addressable
67
- eac_ruby_utils (~> 0.83)
68
-
69
62
  PATH
70
63
  remote: sub/eac_docker
71
64
  specs:
@@ -115,7 +108,7 @@ GEM
115
108
  ofx-parser (~> 1.1.0)
116
109
  asciidoctor (2.0.17)
117
110
  ast (2.4.2)
118
- avm (0.24.0)
111
+ avm (0.25.0)
119
112
  eac_cli (~> 0.27, >= 0.27.6)
120
113
  eac_docker (~> 0.3)
121
114
  eac_git (~> 0.6)
@@ -130,18 +123,18 @@ GEM
130
123
  avm-eac_rails_base0 (0.4.1)
131
124
  avm-eac_rails_base1 (~> 0.3)
132
125
  eac_ruby_utils (~> 0.80, >= 0.80.2)
133
- avm-eac_rails_base1 (0.3.2)
134
- avm-eac_ruby_base1 (~> 0.8)
126
+ avm-eac_rails_base1 (0.4.1)
127
+ avm-eac_ruby_base1 (~> 0.9, >= 0.9.1)
135
128
  avm-eac_webapp_base0 (~> 0.3)
136
- eac_ruby_utils (~> 0.95, >= 0.95.1)
137
- avm-eac_redmine_base0 (0.8.0)
138
- avm-eac_rails_base1 (~> 0.3)
139
- avm-eac_ubuntu_base0 (~> 0.2)
140
- curb (~> 0.9.10)
141
- eac_fs (~> 0.4)
142
- eac_rest (~> 0.4)
143
- eac_ruby_utils (~> 0.68)
144
- avm-eac_ruby_base1 (0.9.0)
129
+ eac_ruby_utils (~> 0.95, >= 0.95.2)
130
+ avm-eac_redmine_base0 (0.9.0)
131
+ avm-eac_rails_base1 (~> 0.4, >= 0.4.1)
132
+ avm-eac_ubuntu_base0 (~> 0.3)
133
+ curb (~> 0.9.11)
134
+ eac_fs (~> 0.12, >= 0.12.2)
135
+ eac_rest (~> 0.6, >= 0.6.1)
136
+ eac_ruby_utils (~> 0.95, >= 0.95.2)
137
+ avm-eac_ruby_base1 (0.10.0)
145
138
  avm (~> 0.23)
146
139
  avm-eac_generic_base0 (~> 0.2)
147
140
  eac_ruby_utils (~> 0.95, >= 0.95.1)
@@ -162,6 +155,9 @@ GEM
162
155
  colorize (~> 0.8.1)
163
156
  eac_config (~> 0.8)
164
157
  eac_ruby_utils (~> 0.95)
158
+ eac_config (0.8.1)
159
+ addressable
160
+ eac_ruby_utils (~> 0.83)
165
161
  eac_fs (0.12.2)
166
162
  content-type
167
163
  eac_ruby_utils (~> 0.70)
@@ -269,7 +265,7 @@ GEM
269
265
  ruby-filemagic (0.7.3)
270
266
  ruby-progressbar (1.11.0)
271
267
  ruby2_keywords (0.0.5)
272
- tzinfo (2.0.4)
268
+ tzinfo (2.0.5)
273
269
  concurrent-ruby (~> 1.0)
274
270
  unicode-display_width (1.6.1)
275
271
  zeitwerk (2.6.0)
@@ -285,7 +281,6 @@ DEPENDENCIES
285
281
  avm-files!
286
282
  avm-git!
287
283
  avm-tools!
288
- eac_config!
289
284
  eac_docker!
290
285
  eac_git!
291
286
  eac_rest!
@@ -9,11 +9,15 @@ module Avm
9
9
  class Info
10
10
  runner_with :help do
11
11
  desc 'Show information about local project instance.'
12
+ bool_opt '-p', '--parent', 'Show the parent source.'
13
+ bool_opt '-t', '--tests', 'Show test commands.'
12
14
  end
13
15
 
14
16
  def run
15
17
  show_instance
16
18
  show_source
19
+ show_parent
20
+ show_test_commands
17
21
  end
18
22
 
19
23
  private
@@ -23,11 +27,26 @@ module Avm
23
27
  infov 'Launcher stereotypes', instance.stereotypes.map(&:label).join(', ')
24
28
  end
25
29
 
30
+ def show_parent
31
+ return unless parsed.parent?
32
+
33
+ infov 'Parent', runner_context.call(:subject).parent
34
+ end
35
+
26
36
  def show_source
27
37
  infov 'Stereotype', runner_context.call(:subject).class
28
38
  infov 'SCM', runner_context.call(:subject).scm
29
39
  end
30
40
 
41
+ def show_test_commands
42
+ return unless parsed.tests?
43
+
44
+ infov 'Test commands', runner_context.call(:subject).test_commands.count
45
+ runner_context.call(:subject).test_commands.each do |name, command|
46
+ infov " * #{name}", command
47
+ end
48
+ end
49
+
31
50
  def instance
32
51
  runner_context.call(:instance)
33
52
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.121.2'
5
+ VERSION = '0.122.0'
6
6
  end
7
7
  end
data/sub/eac_cli/Gemfile CHANGED
@@ -3,3 +3,6 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacCli
4
- VERSION = '0.27.6'
4
+ VERSION = '0.27.7'
5
5
  end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -34,6 +34,11 @@ module EacConfig
34
34
  @parts = parts.to_a.freeze
35
35
  end
36
36
 
37
+ # @return [EacConfig::EntryPath]
38
+ def +(other)
39
+ self.class.new(parts + self.class.assert(other).parts)
40
+ end
41
+
37
42
  def to_s
38
43
  "#{self.class}[#{parts.join(PART_SEPARATOR)}]"
39
44
  end
@@ -58,6 +58,12 @@ module EacConfig
58
58
  ::EacConfig::LoadNodesSearch.new(self).result
59
59
  end
60
60
 
61
+ # @return [EacConfig::PrefixedPathNode]
62
+ def with_prefix(path_prefix)
63
+ require 'eac_config/prefixed_path_node'
64
+ ::EacConfig::PrefixedPathNode.new(self, path_prefix)
65
+ end
66
+
61
67
  private
62
68
 
63
69
  def load_node(node_path)
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_config/node_entry'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module EacConfig
7
+ class PrefixedPathNode
8
+ class Entry < ::EacConfig::NodeEntry
9
+ enable_simple_cache
10
+ delegate :found?, :found_node, :secret_value, :value, :value=, :writ_node, to: :full_entry
11
+
12
+ # @return [EacConfig::EntryPath]
13
+ def full_path
14
+ node.path_prefix + path
15
+ end
16
+
17
+ private
18
+
19
+ # @return [EacConfig::NodeEntry]
20
+ def full_entry_uncached
21
+ node.from_node.entry(full_path)
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_config/entry_path'
4
+ require 'eac_config/paths_hash'
5
+ require 'eac_ruby_utils/core_ext'
6
+
7
+ module EacConfig
8
+ class PrefixedPathNode
9
+ require_sub __FILE__
10
+ include ::EacConfig::Node
11
+ common_constructor :from_node, :path_prefix do
12
+ self.path_prefix = ::EacConfig::EntryPath.assert(path_prefix)
13
+ end
14
+
15
+ def entry(path)
16
+ ::EacConfig::Entry.new(self, path)
17
+ end
18
+ end
19
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacConfig
4
- VERSION = '0.8.1'
4
+ VERSION = '0.9.0'
5
5
  end
data/sub/eac_fs/Gemfile CHANGED
@@ -3,3 +3,6 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacFs
4
- VERSION = '0.12.2'
4
+ VERSION = '0.12.3'
5
5
  end
@@ -3,3 +3,6 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyBase0
4
- VERSION = '0.16.5'
4
+ VERSION = '0.16.6'
5
5
  end
@@ -2,15 +2,7 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- # Declare your gem's dependencies in users_support.gemspec.
6
- # Bundler will treat runtime dependencies like base dependencies, and
7
- # development dependencies will be added by default to the :development group.
8
5
  gemspec
9
6
 
10
- # Declare any dependencies that are still in development here instead of in
11
- # your gemspec. These might include edge Rails or gems from your path or
12
- # Git. Remember to move these dependencies to your gemspec before releasing
13
- # your gem to rubygems.org.
14
-
15
- # To use a debugger
16
- # gem 'byebug', group: [:development, :test]
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.95.2'
4
+ VERSION = '0.95.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Put here the authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-20 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm-eac_generic_base0
@@ -78,42 +78,42 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '0.2'
81
+ version: '0.3'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '0.2'
88
+ version: '0.3'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: avm-eac_ruby_base1
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '0.10'
95
+ version: '0.11'
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '0.10'
102
+ version: '0.11'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: avm-tools
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '0.121'
109
+ version: '0.122'
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '0.121'
116
+ version: '0.122'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: eac_ruby_utils
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -686,42 +686,6 @@ files:
686
686
  - sub/avm-tools/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
687
687
  - sub/avm-tools/sub/avm-git/spec/rubocop_spec.rb
688
688
  - sub/avm-tools/sub/avm-git/spec/spec_helper.rb
689
- - sub/avm-tools/sub/eac_config/Gemfile
690
- - sub/avm-tools/sub/eac_config/eac_config.gemspec
691
- - sub/avm-tools/sub/eac_config/lib/eac_config.rb
692
- - sub/avm-tools/sub/eac_config/lib/eac_config/entry.rb
693
- - sub/avm-tools/sub/eac_config/lib/eac_config/entry_path.rb
694
- - sub/avm-tools/sub/eac_config/lib/eac_config/envvars_node.rb
695
- - sub/avm-tools/sub/eac_config/lib/eac_config/envvars_node/entry.rb
696
- - sub/avm-tools/sub/eac_config/lib/eac_config/load_nodes_search.rb
697
- - sub/avm-tools/sub/eac_config/lib/eac_config/load_path.rb
698
- - sub/avm-tools/sub/eac_config/lib/eac_config/node.rb
699
- - sub/avm-tools/sub/eac_config/lib/eac_config/node_entry.rb
700
- - sub/avm-tools/sub/eac_config/lib/eac_config/node_uri.rb
701
- - sub/avm-tools/sub/eac_config/lib/eac_config/old_configs.rb
702
- - sub/avm-tools/sub/eac_config/lib/eac_config/old_configs/base.rb
703
- - sub/avm-tools/sub/eac_config/lib/eac_config/old_configs/file.rb
704
- - sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash.rb
705
- - sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/entry_key_error.rb
706
- - sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/node.rb
707
- - sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/path_search.rb
708
- - sub/avm-tools/sub/eac_config/lib/eac_config/rspec.rb
709
- - sub/avm-tools/sub/eac_config/lib/eac_config/rspec/setup.rb
710
- - sub/avm-tools/sub/eac_config/lib/eac_config/version.rb
711
- - sub/avm-tools/sub/eac_config/lib/eac_config/yaml_file_node.rb
712
- - sub/avm-tools/sub/eac_config/lib/eac_config/yaml_file_node/entry.rb
713
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/entry_path_spec.rb
714
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
715
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/envvars_node_spec.rb
716
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/old_configs_spec.rb
717
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/paths_hash_spec.rb
718
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb
719
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml
720
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml
721
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml
722
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml
723
- - sub/avm-tools/sub/eac_config/spec/rubocop_spec.rb
724
- - sub/avm-tools/sub/eac_config/spec/spec_helper.rb
725
689
  - sub/avm-tools/sub/eac_docker/Gemfile
726
690
  - sub/avm-tools/sub/eac_docker/eac_docker.gemspec
727
691
  - sub/avm-tools/sub/eac_docker/lib/eac_docker.rb
@@ -1078,6 +1042,7 @@ files:
1078
1042
  - sub/avm/lib/avm/registry.rb
1079
1043
  - sub/avm/lib/avm/registry/base.rb
1080
1044
  - sub/avm/lib/avm/registry/with_path.rb
1045
+ - sub/avm/lib/avm/registry/with_path/cache.rb
1081
1046
  - sub/avm/lib/avm/result.rb
1082
1047
  - sub/avm/lib/avm/rspec.rb
1083
1048
  - sub/avm/lib/avm/rspec/setup.rb
@@ -1180,6 +1145,44 @@ files:
1180
1145
  - sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb
1181
1146
  - sub/eac_cli/spec/rubocop_spec.rb
1182
1147
  - sub/eac_cli/spec/spec_helper.rb
1148
+ - sub/eac_config/Gemfile
1149
+ - sub/eac_config/eac_config.gemspec
1150
+ - sub/eac_config/lib/eac_config.rb
1151
+ - sub/eac_config/lib/eac_config/entry.rb
1152
+ - sub/eac_config/lib/eac_config/entry_path.rb
1153
+ - sub/eac_config/lib/eac_config/envvars_node.rb
1154
+ - sub/eac_config/lib/eac_config/envvars_node/entry.rb
1155
+ - sub/eac_config/lib/eac_config/load_nodes_search.rb
1156
+ - sub/eac_config/lib/eac_config/load_path.rb
1157
+ - sub/eac_config/lib/eac_config/node.rb
1158
+ - sub/eac_config/lib/eac_config/node_entry.rb
1159
+ - sub/eac_config/lib/eac_config/node_uri.rb
1160
+ - sub/eac_config/lib/eac_config/old_configs.rb
1161
+ - sub/eac_config/lib/eac_config/old_configs/base.rb
1162
+ - sub/eac_config/lib/eac_config/old_configs/file.rb
1163
+ - sub/eac_config/lib/eac_config/paths_hash.rb
1164
+ - sub/eac_config/lib/eac_config/paths_hash/entry_key_error.rb
1165
+ - sub/eac_config/lib/eac_config/paths_hash/node.rb
1166
+ - sub/eac_config/lib/eac_config/paths_hash/path_search.rb
1167
+ - sub/eac_config/lib/eac_config/prefixed_path_node.rb
1168
+ - sub/eac_config/lib/eac_config/prefixed_path_node/entry.rb
1169
+ - sub/eac_config/lib/eac_config/rspec.rb
1170
+ - sub/eac_config/lib/eac_config/rspec/setup.rb
1171
+ - sub/eac_config/lib/eac_config/version.rb
1172
+ - sub/eac_config/lib/eac_config/yaml_file_node.rb
1173
+ - sub/eac_config/lib/eac_config/yaml_file_node/entry.rb
1174
+ - sub/eac_config/spec/lib/eac_config/entry_path_spec.rb
1175
+ - sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
1176
+ - sub/eac_config/spec/lib/eac_config/envvars_node_spec.rb
1177
+ - sub/eac_config/spec/lib/eac_config/old_configs_spec.rb
1178
+ - sub/eac_config/spec/lib/eac_config/paths_hash_spec.rb
1179
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb
1180
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml
1181
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml
1182
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml
1183
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml
1184
+ - sub/eac_config/spec/rubocop_spec.rb
1185
+ - sub/eac_config/spec/spec_helper.rb
1183
1186
  - sub/eac_fs/Gemfile
1184
1187
  - sub/eac_fs/eac_fs.gemspec
1185
1188
  - sub/eac_fs/lib/eac_fs.rb
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gemspec