avm-tools 0.116.0 → 0.117.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/launcher/instances/settings.rb +7 -3
  3. data/lib/avm/projects/stereotypes.rb +2 -2
  4. data/lib/avm/ruby/bundler/incompatible_parser/depends_on.rb +1 -1
  5. data/lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb +1 -1
  6. data/lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb +1 -1
  7. data/lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb +1 -1
  8. data/lib/avm/ruby/bundler/incompatible_parser.rb +1 -1
  9. data/lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb +1 -1
  10. data/lib/avm/tools/runner/app_src/test.rb +2 -2
  11. data/lib/avm/tools/runner/app_src/version_bump.rb +4 -9
  12. data/lib/avm/tools/runner/git/deploy.rb +5 -5
  13. data/lib/avm/tools/runner/git/dirty_files.rb +1 -1
  14. data/lib/avm/tools/runner/git/revisions_test.rb +1 -1
  15. data/lib/avm/tools/runner/ruby/rubocop.rb +2 -2
  16. data/lib/avm/tools/version.rb +1 -1
  17. data/sub/avm/avm.gemspec +3 -3
  18. data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +2 -2
  19. data/sub/avm/lib/avm/instances/entry_keys.rb +2 -0
  20. data/sub/avm/lib/avm/registry/base.rb +2 -2
  21. data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +1 -1
  22. data/sub/avm/lib/avm/scms/base.rb +13 -0
  23. data/sub/avm/lib/avm/sources/base/configuration.rb +2 -1
  24. data/sub/avm/lib/avm/sources/base/parent.rb +31 -0
  25. data/sub/avm/lib/avm/sources/base.rb +4 -6
  26. data/sub/avm/lib/avm/sources/configuration/{_locale.rb → locale.rb} +5 -3
  27. data/sub/avm/lib/avm/sources/configuration/rubocop.rb +26 -0
  28. data/sub/avm/lib/avm/sources/configuration/tests.rb +29 -0
  29. data/sub/avm/lib/avm/sources/configuration.rb +5 -1
  30. data/sub/avm/lib/avm/sources/tests/builder.rb +1 -1
  31. data/sub/avm/lib/avm/version.rb +1 -1
  32. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb +1 -1
  33. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb +2 -2
  34. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb +1 -1
  35. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb +2 -2
  36. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
  37. data/sub/avm-eac_generic_base0/avm-eac_generic_base0.gemspec +1 -1
  38. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base/version_bump.rb +35 -0
  39. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base.rb +4 -1
  40. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/version.rb +1 -1
  41. data/sub/avm-eac_generic_base0/locale/en.yaml +6 -0
  42. data/sub/avm-eac_generic_base0/locale/pt-BR.yaml +6 -0
  43. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +1 -1
  44. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  45. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +1 -1
  46. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +1 -1
  47. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/core_update.rb +3 -3
  48. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +17 -2
  49. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  50. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template +2 -8
  51. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile_apache_setup +8 -0
  52. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template +1 -1
  53. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +2 -2
  54. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb +31 -0
  55. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb +17 -0
  56. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb +41 -0
  57. data/{lib/avm/ruby → sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/rubocop.rb +2 -2
  58. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +23 -0
  59. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +11 -0
  60. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb +1 -1
  61. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb +1 -1
  62. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb +0 -1
  63. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  64. data/sub/avm-files/avm-files.gemspec +1 -1
  65. data/sub/avm-files/lib/avm/files/appendable.rb +1 -1
  66. data/sub/avm-files/lib/avm/files/formatter/formats/ruby.rb +2 -2
  67. data/sub/avm-files/lib/avm/files/version.rb +1 -1
  68. data/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +1 -3
  69. data/sub/avm-git/lib/avm/git/version.rb +1 -1
  70. data/sub/eac_cli/eac_cli.gemspec +1 -1
  71. data/sub/eac_cli/lib/eac_cli/old_configs/entry_reader.rb +1 -1
  72. data/sub/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb +1 -1
  73. data/sub/eac_cli/lib/eac_cli/parser.rb +2 -2
  74. data/sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb +1 -1
  75. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +4 -4
  76. data/sub/eac_cli/lib/eac_cli/runner_with_set.rb +2 -2
  77. data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
  78. data/sub/eac_config/eac_config.gemspec +1 -1
  79. data/sub/eac_config/lib/eac_config/entry.rb +1 -1
  80. data/sub/eac_config/lib/eac_config/envvars_node/entry.rb +1 -1
  81. data/sub/eac_config/lib/eac_config/paths_hash/node.rb +1 -1
  82. data/sub/eac_config/lib/eac_config/version.rb +1 -1
  83. data/sub/eac_fs/eac_fs.gemspec +1 -1
  84. data/sub/eac_fs/lib/eac_fs/version.rb +1 -1
  85. data/sub/eac_git/eac_git.gemspec +1 -1
  86. data/sub/eac_git/lib/eac_git/local/remote.rb +2 -2
  87. data/sub/eac_git/lib/eac_git/local.rb +1 -1
  88. data/sub/eac_git/lib/eac_git/version.rb +1 -1
  89. data/sub/eac_rest/eac_rest.gemspec +1 -1
  90. data/sub/eac_rest/lib/eac_rest/api.rb +14 -3
  91. data/sub/eac_rest/lib/eac_rest/request.rb +22 -1
  92. data/sub/eac_rest/lib/eac_rest/response.rb +41 -1
  93. data/sub/eac_rest/lib/eac_rest/version.rb +1 -1
  94. data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +1 -1
  95. data/sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb +2 -2
  96. data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
  97. data/sub/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +1 -1
  98. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb +2 -2
  99. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +1 -1
  100. data/sub/eac_ruby_utils/eac_ruby_utils.gemspec +1 -1
  101. data/sub/eac_ruby_utils/lib/eac_ruby_utils/core_ext.rb +1 -0
  102. data/sub/eac_ruby_utils/lib/eac_ruby_utils/custom_format.rb +1 -1
  103. data/sub/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb +1 -1
  104. data/sub/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb +1 -1
  105. data/sub/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb +1 -1
  106. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb +16 -4
  107. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/value.rb +12 -2
  108. data/sub/eac_ruby_utils/lib/eac_ruby_utils/local_time_zone.rb +1 -1
  109. data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/from_all_gems.rb +4 -0
  110. data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/from_gem.rb +47 -0
  111. data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/module_i18n_translate.rb +74 -0
  112. data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales.rb +9 -0
  113. data/sub/eac_ruby_utils/lib/eac_ruby_utils/method_class.rb +35 -0
  114. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/i18n_translate.rb +2 -25
  115. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/method_class.rb +9 -0
  116. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb +6 -0
  117. data/sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb +86 -33
  118. data/sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb +1 -1
  119. data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  120. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/{temp_spec.rb → directory_spec.rb} +0 -0
  121. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb +4 -4
  122. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb +169 -106
  123. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/method_class_spec.rb +46 -0
  124. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb +52 -17
  125. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb +5 -3
  126. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/method_class_spec.rb +20 -0
  127. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb +5 -3
  128. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb +3 -3
  129. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb +21 -18
  130. data/sub/eac_ruby_utils/spec/locales/pt-BR.yml +3 -0
  131. data/sub/eac_templates/eac_templates.gemspec +1 -1
  132. data/sub/eac_templates/lib/eac_templates/directory.rb +1 -1
  133. data/sub/eac_templates/lib/eac_templates/version.rb +1 -1
  134. metadata +42 -20
  135. data/lib/avm/projects/stereotypes/rails_application/update.rb +0 -14
  136. data/lib/avm/projects/stereotypes/ruby_gem/version_bump.rb +0 -60
  137. data/lib/avm/ruby/rubocop/_configured.rb +0 -29
  138. data/lib/avm/ruby/rubocop/_envvar.rb +0 -15
  139. data/lib/avm/ruby/rubocop/_gemfile.rb +0 -39
  140. data/sub/avm/lib/avm/sources/configuration/_rubocop.rb +0 -24
  141. data/sub/avm/lib/avm/sources/configuration/_tests.rb +0 -27
  142. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/patches/i18n.rb +0 -7
  143. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/patches.rb +0 -4
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/core_ext'
4
- require 'i18n'
5
-
6
- ::I18n.load_path += __dir__.to_pathname.expand_path.parent_n(4).join('locale').glob('*.yaml')
7
- .map(&:to_path)
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/require_sub'
4
- ::EacRubyUtils.require_sub(__FILE__)