avm-tools 0.119.0 → 0.120.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb +3 -3
  3. data/lib/avm/tools/app_src.rb +1 -5
  4. data/lib/avm/tools/runner/app_src/ruby.rb +0 -1
  5. data/lib/avm/tools/version.rb +1 -1
  6. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb +2 -2
  7. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
  8. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +3 -3
  9. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  10. metadata +6 -232
  11. data/lib/avm/patches/eac_ruby_gems_utils/gem.rb +0 -29
  12. data/lib/avm/patches/eac_ruby_gems_utils.rb +0 -4
  13. data/sub/avm/Gemfile +0 -5
  14. data/sub/avm/avm.gemspec +0 -26
  15. data/sub/avm/lib/avm/data/instance/files_unit.rb +0 -40
  16. data/sub/avm/lib/avm/data/instance/package.rb +0 -18
  17. data/sub/avm/lib/avm/data/instance/unit.rb +0 -17
  18. data/sub/avm/lib/avm/data/instance.rb +0 -11
  19. data/sub/avm/lib/avm/data/package/dump.rb +0 -119
  20. data/sub/avm/lib/avm/data/package/load.rb +0 -48
  21. data/sub/avm/lib/avm/data/package.rb +0 -42
  22. data/sub/avm/lib/avm/data/rotate.rb +0 -107
  23. data/sub/avm/lib/avm/data/unit.rb +0 -94
  24. data/sub/avm/lib/avm/docker/container.rb +0 -50
  25. data/sub/avm/lib/avm/docker/image.rb +0 -71
  26. data/sub/avm/lib/avm/docker/runner.rb +0 -125
  27. data/sub/avm/lib/avm/docker.rb +0 -9
  28. data/sub/avm/lib/avm/executables.rb +0 -24
  29. data/sub/avm/lib/avm/instances/application.rb +0 -29
  30. data/sub/avm/lib/avm/instances/base/auto_values/access.rb +0 -40
  31. data/sub/avm/lib/avm/instances/base/auto_values/admin.rb +0 -19
  32. data/sub/avm/lib/avm/instances/base/auto_values/data.rb +0 -26
  33. data/sub/avm/lib/avm/instances/base/auto_values/database.rb +0 -76
  34. data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +0 -43
  35. data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +0 -34
  36. data/sub/avm/lib/avm/instances/base/auto_values/ruby.rb +0 -15
  37. data/sub/avm/lib/avm/instances/base/auto_values/source.rb +0 -15
  38. data/sub/avm/lib/avm/instances/base/auto_values/system.rb +0 -23
  39. data/sub/avm/lib/avm/instances/base/auto_values/web.rb +0 -46
  40. data/sub/avm/lib/avm/instances/base/auto_values.rb +0 -21
  41. data/sub/avm/lib/avm/instances/base/dockerizable.rb +0 -45
  42. data/sub/avm/lib/avm/instances/base/entry_keys.rb +0 -22
  43. data/sub/avm/lib/avm/instances/base.rb +0 -64
  44. data/sub/avm/lib/avm/instances/docker_image.rb +0 -15
  45. data/sub/avm/lib/avm/instances/entries.rb +0 -43
  46. data/sub/avm/lib/avm/instances/entry.rb +0 -60
  47. data/sub/avm/lib/avm/instances/entry_keys.rb +0 -60
  48. data/sub/avm/lib/avm/instances/runner.rb +0 -39
  49. data/sub/avm/lib/avm/instances.rb +0 -8
  50. data/sub/avm/lib/avm/jobs/base.rb +0 -63
  51. data/sub/avm/lib/avm/jobs/variables_source.rb +0 -22
  52. data/sub/avm/lib/avm/jobs.rb +0 -9
  53. data/sub/avm/lib/avm/launcher/errors/base.rb +0 -10
  54. data/sub/avm/lib/avm/launcher/errors/non_project.rb +0 -15
  55. data/sub/avm/lib/avm/launcher/paths/real.rb +0 -44
  56. data/sub/avm/lib/avm/launcher/publish/check_result.rb +0 -67
  57. data/sub/avm/lib/avm/path_string.rb +0 -27
  58. data/sub/avm/lib/avm/registry/base.rb +0 -67
  59. data/sub/avm/lib/avm/registry.rb +0 -29
  60. data/sub/avm/lib/avm/result.rb +0 -86
  61. data/sub/avm/lib/avm/rspec/setup.rb +0 -22
  62. data/sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb +0 -11
  63. data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +0 -14
  64. data/sub/avm/lib/avm/rspec.rb +0 -9
  65. data/sub/avm/lib/avm/runners/base.rb +0 -27
  66. data/sub/avm/lib/avm/scms/base.rb +0 -46
  67. data/sub/avm/lib/avm/scms/commit.rb +0 -43
  68. data/sub/avm/lib/avm/scms/inflector.rb +0 -22
  69. data/sub/avm/lib/avm/self/docker_image.rb +0 -14
  70. data/sub/avm/lib/avm/self/instance/entry_keys.rb +0 -12
  71. data/sub/avm/lib/avm/self/instance.rb +0 -31
  72. data/sub/avm/lib/avm/sources/base/configuration.rb +0 -45
  73. data/sub/avm/lib/avm/sources/base/instance.rb +0 -28
  74. data/sub/avm/lib/avm/sources/base/parent.rb +0 -31
  75. data/sub/avm/lib/avm/sources/base/subs.rb +0 -55
  76. data/sub/avm/lib/avm/sources/base/subs_paths.rb +0 -32
  77. data/sub/avm/lib/avm/sources/base/testing.rb +0 -21
  78. data/sub/avm/lib/avm/sources/base.rb +0 -54
  79. data/sub/avm/lib/avm/sources/configuration/locale.rb +0 -18
  80. data/sub/avm/lib/avm/sources/configuration/rubocop.rb +0 -26
  81. data/sub/avm/lib/avm/sources/configuration/tests.rb +0 -29
  82. data/sub/avm/lib/avm/sources/configuration.rb +0 -59
  83. data/sub/avm/lib/avm/sources/tester.rb +0 -24
  84. data/sub/avm/lib/avm/sources/tests/builder.rb +0 -83
  85. data/sub/avm/lib/avm/sources/tests/performer.rb +0 -35
  86. data/sub/avm/lib/avm/sources/tests/result.rb +0 -15
  87. data/sub/avm/lib/avm/sources/tests/single.rb +0 -56
  88. data/sub/avm/lib/avm/sources/tests.rb +0 -11
  89. data/sub/avm/lib/avm/sources.rb +0 -9
  90. data/sub/avm/lib/avm/sync.rb +0 -94
  91. data/sub/avm/lib/avm/version.rb +0 -5
  92. data/sub/avm/lib/avm/version_number.rb +0 -45
  93. data/sub/avm/lib/avm.rb +0 -7
  94. data/sub/avm/spec/lib/avm/scms/base_spec.rb +0 -7
  95. data/sub/avm/spec/lib/avm/sources/base_spec.rb +0 -7
  96. data/sub/avm/spec/rubocop_spec.rb +0 -3
  97. data/sub/avm/spec/spec_helper.rb +0 -4
  98. data/sub/avm-eac_rails_base1/Gemfile +0 -5
  99. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +0 -21
  100. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb +0 -17
  101. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb +0 -24
  102. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb +0 -26
  103. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb +0 -26
  104. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb +0 -43
  105. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb +0 -26
  106. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb +0 -18
  107. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb +0 -32
  108. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb +0 -46
  109. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb +0 -17
  110. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb +0 -12
  111. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb +0 -27
  112. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb +0 -47
  113. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb +0 -27
  114. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb +0 -70
  115. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb +0 -29
  116. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb +0 -57
  117. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +0 -7
  118. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb +0 -9
  119. data/sub/avm-eac_rails_base1/spec/rubocop_spec.rb +0 -3
  120. data/sub/avm-eac_rails_base1/spec/spec_helper.rb +0 -4
  121. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service +0 -12
  122. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +0 -6
  123. data/sub/avm-eac_ruby_base1/Gemfile +0 -5
  124. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +0 -22
  125. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb +0 -56
  126. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb +0 -19
  127. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb +0 -34
  128. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/depends_on.rb +0 -25
  129. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict.rb +0 -44
  130. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile.rb +0 -17
  131. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb +0 -73
  132. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb +0 -31
  133. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb +0 -19
  134. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb +0 -26
  135. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser.rb +0 -25
  136. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb +0 -11
  137. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb +0 -31
  138. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb +0 -17
  139. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb +0 -41
  140. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb +0 -55
  141. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb +0 -39
  142. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +0 -39
  143. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +0 -23
  144. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +0 -55
  145. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb +0 -76
  146. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb +0 -19
  147. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb +0 -13
  148. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb +0 -38
  149. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb +0 -56
  150. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb +0 -52
  151. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb +0 -11
  152. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +0 -7
  153. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb +0 -9
  154. data/sub/avm-eac_ruby_base1/locale/en.yml +0 -8
  155. data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +0 -8
  156. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb +0 -7
  157. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out +0 -192
  158. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml +0 -300
  159. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out +0 -245
  160. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml +0 -355
  161. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb +0 -7
  162. data/sub/avm-eac_ruby_base1/spec/rubocop_spec.rb +0 -3
  163. data/sub/avm-eac_ruby_base1/spec/spec_helper.rb +0 -4
  164. data/sub/eac_ruby_base0/Gemfile +0 -5
  165. data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +0 -21
  166. data/sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb +0 -87
  167. data/sub/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb +0 -34
  168. data/sub/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb +0 -5
  169. data/sub/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb +0 -31
  170. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb +0 -10
  171. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb +0 -4
  172. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb +0 -5
  173. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb +0 -5
  174. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches.rb +0 -4
  175. data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb +0 -14
  176. data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb +0 -9
  177. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +0 -92
  178. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb +0 -42
  179. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb +0 -52
  180. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb +0 -36
  181. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb +0 -58
  182. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb +0 -9
  183. data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +0 -5
  184. data/sub/eac_ruby_base0/lib/eac_ruby_base0.rb +0 -7
  185. data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb +0 -42
  186. data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb +0 -81
  187. data/sub/eac_ruby_base0/spec/rubocop_spec.rb +0 -3
  188. data/sub/eac_ruby_base0/spec/spec_helper.rb +0 -4
  189. data/sub/eac_ruby_gems_utils/Gemfile +0 -5
  190. data/sub/eac_ruby_gems_utils/LICENCE +0 -16
  191. data/sub/eac_ruby_gems_utils/README.rdoc +0 -3
  192. data/sub/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +0 -31
  193. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb +0 -33
  194. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb +0 -41
  195. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb +0 -97
  196. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +0 -57
  197. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb +0 -25
  198. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb +0 -48
  199. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb +0 -25
  200. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +0 -84
  201. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb +0 -21
  202. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb +0 -9
  203. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +0 -5
  204. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb +0 -7
  205. data/sub/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb +0 -3
  206. data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec.rb +0 -14
  207. data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec_files/a_version_file.rb +0 -7
  208. data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb +0 -20
  209. data/sub/eac_ruby_gems_utils/spec/spec_helper.rb +0 -4
  210. data/sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile +0 -5
  211. data/sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock +0 -19
  212. data/sub/eac_ruby_gems_utils/spec/support/mygem/Rakefile +0 -14
  213. data/sub/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner +0 -5
  214. data/sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb +0 -5
  215. data/sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb +0 -5
  216. data/sub/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec +0 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6c5ab539a33cf698f0aa4eaa382e2e23fd408df17185a111ae78983ab1794f1
