avm-tools 0.108.0 → 0.109.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/tools/runner/app_src/info.rb +12 -2
  3. data/lib/avm/tools/runner/app_src/update.rb +2 -2
  4. data/lib/avm/tools/runner/app_src.rb +4 -0
  5. data/lib/avm/tools/runner/self/registry.rb +25 -0
  6. data/lib/avm/tools/version.rb +1 -1
  7. data/template/avm/ruby/gems/generator/static/spec/rubocop_spec.rb +1 -1
  8. data/template/avm/ruby/gems/generator/static/spec/spec_helper.rb +2 -100
  9. data/vendor/avm/avm.gemspec +1 -1
  10. data/vendor/avm/lib/avm/registry/base.rb +65 -0
  11. data/vendor/avm/lib/avm/registry.rb +29 -0
  12. data/vendor/avm/lib/avm/rspec/setup.rb +22 -0
  13. data/vendor/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb +11 -0
  14. data/vendor/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +14 -0
  15. data/vendor/avm/lib/avm/rspec.rb +9 -0
  16. data/vendor/avm/lib/avm/scms/base.rb +28 -0
  17. data/vendor/avm/lib/avm/scms/commit.rb +43 -0
  18. data/vendor/avm/lib/avm/source_stereotypes/base.rb +21 -0
  19. data/vendor/avm/lib/avm/sources/base.rb +22 -0
  20. data/vendor/avm/lib/avm/version.rb +1 -1
  21. data/vendor/avm/spec/lib/avm/scms/base_spec.rb +7 -0
  22. data/vendor/avm/spec/lib/avm/source_stereotypes/base_spec.rb +7 -0
  23. data/vendor/avm-eac_ruby_base1/Gemfile +5 -0
  24. data/vendor/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +19 -0
  25. data/vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/patches/i18n.rb +7 -0
  26. data/{lib/avm/patches/class.rb → vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/patches.rb} +0 -0
  27. data/vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_stereotypes/base.rb +25 -0
  28. data/vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_stereotypes/update/sub_update.rb +56 -0
  29. data/vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_stereotypes/update.rb +53 -0
  30. data/vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_stereotypes.rb +11 -0
  31. data/vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +7 -0
  32. data/vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb +9 -0
  33. data/vendor/avm-eac_ruby_base1/locale/en.yaml +8 -0
  34. data/vendor/avm-eac_ruby_base1/locale/pt-BR.yaml +8 -0
  35. data/vendor/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_stereotypes/base_spec.rb +7 -0
  36. data/vendor/avm-eac_ruby_base1/spec/rubocop_spec.rb +3 -0
  37. data/vendor/avm-eac_ruby_base1/spec/spec_helper.rb +4 -0
  38. data/vendor/avm-files/Gemfile +5 -0
  39. data/vendor/avm-files/avm-files.gemspec +21 -0
  40. data/vendor/{avm → avm-files}/lib/avm/files/appendable/file_content.rb +0 -0
  41. data/vendor/{avm → avm-files}/lib/avm/files/appendable/plain_directory.rb +0 -0
  42. data/vendor/{avm → avm-files}/lib/avm/files/appendable/resource_base.rb +0 -0
  43. data/vendor/{avm → avm-files}/lib/avm/files/appendable/tar_output_command.rb +0 -0
  44. data/vendor/{avm → avm-files}/lib/avm/files/appendable/templatized_directory.rb +0 -0
  45. data/vendor/{avm → avm-files}/lib/avm/files/appendable.rb +0 -0
  46. data/vendor/{avm → avm-files}/lib/avm/files/appender.rb +0 -0
  47. data/vendor/{avm → avm-files}/lib/avm/files/deploy.rb +0 -0
  48. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/base.rb +0 -0
  49. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/generic_plain.rb +0 -0
  50. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/html.rb +0 -0
  51. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/javascript.rb +0 -0
  52. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/json.rb +0 -0
  53. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/php.rb +0 -0
  54. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/python.rb +0 -0
  55. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/ruby.rb +0 -0
  56. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats/xml.rb +0 -0
  57. data/vendor/{avm → avm-files}/lib/avm/files/formatter/formats.rb +0 -0
  58. data/vendor/{avm → avm-files}/lib/avm/files/formatter/utf8_assert.rb +0 -0
  59. data/vendor/{avm → avm-files}/lib/avm/files/formatter.rb +0 -0
  60. data/vendor/{avm → avm-files}/lib/avm/files/rotate.rb +0 -0
  61. data/vendor/avm-files/lib/avm/files/version.rb +7 -0
  62. data/vendor/avm-files/lib/avm/files.rb +9 -0
  63. data/vendor/avm-files/spec/rubocop_spec.rb +3 -0
  64. data/vendor/avm-files/spec/spec_helper.rb +4 -0
  65. data/vendor/avm-git/Gemfile +5 -0
  66. data/vendor/avm-git/avm-git.gemspec +21 -0
  67. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit/commit_info.rb +0 -0
  68. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit/rules/base.rb +0 -0
  69. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit/rules/last.rb +0 -0
  70. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit/rules/manual.rb +0 -0
  71. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit/rules/new.rb +0 -0
  72. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit/rules/nth.rb +0 -0
  73. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit/rules/unique.rb +0 -0
  74. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit/rules.rb +0 -0
  75. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit_path/ruby.rb +0 -0
  76. data/vendor/{avm → avm-git}/lib/avm/git/auto_commit_path.rb +0 -0
  77. data/vendor/{avm → avm-git}/lib/avm/git/commit/class_methods.rb +0 -0
  78. data/vendor/{avm → avm-git}/lib/avm/git/commit/deploy.rb +0 -0
  79. data/vendor/{avm → avm-git}/lib/avm/git/commit/deploy_methods.rb +0 -0
  80. data/vendor/{avm → avm-git}/lib/avm/git/commit/diff_tree_line.rb +0 -0
  81. data/vendor/{avm → avm-git}/lib/avm/git/commit/file.rb +0 -0
  82. data/vendor/{avm → avm-git}/lib/avm/git/commit.rb +0 -0
  83. data/vendor/{avm → avm-git}/lib/avm/git/file_auto_fixup.rb +0 -0
  84. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/commits.rb +0 -0
  85. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/git_subrepos.rb +0 -0
  86. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/local_branch.rb +0 -0
  87. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/local_tag.rb +0 -0
  88. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/push.rb +0 -0
  89. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/remote.rb +0 -0
  90. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/test.rb +0 -0
  91. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/tracker.rb +0 -0
  92. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/validation.rb +0 -0
  93. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/validations.rb +0 -0
  94. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete/working_tree.rb +0 -0
  95. data/vendor/{avm → avm-git}/lib/avm/git/issue/complete.rb +0 -0
  96. data/vendor/{avm → avm-git}/lib/avm/git/issue/deliver.rb +0 -0
  97. data/vendor/{avm → avm-git}/lib/avm/git/issue.rb +0 -0
  98. data/vendor/{avm → avm-git}/lib/avm/git/organize/reference_update.rb +0 -0
  99. data/vendor/{avm → avm-git}/lib/avm/git/organize/repository.rb +0 -0
  100. data/vendor/{avm → avm-git}/lib/avm/git/organize.rb +0 -0
  101. data/vendor/{avm → avm-git}/lib/avm/git/revision_test.rb +0 -0
  102. data/vendor/avm-git/lib/avm/git/scms/git/change_tracker.rb +35 -0
  103. data/vendor/avm-git/lib/avm/git/scms/git/commit.rb +55 -0
  104. data/vendor/avm-git/lib/avm/git/scms/git.rb +65 -0
  105. data/vendor/avm-git/lib/avm/git/scms/git_subrepo.rb +41 -0
  106. data/vendor/avm-git/lib/avm/git/scms/provider.rb +19 -0
  107. data/vendor/avm-git/lib/avm/git/scms.rb +11 -0
  108. data/vendor/{avm → avm-git}/lib/avm/git/subrepo_check/parent.rb +0 -0
  109. data/vendor/{avm → avm-git}/lib/avm/git/subrepo_check/remote.rb +0 -0
  110. data/vendor/{avm → avm-git}/lib/avm/git/subrepo_check/show_result.rb +0 -0
  111. data/vendor/{avm → avm-git}/lib/avm/git/subrepo_check.rb +0 -0
  112. data/vendor/{avm → avm-git}/lib/avm/git/subrepo_checks.rb +0 -0
  113. data/vendor/avm-git/lib/avm/git/version.rb +7 -0
  114. data/vendor/{avm → avm-git}/lib/avm/git.rb +3 -2
  115. data/vendor/{avm → avm-git}/spec/lib/avm/git/auto_commit_path_spec.rb +0 -0
  116. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/deploy_spec.rb +0 -0
  117. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec.rb +0 -0
  118. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +0 -0
  119. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +0 -0
  120. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +0 -0
  121. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +0 -0
  122. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +0 -0
  123. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +0 -0
  124. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +0 -0
  125. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +0 -0
  126. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +0 -0
  127. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +0 -0
  128. data/vendor/{avm → avm-git}/spec/lib/avm/git/commit_spec.rb +0 -0
  129. data/vendor/avm-git/spec/lib/avm/git/scms/git_spec.rb +8 -0
  130. data/vendor/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +8 -0
  131. data/vendor/avm-git/spec/rubocop_spec.rb +3 -0
  132. data/vendor/avm-git/spec/spec_helper.rb +4 -0
  133. data/vendor/eac_git/lib/eac_git/local/commit.rb +21 -2
  134. data/vendor/eac_git/lib/eac_git/local/log.rb +17 -0
  135. data/vendor/eac_git/lib/eac_git/local.rb +26 -0
  136. data/vendor/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb +11 -0
  137. data/vendor/eac_git/lib/eac_git/version.rb +1 -1
  138. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb +7 -0
  139. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/abstract.rb +9 -0
  140. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/self_included_modules.rb +7 -0
  141. data/{lib/avm/patches/class/i18n.rb → vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/i18n_translate.rb} +8 -7
  142. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/call_if_proc.rb +11 -0
  143. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/i18n_translate.rb +13 -0
  144. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb +10 -10
  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/patches/class/abstract_spec.rb +25 -0
  147. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/self_included_modules_spec.rb +30 -0
  148. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/call_if_proc_spec.rb +11 -0
  149. metadata +133 -86
  150. data/lib/avm/patches/i18n.rb +0 -22
  151. data/lib/avm/patches/object/i18n.rb +0 -9
  152. data/lib/avm/projects/stereotypes/git/update/subrepo.rb +0 -85
  153. data/lib/avm/projects/stereotypes/git/update.rb +0 -41
  154. data/lib/avm/projects/stereotypes/ruby_gem/update.rb +0 -66
  155. data/vendor/avm/lib/avm/files.rb +0 -9
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.108.0
4
+ version: 0.109.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-10-02 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -273,13 +273,9 @@ files:
273
273
  - lib/avm/launcher/vendor.rb
