eac_tools 0.6.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +27 -21
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm/avm.gemspec +1 -0
  5. data/sub/avm/lib/avm/application_stereotypes/base/by_gem.rb +17 -0
  6. data/sub/avm/lib/avm/application_stereotypes/base/detection.rb +34 -0
  7. data/sub/avm/lib/avm/application_stereotypes/base.rb +21 -0
  8. data/sub/avm/lib/avm/application_stereotypes.rb +9 -0
  9. data/sub/avm/lib/avm/{instances/application.rb → applications/base.rb} +5 -6
  10. data/sub/avm/lib/avm/applications.rb +9 -0
  11. data/sub/avm/lib/avm/instances/base.rb +7 -2
  12. data/sub/avm/lib/avm/instances.rb +1 -1
  13. data/sub/avm/lib/avm/registry/application_stereotypes/build_available.rb +46 -0
  14. data/sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb +30 -0
  15. data/sub/avm/lib/avm/registry/application_stereotypes.rb +36 -0
  16. data/sub/avm/lib/avm/registry/{base.rb → from_gems.rb} +13 -4
  17. data/sub/avm/lib/avm/registry/instances.rb +16 -0
  18. data/sub/avm/lib/avm/registry/runners.rb +10 -0
  19. data/sub/avm/lib/avm/registry/scms.rb +10 -0
  20. data/sub/avm/lib/avm/registry/sources.rb +10 -0
  21. data/sub/avm/lib/avm/registry/with_path/cache.rb +31 -0
  22. data/sub/avm/lib/avm/registry/with_path.rb +33 -7
  23. data/sub/avm/lib/avm/registry.rb +3 -7
  24. data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +1 -1
  25. data/sub/avm/lib/avm/sources/base/configuration.rb +23 -2
  26. data/sub/avm/lib/avm/sources/base/instance.rb +2 -2
  27. data/sub/avm/lib/avm/sources/base/locale.rb +1 -1
  28. data/sub/avm/lib/avm/sources/base/parent.rb +8 -11
  29. data/sub/avm/lib/avm/sources/base/subs_paths.rb +1 -1
  30. data/sub/avm/lib/avm/sources/base/testing.rb +4 -4
  31. data/sub/avm/lib/avm/sources/base.rb +4 -0
  32. data/sub/avm/lib/avm/sources/tests/builder.rb +5 -10
  33. data/sub/avm/lib/avm/version.rb +1 -1
  34. data/sub/avm/lib/avm/with_application_stereotype.rb +23 -0
  35. data/sub/avm/lib/avm/with_dynamic_runners.rb +42 -0
  36. data/sub/{avm-tools/spec/lib/avm/instances/application_spec.rb → avm/spec/lib/avm/applications/base_spec.rb} +3 -3
  37. data/sub/{avm-tools/spec/lib/avm/instances/application_spec_fixture.yml → avm/spec/lib/avm/applications/base_spec_fixture.yml} +0 -0
  38. data/sub/{avm-tools → avm}/spec/lib/avm/instances/base_spec.rb +0 -0
  39. data/sub/{avm-tools → avm}/spec/lib/avm/instances/base_spec_configs_storage.yml +0 -0
  40. data/sub/avm-eac_rails_base0/Gemfile +3 -0
  41. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  42. data/sub/avm-eac_redmine_plugin_base0/avm-eac_redmine_plugin_base0.gemspec +1 -1
  43. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb +40 -2
  44. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/version.rb +1 -1
  45. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +1 -1
  46. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +1 -1
  47. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb +14 -0
  48. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +12 -0
  49. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  50. data/sub/avm-tools/Gemfile +3 -0
  51. data/sub/avm-tools/avm-tools.gemspec +1 -1
  52. data/sub/avm-tools/lib/avm/tools/runner/app_src/info.rb +19 -0
  53. data/sub/avm-tools/lib/avm/tools/runner/application_stereotypes/list.rb +31 -0
  54. data/sub/avm-tools/lib/avm/tools/runner/application_stereotypes.rb +16 -0
  55. data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
  56. data/sub/eac_cli/Gemfile +3 -0
  57. data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
  58. data/sub/eac_config/Gemfile +8 -0
  59. data/sub/{avm-tools/sub/eac_config → eac_config}/eac_config.gemspec +0 -0
  60. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/entry.rb +0 -0
  61. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/entry_path.rb +5 -0
  62. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/envvars_node/entry.rb +0 -0
  63. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/envvars_node.rb +0 -0
  64. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/load_nodes_search.rb +0 -0
  65. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/load_path.rb +0 -0
  66. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node.rb +6 -0
  67. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node_entry.rb +0 -0
  68. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node_uri.rb +0 -0
  69. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs/base.rb +0 -0
  70. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs/file.rb +0 -0
  71. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs.rb +0 -0
  72. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/entry_key_error.rb +0 -0
  73. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/node.rb +0 -0
  74. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/path_search.rb +0 -0
  75. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash.rb +0 -0
  76. data/sub/eac_config/lib/eac_config/prefixed_path_node/entry.rb +25 -0
  77. data/sub/eac_config/lib/eac_config/prefixed_path_node.rb +19 -0
  78. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/rspec/setup.rb +0 -0
  79. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/rspec.rb +0 -0
  80. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/version.rb +1 -1
  81. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/yaml_file_node/entry.rb +0 -0
  82. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/yaml_file_node.rb +0 -0
  83. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config.rb +0 -0
  84. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/entry_path_spec.rb +0 -0
  85. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/envvars_node/entry_spec.rb +0 -0
  86. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/envvars_node_spec.rb +0 -0
  87. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/old_configs_spec.rb +0 -0
  88. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/paths_hash_spec.rb +0 -0
  89. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec.rb +0 -0
  90. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml +0 -0
  91. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml +0 -0
  92. 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
  93. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml +0 -0
  94. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/rubocop_spec.rb +0 -0
  95. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/spec_helper.rb +0 -0
  96. data/sub/eac_fs/Gemfile +3 -0
  97. data/sub/eac_fs/lib/eac_fs/version.rb +1 -1
  98. data/sub/eac_ruby_base0/Gemfile +3 -0
  99. data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
  100. data/sub/eac_ruby_utils/Gemfile +2 -10
  101. data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  102. metadata +69 -58
  103. data/sub/avm/lib/avm/sources/base/runners.rb +0 -47
  104. data/sub/avm-tools/Gemfile.lock +0 -296
  105. data/sub/avm-tools/sub/eac_config/Gemfile +0 -5
