avm-tools 0.70.2 → 0.74.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/{stereotypes/eac_rails_base0.rb → eac_rails_base0.rb} +1 -3
  3. data/lib/avm/eac_rails_base0/instance.rb +2 -5
  4. data/lib/avm/{rails/runners.rb → eac_rails_base1.rb} +2 -4
  5. data/lib/avm/eac_rails_base1/instance.rb +24 -0
  6. data/lib/avm/eac_rails_base1/runner.rb +12 -0
  7. data/lib/avm/eac_rails_base1/runner/bundle.rb +28 -0
  8. data/lib/avm/eac_rails_base1/runner/code_runner.rb +28 -0
  9. data/lib/avm/eac_rails_base1/runner_with/bundle.rb +57 -0
  10. data/lib/avm/{stereotypes/rails.rb → eac_redmine_base0.rb} +2 -4
  11. data/lib/avm/eac_redmine_base0/instance.rb +2 -4
  12. data/lib/avm/{stereotypes/eac_ubuntu_base0.rb → eac_ubuntu_base0.rb} +1 -3
  13. data/lib/avm/{stereotypes/eac_webapp_base0.rb → eac_webapp_base0.rb} +1 -3
  14. data/lib/avm/eac_webapp_base0/instance.rb +2 -2
  15. data/lib/avm/eac_webapp_base0/runner.rb +12 -0
  16. data/lib/avm/eac_webapp_base0/runner/apache_host.rb +2 -3
  17. data/lib/avm/eac_webapp_base0/runner/data.rb +1 -1
  18. data/lib/avm/eac_webapp_base0/runner/data/dump.rb +1 -1
  19. data/lib/avm/eac_webapp_base0/runner/data/load.rb +1 -1
  20. data/lib/avm/eac_webapp_base0/runner/deploy.rb +3 -16
  21. data/lib/avm/eac_wordpress_base0.rb +9 -0
  22. data/lib/avm/eac_wordpress_base0/apache_host.rb +25 -0
  23. data/lib/avm/eac_wordpress_base0/deploy.rb +10 -0
  24. data/lib/avm/eac_wordpress_base0/instance.rb +24 -0
  25. data/lib/avm/eac_writings_base0.rb +9 -0
  26. data/lib/avm/eac_writings_base0/commons.rb +12 -0
  27. data/lib/avm/eac_writings_base0/file_build.rb +45 -0
  28. data/lib/avm/eac_writings_base0/file_build/base_stereotype.rb +19 -0
  29. data/lib/avm/eac_writings_base0/file_build/chapter_index.rb +23 -0
  30. data/lib/avm/eac_writings_base0/file_build/tex_source.rb +33 -0
  31. data/lib/avm/eac_writings_base0/project.rb +33 -0
  32. data/lib/avm/eac_writings_base0/project_build.rb +117 -0
  33. data/lib/avm/eac_writings_base0/project_build/chapters_content.rb +47 -0
  34. data/lib/avm/eac_writings_base0/project_build/copy_files.rb +42 -0
  35. data/lib/avm/executables.rb +1 -1
  36. data/lib/avm/instances/application.rb +4 -0
  37. data/lib/avm/instances/base.rb +2 -1
  38. data/lib/avm/instances/base/auto_values.rb +2 -1
  39. data/lib/avm/instances/base/auto_values/access.rb +5 -4
  40. data/lib/avm/instances/base/auto_values/admin.rb +2 -2
  41. data/lib/avm/instances/base/auto_values/database.rb +1 -1
  42. data/lib/avm/instances/base/auto_values/filesystem.rb +6 -2
  43. data/lib/avm/instances/base/auto_values/mailer.rb +34 -0
  44. data/lib/avm/instances/base/auto_values/ruby.rb +1 -1
  45. data/lib/avm/instances/base/auto_values/system.rb +2 -2
  46. data/lib/avm/instances/entry.rb +7 -1
  47. data/lib/avm/instances/entry_keys.rb +42 -7
  48. data/lib/avm/instances/runner.rb +40 -0
  49. data/lib/avm/{stereotypes/postgresql.rb → postgresql.rb} +1 -3
  50. data/lib/avm/postgresql/instance.rb +63 -0
  51. data/lib/avm/postgresql/instance/data_unit.rb +39 -0
  52. data/lib/avm/postgresql/instance_with.rb +18 -0
  53. data/lib/avm/projects/stereotypes/git_subtree/publish.rb +2 -0
  54. data/lib/avm/projects/stereotypes/git_subtree/warp.rb +3 -0
  55. data/lib/avm/tools/runner.rb +3 -3
  56. data/lib/avm/tools/runner/eac_rails_base0.rb +5 -18
  57. data/lib/avm/tools/runner/eac_rails_base0/apache_path.rb +1 -1
  58. data/lib/avm/tools/runner/eac_rails_base0/bundle.rb +3 -3
  59. data/lib/avm/tools/runner/eac_rails_base0/rails_server.rb +35 -0
  60. data/lib/avm/tools/runner/eac_rails_base0/runner.rb +3 -3
  61. data/lib/avm/tools/runner/eac_redmine_base0.rb +5 -23
  62. data/lib/avm/tools/runner/eac_redmine_base0/core_update.rb +1 -1
  63. data/lib/avm/tools/runner/eac_redmine_base0/docker.rb +1 -1
  64. data/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb +3 -3
  65. data/lib/avm/tools/runner/eac_wordpress_base0.rb +5 -24
  66. data/lib/avm/tools/runner/instance.rb +28 -0
  67. data/lib/avm/tools/runner/instance/info.rb +44 -0
  68. data/lib/avm/tools/runner/local_project/eac_writings_base0.rb +35 -0
  69. data/lib/avm/tools/runner/local_project/eac_writings_base0/build_chapters.rb +48 -0
  70. data/lib/avm/tools/runner/local_project/eac_writings_base0/build_single.rb +37 -0
  71. data/lib/avm/tools/runner/local_project/eac_writings_base0/info.rb +36 -0
  72. data/lib/avm/tools/version.rb +1 -1
  73. data/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template +11 -0
  74. data/template/avm/eac_writings_base0/commons/all.tex +5 -0
  75. data/template/avm/eac_writings_base0/commons/ebook.tex +11 -0
  76. data/template/avm/eac_writings_base0/commons/images.tex +11 -0
  77. data/template/avm/eac_writings_base0/commons/links.tex +2 -0
  78. data/template/avm/eac_writings_base0/commons/portuguese.tex +8 -0
  79. data/template/avm/eac_writings_base0/commons/source_code.tex +21 -0
  80. data/template/avm/eac_writings_base0/commons/source_code/java.tex +15 -0
  81. data/template/avm/eac_writings_base0/commons/utils.tex +6 -0
  82. data/vendor/eac_cli/lib/eac_cli/runner.rb +1 -1
  83. data/vendor/eac_cli/lib/eac_cli/runner/context.rb +19 -2
  84. data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
  85. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +12 -0
  86. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
  87. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb +2 -1
  88. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb +1 -1
  89. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb +10 -6
  90. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +1 -1
  91. data/vendor/eac_ruby_gems_utils/spec/{rubocop_check_spec.rb → code/rubocop_check_spec.rb} +0 -0
  92. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/blank_not_blank.rb +19 -0
  93. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/configs/base.rb +43 -0
  94. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/configs/file.rb +12 -31
  95. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs.rb +4 -1
  96. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb +57 -0
  97. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash.rb +21 -58
  98. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/entry_key_error.rb +8 -0
  99. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/node.rb +67 -0
  100. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/path_search.rb +39 -0
  101. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb +2 -1
  102. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb +4 -0
  103. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  104. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb +16 -0
  105. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/configs_spec.rb +15 -0
  106. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/paths_hash_spec.rb +52 -13
  107. metadata +57 -30
  108. data/lib/avm/rails/runners/bundle.rb +0 -35
  109. data/lib/avm/rails/runners/runner.rb +0 -48
  110. data/lib/avm/stereotypes/eac_redmine_base0.rb +0 -11
  111. data/lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb +0 -27
  112. data/lib/avm/stereotypes/eac_wordpress_base0/deploy.rb +0 -12
  113. data/lib/avm/stereotypes/eac_wordpress_base0/instance.rb +0 -26
  114. data/lib/avm/stereotypes/postgresql/instance.rb +0 -65
  115. data/lib/avm/stereotypes/postgresql/instance/data_unit.rb +0 -41
  116. data/lib/avm/stereotypes/postgresql/instance_with.rb +0 -20
  117. data/lib/avm/stereotypes/rails/instance.rb +0 -20
  118. data/lib/avm/tools/runner/eac_rails_base0/apache_host.rb +0 -16
  119. data/lib/avm/tools/runner/eac_rails_base0/data.rb +0 -15
  120. data/lib/avm/tools/runner/eac_rails_base0/deploy.rb +0 -15
  121. data/lib/avm/tools/runner/eac_redmine_base0/bundle.rb +0 -14
  122. data/lib/avm/tools/runner/eac_redmine_base0/data.rb +0 -27
  123. data/lib/avm/tools/runner/eac_redmine_base0/data/dump.rb +0 -16
  124. data/lib/avm/tools/runner/eac_redmine_base0/deploy.rb +0 -15
  125. data/lib/avm/tools/runner/eac_redmine_base0/runner.rb +0 -14
  126. data/lib/avm/tools/runner/eac_wordpress_base0/apache_host.rb +0 -17
  127. data/lib/avm/tools/runner/eac_wordpress_base0/data.rb +0 -15
  128. data/lib/avm/tools/runner/eac_wordpress_base0/deploy.rb +0 -15
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/rails/runners/runner'
4
-
5
- module Avm
6
- module Tools
7
- class Runner < ::EacRubyUtils::Console::DocoptRunner
8
- class EacRedmineBase0 < ::EacRubyUtils::Console::DocoptRunner
9
- class Runner < ::Avm::Rails::Runners::Runner
10
- end
11
- end
12
- end
13
- end
14
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/eac_webapp_base0/runner/apache_host'
4
- require 'eac_cli/default_runner'
5
- require 'eac_ruby_utils/console/docopt_runner'
6
- require 'avm/stereotypes/eac_wordpress_base0/apache_host'
7
-
8
- module Avm
9
- module Tools
10
- class Runner < ::EacRubyUtils::Console::DocoptRunner
11
- class EacWordpressBase0 < ::EacRubyUtils::Console::DocoptRunner
12
- class ApacheHost < ::Avm::EacWebappBase0::Runner::ApacheHost
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/eac_webapp_base0/runner/data'
4
- require 'eac_ruby_utils/console/docopt_runner'
5
-
6
- module Avm
7
- module Tools
8
- class Runner < ::EacRubyUtils::Console::DocoptRunner
9
- class EacWordpressBase0 < ::EacRubyUtils::Console::DocoptRunner
10
- class Data < ::Avm::EacWebappBase0::Runner::Data
11
- end
12
- end
13
- end
14
- end
15
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/eac_webapp_base0/runner/deploy'
4
- require 'avm/stereotypes/eac_wordpress_base0/deploy'
5
-
6
- module Avm
7
- module Tools
8
- class Runner < ::EacRubyUtils::Console::DocoptRunner
9
- class EacWordpressBase0 < ::EacRubyUtils::Console::DocoptRunner
10
- class Deploy < ::Avm::EacWebappBase0::Runner::Deploy
11
- end
12
- end
13
- end
14
- end
15
- end