avm-tools 0.104.0 → 0.108.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/instances/entry.rb +3 -3
  3. data/lib/avm/launcher/context/instance_collector.rb +46 -0
  4. data/lib/avm/launcher/instances/runner_helper.rb +21 -15
  5. data/lib/avm/launcher/paths/logical.rb +5 -0
  6. data/lib/avm/patches/eac_ruby_gems_utils/gem.rb +2 -2
  7. data/lib/avm/ruby/rubocop/_configured.rb +2 -2
  8. data/lib/avm/tools/app_src.rb +68 -0
  9. data/lib/avm/tools/runner/app_src/info.rb +16 -2
  10. data/lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb +62 -0
  11. data/lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb +11 -41
  12. data/lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb +2 -4
  13. data/lib/avm/tools/runner/app_src.rb +2 -2
  14. data/lib/avm/tools/runner/config/load_path.rb +10 -5
  15. data/lib/avm/tools/runner/git/deploy.rb +2 -2
  16. data/lib/avm/tools/runner/launcher/instances.rb +7 -5
  17. data/lib/avm/tools/runner/launcher/projects.rb +2 -4
  18. data/lib/avm/tools/runner/launcher/publish.rb +2 -6
  19. data/lib/avm/tools/runner.rb +0 -4
  20. data/lib/avm/tools/version.rb +1 -1
  21. data/vendor/avm/avm.gemspec +3 -0
  22. data/{lib → vendor/avm/lib}/avm/data/instance/files_unit.rb +0 -0
  23. data/{lib → vendor/avm/lib}/avm/data/instance/package.rb +0 -0
  24. data/{lib → vendor/avm/lib}/avm/data/instance/unit.rb +0 -0
  25. data/{lib → vendor/avm/lib}/avm/data/instance.rb +0 -0
  26. data/{lib → vendor/avm/lib}/avm/data/package/dump.rb +0 -0
  27. data/{lib → vendor/avm/lib}/avm/data/package/load.rb +0 -0
  28. data/{lib → vendor/avm/lib}/avm/data/package.rb +0 -0
  29. data/{lib → vendor/avm/lib}/avm/data/unit.rb +0 -0
  30. data/vendor/avm/lib/avm/files/formatter/formats/base.rb +2 -2
  31. data/vendor/avm/lib/avm/files/formatter/formats/javascript.rb +1 -0
  32. data/vendor/avm/lib/avm/files/formatter/formats/php.rb +1 -0
  33. data/vendor/avm/lib/avm/files/formatter/formats/python.rb +1 -0
  34. data/vendor/avm/lib/avm/files/formatter/formats/xml.rb +1 -0
  35. data/vendor/avm/lib/avm/files/formatter/utf8_assert.rb +3 -1
  36. data/vendor/avm/lib/avm/git/issue/complete/test.rb +2 -2
  37. data/vendor/avm/lib/avm/git/revision_test.rb +2 -3
  38. data/vendor/avm/lib/avm/jobs/base.rb +62 -0
  39. data/vendor/avm/lib/avm/jobs/variables_source.rb +22 -0
  40. data/vendor/{avm-apps/lib/avm/apps.rb → avm/lib/avm/jobs.rb} +1 -1
  41. data/{lib → vendor/avm/lib}/avm/path_string.rb +0 -0
  42. data/vendor/avm/lib/avm/sources/base.rb +45 -0
  43. data/vendor/avm/lib/avm/sources/configuration/_locale.rb +16 -0
  44. data/vendor/avm/lib/avm/sources/configuration/_rubocop.rb +24 -0
  45. data/vendor/avm/lib/avm/sources/configuration/_tests.rb +27 -0
  46. data/vendor/avm/lib/avm/sources/configuration.rb +55 -0
  47. data/{lib/avm/eac_asciidoctor_base0.rb → vendor/avm/lib/avm/sources.rb} +1 -1
  48. data/{lib → vendor/avm/lib}/avm/sync.rb +0 -0
  49. data/vendor/avm/lib/avm/version.rb +1 -1
  50. data/vendor/avm/spec/lib/avm/git/auto_commit_path_spec.rb +4 -3
  51. data/vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec.rb +0 -1
  52. data/vendor/avm/spec/rubocop_spec.rb +1 -1
  53. data/vendor/avm/spec/spec_helper.rb +2 -17
  54. data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
  55. data/vendor/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +1 -1
  56. data/vendor/avm-eac_asciidoctor_base0/spec/spec_helper.rb +2 -100
  57. data/vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  58. data/vendor/avm-eac_rails_base1/spec/rubocop_spec.rb +1 -1
  59. data/vendor/avm-eac_rails_base1/spec/spec_helper.rb +2 -100
  60. data/vendor/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +3 -1
  61. data/vendor/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/core_update.rb +3 -2
  62. data/vendor/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  63. data/vendor/avm-eac_redmine_base0/spec/rubocop_spec.rb +1 -1
  64. data/vendor/avm-eac_redmine_base0/spec/spec_helper.rb +2 -100
  65. data/vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/deploy/config/install.sh.template +1 -0
  66. data/vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_host.rb +2 -2
  67. data/vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_path.rb +2 -2
  68. data/vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy.rb +2 -2
  69. data/vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
  70. data/vendor/avm-eac_webapp_base0/spec/rubocop_spec.rb +1 -1
  71. data/vendor/avm-eac_webapp_base0/spec/spec_helper.rb +2 -100
  72. data/vendor/eac_cli/eac_cli.gemspec +3 -3
  73. data/vendor/eac_cli/lib/eac_cli/config.rb +6 -3
  74. data/vendor/eac_cli/lib/eac_cli/definition/argument_option.rb +1 -1
  75. data/vendor/eac_cli/lib/eac_cli/definition/base_option.rb +9 -1
  76. data/vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb +6 -0
  77. data/vendor/eac_cli/lib/eac_cli/runner_with/help/builder.rb +3 -3
  78. data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
  79. data/vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb +6 -5
  80. data/vendor/eac_cli/spec/rubocop_spec.rb +1 -1
  81. data/vendor/eac_cli/spec/spec_helper.rb +2 -101
  82. data/vendor/eac_config/eac_config.gemspec +2 -2
  83. data/vendor/eac_config/lib/eac_config/version.rb +1 -1
  84. data/vendor/eac_config/spec/rubocop_spec.rb +1 -1
  85. data/vendor/eac_config/spec/spec_helper.rb +2 -15
  86. data/vendor/eac_docker/eac_docker.gemspec +2 -2
  87. data/vendor/eac_docker/lib/eac_docker/container.rb +7 -3
  88. data/vendor/eac_docker/lib/eac_docker/images/templatized.rb +4 -0
  89. data/vendor/eac_docker/lib/eac_docker/rspec/setup.rb +17 -0
  90. data/vendor/eac_docker/lib/eac_docker/rspec.rb +2 -10
  91. data/vendor/eac_docker/lib/eac_docker/version.rb +1 -1
  92. data/vendor/eac_docker/spec/rubocop_spec.rb +1 -1
  93. data/vendor/eac_docker/spec/spec_helper.rb +2 -104
  94. data/vendor/{avm-apps → eac_fs}/Gemfile +0 -0
  95. data/vendor/eac_fs/eac_fs.gemspec +20 -0
  96. data/vendor/{eac_ruby_utils/lib/eac_ruby_utils/filesystem_cache.rb → eac_fs/lib/eac_fs/cache.rb} +7 -2
  97. data/{lib/avm → vendor/eac_fs/lib/eac_fs}/cached_download.rb +4 -4
  98. data/vendor/eac_fs/lib/eac_fs/file_info.rb +29 -0
  99. data/vendor/eac_fs/lib/eac_fs/patches/module/fs_cache.rb +10 -0
  100. data/vendor/eac_fs/lib/eac_fs/patches/module.rb +4 -0
  101. data/vendor/eac_fs/lib/eac_fs/patches/object/fs_cache.rb +15 -0
  102. data/vendor/eac_fs/lib/eac_fs/patches/object.rb +4 -0
  103. data/vendor/eac_fs/lib/eac_fs/patches/pathname/info.rb +12 -0
  104. data/vendor/eac_fs/lib/eac_fs/patches/pathname.rb +4 -0
  105. data/vendor/eac_fs/lib/eac_fs/patches.rb +4 -0
  106. data/vendor/eac_fs/lib/eac_fs/version.rb +5 -0
  107. data/vendor/eac_fs/lib/eac_fs.rb +7 -0
  108. data/vendor/{eac_ruby_utils/spec/lib/eac_ruby_utils/filesystem_cache_spec.rb → eac_fs/spec/lib/eac_fs/cache_spec.rb} +2 -2
  109. data/vendor/eac_fs/spec/rubocop_spec.rb +3 -0
  110. data/vendor/eac_fs/spec/spec_helper.rb +4 -0
  111. data/vendor/eac_git/eac_git.gemspec +3 -3
  112. data/vendor/eac_git/lib/eac_git/local/commit/archive.rb +1 -1
  113. data/vendor/eac_git/lib/eac_git/local/commit.rb +3 -3
  114. data/vendor/eac_git/lib/eac_git/local.rb +13 -0
  115. data/vendor/eac_git/lib/eac_git/rspec/setup.rb +23 -0
  116. data/vendor/eac_git/lib/eac_git/rspec.rb +1 -14
  117. data/vendor/eac_git/lib/eac_git/version.rb +1 -1
  118. data/vendor/eac_git/spec/rubocop_spec.rb +1 -1
  119. data/vendor/eac_git/spec/spec_helper.rb +2 -104
  120. data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +5 -4
  121. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/application.rb +4 -4
  122. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb +1 -0
  123. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +16 -7
  124. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
  125. data/vendor/eac_ruby_base0/spec/rubocop_spec.rb +1 -1
  126. data/vendor/eac_ruby_base0/spec/spec_helper.rb +2 -101
  127. data/vendor/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +2 -2
  128. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +0 -5
  129. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +1 -1
  130. data/vendor/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb +1 -1
  131. data/vendor/eac_ruby_gems_utils/spec/spec_helper.rb +2 -101
  132. data/vendor/eac_ruby_utils/eac_ruby_utils.gemspec +1 -1
  133. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/compact.rb +22 -0
  134. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/executable.rb +15 -3
  135. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb +75 -0
  136. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb +35 -0
  137. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/compact.rb +20 -0
  138. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/delimited.rb +16 -0
  139. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb +51 -0
  140. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb +20 -0
  141. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb +17 -0
  142. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb +12 -0
  143. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb +49 -0
  144. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/string_delimited.rb +70 -0
  145. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  146. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/compact_spec.rb +20 -0
  147. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/compact_spec.rb +20 -0
  148. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/string/delimited_spec.rb +34 -0
  149. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb +65 -0
  150. data/vendor/eac_ruby_utils/spec/rubocop_check_spec.rb +1 -1
  151. data/vendor/eac_ruby_utils/spec/spec_helper.rb +6 -6
  152. data/vendor/eac_templates/lib/eac_templates/patches/module/erb_template.rb +9 -0
  153. data/vendor/eac_templates/lib/eac_templates/patches/module.rb +4 -0
  154. data/vendor/eac_templates/lib/eac_templates/patches/object/erb_template.rb +9 -0
  155. data/vendor/eac_templates/lib/eac_templates/patches/object.rb +4 -0
  156. data/vendor/eac_templates/lib/eac_templates/patches.rb +4 -0
  157. data/vendor/eac_templates/lib/eac_templates/version.rb +1 -1
  158. data/vendor/eac_templates/spec/rubocop_spec.rb +1 -1
  159. data/vendor/eac_templates/spec/spec_helper.rb +2 -100
  160. metadata +72 -198
  161. data/lib/avm/app_src.rb +0 -61
  162. data/lib/avm/fs_cache.rb +0 -11
  163. data/lib/avm/patches/object/fs_cache.rb +0 -16
  164. data/vendor/avm/lib/avm/files/info.rb +0 -24
  165. data/vendor/avm-apps/avm-apps.gemspec +0 -18
  166. data/vendor/avm-apps/lib/avm/apps/config.rb +0 -19
  167. data/vendor/avm-apps/lib/avm/apps/jobs/base.rb +0 -64
  168. data/vendor/avm-apps/lib/avm/apps/jobs/variables_source.rb +0 -24
  169. data/vendor/avm-apps/lib/avm/apps/jobs.rb +0 -11
  170. data/vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb +0 -18
  171. data/vendor/avm-apps/lib/avm/apps/sources/configuration/_rubocop.rb +0 -26
  172. data/vendor/avm-apps/lib/avm/apps/sources/configuration/_tests.rb +0 -29
  173. data/vendor/avm-apps/lib/avm/apps/sources/configuration.rb +0 -57
  174. data/vendor/avm-apps/lib/avm/apps/version.rb +0 -7
  175. data/vendor/avm-apps/spec/rubocop_spec.rb +0 -3
  176. data/vendor/avm-apps/spec/spec_helper.rb +0 -103
  177. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs_cache.rb +0 -12
  178. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/conditional.rb +0 -35
  179. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/stubbed_ssh.rb +0 -44