@@ -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.6.0
4
+ version: 0.9.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-18 00:00:00.000000000 Z
11
+ date: 2022-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm-eac_generic_base0
@@ -78,48 +78,42 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '0.1'
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- version: 0.1.1
81
+ version: '0.3'
85
82
  type: :runtime
86
83
  prerelease: false
87
84
  version_requirements: !ruby/object:Gem::Requirement
88
85
  requirements:
89
86
  - - "~>"
90
87
  - !ruby/object:Gem::Version
91
- version: '0.1'
92
- - - ">="
93
- - !ruby/object:Gem::Version
94
- version: 0.1.1
88
+ version: '0.3'
95
89
  - !ruby/object:Gem::Dependency
96
90
  name: avm-eac_ruby_base1
97
91
  requirement: !ruby/object:Gem::Requirement
98
92
  requirements:
99
93
  - - "~>"
100
94
  - !ruby/object:Gem::Version
101
- version: '0.9'
95
+ version: '0.11'
102
96
  type: :runtime
103
97
  prerelease: false
104
98
  version_requirements: !ruby/object:Gem::Requirement
105
99
  requirements:
106
100
  - - "~>"
107
101
  - !ruby/object:Gem::Version
108
- version: '0.9'
102
+ version: '0.11'
109
103
  - !ruby/object:Gem::Dependency
110
104
  name: avm-tools
111
105
  requirement: !ruby/object:Gem::Requirement
112
106
  requirements:
113
107
  - - "~>"
114
108
  - !ruby/object:Gem::Version
115
- version: '0.121'
109
+ version: '0.123'
116
110
  type: :runtime
117
111
  prerelease: false
118
112
  version_requirements: !ruby/object:Gem::Requirement
119
113
  requirements:
120
114
  - - "~>"
121
115
  - !ruby/object:Gem::Version
122
- version: '0.121'
116
+ version: '0.123'
123
117
  - !ruby/object:Gem::Dependency
124
118
  name: eac_ruby_utils
125
119
  requirement: !ruby/object:Gem::Requirement
@@ -315,7 +309,6 @@ files:
315
309
  - sub/avm-eac_ruby_base1/spec/rubocop_spec.rb
316
310
  - sub/avm-eac_ruby_base1/spec/spec_helper.rb
317
311
  - sub/avm-tools/Gemfile
