eac_tools 0.7.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +43 -31
  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/docker/image.rb +12 -2
  12. data/sub/avm/lib/avm/instances/base.rb +7 -2
  13. data/sub/avm/lib/avm/instances.rb +1 -1
  14. data/sub/avm/lib/avm/registry/application_stereotypes/build_available.rb +46 -0
  15. data/sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb +30 -0
  16. data/sub/avm/lib/avm/registry/application_stereotypes.rb +36 -0
  17. data/sub/avm/lib/avm/registry/{base.rb → from_gems.rb} +13 -4
  18. data/sub/avm/lib/avm/registry/instances.rb +16 -0
  19. data/sub/avm/lib/avm/registry/runners.rb +10 -0
  20. data/sub/avm/lib/avm/registry/scms.rb +10 -0
  21. data/sub/avm/lib/avm/registry/sources.rb +10 -0
  22. data/sub/avm/lib/avm/registry/with_path/cache.rb +31 -0
  23. data/sub/avm/lib/avm/registry/with_path.rb +33 -7
  24. data/sub/avm/lib/avm/registry.rb +3 -7
  25. data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +1 -1
  26. data/sub/avm/lib/avm/sources/base/configuration.rb +23 -2
  27. data/sub/avm/lib/avm/sources/base/instance.rb +2 -2
  28. data/sub/avm/lib/avm/sources/base/locale.rb +1 -1
  29. data/sub/avm/lib/avm/sources/base/parent.rb +8 -11
  30. data/sub/avm/lib/avm/sources/base/subs_paths.rb +1 -1
  31. data/sub/avm/lib/avm/sources/base/testing.rb +4 -4
  32. data/sub/avm/lib/avm/sources/base.rb +4 -0
  33. data/sub/avm/lib/avm/sources/tests/builder.rb +5 -10
  34. data/sub/avm/lib/avm/version.rb +1 -1
  35. data/sub/avm/lib/avm/with_application_stereotype.rb +23 -0
  36. data/sub/avm/lib/avm/with_dynamic_runners.rb +42 -0
  37. data/sub/{avm-tools/spec/lib/avm/instances/application_spec.rb → avm/spec/lib/avm/applications/base_spec.rb} +3 -3
  38. data/sub/{avm-tools/spec/lib/avm/instances/application_spec_fixture.yml → avm/spec/lib/avm/applications/base_spec_fixture.yml} +0 -0
  39. data/sub/{avm-tools → avm}/spec/lib/avm/instances/base_spec.rb +0 -0
  40. data/sub/{avm-tools → avm}/spec/lib/avm/instances/base_spec_configs_storage.yml +0 -0
  41. data/sub/avm-eac_generic_base0/avm-eac_generic_base0.gemspec +2 -2
  42. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/docker/runner.rb +61 -0
  43. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/docker.rb +13 -0
  44. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/version.rb +1 -1
  45. data/sub/avm-eac_rails_base0/Gemfile +3 -0
  46. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +1 -0
  47. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/docker.rb +19 -0
  48. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  49. data/sub/avm-eac_redmine_plugin_base0/avm-eac_redmine_plugin_base0.gemspec +1 -1
  50. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb +15 -4
  51. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/version.rb +1 -1
  52. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +1 -1
  53. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +1 -1
  54. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb +14 -0
  55. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  56. data/sub/avm-tools/Gemfile +3 -0
  57. data/sub/avm-tools/avm-tools.gemspec +1 -1
  58. data/sub/avm-tools/lib/avm/tools/runner/app_src/info.rb +19 -0
  59. data/sub/avm-tools/lib/avm/tools/runner/application_stereotypes/list.rb +31 -0
  60. data/sub/avm-tools/lib/avm/tools/runner/application_stereotypes.rb +16 -0
  61. data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
  62. data/sub/eac_cli/Gemfile +3 -0
  63. data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
  64. data/sub/eac_config/Gemfile +8 -0
  65. data/sub/{avm-tools/sub/eac_config → eac_config}/eac_config.gemspec +0 -0
  66. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/entry.rb +0 -0
  67. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/entry_path.rb +5 -0
  68. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/envvars_node/entry.rb +0 -0
  69. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/envvars_node.rb +0 -0
  70. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/load_nodes_search.rb +0 -0
  71. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/load_path.rb +0 -0
  72. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node.rb +6 -0
  73. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node_entry.rb +0 -0
  74. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/node_uri.rb +0 -0
  75. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs/base.rb +0 -0
  76. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs/file.rb +0 -0
  77. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/old_configs.rb +0 -0
  78. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/entry_key_error.rb +0 -0
  79. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/node.rb +0 -0
  80. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash/path_search.rb +0 -0
  81. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/paths_hash.rb +0 -0
  82. data/sub/eac_config/lib/eac_config/prefixed_path_node/entry.rb +25 -0
  83. data/sub/eac_config/lib/eac_config/prefixed_path_node.rb +19 -0
  84. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/rspec/setup.rb +0 -0
  85. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/rspec.rb +0 -0
  86. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/version.rb +1 -1
  87. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/yaml_file_node/entry.rb +0 -0
  88. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config/yaml_file_node.rb +0 -0
  89. data/sub/{avm-tools/sub/eac_config → eac_config}/lib/eac_config.rb +0 -0
  90. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/entry_path_spec.rb +0 -0
  91. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/envvars_node/entry_spec.rb +0 -0
  92. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/envvars_node_spec.rb +0 -0
  93. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/old_configs_spec.rb +0 -0
  94. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/paths_hash_spec.rb +0 -0
  95. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec.rb +0 -0
  96. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml +0 -0
  97. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml +0 -0
  98. 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
  99. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml +0 -0
  100. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/rubocop_spec.rb +0 -0
  101. data/sub/{avm-tools/sub/eac_config → eac_config}/spec/spec_helper.rb +0 -0
  102. data/sub/eac_docker/Gemfile +8 -0
  103. data/sub/{avm-tools/sub/eac_docker → eac_docker}/eac_docker.gemspec +3 -3
  104. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/container.rb +4 -3
  105. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/debug.rb +0 -0
  106. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/executables.rb +0 -0
  107. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/images/base.rb +0 -0
  108. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/images/coded.rb +0 -0
  109. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/images/named.rb +0 -0
  110. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/images/templatized.rb +0 -0
  111. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/images.rb +0 -0
  112. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/registry.rb +0 -0
  113. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/rspec/setup.rb +0 -0
  114. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/rspec.rb +0 -0
  115. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker/version.rb +1 -1
  116. data/sub/{avm-tools/sub/eac_docker → eac_docker}/lib/eac_docker.rb +0 -0
  117. data/sub/{avm-tools/sub/eac_docker → eac_docker}/spec/lib/eac_docker/executables_spec.rb +0 -0
  118. data/sub/{avm-tools/sub/eac_docker → eac_docker}/spec/lib/eac_docker/images/coded_spec.rb +0 -0
  119. data/sub/{avm-tools/sub/eac_docker → eac_docker}/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile +0 -0
  120. data/sub/{avm-tools/sub/eac_docker → eac_docker}/spec/lib/eac_docker/images/templatized_spec.rb +0 -0
  121. data/sub/{avm-tools/sub/eac_docker → eac_docker}/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile +0 -0
  122. data/sub/{avm-tools/sub/eac_docker → eac_docker}/spec/rubocop_spec.rb +0 -0
  123. data/sub/{avm-tools/sub/eac_docker → eac_docker}/spec/spec_helper.rb +0 -0
  124. data/sub/eac_fs/Gemfile +3 -0
  125. data/sub/eac_fs/lib/eac_fs/version.rb +1 -1
  126. data/sub/eac_ruby_base0/Gemfile +3 -0
  127. data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
  128. data/sub/eac_ruby_utils/Gemfile +2 -10
  129. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb +22 -5
  130. data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  131. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/immutable_spec.rb +34 -0
  132. metadata +101 -87
  133. data/sub/avm/lib/avm/sources/base/runners.rb +0 -47
  134. data/sub/avm-tools/Gemfile.lock +0 -296
  135. data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/dev_docker.rb +0 -17
  136. data/sub/avm-tools/sub/eac_config/Gemfile +0 -5
  137. data/sub/avm-tools/sub/eac_docker/Gemfile +0 -5
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.10.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-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm-eac_generic_base0
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.3'
26
+ version: '0.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: avm-eac_rails_base0
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -64,76 +64,70 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.9'
67
+ version: '0.10'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0.9'
74
+ version: '0.10'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: avm-eac_redmine_plugin_base0
77
77
  requirement: !ruby/object:Gem::Requirement
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.124'
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.124'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: eac_ruby_utils
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '0.95'
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- version: 0.95.2
123
+ version: '0.96'
127
124
  type: :runtime