274
274
  - lib/avm/launcher/vendor/github.rb
275
275
  - lib/avm/patches.rb
276
- - lib/avm/patches/class.rb
277
- - lib/avm/patches/class/i18n.rb
278
276
  - lib/avm/patches/eac_ruby_gems_utils.rb
279
277
  - lib/avm/patches/eac_ruby_gems_utils/gem.rb
280
- - lib/avm/patches/i18n.rb
281
278
  - lib/avm/patches/object.rb
282
- - lib/avm/patches/object/i18n.rb
283
279
  - lib/avm/patches/object/template.rb
284
280
  - lib/avm/postgresql.rb
285
281
  - lib/avm/postgresql/instance.rb
@@ -292,8 +288,6 @@ files:
292
288
  - lib/avm/projects/stereotypes/git.rb
293
289
  - lib/avm/projects/stereotypes/git/local_project_mixin.rb
294
290
  - lib/avm/projects/stereotypes/git/publish.rb
295
- - lib/avm/projects/stereotypes/git/update.rb
296
- - lib/avm/projects/stereotypes/git/update/subrepo.rb
297
291
  - lib/avm/projects/stereotypes/git/warp.rb
298
292
  - lib/avm/projects/stereotypes/git_subrepo.rb
299
293
  - lib/avm/projects/stereotypes/git_subrepo/publish.rb