4
- data.tar.gz: 6a9762c549ee37c533af5c35dca078ab7ee19158e6398d81f7451fce54de076a
3
+ metadata.gz: 738323cf2a82a2d4eb3c24f16c2645af50d8b36fa29290e7f1d8d8dc588255cf
4
+ data.tar.gz: 4b67b1ecb449f6210aad9e7f8dad83221f0e4b298dec204e895a8f2bce7e895a
5
5
  SHA512:
6
- metadata.gz: 6972527557010d58fefc671e1679f011bb68961fb9ecb3a33378681411f39c7fff9fd68ef54a12f6fecf692bd1539e087ee306e05b437c29e542365a54a1231c
7
- data.tar.gz: d9f89dbe97cc6ee002566f9b5c1ec806b9f6e9eb33adca54e3473842bf7abb88923fc27e434d428b595d5b1a51281db1f921cd836af0bdc85d6ce2840c49a3db
6
+ metadata.gz: 9435e918ba1739bf1febf343648f42245ac1dda5abb668ef7f7bd6dbf013a8ff21417d07ca60d6af6fa0a25f08ecd80b74b7004880777cb493459b64f07a1a07
7
+ data.tar.gz: 83dbb7fd2d22fa19c05b5bec45a5902767f20df712d8d5266152dadcf5dfe37447a8c7ffce5ad9a2c4e0e664b9344655a839f7efcd20d331334ec7f1b4f137d9
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/patches/eac_ruby_gems_utils/gem'
3
+ require 'avm/eac_ruby_base1/sources/base'
4
4
  require 'avm/version_number'