@@ -1,102 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # This file was generated by the `rspec --init` command. Conventionally, all
4
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
- # The generated `.rspec` file contains `--require spec_helper` which will cause
6
- # this file to always be loaded, without a need to explicitly require it in any
7
- # files.
8
- #
9
- # Given that it is always loaded, you are encouraged to keep this file as
10
- # light-weight as possible. Requiring heavyweight dependencies from this file
11
- # will add to the boot time of your test suite on EVERY test run, even for an
12
- # individual file that may not need all of that loaded. Instead, consider making
13
- # a separate helper file that requires the additional dependencies and performs
14
- # the additional setup, and require it from the spec files that actually need
15
- # it.
16
- #
17
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
18
- RSpec.configure do |config|
19
- # rspec-expectations config goes here. You can use an alternate
20
- # assertion/expectation library such as wrong or the stdlib/minitest
21
- # assertions if you prefer.
22
- config.expect_with :rspec do |expectations|
23
- # This option will default to `true` in RSpec 4. It makes the `description`
24
- # and `failure_message` of custom matchers include text for helper methods
25
- # defined using `chain`, e.g.:
26
- # be_bigger_than(2).and_smaller_than(4).description
27
- # # => "be bigger than 2 and smaller than 4"
28
- # ...rather than:
29
- # # => "be bigger than 2"
30
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
31
- end
32
-
33
- # rspec-mocks config goes here. You can use an alternate test double
34
- # library (such as bogus or mocha) by changing the `mock_with` option here.
35
- config.mock_with :rspec do |mocks|
36
- # Prevents you from mocking or stubbing a method that does not exist on
37
- # a real object. This is generally recommended, and will default to
38
- # `true` in RSpec 4.
39
- mocks.verify_partial_doubles = true
40
- end
41
-
42
- # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
43
- # have no way to turn it off -- the option exists only for backwards
44
- # compatibility in RSpec 3). It causes shared context metadata to be
45
- # inherited by the metadata hash of host groups and examples, rather than
46
- # triggering implicit auto-inclusion in groups with matching metadata.
47
- config.shared_context_metadata_behavior = :apply_to_host_groups
48
-
49
- # The settings below are suggested to provide a good initial experience
50
- # with RSpec, but feel free to customize to your heart's content.
51
- # # This allows you to limit a spec run to individual examples or groups
52
- # # you care about by tagging them with `:focus` metadata. When nothing
53
- # # is tagged with `:focus`, all examples get run. RSpec also provides
54
- # # aliases for `it`, `describe`, and `context` that include `:focus`
55
- # # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
56
- # config.filter_run_when_matching :focus
57
- #
58
- # # Allows RSpec to persist some state between runs in order to support
59
- # # the `--only-failures` and `--next-failure` CLI options. We recommend
60
- # # you configure your source control system to ignore this file.
61
- # config.example_status_persistence_file_path = "spec/examples.txt"
62
- #
63
- # # Limits the available syntax to the non-monkey patched syntax that is
64
- # # recommended. For more details, see:
65
- # # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
66
- # # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
67
- # # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
68
- # config.disable_monkey_patching!
69
- #
70
- # # This setting enables warnings. It's recommended, but in some cases may
71
- # # be too noisy due to issues in dependencies.
72
- # config.warnings = true
73
- #
74
- # # Many RSpec users commonly either run the entire suite or an individual
75
- # # file, and it's useful to allow more verbose output when running an
76
- # # individual spec file.
77
- # if config.files_to_run.one?
78
- # # Use the documentation formatter for detailed output,
79
- # # unless a formatter has already been configured
80
- # # (e.g. via a command-line flag).
81
- # config.default_formatter = "doc"
82
- # end
83
- #
84
- # # Print the 10 slowest examples and example groups at the
85
- # # end of the spec run, to help surface which specs are running
86
- # # particularly slow.
87
- # config.profile_examples = 10
88
- #
89
- # # Run specs in random order to surface order dependencies. If you find an
90
- # # order dependency and want to debug it, you can fix the order by providing
91
- # # the seed, which is printed after each run.
92
- # # --seed 1234
93
- # config.order = :random
94
- #
95
- # # Seed global randomization in this process using the `--seed` CLI option.
96
- # # Setting this allows you to use `--seed` to deterministically reproduce
97
- # # test failures related to randomization by passing the same `--seed` value
98
- # # as the one that triggered the failure.
99
- # Kernel.srand config.seed
100
- require 'eac_ruby_gem_support/rspec'
101
- ::EacRubyGemSupport::Rspec.setup(::File.expand_path('..', __dir__))
102
- end
3
+ require 'eac_ruby_utils/rspec/default_setup'
4
+ ::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.104.0
4
+ version: 0.108.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-23 00:00:00.000000000 Z
11
+ date: 2021-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -24,26 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.4'
27
- - !ruby/object:Gem::Dependency
28
- name: asciidoctor
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.0'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 2.0.12
37
- type: :runtime
38
- prerelease: false
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - "~>"
42
- - !ruby/object:Gem::Version
43
- version: '2.0'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 2.0.12
47
27
  - !ruby/object:Gem::Dependency