@@ -308,7 +302,6 @@ files:
308
302
  - lib/avm/projects/stereotypes/ruby_gem.rb
309
303
  - lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb
310
304
  - lib/avm/projects/stereotypes/ruby_gem/publish.rb
311
- - lib/avm/projects/stereotypes/ruby_gem/update.rb
312
305
  - lib/avm/projects/stereotypes/ruby_gem/version_bump.rb
313
306
  - lib/avm/rails.rb
314
307
  - lib/avm/ruby.rb
@@ -394,6 +387,7 @@ files:
394
387
  - lib/avm/tools/runner/ruby/rubocop.rb
395
388
  - lib/avm/tools/runner/self.rb
396
389
  - lib/avm/tools/runner/self/docker.rb
390
+ - lib/avm/tools/runner/self/registry.rb
397
391
  - lib/avm/tools/version.rb
398
392
  - template/avm/eac_rails_base0/apache_path/extra_content.conf
399
393
  - template/avm/eac_rails_base0/deploy/config/database.yml.template
@@ -472,6 +466,21 @@ files:
472
466
  - vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template
473
467
  - vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/install_settings.sh.template
474
468
  - vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
469
+ - vendor/avm-eac_ruby_base1/Gemfile
470
+ - vendor/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec
471
+ - vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb
472
+ - vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/patches.rb
473
+ - vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/patches/i18n.rb
474
+ - vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_stereotypes.rb
475
+ - vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_stereotypes/base.rb
476
+ - vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_stereotypes/update.rb
477
+ - vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_stereotypes/update/sub_update.rb
478
+ - vendor/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb
479
+ - vendor/avm-eac_ruby_base1/locale/en.yaml
480
+ - vendor/avm-eac_ruby_base1/locale/pt-BR.yaml
481
+ - vendor/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_stereotypes/base_spec.rb
482
+ - vendor/avm-eac_ruby_base1/spec/rubocop_spec.rb
483
+ - vendor/avm-eac_ruby_base1/spec/spec_helper.rb
475
484
  - vendor/avm-eac_webapp_base0/Gemfile