318
- - sub/avm-tools/Gemfile.lock
319
312
  - sub/avm-tools/README.textile
320
313
  - sub/avm-tools/avm-tools.gemspec
321
314
  - sub/avm-tools/exe/avm
@@ -425,6 +418,8 @@ files:
425
418
  - sub/avm-tools/lib/avm/tools/runner/app_src/test.rb
426
419
  - sub/avm-tools/lib/avm/tools/runner/app_src/update.rb
427
420
  - sub/avm-tools/lib/avm/tools/runner/app_src/version_bump.rb
421
+ - sub/avm-tools/lib/avm/tools/runner/application_stereotypes.rb
422
+ - sub/avm-tools/lib/avm/tools/runner/application_stereotypes/list.rb
428
423
  - sub/avm-tools/lib/avm/tools/runner/config.rb
429
424
  - sub/avm-tools/lib/avm/tools/runner/config/load_path.rb
430
425
  - sub/avm-tools/lib/avm/tools/runner/eac_asciidoctor_base0.rb
@@ -474,10 +469,6 @@ files:
474
469
  - sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
475
470
  - sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec.rb
476
471
  - sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec_no_ssl_content.conf
477
- - sub/avm-tools/spec/lib/avm/instances/application_spec.rb
478
- - sub/avm-tools/spec/lib/avm/instances/application_spec_fixture.yml
479
- - sub/avm-tools/spec/lib/avm/instances/base_spec.rb
480
- - sub/avm-tools/spec/lib/avm/instances/base_spec_configs_storage.yml
481
472
  - sub/avm-tools/spec/lib/avm/launcher/context_spec.rb
482
473
  - sub/avm-tools/spec/lib/avm/launcher/context_spec.yml
483
474
  - sub/avm-tools/spec/lib/avm/launcher/git/base_spec.rb
@@ -692,42 +683,6 @@ files:
692
683
  - sub/avm-tools/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
693
684
  - sub/avm-tools/sub/avm-git/spec/rubocop_spec.rb
694
685
  - sub/avm-tools/sub/avm-git/spec/spec_helper.rb
695
- - sub/avm-tools/sub/eac_config/Gemfile
696
- - sub/avm-tools/sub/eac_config/eac_config.gemspec
697
- - sub/avm-tools/sub/eac_config/lib/eac_config.rb
698
- - sub/avm-tools/sub/eac_config/lib/eac_config/entry.rb
699
- - sub/avm-tools/sub/eac_config/lib/eac_config/entry_path.rb
700
- - sub/avm-tools/sub/eac_config/lib/eac_config/envvars_node.rb
701
- - sub/avm-tools/sub/eac_config/lib/eac_config/envvars_node/entry.rb
702
- - sub/avm-tools/sub/eac_config/lib/eac_config/load_nodes_search.rb
703
- - sub/avm-tools/sub/eac_config/lib/eac_config/load_path.rb
704
- - sub/avm-tools/sub/eac_config/lib/eac_config/node.rb
705
- - sub/avm-tools/sub/eac_config/lib/eac_config/node_entry.rb
706
- - sub/avm-tools/sub/eac_config/lib/eac_config/node_uri.rb
707
- - sub/avm-tools/sub/eac_config/lib/eac_config/old_configs.rb
708
- - sub/avm-tools/sub/eac_config/lib/eac_config/old_configs/base.rb
709
- - sub/avm-tools/sub/eac_config/lib/eac_config/old_configs/file.rb
710
- - sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash.rb
711
- - sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/entry_key_error.rb
712
- - sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/node.rb
713
- - sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/path_search.rb
714
- - sub/avm-tools/sub/eac_config/lib/eac_config/rspec.rb
715
- - sub/avm-tools/sub/eac_config/lib/eac_config/rspec/setup.rb
716
- - sub/avm-tools/sub/eac_config/lib/eac_config/version.rb
717
- - sub/avm-tools/sub/eac_config/lib/eac_config/yaml_file_node.rb
718
- - sub/avm-tools/sub/eac_config/lib/eac_config/yaml_file_node/entry.rb
719
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/entry_path_spec.rb
720
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
721
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/envvars_node_spec.rb
722
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/old_configs_spec.rb
723
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/paths_hash_spec.rb
724
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb
725
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml
726
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml
727
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml
728
- - sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml
729
- - sub/avm-tools/sub/eac_config/spec/rubocop_spec.rb
730
- - sub/avm-tools/sub/eac_config/spec/spec_helper.rb
731
686
  - sub/avm-tools/sub/eac_docker/Gemfile