128
125
  prerelease: false
129
126
  version_requirements: !ruby/object:Gem::Requirement
130
127
  requirements:
131
128
  - - "~>"
132
129
  - !ruby/object:Gem::Version
133
- version: '0.95'
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- version: 0.95.2
130
+ version: '0.96'
137
131
  - !ruby/object:Gem::Dependency
138
132
  name: eac_ruby_gem_support
139
133
  requirement: !ruby/object:Gem::Requirement
@@ -164,6 +158,8 @@ files:
164
158
  - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources.rb
165
159
  - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base.rb
166
160
  - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base/version_bump.rb
161
+ - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/docker.rb
162
+ - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/docker/runner.rb
167
163
  - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/version.rb
168
164
  - sub/avm-eac_generic_base0/locale/en.yml
169
165
  - sub/avm-eac_generic_base0/locale/pt-BR.yml
@@ -228,6 +224,7 @@ files:
228
224
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
229
225
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners.rb
230
226
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb
227
+ - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/docker.rb
231
228
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb
232
229
  - sub/avm-eac_redmine_base0/locale/en.yml
233
230
  - sub/avm-eac_redmine_base0/locale/pt-BR.yml
@@ -309,7 +306,6 @@ files:
309
306
  - sub/avm-eac_ruby_base1/spec/rubocop_spec.rb