5
5
  require 'eac_ruby_utils/core_ext'
6
6
 
@@ -9,9 +9,9 @@ module Avm
9
9
  module Stereotypes
10
10
  class RubyGem
11
11
  module LocalProjectMixin
12
- # @return [EacRubyGemsUtils::Gem]
12
+ # @return [Avm::EacRubyBase1::Sources::Base]
13
13
  def ruby_gem
14
- @ruby_gem ||= ::EacRubyGemsUtils::Gem.new(path)
14
+ @ruby_gem ||= ::Avm::EacRubyBase1::Sources::Base.new(path)
15
15
  end
16
16
 
17
17
  def version
@@ -17,6 +17,7 @@ module Avm
17
17
  source_stereotypes_mixins
18
18
  end
19
19
 
20
+ delegate :configuration, to: :avm_instance
20
21
  delegate :to_s, to: :path
21
22
 
22
23
  def locale
@@ -39,11 +40,6 @@ module Avm
39
40
  ::Avm::Registry.sources.detect(path)
40
41
  end
41
42
 
42
- # @return [Avm::Sources::Configuration]
43
- def configuration_uncached
44
- ::Avm::Sources::Configuration.find_in_path(path)
45
- end
46
-
47
43
  def stereotypes_jobs(job, job_args)
48
44
  job_class_method = "#{job}_class"