48
28
  name: avm
49
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,20 +38,6 @@ dependencies:
58
38
  - - "~>"
59
39
  - !ruby/object:Gem::Version
60
40
  version: '0.1'
61
- - !ruby/object:Gem::Dependency
62
- name: avm-apps
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '0.2'
68
- type: :runtime
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '0.2'
75
41
  - !ruby/object:Gem::Dependency
76
42
  name: avm-eac_asciidoctor_base0
77
43
  requirement: !ruby/object:Gem::Requirement
@@ -106,20 +72,6 @@ dependencies:
106
72
  - - ">="
107
73
  - !ruby/object:Gem::Version
108
74
  version: 1.3.3
109
- - !ruby/object:Gem::Dependency
110
- name: content-type
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: 0.0.1
116
- type: :runtime
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: 0.0.1
123
75
  - !ruby/object:Gem::Dependency
124
76
  name: curb
125
77
  requirement: !ruby/object:Gem::Requirement
@@ -134,48 +86,6 @@ dependencies:
134
86
  - - "~>"
135
87
  - !ruby/object:Gem::Version
136
88
  version: 0.9.10
137
- - !ruby/object:Gem::Dependency
138
- name: eac_ruby_gem_support
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: '0.2'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: '0.2'
151
- - !ruby/object:Gem::Dependency
152
- name: eac_docker
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '0.2'
158
- type: :runtime
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '0.2'
165
- - !ruby/object:Gem::Dependency
166
- name: eac_git
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: '0.2'
172
- type: :runtime
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: '0.2'
179
89
  - !ruby/object:Gem::Dependency