310
307
  - sub/avm-eac_ruby_base1/spec/spec_helper.rb
311
308
  - sub/avm-tools/Gemfile
312
- - sub/avm-tools/Gemfile.lock
313
309
  - sub/avm-tools/README.textile
314
310
  - sub/avm-tools/avm-tools.gemspec
315
311
  - sub/avm-tools/exe/avm
@@ -419,11 +415,12 @@ files:
419
415
  - sub/avm-tools/lib/avm/tools/runner/app_src/test.rb
420
416
  - sub/avm-tools/lib/avm/tools/runner/app_src/update.rb
421
417
  - sub/avm-tools/lib/avm/tools/runner/app_src/version_bump.rb
418
+ - sub/avm-tools/lib/avm/tools/runner/application_stereotypes.rb
419
+ - sub/avm-tools/lib/avm/tools/runner/application_stereotypes/list.rb
422
420
  - sub/avm-tools/lib/avm/tools/runner/config.rb
423
421
  - sub/avm-tools/lib/avm/tools/runner/config/load_path.rb
424
422
  - sub/avm-tools/lib/avm/tools/runner/eac_asciidoctor_base0.rb
425
423
  - sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0.rb
426
- - sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/dev_docker.rb
427
424
  - sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/docker.rb
428
425
  - sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb
429
426
  - sub/avm-tools/lib/avm/tools/runner/eac_webapp_base0.rb
@@ -468,10 +465,6 @@ files:
468
465
  - sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
469
466
  - sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec.rb
470
467
  - sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec_no_ssl_content.conf
471
- - sub/avm-tools/spec/lib/avm/instances/application_spec.rb
472
- - sub/avm-tools/spec/lib/avm/instances/application_spec_fixture.yml
473
- - sub/avm-tools/spec/lib/avm/instances/base_spec.rb
474
- - sub/avm-tools/spec/lib/avm/instances/base_spec_configs_storage.yml
475
468
  - sub/avm-tools/spec/lib/avm/launcher/context_spec.rb
476
469
  - sub/avm-tools/spec/lib/avm/launcher/context_spec.yml
477
470
  - sub/avm-tools/spec/lib/avm/launcher/git/base_spec.rb
@@ -686,64 +679,6 @@ files:
686
679
  - sub/avm-tools/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
687
680
  - sub/avm-tools/sub/avm-git/spec/rubocop_spec.rb
688
681
  - 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
- - sub/avm-tools/sub/eac_docker/Gemfile
726
- - sub/avm-tools/sub/eac_docker/eac_docker.gemspec
727
- - sub/avm-tools/sub/eac_docker/lib/eac_docker.rb
728
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/container.rb
729
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/debug.rb
730
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/executables.rb
731
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/images.rb
732
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/images/base.rb
733
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/images/coded.rb
734
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/images/named.rb
735
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/images/templatized.rb
736
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/registry.rb
737
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/rspec.rb
738
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/rspec/setup.rb
739
- - sub/avm-tools/sub/eac_docker/lib/eac_docker/version.rb
740
- - sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/executables_spec.rb
741
- - sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/coded_spec.rb
742
- - sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile
743
- - sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb
744
- - sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile
745
- - sub/avm-tools/sub/eac_docker/spec/rubocop_spec.rb
746
- - sub/avm-tools/sub/eac_docker/spec/spec_helper.rb
747
682
  - sub/avm-tools/sub/eac_git/Gemfile
748
683
  - sub/avm-tools/sub/eac_git/eac_git.gemspec
749
684
  - sub/avm-tools/sub/eac_git/lib/eac_git.rb