49
45
  r = []
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/patches/eac_ruby_gems_utils/gem'
4
3
  require 'eac_cli/core_ext'
5
4
 
6
5
  module Avm
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.119.0'
5
+ VERSION = '0.120.2'
6
6
  end
7
7
  end
@@ -8,13 +8,13 @@ module Avm
8
8
  module Sources
9
9
  class Base < ::Avm::EacRailsBase1::Sources::Base
10
10
  CONFIG_RU_SUBPATH = 'config.ru'
11
- SUBS_PATHS_DEFAULT = ['sub/*/*'].freeze
11
+ SUBS_INCLUDE_PATHS_DEFAULT = ['sub/*/*'].freeze
12
12
 
13
13
  def config_ru_path
14
14
  path.join(CONFIG_RU_SUBPATH)
15
15
  end
16
16
 
17
- def subs_paths_default
17
+ def subs_include_paths_default
18
18
  SUBS_PATHS_DEFAULT
19
19
  end
20
20
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRailsBase0
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
@@ -8,14 +8,14 @@ module Avm
8
8
  module Sources
9
9
  class Base < ::Avm::EacRailsBase1::Sources::Base
10
10
  REDMINE_LIB_SUBPATH = 'lib/redmine.rb'
11
- SUBS_PATHS_DEFAULT = ['plugins/*'].freeze
11
+ SUBS_INCLUDE_PATHS_DEFAULT = ['plugins/*'].freeze
12
12
 
13
13
  def redmine_lib_path
14
14
  path.join(REDMINE_LIB_SUBPATH)
15
15
  end
16
16
 