180
90
  name: eac_ruby_base0
181
91
  requirement: !ruby/object:Gem::Requirement
@@ -216,34 +126,6 @@ dependencies:
216
126
  - - ">="
217
127
  - !ruby/object:Gem::Version
218
128
  version: 0.6.1
219
- - !ruby/object:Gem::Dependency
220
- name: eac_templates
221
- requirement: !ruby/object:Gem::Requirement
222
- requirements:
223
- - - "~>"
224
- - !ruby/object:Gem::Version
225
- version: '0.1'
226
- type: :runtime
227
- prerelease: false
228
- version_requirements: !ruby/object:Gem::Requirement
229
- requirements:
230
- - - "~>"
231
- - !ruby/object:Gem::Version
232
- version: '0.1'
233
- - !ruby/object:Gem::Dependency
234
- name: filesize
235
- requirement: !ruby/object:Gem::Requirement
236
- requirements:
237
- - - ">="
238
- - !ruby/object:Gem::Version
239
- version: '0'
240
- type: :runtime
241
- prerelease: false
242
- version_requirements: !ruby/object:Gem::Requirement
243
- requirements:
244
- - - ">="
245
- - !ruby/object:Gem::Version
246
- version: '0'
247
129
  - !ruby/object:Gem::Dependency
248
130
  name: git