@@ -1032,6 +967,12 @@ files:
1032
967
  - sub/avm/Gemfile
1033
968
  - sub/avm/avm.gemspec
1034
969
  - sub/avm/lib/avm.rb
970
+ - sub/avm/lib/avm/application_stereotypes.rb
971
+ - sub/avm/lib/avm/application_stereotypes/base.rb
972
+ - sub/avm/lib/avm/application_stereotypes/base/by_gem.rb
973
+ - sub/avm/lib/avm/application_stereotypes/base/detection.rb
974
+ - sub/avm/lib/avm/applications.rb
975
+ - sub/avm/lib/avm/applications/base.rb
1035
976
  - sub/avm/lib/avm/data/instance.rb
1036
977
  - sub/avm/lib/avm/data/instance/files_unit.rb
1037
978
  - sub/avm/lib/avm/data/instance/package.rb
@@ -1047,7 +988,6 @@ files:
1047
988
  - sub/avm/lib/avm/docker/runner.rb
1048
989
  - sub/avm/lib/avm/executables.rb
1049
990
  - sub/avm/lib/avm/instances.rb
1050
- - sub/avm/lib/avm/instances/application.rb
1051
991
  - sub/avm/lib/avm/instances/base.rb
1052
992
  - sub/avm/lib/avm/instances/base/auto_values.rb
1053
993
  - sub/avm/lib/avm/instances/base/auto_values/access.rb
@@ -1076,8 +1016,16 @@ files:
1076
1016
  - sub/avm/lib/avm/launcher/publish/check_result.rb
1077
1017
  - sub/avm/lib/avm/path_string.rb
1078
1018
  - sub/avm/lib/avm/registry.rb
1079
- - sub/avm/lib/avm/registry/base.rb
1019
+ - sub/avm/lib/avm/registry/application_stereotypes.rb
1020
+ - sub/avm/lib/avm/registry/application_stereotypes/build_available.rb
1021
+ - sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb
1022
+ - sub/avm/lib/avm/registry/from_gems.rb
1023
+ - sub/avm/lib/avm/registry/instances.rb
1024
+ - sub/avm/lib/avm/registry/runners.rb
1025
+ - sub/avm/lib/avm/registry/scms.rb
1026
+ - sub/avm/lib/avm/registry/sources.rb
1080
1027
  - sub/avm/lib/avm/registry/with_path.rb
1028
+ - sub/avm/lib/avm/registry/with_path/cache.rb
1081
1029
  - sub/avm/lib/avm/result.rb
1082
1030
  - sub/avm/lib/avm/rspec.rb
1083
1031
  - sub/avm/lib/avm/rspec/setup.rb
@@ -1097,7 +1045,6 @@ files:
1097
1045
  - sub/avm/lib/avm/sources/base/instance.rb
1098
1046
  - sub/avm/lib/avm/sources/base/locale.rb
1099
1047
  - sub/avm/lib/avm/sources/base/parent.rb
1100
- - sub/avm/lib/avm/sources/base/runners.rb
1101
1048
  - sub/avm/lib/avm/sources/base/subs.rb
1102
1049
  - sub/avm/lib/avm/sources/base/subs_paths.rb
1103
1050
  - sub/avm/lib/avm/sources/base/testing.rb
@@ -1111,6 +1058,12 @@ files:
1111
1058
  - sub/avm/lib/avm/sync.rb
1112
1059
  - sub/avm/lib/avm/version.rb
1113
1060
  - sub/avm/lib/avm/version_number.rb
1061
+ - sub/avm/lib/avm/with_application_stereotype.rb
1062
+ - sub/avm/lib/avm/with_dynamic_runners.rb
1063
+ - sub/avm/spec/lib/avm/applications/base_spec.rb
1064
+ - sub/avm/spec/lib/avm/applications/base_spec_fixture.yml
1065
+ - sub/avm/spec/lib/avm/instances/base_spec.rb
1066
+ - sub/avm/spec/lib/avm/instances/base_spec_configs_storage.yml
1114
1067
  - sub/avm/spec/lib/avm/scms/base_spec.rb
1115
1068
  - sub/avm/spec/lib/avm/sources/base_spec.rb
1116
1069
  - sub/avm/spec/rubocop_spec.rb
@@ -1180,6 +1133,66 @@ files:
1180
1133
  - sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb
1181
1134
  - sub/eac_cli/spec/rubocop_spec.rb
1182
1135
  - sub/eac_cli/spec/spec_helper.rb