17
- def subs_paths_default
18
- SUBS_PATHS_DEFAULT
17
+ def subs_include_paths_default
18
+ SUBS_INCLUDE_PATHS_DEFAULT
19
19
  end
20
20
 
21
21
  def valid?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRedmineBase0
5
- VERSION = '0.6.0'
5
+ VERSION = '0.6.1'
6
6
  end
7
7
  end
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.119.0
4
+ version: 0.120.2
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: 2022-06-29 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.21'
33
+ version: '0.22'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.21'
40
+ version: '0.22'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: avm-eac_asciidoctor_base0
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -98,14 +98,14 @@ dependencies:
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: '0.7'
101
+ version: '0.8'
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '0.7'
108
+ version: '0.8'
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: avm-eac_ubuntu_base0
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -208,26 +208,6 @@ dependencies:
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
210
  version: 0.16.4
211
- - !ruby/object:Gem::Dependency
212
- name: eac_ruby_gems_utils
213
- requirement: !ruby/object:Gem::Requirement
214
- requirements:
215
- - - "~>"
216
- - !ruby/object:Gem::Version
217
- version: '0.6'
218
- - - ">="
219
- - !ruby/object:Gem::Version
220
- version: 0.6.1
221
- type: :runtime
222
- prerelease: false
223
- version_requirements: !ruby/object:Gem::Requirement
224
- requirements:
225
- - - "~>"
226
- - !ruby/object:Gem::Version
227
- version: '0.6'
228
- - - ">="
229
- - !ruby/object:Gem::Version
230
- version: 0.6.1
231
211
  - !ruby/object:Gem::Dependency
232
212
  name: git
233
213
  requirement: !ruby/object:Gem::Requirement
@@ -341,8 +321,6 @@ files:
341
321
  - lib/avm/launcher/vendor.rb
342
322
  - lib/avm/launcher/vendor/github.rb
343
323
  - lib/avm/patches.rb
344
- - lib/avm/patches/eac_ruby_gems_utils.rb
345
- - lib/avm/patches/eac_ruby_gems_utils/gem.rb
346
324
  - lib/avm/patches/i18n.rb
347
325
  - lib/avm/projects.rb
348
326
  - lib/avm/projects/stereotype.rb
@@ -493,31 +471,6 @@ files:
493
471
  - sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf
494
472
  - sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template
495
473
  - sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
496
- - sub/avm-eac_rails_base1/Gemfile
497
- - sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec
498
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb
499
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb
500
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb
501
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb
502
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb
503
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb
504
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb
505
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb
506
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb
507
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb
508
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb
509
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb
510
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
511
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb
512
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb
513
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb
514
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb
515
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb
516
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb
517
- - sub/avm-eac_rails_base1/spec/rubocop_spec.rb
518
- - sub/avm-eac_rails_base1/spec/spec_helper.rb
519
- - sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service
520
- - sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh
521
474
  - sub/avm-eac_redmine_base0/Gemfile
522
475
  - sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec
523
476
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb
@@ -540,47 +493,6 @@ files:
540
493
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template
541
494
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/install_settings.sh.template
542
495
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
543
- - sub/avm-eac_ruby_base1/Gemfile
544
- - sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec
545
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb
546
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb
547
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb
548
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb
549
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb
550
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser.rb
551
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/depends_on.rb
552
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict.rb
553
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile.rb
554
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb
555
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb
556
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb
557
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb
558
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb
559
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb
560
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
561
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb
562
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb
563
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb
564
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb
565
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb
566
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb
567
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb
568
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb
569
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb
570
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb
571
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb
572
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb
573
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb
574
- - sub/avm-eac_ruby_base1/locale/en.yml
575
- - sub/avm-eac_ruby_base1/locale/pt-BR.yml
576
- - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb
577
- - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out
578
- - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml
579
- - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out
580
- - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml
581
- - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb
582
- - sub/avm-eac_ruby_base1/spec/rubocop_spec.rb
583
- - sub/avm-eac_ruby_base1/spec/spec_helper.rb
584
496
  - sub/avm-eac_ubuntu_base0/Gemfile