249
131
  requirement: !ruby/object:Gem::Requirement
@@ -259,73 +141,39 @@ dependencies:
259
141
  - !ruby/object:Gem::Version
260
142
  version: '1.7'
261
143
  - !ruby/object:Gem::Dependency
262
- name: htmlbeautifier
144
+ name: ruby-progressbar
263
145
  requirement: !ruby/object:Gem::Requirement
264
146
  requirements:
265
147
  - - "~>"
266
148
  - !ruby/object:Gem::Version
267
- version: '1.3'
149
+ version: '1.10'
268
150
  - - ">="
269
151
  - !ruby/object:Gem::Version
270
- version: 1.3.1
152
+ version: 1.10.1
271
153
  type: :runtime
272
154
  prerelease: false
273
155
  version_requirements: !ruby/object:Gem::Requirement
274
156
  requirements:
275
157
  - - "~>"
276
158
  - !ruby/object:Gem::Version
277
- version: '1.3'
278
- - - ">="
279
- - !ruby/object:Gem::Version
280
- version: 1.3.1
281
- - !ruby/object:Gem::Dependency
282
- name: minitar
283
- requirement: !ruby/object:Gem::Requirement
284
- requirements:
285
- - - ">="
286
- - !ruby/object:Gem::Version
287
- version: '0'
288
- type: :runtime
289
- prerelease: false
290
- version_requirements: !ruby/object:Gem::Requirement
291
- requirements:
292
- - - ">="
293
- - !ruby/object:Gem::Version
294
- version: '0'
295
- - !ruby/object:Gem::Dependency
296
- name: os
297
- requirement: !ruby/object:Gem::Requirement
298
- requirements:
299
- - - ">="
300
- - !ruby/object:Gem::Version
301
- version: '0'
302
- type: :runtime
303
- prerelease: false
304
- version_requirements: !ruby/object:Gem::Requirement
305
- requirements:
159
+ version: '1.10'
306
160
  - - ">="
307
161
  - !ruby/object:Gem::Version
308
- version: '0'
162
+ version: 1.10.1
309
163
  - !ruby/object:Gem::Dependency
310
- name: ruby-progressbar
164
+ name: eac_ruby_gem_support
311
165
  requirement: !ruby/object:Gem::Requirement
312
166
  requirements:
313
167
  - - "~>"
314
168
  - !ruby/object:Gem::Version
315
- version: '1.10'
316
- - - ">="
317
- - !ruby/object:Gem::Version
318
- version: 1.10.1
319
- type: :runtime
169
+ version: '0.2'
170
+ type: :development
320
171
  prerelease: false
321
172
  version_requirements: !ruby/object:Gem::Requirement
322
173
  requirements:
323
174
  - - "~>"
324
175
  - !ruby/object:Gem::Version
325
- version: '1.10'
326
- - - ">="
327
- - !ruby/object:Gem::Version
328
- version: 1.10.1
176
+ version: '0.2'
329
177
  description:
330
178
  email:
331
179
  executables:
@@ -336,18 +184,7 @@ files:
336
184
  - Gemfile
337
185
  - exe/avm
338
186
  - lib/avm.rb
339
- - lib/avm/app_src.rb
340
- - lib/avm/cached_download.rb
341
187
  - lib/avm/data.rb
342
- - lib/avm/data/instance.rb
343
- - lib/avm/data/instance/files_unit.rb
344
- - lib/avm/data/instance/package.rb
345
- - lib/avm/data/instance/unit.rb
346
- - lib/avm/data/package.rb
347
- - lib/avm/data/package/dump.rb
348
- - lib/avm/data/package/load.rb
349
- - lib/avm/data/unit.rb
350
- - lib/avm/eac_asciidoctor_base0.rb
351
188
  - lib/avm/eac_rails_base0.rb
352
189
  - lib/avm/eac_rails_base0/apache_host.rb
353
190
  - lib/avm/eac_rails_base0/apache_path.rb
@@ -374,7 +211,6 @@ files:
374
211
  - lib/avm/eac_writings_base0/project_build.rb
375
212
  - lib/avm/eac_writings_base0/project_build/chapters_content.rb
376
213
  - lib/avm/eac_writings_base0/project_build/copy_files.rb
377
- - lib/avm/fs_cache.rb
378
214
  - lib/avm/instances.rb