476
485
  - vendor/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec
477
486
  - vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0.rb
@@ -496,6 +505,101 @@ files:
496
505
  - vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb
497
506
  - vendor/avm-eac_webapp_base0/spec/rubocop_spec.rb
498
507
  - vendor/avm-eac_webapp_base0/spec/spec_helper.rb
508
+ - vendor/avm-files/Gemfile
509
+ - vendor/avm-files/avm-files.gemspec
510
+ - vendor/avm-files/lib/avm/files.rb
511
+ - vendor/avm-files/lib/avm/files/appendable.rb
512
+ - vendor/avm-files/lib/avm/files/appendable/file_content.rb
513
+ - vendor/avm-files/lib/avm/files/appendable/plain_directory.rb
514
+ - vendor/avm-files/lib/avm/files/appendable/resource_base.rb
515
+ - vendor/avm-files/lib/avm/files/appendable/tar_output_command.rb
516
+ - vendor/avm-files/lib/avm/files/appendable/templatized_directory.rb
517
+ - vendor/avm-files/lib/avm/files/appender.rb
518
+ - vendor/avm-files/lib/avm/files/deploy.rb
519
+ - vendor/avm-files/lib/avm/files/formatter.rb
520
+ - vendor/avm-files/lib/avm/files/formatter/formats.rb
521
+ - vendor/avm-files/lib/avm/files/formatter/formats/base.rb
522
+ - vendor/avm-files/lib/avm/files/formatter/formats/generic_plain.rb
523
+ - vendor/avm-files/lib/avm/files/formatter/formats/html.rb
524
+ - vendor/avm-files/lib/avm/files/formatter/formats/javascript.rb
525
+ - vendor/avm-files/lib/avm/files/formatter/formats/json.rb
526
+ - vendor/avm-files/lib/avm/files/formatter/formats/php.rb
527
+ - vendor/avm-files/lib/avm/files/formatter/formats/python.rb
528
+ - vendor/avm-files/lib/avm/files/formatter/formats/ruby.rb
529
+ - vendor/avm-files/lib/avm/files/formatter/formats/xml.rb
530
+ - vendor/avm-files/lib/avm/files/formatter/utf8_assert.rb
531
+ - vendor/avm-files/lib/avm/files/rotate.rb
532
+ - vendor/avm-files/lib/avm/files/version.rb
533
+ - vendor/avm-files/spec/rubocop_spec.rb
534
+ - vendor/avm-files/spec/spec_helper.rb
535
+ - vendor/avm-git/Gemfile
536
+ - vendor/avm-git/avm-git.gemspec
537
+ - vendor/avm-git/lib/avm/git.rb
538
+ - vendor/avm-git/lib/avm/git/auto_commit/commit_info.rb
539
+ - vendor/avm-git/lib/avm/git/auto_commit/rules.rb
540
+ - vendor/avm-git/lib/avm/git/auto_commit/rules/base.rb
541
+ - vendor/avm-git/lib/avm/git/auto_commit/rules/last.rb
542
+ - vendor/avm-git/lib/avm/git/auto_commit/rules/manual.rb
543
+ - vendor/avm-git/lib/avm/git/auto_commit/rules/new.rb
544
+ - vendor/avm-git/lib/avm/git/auto_commit/rules/nth.rb
545
+ - vendor/avm-git/lib/avm/git/auto_commit/rules/unique.rb
546
+ - vendor/avm-git/lib/avm/git/auto_commit_path.rb
547
+ - vendor/avm-git/lib/avm/git/auto_commit_path/ruby.rb
548
+ - vendor/avm-git/lib/avm/git/commit.rb
549
+ - vendor/avm-git/lib/avm/git/commit/class_methods.rb
550
+ - vendor/avm-git/lib/avm/git/commit/deploy.rb
551
+ - vendor/avm-git/lib/avm/git/commit/deploy_methods.rb
552
+ - vendor/avm-git/lib/avm/git/commit/diff_tree_line.rb
553
+ - vendor/avm-git/lib/avm/git/commit/file.rb
554
+ - vendor/avm-git/lib/avm/git/file_auto_fixup.rb
555
+ - vendor/avm-git/lib/avm/git/issue.rb
556
+ - vendor/avm-git/lib/avm/git/issue/complete.rb
557
+ - vendor/avm-git/lib/avm/git/issue/complete/commits.rb
558
+ - vendor/avm-git/lib/avm/git/issue/complete/git_subrepos.rb
559
+ - vendor/avm-git/lib/avm/git/issue/complete/local_branch.rb
560
+ - vendor/avm-git/lib/avm/git/issue/complete/local_tag.rb
561
+ - vendor/avm-git/lib/avm/git/issue/complete/push.rb
562
+ - vendor/avm-git/lib/avm/git/issue/complete/remote.rb
563
+ - vendor/avm-git/lib/avm/git/issue/complete/test.rb
564
+ - vendor/avm-git/lib/avm/git/issue/complete/tracker.rb
565
+ - vendor/avm-git/lib/avm/git/issue/complete/validation.rb
566
+ - vendor/avm-git/lib/avm/git/issue/complete/validations.rb
567
+ - vendor/avm-git/lib/avm/git/issue/complete/working_tree.rb
568
+ - vendor/avm-git/lib/avm/git/issue/deliver.rb
569
+ - vendor/avm-git/lib/avm/git/organize.rb
570
+ - vendor/avm-git/lib/avm/git/organize/reference_update.rb
571
+ - vendor/avm-git/lib/avm/git/organize/repository.rb
572
+ - vendor/avm-git/lib/avm/git/revision_test.rb
573
+ - vendor/avm-git/lib/avm/git/scms.rb
574
+ - vendor/avm-git/lib/avm/git/scms/git.rb
575
+ - vendor/avm-git/lib/avm/git/scms/git/change_tracker.rb
576
+ - vendor/avm-git/lib/avm/git/scms/git/commit.rb
577
+ - vendor/avm-git/lib/avm/git/scms/git_subrepo.rb
578
+ - vendor/avm-git/lib/avm/git/scms/provider.rb
579
+ - vendor/avm-git/lib/avm/git/subrepo_check.rb
580
+ - vendor/avm-git/lib/avm/git/subrepo_check/parent.rb
581
+ - vendor/avm-git/lib/avm/git/subrepo_check/remote.rb
582
+ - vendor/avm-git/lib/avm/git/subrepo_check/show_result.rb
583
+ - vendor/avm-git/lib/avm/git/subrepo_checks.rb
584
+ - vendor/avm-git/lib/avm/git/version.rb
585
+ - vendor/avm-git/spec/lib/avm/git/auto_commit_path_spec.rb
586
+ - vendor/avm-git/spec/lib/avm/git/commit/deploy_spec.rb
587
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb
588
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out
589
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml
590
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out
591
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml
592
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out
593
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml
594
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out
595
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml
596
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out
597
+ - vendor/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml
598
+ - vendor/avm-git/spec/lib/avm/git/commit_spec.rb
599
+ - vendor/avm-git/spec/lib/avm/git/scms/git_spec.rb
600
+ - vendor/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
601
+ - vendor/avm-git/spec/rubocop_spec.rb
602
+ - vendor/avm-git/spec/spec_helper.rb
499
603
  - vendor/avm/Gemfile