732
687
  - sub/avm-tools/sub/eac_docker/eac_docker.gemspec
733
688
  - sub/avm-tools/sub/eac_docker/lib/eac_docker.rb
@@ -1038,6 +993,12 @@ files:
1038
993
  - sub/avm/Gemfile
1039
994
  - sub/avm/avm.gemspec
1040
995
  - sub/avm/lib/avm.rb
996
+ - sub/avm/lib/avm/application_stereotypes.rb
997
+ - sub/avm/lib/avm/application_stereotypes/base.rb
998
+ - sub/avm/lib/avm/application_stereotypes/base/by_gem.rb
999
+ - sub/avm/lib/avm/application_stereotypes/base/detection.rb
1000
+ - sub/avm/lib/avm/applications.rb
1001
+ - sub/avm/lib/avm/applications/base.rb
1041
1002
  - sub/avm/lib/avm/data/instance.rb
1042
1003
  - sub/avm/lib/avm/data/instance/files_unit.rb
1043
1004
  - sub/avm/lib/avm/data/instance/package.rb
@@ -1053,7 +1014,6 @@ files:
1053
1014
  - sub/avm/lib/avm/docker/runner.rb
1054
1015
  - sub/avm/lib/avm/executables.rb
1055
1016
  - sub/avm/lib/avm/instances.rb
1056
- - sub/avm/lib/avm/instances/application.rb
1057
1017
  - sub/avm/lib/avm/instances/base.rb
1058
1018
  - sub/avm/lib/avm/instances/base/auto_values.rb
1059
1019
  - sub/avm/lib/avm/instances/base/auto_values/access.rb
@@ -1082,8 +1042,16 @@ files:
1082
1042
  - sub/avm/lib/avm/launcher/publish/check_result.rb
1083
1043
  - sub/avm/lib/avm/path_string.rb
1084
1044
  - sub/avm/lib/avm/registry.rb
1085
- - sub/avm/lib/avm/registry/base.rb
1045
+ - sub/avm/lib/avm/registry/application_stereotypes.rb
1046
+ - sub/avm/lib/avm/registry/application_stereotypes/build_available.rb
1047
+ - sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb
1048
+ - sub/avm/lib/avm/registry/from_gems.rb
1049
+ - sub/avm/lib/avm/registry/instances.rb
1050
+ - sub/avm/lib/avm/registry/runners.rb
1051
+ - sub/avm/lib/avm/registry/scms.rb
1052
+ - sub/avm/lib/avm/registry/sources.rb
1086
1053
  - sub/avm/lib/avm/registry/with_path.rb
1054
+ - sub/avm/lib/avm/registry/with_path/cache.rb
1087
1055
  - sub/avm/lib/avm/result.rb
1088
1056
  - sub/avm/lib/avm/rspec.rb
1089
1057
  - sub/avm/lib/avm/rspec/setup.rb
@@ -1103,7 +1071,6 @@ files:
1103
1071
  - sub/avm/lib/avm/sources/base/instance.rb
1104
1072
  - sub/avm/lib/avm/sources/base/locale.rb
1105
1073
  - sub/avm/lib/avm/sources/base/parent.rb
1106
- - sub/avm/lib/avm/sources/base/runners.rb
1107
1074
  - sub/avm/lib/avm/sources/base/subs.rb
1108
1075
  - sub/avm/lib/avm/sources/base/subs_paths.rb
1109
1076
  - sub/avm/lib/avm/sources/base/testing.rb
@@ -1117,6 +1084,12 @@ files:
1117
1084
  - sub/avm/lib/avm/sync.rb
1118
1085
  - sub/avm/lib/avm/version.rb
1119
1086
  - sub/avm/lib/avm/version_number.rb
1087
+ - sub/avm/lib/avm/with_application_stereotype.rb
1088
+ - sub/avm/lib/avm/with_dynamic_runners.rb
1089
+ - sub/avm/spec/lib/avm/applications/base_spec.rb
1090
+ - sub/avm/spec/lib/avm/applications/base_spec_fixture.yml
1091
+ - sub/avm/spec/lib/avm/instances/base_spec.rb
1092
+ - sub/avm/spec/lib/avm/instances/base_spec_configs_storage.yml
1120
1093
  - sub/avm/spec/lib/avm/scms/base_spec.rb
1121
1094
  - sub/avm/spec/lib/avm/sources/base_spec.rb