585
497
  - sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec
586
498
  - sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb
@@ -721,91 +633,6 @@ files:
721
633
  - sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
722
634
  - sub/avm-git/spec/rubocop_spec.rb
723
635
  - sub/avm-git/spec/spec_helper.rb
724
- - sub/avm/Gemfile
725
- - sub/avm/avm.gemspec
726
- - sub/avm/lib/avm.rb
727
- - sub/avm/lib/avm/data/instance.rb
728
- - sub/avm/lib/avm/data/instance/files_unit.rb
729
- - sub/avm/lib/avm/data/instance/package.rb
730
- - sub/avm/lib/avm/data/instance/unit.rb
731
- - sub/avm/lib/avm/data/package.rb
732
- - sub/avm/lib/avm/data/package/dump.rb
733
- - sub/avm/lib/avm/data/package/load.rb
734
- - sub/avm/lib/avm/data/rotate.rb
735
- - sub/avm/lib/avm/data/unit.rb
736
- - sub/avm/lib/avm/docker.rb
737
- - sub/avm/lib/avm/docker/container.rb
738
- - sub/avm/lib/avm/docker/image.rb
739
- - sub/avm/lib/avm/docker/runner.rb
740
- - sub/avm/lib/avm/executables.rb
741
- - sub/avm/lib/avm/instances.rb
742
- - sub/avm/lib/avm/instances/application.rb
743
- - sub/avm/lib/avm/instances/base.rb
744
- - sub/avm/lib/avm/instances/base/auto_values.rb
745
- - sub/avm/lib/avm/instances/base/auto_values/access.rb
746
- - sub/avm/lib/avm/instances/base/auto_values/admin.rb
747
- - sub/avm/lib/avm/instances/base/auto_values/data.rb
748
- - sub/avm/lib/avm/instances/base/auto_values/database.rb
749
- - sub/avm/lib/avm/instances/base/auto_values/filesystem.rb
750
- - sub/avm/lib/avm/instances/base/auto_values/mailer.rb
751
- - sub/avm/lib/avm/instances/base/auto_values/ruby.rb
752
- - sub/avm/lib/avm/instances/base/auto_values/source.rb
753
- - sub/avm/lib/avm/instances/base/auto_values/system.rb
754
- - sub/avm/lib/avm/instances/base/auto_values/web.rb
755
- - sub/avm/lib/avm/instances/base/dockerizable.rb
756
- - sub/avm/lib/avm/instances/base/entry_keys.rb
757
- - sub/avm/lib/avm/instances/docker_image.rb
758
- - sub/avm/lib/avm/instances/entries.rb
759
- - sub/avm/lib/avm/instances/entry.rb
760
- - sub/avm/lib/avm/instances/entry_keys.rb
761
- - sub/avm/lib/avm/instances/runner.rb
762
- - sub/avm/lib/avm/jobs.rb
763
- - sub/avm/lib/avm/jobs/base.rb
764
- - sub/avm/lib/avm/jobs/variables_source.rb
765
- - sub/avm/lib/avm/launcher/errors/base.rb
766
- - sub/avm/lib/avm/launcher/errors/non_project.rb
767
- - sub/avm/lib/avm/launcher/paths/real.rb
768
- - sub/avm/lib/avm/launcher/publish/check_result.rb
769
- - sub/avm/lib/avm/path_string.rb
770
- - sub/avm/lib/avm/registry.rb
771
- - sub/avm/lib/avm/registry/base.rb
772
- - sub/avm/lib/avm/result.rb
773
- - sub/avm/lib/avm/rspec.rb
774
- - sub/avm/lib/avm/rspec/setup.rb
775
- - sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
776
- - sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
777
- - sub/avm/lib/avm/runners/base.rb
778
- - sub/avm/lib/avm/scms/base.rb
779
- - sub/avm/lib/avm/scms/commit.rb
780
- - sub/avm/lib/avm/scms/inflector.rb
781
- - sub/avm/lib/avm/self/docker_image.rb
782
- - sub/avm/lib/avm/self/instance.rb
783
- - sub/avm/lib/avm/self/instance/entry_keys.rb
784
- - sub/avm/lib/avm/sources.rb
785
- - sub/avm/lib/avm/sources/base.rb
786
- - sub/avm/lib/avm/sources/base/configuration.rb
787
- - sub/avm/lib/avm/sources/base/instance.rb
788
- - sub/avm/lib/avm/sources/base/parent.rb
789
- - sub/avm/lib/avm/sources/base/subs.rb
790
- - sub/avm/lib/avm/sources/base/subs_paths.rb
791
- - sub/avm/lib/avm/sources/base/testing.rb
792
- - sub/avm/lib/avm/sources/configuration.rb
793
- - sub/avm/lib/avm/sources/configuration/locale.rb
794
- - sub/avm/lib/avm/sources/configuration/rubocop.rb
795
- - sub/avm/lib/avm/sources/configuration/tests.rb
796
- - sub/avm/lib/avm/sources/tester.rb
797
- - sub/avm/lib/avm/sources/tests.rb
798
- - sub/avm/lib/avm/sources/tests/builder.rb
799
- - sub/avm/lib/avm/sources/tests/performer.rb
800
- - sub/avm/lib/avm/sources/tests/result.rb
801
- - sub/avm/lib/avm/sources/tests/single.rb
802
- - sub/avm/lib/avm/sync.rb
803
- - sub/avm/lib/avm/version.rb
804
- - sub/avm/lib/avm/version_number.rb
805
- - sub/avm/spec/lib/avm/scms/base_spec.rb
806
- - sub/avm/spec/lib/avm/sources/base_spec.rb
807
- - sub/avm/spec/rubocop_spec.rb
808
- - sub/avm/spec/spec_helper.rb
809
636
  - sub/eac_cli/Gemfile