500
604
  - vendor/avm/avm.gemspec
501
605
  - vendor/avm/lib/avm.rb
@@ -512,75 +616,21 @@ files:
512
616
  - vendor/avm/lib/avm/docker/image.rb
513
617
  - vendor/avm/lib/avm/docker/runner.rb
514
618
  - vendor/avm/lib/avm/executables.rb
515
- - vendor/avm/lib/avm/files.rb
516
- - vendor/avm/lib/avm/files/appendable.rb
517
- - vendor/avm/lib/avm/files/appendable/file_content.rb
518
- - vendor/avm/lib/avm/files/appendable/plain_directory.rb
519
- - vendor/avm/lib/avm/files/appendable/resource_base.rb
520
- - vendor/avm/lib/avm/files/appendable/tar_output_command.rb
521
- - vendor/avm/lib/avm/files/appendable/templatized_directory.rb
522
- - vendor/avm/lib/avm/files/appender.rb
523
- - vendor/avm/lib/avm/files/deploy.rb
524
- - vendor/avm/lib/avm/files/formatter.rb
525
- - vendor/avm/lib/avm/files/formatter/formats.rb
526
- - vendor/avm/lib/avm/files/formatter/formats/base.rb
527
- - vendor/avm/lib/avm/files/formatter/formats/generic_plain.rb
528
- - vendor/avm/lib/avm/files/formatter/formats/html.rb
529
- - vendor/avm/lib/avm/files/formatter/formats/javascript.rb
530
- - vendor/avm/lib/avm/files/formatter/formats/json.rb
531
- - vendor/avm/lib/avm/files/formatter/formats/php.rb
532
- - vendor/avm/lib/avm/files/formatter/formats/python.rb
533
- - vendor/avm/lib/avm/files/formatter/formats/ruby.rb
534
- - vendor/avm/lib/avm/files/formatter/formats/xml.rb
535
- - vendor/avm/lib/avm/files/formatter/utf8_assert.rb
536
- - vendor/avm/lib/avm/files/rotate.rb
537
- - vendor/avm/lib/avm/git.rb
538
- - vendor/avm/lib/avm/git/auto_commit/commit_info.rb
539
- - vendor/avm/lib/avm/git/auto_commit/rules.rb
540
- - vendor/avm/lib/avm/git/auto_commit/rules/base.rb
541
- - vendor/avm/lib/avm/git/auto_commit/rules/last.rb
542
- - vendor/avm/lib/avm/git/auto_commit/rules/manual.rb
543
- - vendor/avm/lib/avm/git/auto_commit/rules/new.rb
544
- - vendor/avm/lib/avm/git/auto_commit/rules/nth.rb
545
- - vendor/avm/lib/avm/git/auto_commit/rules/unique.rb
546
- - vendor/avm/lib/avm/git/auto_commit_path.rb
547
- - vendor/avm/lib/avm/git/auto_commit_path/ruby.rb
548
- - vendor/avm/lib/avm/git/commit.rb
549
- - vendor/avm/lib/avm/git/commit/class_methods.rb
550
- - vendor/avm/lib/avm/git/commit/deploy.rb
551
- - vendor/avm/lib/avm/git/commit/deploy_methods.rb
552
- - vendor/avm/lib/avm/git/commit/diff_tree_line.rb
553
- - vendor/avm/lib/avm/git/commit/file.rb
554
- - vendor/avm/lib/avm/git/file_auto_fixup.rb
555
- - vendor/avm/lib/avm/git/issue.rb
556
- - vendor/avm/lib/avm/git/issue/complete.rb
557
- - vendor/avm/lib/avm/git/issue/complete/commits.rb
558
- - vendor/avm/lib/avm/git/issue/complete/git_subrepos.rb
559
- - vendor/avm/lib/avm/git/issue/complete/local_branch.rb
560
- - vendor/avm/lib/avm/git/issue/complete/local_tag.rb
561
- - vendor/avm/lib/avm/git/issue/complete/push.rb
562
- - vendor/avm/lib/avm/git/issue/complete/remote.rb
563
- - vendor/avm/lib/avm/git/issue/complete/test.rb
564
- - vendor/avm/lib/avm/git/issue/complete/tracker.rb
565
- - vendor/avm/lib/avm/git/issue/complete/validation.rb
566
- - vendor/avm/lib/avm/git/issue/complete/validations.rb
567
- - vendor/avm/lib/avm/git/issue/complete/working_tree.rb
568
- - vendor/avm/lib/avm/git/issue/deliver.rb
569
- - vendor/avm/lib/avm/git/organize.rb
570
- - vendor/avm/lib/avm/git/organize/reference_update.rb
571
- - vendor/avm/lib/avm/git/organize/repository.rb
572
- - vendor/avm/lib/avm/git/revision_test.rb
573
- - vendor/avm/lib/avm/git/subrepo_check.rb
574
- - vendor/avm/lib/avm/git/subrepo_check/parent.rb
575
- - vendor/avm/lib/avm/git/subrepo_check/remote.rb
576
- - vendor/avm/lib/avm/git/subrepo_check/show_result.rb
577
- - vendor/avm/lib/avm/git/subrepo_checks.rb
578
619
  - vendor/avm/lib/avm/instances/docker_image.rb