379
215
  - lib/avm/instances/application.rb
380
216
  - lib/avm/instances/base.rb
@@ -396,6 +232,7 @@ files:
396
232
  - lib/avm/instances/entry_keys.rb
397
233
  - lib/avm/instances/runner.rb
398
234
  - lib/avm/launcher/context.rb
235
+ - lib/avm/launcher/context/instance_collector.rb
399
236
  - lib/avm/launcher/context/instance_discovery.rb
400
237
  - lib/avm/launcher/context/instance_manager.rb
401
238
  - lib/avm/launcher/context/instance_manager/cached_instance.rb
@@ -442,10 +279,8 @@ files:
442
279
  - lib/avm/patches/eac_ruby_gems_utils/gem.rb
443
280
  - lib/avm/patches/i18n.rb
444
281
  - lib/avm/patches/object.rb
445
- - lib/avm/patches/object/fs_cache.rb
446
282
  - lib/avm/patches/object/i18n.rb
447
283
  - lib/avm/patches/object/template.rb
448
- - lib/avm/path_string.rb
449
284
  - lib/avm/postgresql.rb
450
285
  - lib/avm/postgresql/instance.rb
451
286
  - lib/avm/postgresql/instance/data_unit.rb
@@ -498,8 +333,8 @@ files:
498
333
  - lib/avm/self/instance/entry_keys.rb
499
334
  - lib/avm/self/root.rb
500
335
  - lib/avm/stereotypes.rb
501
- - lib/avm/sync.rb
502
336
  - lib/avm/tools.rb
337
+ - lib/avm/tools/app_src.rb
503
338
  - lib/avm/tools/core_ext.rb
504
339
  - lib/avm/tools/runner.rb
505
340
  - lib/avm/tools/runner/app_src.rb
@@ -513,6 +348,7 @@ files:
513
348
  - lib/avm/tools/runner/app_src/ruby.rb
514
349
  - lib/avm/tools/runner/app_src/ruby/bundler.rb
515
350
  - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb
351
+ - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb
516
352
  - lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb
517
353
  - lib/avm/tools/runner/app_src/test.rb
518
354
  - lib/avm/tools/runner/app_src/update.rb
@@ -583,20 +419,6 @@ files:
583
419
  - template/avm/ruby/gems/generator/version.template
584
420
  - template/avm/self/docker_image/Dockerfile
585
421
  - template/avm/self/docker_image/entrypoint.sh
586
- - vendor/avm-apps/Gemfile
587
- - vendor/avm-apps/avm-apps.gemspec
588
- - vendor/avm-apps/lib/avm/apps.rb
589
- - vendor/avm-apps/lib/avm/apps/config.rb
590
- - vendor/avm-apps/lib/avm/apps/jobs.rb
591
- - vendor/avm-apps/lib/avm/apps/jobs/base.rb
592
- - vendor/avm-apps/lib/avm/apps/jobs/variables_source.rb
593
- - vendor/avm-apps/lib/avm/apps/sources/configuration.rb
594
- - vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
595
- - vendor/avm-apps/lib/avm/apps/sources/configuration/_rubocop.rb
596
- - vendor/avm-apps/lib/avm/apps/sources/configuration/_tests.rb
597
- - vendor/avm-apps/lib/avm/apps/version.rb
598
- - vendor/avm-apps/spec/rubocop_spec.rb
599
- - vendor/avm-apps/spec/spec_helper.rb
600
422
  - vendor/avm-eac_asciidoctor_base0/Gemfile
601
423
  - vendor/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec
602
424
  - vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb
@@ -677,6 +499,14 @@ files:
677
499
  - vendor/avm/Gemfile
678
500
  - vendor/avm/avm.gemspec
679
501
  - vendor/avm/lib/avm.rb
502
+ - vendor/avm/lib/avm/data/instance.rb
503
+ - vendor/avm/lib/avm/data/instance/files_unit.rb
504
+ - vendor/avm/lib/avm/data/instance/package.rb
505
+ - vendor/avm/lib/avm/data/instance/unit.rb
506
+ - vendor/avm/lib/avm/data/package.rb
507
+ - vendor/avm/lib/avm/data/package/dump.rb
508
+ - vendor/avm/lib/avm/data/package/load.rb
509
+ - vendor/avm/lib/avm/data/unit.rb
680
510
  - vendor/avm/lib/avm/docker.rb
681
511
  - vendor/avm/lib/avm/docker/container.rb
682
512
  - vendor/avm/lib/avm/docker/image.rb
@@ -703,7 +533,6 @@ files:
703
533
  - vendor/avm/lib/avm/files/formatter/formats/ruby.rb
704
534
  - vendor/avm/lib/avm/files/formatter/formats/xml.rb
705
535
  - vendor/avm/lib/avm/files/formatter/utf8_assert.rb
706
- - vendor/avm/lib/avm/files/info.rb
707
536
  - vendor/avm/lib/avm/files/rotate.rb
708
537
  - vendor/avm/lib/avm/git.rb
709
538
  - vendor/avm/lib/avm/git/auto_commit/commit_info.rb