810
637
  - sub/eac_cli/eac_cli.gemspec
811
638
  - sub/eac_cli/lib/eac_cli.rb
@@ -1183,59 +1010,6 @@ files:
1183
1010
  - sub/eac_rest/lib/eac_rest/version.rb
1184
1011
  - sub/eac_rest/spec/rubocop_spec.rb
1185
1012
  - sub/eac_rest/spec/spec_helper.rb
1186
- - sub/eac_ruby_base0/Gemfile
1187
- - sub/eac_ruby_base0/eac_ruby_base0.gemspec
1188
- - sub/eac_ruby_base0/lib/eac_ruby_base0.rb
1189
- - sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb
1190
- - sub/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb
1191
- - sub/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb
1192
- - sub/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb
1193
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches.rb
1194
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb
1195
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb
1196
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb
1197
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb
1198
- - sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb
1199
- - sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb
1200
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb
1201
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb
1202
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb
1203
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb
1204
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb
1205
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb
1206
- - sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb
1207
- - sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb
1208
- - sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb
1209
- - sub/eac_ruby_base0/spec/rubocop_spec.rb
1210
- - sub/eac_ruby_base0/spec/spec_helper.rb
1211
- - sub/eac_ruby_gems_utils/Gemfile
1212
- - sub/eac_ruby_gems_utils/LICENCE
1213
- - sub/eac_ruby_gems_utils/README.rdoc
1214
- - sub/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec
1215
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb
1216
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb
1217
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb
1218
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb
1219
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb
1220
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb
1221
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb
1222
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb
1223
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb
1224
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb
1225
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb
1226
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb
1227
- - sub/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb
1228
- - sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec.rb
1229
- - sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec_files/a_version_file.rb
1230
- - sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
1231
- - sub/eac_ruby_gems_utils/spec/spec_helper.rb
1232
- - sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile
1233
- - sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock
1234
- - sub/eac_ruby_gems_utils/spec/support/mygem/Rakefile
1235
- - sub/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner
1236
- - sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb
1237
- - sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb
1238
- - sub/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec
1239
1013
  - sub/eac_ruby_utils/Gemfile
1240
1014
  - sub/eac_ruby_utils/MIT-LICENCE