579
620
  - vendor/avm/lib/avm/jobs.rb
580
621
  - vendor/avm/lib/avm/jobs/base.rb
581
622
  - vendor/avm/lib/avm/jobs/variables_source.rb
582
623
  - vendor/avm/lib/avm/path_string.rb
624
+ - vendor/avm/lib/avm/registry.rb
625
+ - vendor/avm/lib/avm/registry/base.rb
583
626
  - vendor/avm/lib/avm/result.rb
627
+ - vendor/avm/lib/avm/rspec.rb
628
+ - vendor/avm/lib/avm/rspec/setup.rb
629
+ - vendor/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
630
+ - vendor/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
631
+ - vendor/avm/lib/avm/scms/base.rb
632
+ - vendor/avm/lib/avm/scms/commit.rb
633
+ - vendor/avm/lib/avm/source_stereotypes/base.rb
584
634
  - vendor/avm/lib/avm/sources.rb
585
635
  - vendor/avm/lib/avm/sources/base.rb
586
636
  - vendor/avm/lib/avm/sources/configuration.rb
@@ -590,20 +640,8 @@ files:
590
640
  - vendor/avm/lib/avm/sync.rb
591
641
  - vendor/avm/lib/avm/version.rb
592
642
  - vendor/avm/lib/avm/version_number.rb