1136
+ - sub/eac_config/Gemfile
1137
+ - sub/eac_config/eac_config.gemspec
1138
+ - sub/eac_config/lib/eac_config.rb
1139
+ - sub/eac_config/lib/eac_config/entry.rb
1140
+ - sub/eac_config/lib/eac_config/entry_path.rb
1141
+ - sub/eac_config/lib/eac_config/envvars_node.rb
1142
+ - sub/eac_config/lib/eac_config/envvars_node/entry.rb
1143
+ - sub/eac_config/lib/eac_config/load_nodes_search.rb
1144
+ - sub/eac_config/lib/eac_config/load_path.rb
1145
+ - sub/eac_config/lib/eac_config/node.rb
1146
+ - sub/eac_config/lib/eac_config/node_entry.rb
1147
+ - sub/eac_config/lib/eac_config/node_uri.rb
1148
+ - sub/eac_config/lib/eac_config/old_configs.rb
1149
+ - sub/eac_config/lib/eac_config/old_configs/base.rb
1150
+ - sub/eac_config/lib/eac_config/old_configs/file.rb
1151
+ - sub/eac_config/lib/eac_config/paths_hash.rb
1152
+ - sub/eac_config/lib/eac_config/paths_hash/entry_key_error.rb
1153
+ - sub/eac_config/lib/eac_config/paths_hash/node.rb
1154
+ - sub/eac_config/lib/eac_config/paths_hash/path_search.rb
1155
+ - sub/eac_config/lib/eac_config/prefixed_path_node.rb
1156
+ - sub/eac_config/lib/eac_config/prefixed_path_node/entry.rb
1157
+ - sub/eac_config/lib/eac_config/rspec.rb
1158
+ - sub/eac_config/lib/eac_config/rspec/setup.rb
1159
+ - sub/eac_config/lib/eac_config/version.rb
1160
+ - sub/eac_config/lib/eac_config/yaml_file_node.rb
1161
+ - sub/eac_config/lib/eac_config/yaml_file_node/entry.rb
1162
+ - sub/eac_config/spec/lib/eac_config/entry_path_spec.rb
1163
+ - sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
1164
+ - sub/eac_config/spec/lib/eac_config/envvars_node_spec.rb
1165
+ - sub/eac_config/spec/lib/eac_config/old_configs_spec.rb
1166
+ - sub/eac_config/spec/lib/eac_config/paths_hash_spec.rb
1167
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb
1168
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml
1169
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml
1170
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml
1171
+ - sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml
1172
+ - sub/eac_config/spec/rubocop_spec.rb
1173
+ - sub/eac_config/spec/spec_helper.rb
1174
+ - sub/eac_docker/Gemfile
1175
+ - sub/eac_docker/eac_docker.gemspec
1176
+ - sub/eac_docker/lib/eac_docker.rb
1177
+ - sub/eac_docker/lib/eac_docker/container.rb
1178
+ - sub/eac_docker/lib/eac_docker/debug.rb
1179
+ - sub/eac_docker/lib/eac_docker/executables.rb
1180
+ - sub/eac_docker/lib/eac_docker/images.rb
1181
+ - sub/eac_docker/lib/eac_docker/images/base.rb
1182
+ - sub/eac_docker/lib/eac_docker/images/coded.rb
1183
+ - sub/eac_docker/lib/eac_docker/images/named.rb
1184
+ - sub/eac_docker/lib/eac_docker/images/templatized.rb
1185
+ - sub/eac_docker/lib/eac_docker/registry.rb
1186
+ - sub/eac_docker/lib/eac_docker/rspec.rb
1187
+ - sub/eac_docker/lib/eac_docker/rspec/setup.rb
1188
+ - sub/eac_docker/lib/eac_docker/version.rb
1189
+ - sub/eac_docker/spec/lib/eac_docker/executables_spec.rb
1190
+ - sub/eac_docker/spec/lib/eac_docker/images/coded_spec.rb
1191
+ - sub/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile
1192
+ - sub/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb
1193
+ - sub/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile
1194
+ - sub/eac_docker/spec/rubocop_spec.rb
1195
+ - sub/eac_docker/spec/spec_helper.rb
1183
1196
  - sub/eac_fs/Gemfile
1184
1197
  - sub/eac_fs/eac_fs.gemspec
1185
1198
  - sub/eac_fs/lib/eac_fs.rb
@@ -1400,6 +1413,7 @@ files:
1400
1413
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/extname_spec.rb
1401
1414
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/directory_spec.rb
1402
1415
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb
1416
+ - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/immutable_spec.rb
1403
1417
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
1404
1418
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb
1405
1419
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/local_time_zone_spec.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