1122
1095
  - sub/avm/spec/rubocop_spec.rb
@@ -1186,6 +1159,44 @@ files:
1186
1159
  - sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb
1187
1160
  - sub/eac_cli/spec/rubocop_spec.rb
1188
1161
  - sub/eac_cli/spec/spec_helper.rb
1162
+ - sub/eac_config/Gemfile
1163
+ - sub/eac_config/eac_config.gemspec
1164
+ - sub/eac_config/lib/eac_config.rb
1165
+ - sub/eac_config/lib/eac_config/entry.rb
1166
+ - sub/eac_config/lib/eac_config/entry_path.rb
1167
+ - sub/eac_config/lib/eac_config/envvars_node.rb
1168
+ - sub/eac_config/lib/eac_config/envvars_node/entry.rb
1169
+ - sub/eac_config/lib/eac_config/load_nodes_search.rb
1170
+ - sub/eac_config/lib/eac_config/load_path.rb
1171
+ - sub/eac_config/lib/eac_config/node.rb
1172
+ - sub/eac_config/lib/eac_config/node_entry.rb
1173
+ - sub/eac_config/lib/eac_config/node_uri.rb
1174
+ - sub/eac_config/lib/eac_config/old_configs.rb
1175
+ - sub/eac_config/lib/eac_config/old_configs/base.rb
1176
+ - sub/eac_config/lib/eac_config/old_configs/file.rb
1177
+ - sub/eac_config/lib/eac_config/paths_hash.rb
1178
+ - sub/eac_config/lib/eac_config/paths_hash/entry_key_error.rb
1179
+ - sub/eac_config/lib/eac_config/paths_hash/node.rb
1180
+ - sub/eac_config/lib/eac_config/paths_hash/path_search.rb
1181
+ - sub/eac_config/lib/eac_config/prefixed_path_node.rb
1182
+ - sub/eac_config/lib/eac_config/prefixed_path_node/entry.rb
1183
+ - sub/eac_config/lib/eac_config/rspec.rb
1184
+ - sub/eac_config/lib/eac_config/rspec/setup.rb
1185
+ - sub/eac_config/lib/eac_config/version.rb
1186
+ - sub/eac_config/lib/eac_config/yaml_file_node.rb
1187
+ - sub/eac_config/lib/eac_config/yaml_file_node/entry.rb
1188
+ - sub/eac_config/spec/lib/eac_config/entry_path_spec.rb
1189
+ - sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
1190
+ - sub/eac_config/spec/lib/eac_config/envvars_node_spec.rb
1191
+ - sub/eac_config/spec/lib/eac_config/old_configs_spec.rb
1192
+ - sub/eac_config/spec/lib/eac_config/paths_hash_spec.rb
1193
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb
1194
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml
1195
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml
1196
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml
1197
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml
1198
+ - sub/eac_config/spec/rubocop_spec.rb
1199
+ - sub/eac_config/spec/spec_helper.rb
1189
1200
  - sub/eac_fs/Gemfile
1190
1201
  - sub/eac_fs/eac_fs.gemspec
1191
1202
  - sub/eac_fs/lib/eac_fs.rb
@@ -1,47 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/sources/base/subs_paths'
4
- require 'eac_cli/runner_with/subcommands'
5
- require 'eac_ruby_utils/core_ext'
6
-
7
- module Avm
8
- module Sources
9
- class Base
10
- module Runners
11
- # @return [Hash<String, EacCli::Runner>]
12
- def extra_available_subcommands
13
- extra_available_subcommands_from_runners_module
14
- end
15
-
16
- # @return [Hash<String, EacCli::Runner>]
17
- def extra_available_subcommands_from_runners_module
18
- self.class.ancestors.reverse.inject({}) do |a, e|
19
- a.merge(RunnersFromModule.new(e).result)
20
- end
21
- end
22
-
23
- class RunnersFromModule
24
- enable_simple_cache
25
- common_constructor :the_module
26
-
27
- # @return [Hash<String, EacCli::Runner>]
28
- def result
29
- return {} if runners_module.blank?
30
-
31
- ::EacCli::RunnerWith::Subcommands.subcommands_from_module(runners_module)
32
- end
33
-
34
- def runners_module_uncached
35
- return nil if the_module.module_parent.blank?
36
-
37
- begin
38
- the_module.module_parent.const_get('Runners')
39
- rescue ::NameError
40
- nil
41
- end
42
- end
43
- end
44
- end
45
- end
46
- end
47
- end