@@ -747,7 +576,18 @@ files:
747
576
  - vendor/avm/lib/avm/git/subrepo_check/show_result.rb
748
577
  - vendor/avm/lib/avm/git/subrepo_checks.rb
749
578
  - vendor/avm/lib/avm/instances/docker_image.rb
579
+ - vendor/avm/lib/avm/jobs.rb
580
+ - vendor/avm/lib/avm/jobs/base.rb
581
+ - vendor/avm/lib/avm/jobs/variables_source.rb
582
+ - vendor/avm/lib/avm/path_string.rb
750
583
  - vendor/avm/lib/avm/result.rb
584
+ - vendor/avm/lib/avm/sources.rb
585
+ - vendor/avm/lib/avm/sources/base.rb
586
+ - vendor/avm/lib/avm/sources/configuration.rb
587
+ - vendor/avm/lib/avm/sources/configuration/_locale.rb
588
+ - vendor/avm/lib/avm/sources/configuration/_rubocop.rb
589
+ - vendor/avm/lib/avm/sources/configuration/_tests.rb
590
+ - vendor/avm/lib/avm/sync.rb
751
591
  - vendor/avm/lib/avm/version.rb
752
592
  - vendor/avm/lib/avm/version_number.rb
753
593
  - vendor/avm/spec/lib/avm/git/auto_commit_path_spec.rb
@@ -876,6 +716,7 @@ files:
876
716
  - vendor/eac_docker/lib/eac_docker/images/templatized.rb
877
717
  - vendor/eac_docker/lib/eac_docker/registry.rb
878
718
  - vendor/eac_docker/lib/eac_docker/rspec.rb
719
+ - vendor/eac_docker/lib/eac_docker/rspec/setup.rb
879
720
  - vendor/eac_docker/lib/eac_docker/version.rb
880
721
  - vendor/eac_docker/spec/lib/eac_docker/executables_spec.rb
881
722
  - vendor/eac_docker/spec/lib/eac_docker/images/coded_spec.rb
@@ -884,6 +725,23 @@ files:
884
725
  - vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile
885
726
  - vendor/eac_docker/spec/rubocop_spec.rb
886
727
  - vendor/eac_docker/spec/spec_helper.rb
728
+ - vendor/eac_fs/Gemfile
729
+ - vendor/eac_fs/eac_fs.gemspec
730
+ - vendor/eac_fs/lib/eac_fs.rb
731
+ - vendor/eac_fs/lib/eac_fs/cache.rb
732
+ - vendor/eac_fs/lib/eac_fs/cached_download.rb
733
+ - vendor/eac_fs/lib/eac_fs/file_info.rb
734
+ - vendor/eac_fs/lib/eac_fs/patches.rb
735
+ - vendor/eac_fs/lib/eac_fs/patches/module.rb
736
+ - vendor/eac_fs/lib/eac_fs/patches/module/fs_cache.rb
737
+ - vendor/eac_fs/lib/eac_fs/patches/object.rb
738
+ - vendor/eac_fs/lib/eac_fs/patches/object/fs_cache.rb
739
+ - vendor/eac_fs/lib/eac_fs/patches/pathname.rb
740
+ - vendor/eac_fs/lib/eac_fs/patches/pathname/info.rb
741
+ - vendor/eac_fs/lib/eac_fs/version.rb
742
+ - vendor/eac_fs/spec/lib/eac_fs/cache_spec.rb
743
+ - vendor/eac_fs/spec/rubocop_spec.rb
744
+ - vendor/eac_fs/spec/spec_helper.rb
887
745
  - vendor/eac_git/Gemfile
888
746
  - vendor/eac_git/eac_git.gemspec
889
747
  - vendor/eac_git/lib/eac_git.rb
@@ -899,6 +757,7 @@ files:
899
757
  - vendor/eac_git/lib/eac_git/remote.rb
900
758
  - vendor/eac_git/lib/eac_git/remote/ls_result.rb
901
759
  - vendor/eac_git/lib/eac_git/rspec.rb
760
+ - vendor/eac_git/lib/eac_git/rspec/setup.rb
902
761
  - vendor/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb
903
762
  - vendor/eac_git/lib/eac_git/version.rb
904
763
  - vendor/eac_git/spec/lib/eac_git/executables_spec.rb