1241
1015
  - sub/eac_ruby_utils/README.rdoc
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/sources/configuration'
4
- require 'eac_ruby_gems_utils/gem'
5
- require 'eac_ruby_utils/core_ext'
6
-
7
- module Avm
8
- module Patches
9
- module EacRubyGemsUtils
10
- module Gem
11
- enable_simple_cache
12
-
13
- private
14
-
15
- def configuration_uncached
16
- ::Avm::Sources::Configuration.find_in_path(root)
17
- end
18
-
19
- def gemfile_path_uncached
20
- return super unless configuration.present? && configuration.rubocop_gemfile.present?
21
-
22
- configuration.rubocop_gemfile
23
- end
24
- end
25
- end
26
- end
27
- end
28
-
29
- ::EacRubyGemsUtils::Gem.prepend(::Avm::Patches::EacRubyGemsUtils::Gem)
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/require_sub'
4
- ::EacRubyUtils.require_sub(__FILE__)
data/sub/avm/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gemspec
data/sub/avm/avm.gemspec DELETED
@@ -1,26 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- $LOAD_PATH.push File.expand_path('lib', __dir__)
4
-
5
- require 'avm/version'
6
-
7
- Gem::Specification.new do |s|
8
- s.name = 'avm'
9
- s.version = Avm::VERSION
10
- s.authors = ['Eduardo H. Bogoni']
11
- s.summary = 'Ruby base library for Agora Vai! Methodology (https://avm.esquiloazul.tech).'
12
-
13
- s.files = Dir['{lib}/**/*']
14
-
15
- s.add_dependency 'eac_cli', '~> 0.23', '>= 0.23.1'
16
- s.add_dependency 'eac_docker', '~> 0.3'
17
- s.add_dependency 'eac_git', '~> 0.6'
18
- s.add_dependency 'eac_ruby_utils', '~> 0.95'
19
- s.add_dependency 'eac_templates', '~> 0.1', '>= 0.1.1'
20
- s.add_dependency 'filesize', '~> 0.2'
21
- s.add_dependency 'htmlbeautifier', '~> 1.3', '>= 1.3.1'
22
- s.add_dependency 'minitar', '~> 0.9'
23
-
24
- s.add_development_dependency 'aranha-parsers', '~> 0.14', '~> 0.14.1'
25
- s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
26
- end
@@ -1,40 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/data/instance/unit'
4
-
5
- module Avm
6
- module Data
7
- module Instance
8
- class FilesUnit < ::Avm::Data::Instance::Unit
9
- EXTENSION = '.tar.gz'
10
-
11
- attr_reader :fs_path_subpath
12
-
13
- def initialize(instance, fs_path_subpath)
14
- super(instance)
15
- @fs_path_subpath = fs_path_subpath
16
- end
17
-
18
- before_load :clear_files
19
-
20
- def files_path
21
- ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH), fs_path_subpath)
22
- end
23
-
24
- def dump_command
25
- instance.host_env.command('tar', '-czf', '-', '-C', files_path, '.')
26
- end
27
-
28
- def load_command
29
- instance.host_env.command('tar', '-xzf', '-', '-C', files_path)
30
- end
31
-
32
- def clear_files
33
- infom "Removing all files under #{files_path}..."
34
- instance.host_env.command('mkdir', '-p', files_path).execute!
35
- instance.host_env.command('find', files_path, '-mindepth', 1, '-delete').execute!
36
- end
37
- end
38
- end
39
- end
40
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/data/package'
4
-
5
- module Avm
6
- module Data
7
- module Instance
8
- class Package < ::Avm::Data::Package
9
- attr_reader :instance
10
-
11
- def initialize(instance, options = {})
12
- @instance = instance
13
- super options
14
- end
15
- end
16
- end
17
- end
18
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/data/unit'
4
-
5
- module Avm
6
- module Data
7
- module Instance
8
- class Unit < ::Avm::Data::Unit
9
- attr_reader :instance
10
-
11
- def initialize(instance)
12
- @instance = instance
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/require_sub'
4
- ::EacRubyUtils.require_sub(__FILE__)
5
-
6
- module Avm
7
- module Data
8
- module Instance
9
- end
10
- end
11
- end