593
- - vendor/avm/spec/lib/avm/git/auto_commit_path_spec.rb
594
- - vendor/avm/spec/lib/avm/git/commit/deploy_spec.rb
595
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec.rb
596
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out
597
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml
598
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out
599
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml
600
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out
601
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml
602
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out
603
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml
604
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out
605
- - vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml
606
- - vendor/avm/spec/lib/avm/git/commit_spec.rb
643
+ - vendor/avm/spec/lib/avm/scms/base_spec.rb
644
+ - vendor/avm/spec/lib/avm/source_stereotypes/base_spec.rb
607
645
  - vendor/avm/spec/rubocop_spec.rb
608
646
  - vendor/avm/spec/spec_helper.rb
609
647
  - vendor/eac_cli/Gemfile
@@ -752,6 +790,7 @@ files:
752
790
  - vendor/eac_git/lib/eac_git/local/commit/changed_file.rb
753
791
  - vendor/eac_git/lib/eac_git/local/commit/diff_tree_line.rb
754
792
  - vendor/eac_git/lib/eac_git/local/dirty_files.rb
793
+ - vendor/eac_git/lib/eac_git/local/log.rb
755
794
  - vendor/eac_git/lib/eac_git/local/subrepo.rb
756
795
  - vendor/eac_git/lib/eac_git/local/subrepo/config.rb
757
796
  - vendor/eac_git/lib/eac_git/remote.rb