@@ -1170,6 +1029,7 @@ files:
1170
1029
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/class_initialize.rb
1171
1030
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/instance_initialize.rb
1172
1031
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/super_args.rb
1032
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/compact.rb
1173
1033
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/context.rb
1174
1034
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/contextualizable.rb
1175
1035
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/core_ext.rb
@@ -1190,7 +1050,6 @@ files:
1190
1050
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb
1191
1051
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb
1192
1052
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb
1193
- - vendor/eac_ruby_utils/lib/eac_ruby_utils/filesystem_cache.rb
1194
1053
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs.rb
1195
1054
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb
1196
1055
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb
@@ -1200,7 +1059,8 @@ files:
1200
1059
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/file.rb
1201
1060
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/traversable.rb
1202
1061
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/traverser.rb
1203
- - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs_cache.rb
1062
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb
1063
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb
1204
1064
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable.rb
1205
1065
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb
1206
1066
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/base_accessor.rb
@@ -1249,6 +1109,7 @@ files:
1249
1109
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/speaker.rb
1250
1110
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb
1251
1111
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb
1112
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/compact.rb
1252
1113
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
1253
1114
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_nil.rb
1254
1115
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb
@@ -1261,14 +1122,18 @@ files:
1261
1122
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
1262
1123
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb
1263
1124
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb
1125
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/delimited.rb
1264
1126
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb
1265
1127
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb
1266
1128
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
1129
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb
1267
1130
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb
1268
1131
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb
1269
1132
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb
1270
- - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/conditional.rb
1271
- - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/stubbed_ssh.rb
1133
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb
1134
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb
1135
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb
1136
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb
1272
1137
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby.rb
1273
1138
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb
1274
1139
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb
@@ -1278,6 +1143,7 @@ files:
1278
1143
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker.rb
1279
1144
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb
1280
1145
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/sender.rb
1146
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/string_delimited.rb
1281
1147
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb
1282
1148
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb
1283
1149
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb
@@ -1286,10 +1152,10 @@ files:
1286
1152
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb
1287
1153
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/common_concern_spec.rb
1288
1154
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/common_constructor_spec.rb
1155
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/compact_spec.rb
1289
1156
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/custom_format_spec.rb
1290
1157
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/executable_spec.rb
1291
1158
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/ssh_env_spec.rb
1292
- - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/filesystem_cache_spec.rb
1293
1159
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/extname_spec.rb
1294
1160
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/temp_spec.rb
1295
1161
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb
@@ -1305,10 +1171,13 @@ files:
1305
1171
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb
1306
1172
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb
1307
1173
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/speaker_spec.rb
1174
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/compact_spec.rb
1308
1175
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb
1309
1176
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template
1310
1177
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb
1311
1178
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb
1179
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/string/delimited_spec.rb
1180
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb
1312
1181
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
1313
1182
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb
1314
1183
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb
@@ -1325,7 +1194,12 @@ files:
1325
1194
  - vendor/eac_templates/lib/eac_templates.rb
1326
1195
  - vendor/eac_templates/lib/eac_templates/directory.rb
1327
1196
  - vendor/eac_templates/lib/eac_templates/file.rb
1197
+ - vendor/eac_templates/lib/eac_templates/patches.rb
1198
+ - vendor/eac_templates/lib/eac_templates/patches/module.rb
1199
+ - vendor/eac_templates/lib/eac_templates/patches/module/erb_template.rb
1328
1200
  - vendor/eac_templates/lib/eac_templates/patches/module/template.rb
1201
+ - vendor/eac_templates/lib/eac_templates/patches/object.rb
1202
+ - vendor/eac_templates/lib/eac_templates/patches/object/erb_template.rb
1329
1203
  - vendor/eac_templates/lib/eac_templates/patches/object/template.rb
1330
1204
  - vendor/eac_templates/lib/eac_templates/searcher.rb
1331
1205
  - vendor/eac_templates/lib/eac_templates/variable_not_found_error.rb
data/lib/avm/app_src.rb DELETED
@@ -1,61 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/apps/sources/configuration'
4
- require 'avm/launcher/paths/real'
5
- require 'avm/projects/stereotype/job_comparator'
6
- require 'eac_ruby_utils/core_ext'
7
- require 'avm/projects/stereotypes'
8
- require 'i18n'
9
-
10
- module Avm
11
- class AppSrc
12
- enable_simple_cache
13
- common_constructor :path do
14
- self.path = path.to_pathname
15
- source_stereotypes_mixins
16
- end
17
-
18
- delegate :to_s, to: :path
19
-
20
- def locale
21
- configuration.if_present(&:locale) || ::I18n.default_locale
22
- end
23
-
24
- # Backward compatibility with [Avm::Launcher::Paths::Logical].
25
- # @return [Avm::Launcher::Paths::Real].
26
- def real
27
- ::Avm::Launcher::Paths::Real.new(path.to_path)
28
- end
29
-
30
- def run_job(job, job_args = [])
31
- stereotypes_jobs(job, job_args).each(&:run)
32
- end
33
-
34
- private
35
-
36
- # @return [Avm::Apps::Sources::Configuration]
37
- def configuration_uncached
38
- ::Avm::Apps::Sources::Configuration.find_in_path(path)
39
- end
40
-
41
- def stereotypes_jobs(job, job_args)
42
- job_class_method = "#{job}_class"
43
- r = []
44
- stereotypes.each do |stereotype|
45
- r << stereotype.send(job_class_method).new(self, *job_args) if
46
- stereotype.send(job_class_method).present?
47
- end
48
- r.sort { |a, b| ::Avm::Projects::Stereotype::JobComparator.new(a, b).result }
49
- end
50
-
51
- def stereotypes_uncached
52
- ::Avm::Projects::Stereotypes.list.select { |s| s.match?(self) }
53
- end
54
-
55
- def source_stereotypes_mixins
56
- stereotypes.each do |s|
57
- s.local_project_mixin_module.if_present { |v| singleton_class.include(v) }
58
- end
59
- end
60
- end
61
- end