@@ -1085,7 +1124,9 @@ files:
1085
1124
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patch.rb
1086
1125
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches.rb
1087
1126
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class.rb
1127
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/abstract.rb
1088
1128
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/common_constructor.rb
1129
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/self_included_modules.rb
1089
1130
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/settings_provider.rb
1090
1131
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable.rb
1091
1132
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb
@@ -1101,6 +1142,7 @@ files:
1101
1142
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb
1102
1143
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/common_concern.rb
1103
1144
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/context.rb
1145
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/i18n_translate.rb
1104
1146
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
1105
1147
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/listable.rb
1106
1148
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/patch.rb
@@ -1109,8 +1151,10 @@ files:
1109
1151
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/speaker.rb
1110
1152
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb
1111
1153
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb
1154
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/call_if_proc.rb
1112
1155
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/compact.rb
1113
1156
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
1157
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/i18n_translate.rb
1114
1158
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_nil.rb
1115
1159
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb
1116
1160
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb
@@ -1163,6 +1207,8 @@ files:
1163
1207
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb
1164
1208
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/local_time_zone_spec.rb
1165
1209
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb
1210
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
1211
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/self_included_modules_spec.rb
1166
1212
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb
1167
1213
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb
1168
1214
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb
@@ -1171,6 +1217,7 @@ files:
1171
1217
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb
1172
1218
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb
1173
1219
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/speaker_spec.rb
1220
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/call_if_proc_spec.rb
1174
1221
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/compact_spec.rb
1175
1222
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb
1176
1223
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/self/root'
4
- require 'i18n'
5
-
6
- module Avm
7
- module Patches
8
- module I18n
9
- class << self
10
- def setup_i18n
11
- ::I18n.load_path += locale_files_paths.map(&:to_path)
12
- end
13
-
14
- def locale_files_paths
15
- ::Avm::Self.root.join('locale').glob('*.yml')
16
- end
17
- end
18
- end
19
- end
20
- end
21
-
22
- ::Avm::Patches::I18n.setup_i18n
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/patches/class/i18n'
4
-
5
- class Object
6
- def translate(entry_suffix, values = {})
7
- self.class.translate(entry_suffix, values)
8
- end
9
- end
@@ -1,85 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/launcher/git/base'
4
- require 'avm/git/commit'
5
-
6
- module Avm
7
- module Projects
8
- module Stereotypes
9
- class Git
10
- class Update
11
- class Subrepo
12
- TRANSLATE_CLASS = self
13
-
14
- require_sub __FILE__, include_modules: true
15
- enable_simple_cache
16
- enable_speaker
17
- common_constructor :parent_update, :subpath do
18
- self.subpath = subpath.to_pathname
19
- end
20
-
21
- delegate :git_repo, :instance, to: :parent_update
22
-
23
- def run
24
- run_banner
25
- if base_commit.sha1 == pull_commit.sha1
26
- infom 'No new commit (No changes)'
27
- elsif fix_message.present?
28
- on_fix_message_present
29
- else
30
- warn 'No fix message found'
31
- end
32
- end
33
-
34
- private
35
-
36
- def base_commit_uncached
37
- ::Avm::Git::Commit.new(git_repo, git_repo.rev_parse('HEAD'))
38
- end
39
-
40
- def on_fix_message_present
41
- infom 'Fixing message...'
42
- infov 'Message', fix_message
43
- git_repo.command('commit', '--amend', '-m', fix_message).execute!
44
- end
45
-
46
- def pull_commit_uncached
47
- base_commit
48
- infom 'Pulling subrepo...'
49
- git_repo.command('subrepo', 'pull', '--force', subpath).execute!
50
- ::Avm::Git::Commit.new(
51
- ::Avm::Launcher::Git::Base.new(git_repo.root_path.to_path),
52
- git_repo.rev_parse('HEAD')
53
- )
54
- end
55
-
56
- def run_banner
57
- infov 'Base SHA1', base_commit.sha1
58
- infov 'Pull SHA1', pull_commit.sha1
59
- end
60
-
61
- def fix_message
62
- TRANSLATE_CLASS.translate(
63
- fix_message_translate_key, subpath: subpath, name: subpath.basename,
64
- __locale: instance.locale
65
- )
66
- end
67
-
68
- def fix_message_translate_key
69
- if gitrepo_only_changed?
70
- :gitrepo_only_changed_fix_message
71
- else
72
- :content_updated_fix_message
73
- end
74
- end
75
-
76
- def gitrepo_only_changed?
77
- pull_commit.files.count == 1 &&
78
- ::File.basename(pull_commit.files.first.path) == '.gitrepo'
79
- end
80
- end
81
- end
82
- end
83
- end
84
- end
85
- end
@@ -1,41 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/core_ext'
4
- require 'avm/patches/class/i18n'
5
-
6
- module Avm
7
- module Projects
8
- module Stereotypes
9
- class Git
10
- class Update
11
- require_sub __FILE__
12
- enable_simple_cache
13
- enable_speaker
14
- common_constructor :instance
15
-
16
- delegate :git_repo, to: :instance
17
-
18
- def run
19
- clean_all
20
- selected_subrepos.map do |f|
21
- infov 'Subrepo', f
22
- ::EacRubyUtils::Speaker.context.on(::EacCli::Speaker.new(err_line_prefix: ' ')) do
23
- ::Avm::Projects::Stereotypes::Git::Update::Subrepo.new(self, f).run
24
- end
25
- end
26
- end
27
-
28
- def selected_subrepos_uncached
29
- git_repo.command('subrepo', '-q', 'status').execute!.split("\n").map(&:strip)
30
- .select(&:present?).map(&:to_pathname)
31
- end
32
-
33
- def clean_all
34
- infom 'Cleaning'
35
- git_repo.command('subrepo', 'clean', '--all').execute!
36
- end
37
- end
38
- end
39
- end
40
- end
41
- end
@@ -1,66 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/core_ext'
4
- require 'avm/patches/class/i18n'
5
-
6
- module Avm
7
- module Projects
8
- module Stereotypes
9
- class RubyGem
10
- class Update
11
- TRANSLATE_CLASS = self
12
-
13
- enable_speaker
14
- common_constructor :instance
15
-
16
- def run
17
- gemfile_lock_checkout
18
- bundle_update
19
- gemfile_lock_commit
20
- end
21
-
22
- def run_before
23
- [:git]
24
- end
25
-
26
- private
27
-
28
- def bundle_update
29
- infom 'Running "bundle update"...'
30
- instance.ruby_gem.bundle('update').execute!
31
- infom 'Running "bundle install"...'
32
- instance.ruby_gem.bundle('install').execute!
33
- end
34
-
35
- def gemfile_lock_checkout
36
- return unless instance.respond_to?(:git_repo)
37
-
38
- infom 'Checkouting Gemfile.lock...'
39
- instance.git_repo.command('checkout', '--',
40
- instance.ruby_gem.gemfile_lock_path.to_path).execute!
41
- end
42
-
43
- def gemfile_lock_commit
44
- return unless instance.respond_to?(:git_repo)
45
-
46
- if gemfile_lock_changed?
47
- infom 'Commiting Gemfile.lock...'
48
- instance.git_repo.command('commit', '-m', gemfile_lock_commit_message, '--',
49
- instance.ruby_gem.gemfile_lock_path).execute!
50
- else
51
- infom 'Gemfile.lock did not change'
52
- end
53
- end
54
-
55
- def gemfile_lock_commit_message
56
- TRANSLATE_CLASS.translate(__method__, __locale: instance.locale)
57
- end
58
-
59
- def gemfile_lock_changed?
60
- instance.git_repo.dirty_file?(instance.ruby_gem.gemfile_lock_path)
61
- end
62
- end
63
- end
64
- end
65
- end
66
- end
@@ -1,9 +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 Files
8
- end
9
- end