eac_tools 0.2.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1284) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +312 -0
  4. data/lib/eac_tools/version.rb +1 -1
  5. data/sub/avm/Gemfile +8 -0
  6. data/sub/avm/avm.gemspec +26 -0
  7. data/sub/avm/lib/avm/data/instance/files_unit.rb +40 -0
  8. data/sub/avm/lib/avm/data/instance/package.rb +18 -0
  9. data/sub/avm/lib/avm/data/instance/unit.rb +17 -0
  10. data/sub/avm/lib/avm/data/instance.rb +11 -0
  11. data/sub/avm/lib/avm/data/package/dump.rb +119 -0
  12. data/sub/avm/lib/avm/data/package/load.rb +48 -0
  13. data/sub/avm/lib/avm/data/package.rb +42 -0
  14. data/sub/avm/lib/avm/data/rotate.rb +107 -0
  15. data/sub/avm/lib/avm/data/unit.rb +94 -0
  16. data/sub/avm/lib/avm/docker/container.rb +50 -0
  17. data/sub/avm/lib/avm/docker/image.rb +71 -0
  18. data/sub/avm/lib/avm/docker/runner.rb +125 -0
  19. data/sub/avm/lib/avm/docker.rb +9 -0
  20. data/sub/avm/lib/avm/executables.rb +24 -0
  21. data/sub/avm/lib/avm/instances/application.rb +29 -0
  22. data/sub/avm/lib/avm/instances/base/auto_values/access.rb +40 -0
  23. data/sub/avm/lib/avm/instances/base/auto_values/admin.rb +19 -0
  24. data/sub/avm/lib/avm/instances/base/auto_values/data.rb +26 -0
  25. data/sub/avm/lib/avm/instances/base/auto_values/database.rb +76 -0
  26. data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +43 -0
  27. data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +34 -0
  28. data/sub/avm/lib/avm/instances/base/auto_values/ruby.rb +15 -0
  29. data/sub/avm/lib/avm/instances/base/auto_values/source.rb +15 -0
  30. data/sub/avm/lib/avm/instances/base/auto_values/system.rb +23 -0
  31. data/sub/avm/lib/avm/instances/base/auto_values/web.rb +46 -0
  32. data/sub/avm/lib/avm/instances/base/auto_values.rb +21 -0
  33. data/sub/avm/lib/avm/instances/base/dockerizable.rb +45 -0
  34. data/sub/avm/lib/avm/instances/base/entry_keys.rb +22 -0
  35. data/sub/avm/lib/avm/instances/base.rb +64 -0
  36. data/sub/avm/lib/avm/instances/docker_image.rb +15 -0
  37. data/sub/avm/lib/avm/instances/entries.rb +43 -0
  38. data/sub/avm/lib/avm/instances/entry.rb +60 -0
  39. data/sub/avm/lib/avm/instances/entry_keys.rb +60 -0
  40. data/sub/avm/lib/avm/instances/runner.rb +39 -0
  41. data/sub/avm/lib/avm/instances.rb +8 -0
  42. data/sub/avm/lib/avm/jobs/base.rb +63 -0
  43. data/sub/avm/lib/avm/jobs/variables_source.rb +22 -0
  44. data/sub/avm/lib/avm/jobs.rb +9 -0
  45. data/sub/avm/lib/avm/launcher/errors/base.rb +10 -0
  46. data/sub/avm/lib/avm/launcher/errors/non_project.rb +15 -0
  47. data/sub/avm/lib/avm/launcher/paths/real.rb +44 -0
  48. data/sub/avm/lib/avm/launcher/publish/check_result.rb +67 -0
  49. data/sub/avm/lib/avm/path_string.rb +27 -0
  50. data/sub/avm/lib/avm/registry/base.rb +71 -0
  51. data/sub/avm/lib/avm/registry/with_path.rb +23 -0
  52. data/sub/avm/lib/avm/registry.rb +39 -0
  53. data/sub/avm/lib/avm/result.rb +86 -0
  54. data/sub/avm/lib/avm/rspec/setup.rb +22 -0
  55. data/sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb +11 -0
  56. data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +14 -0
  57. data/sub/avm/lib/avm/rspec.rb +9 -0
  58. data/sub/avm/lib/avm/runners/base.rb +27 -0
  59. data/sub/avm/lib/avm/scms/base.rb +41 -0
  60. data/sub/avm/lib/avm/scms/commit.rb +43 -0
  61. data/sub/avm/lib/avm/scms/inflector.rb +22 -0
  62. data/sub/avm/lib/avm/scms/null.rb +14 -0
  63. data/sub/avm/lib/avm/self/docker_image.rb +14 -0
  64. data/sub/avm/lib/avm/self/instance/entry_keys.rb +12 -0
  65. data/sub/avm/lib/avm/self/instance.rb +31 -0
  66. data/sub/avm/lib/avm/sources/base/configuration.rb +63 -0
  67. data/sub/avm/lib/avm/sources/base/instance.rb +28 -0
  68. data/sub/avm/lib/avm/sources/base/locale.rb +26 -0
  69. data/sub/avm/lib/avm/sources/base/parent.rb +31 -0
  70. data/sub/avm/lib/avm/sources/base/runners.rb +47 -0
  71. data/sub/avm/lib/avm/sources/base/subs.rb +55 -0
  72. data/sub/avm/lib/avm/sources/base/subs_paths.rb +32 -0
  73. data/sub/avm/lib/avm/sources/base/testing.rb +70 -0
  74. data/sub/avm/lib/avm/sources/base.rb +48 -0
  75. data/sub/avm/lib/avm/sources/configuration/rubocop.rb +26 -0
  76. data/sub/avm/lib/avm/sources/configuration.rb +59 -0
  77. data/sub/avm/lib/avm/sources/tests/builder.rb +90 -0
  78. data/sub/avm/lib/avm/sources/tests/performer.rb +35 -0
  79. data/sub/avm/lib/avm/sources/tests/result.rb +15 -0
  80. data/sub/avm/lib/avm/sources/tests/single.rb +75 -0
  81. data/sub/avm/lib/avm/sources/tests.rb +11 -0
  82. data/sub/avm/lib/avm/sources.rb +9 -0
  83. data/sub/avm/lib/avm/sync.rb +94 -0
  84. data/sub/avm/lib/avm/version.rb +5 -0
  85. data/sub/avm/lib/avm/version_number.rb +45 -0
  86. data/sub/avm/lib/avm.rb +7 -0
  87. data/sub/avm/spec/lib/avm/scms/base_spec.rb +7 -0
  88. data/sub/avm/spec/lib/avm/sources/base_spec.rb +7 -0
  89. data/sub/avm/spec/rubocop_spec.rb +3 -0
  90. data/sub/avm/spec/spec_helper.rb +4 -0
  91. data/sub/avm-eac_generic_base0/Gemfile +8 -0
  92. data/sub/avm-eac_generic_base0/avm-eac_generic_base0.gemspec +19 -0
  93. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base/version_bump.rb +35 -0
  94. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base.rb +19 -0
  95. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources.rb +11 -0
  96. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/version.rb +7 -0
  97. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0.rb +9 -0
  98. data/sub/avm-eac_generic_base0/locale/en.yml +6 -0
  99. data/sub/avm-eac_generic_base0/locale/pt-BR.yml +6 -0
  100. data/sub/avm-eac_generic_base0/spec/lib/avm/eac_generic_base0/sources/base_spec.rb +7 -0
  101. data/sub/avm-eac_generic_base0/spec/rubocop_spec.rb +3 -0
  102. data/sub/avm-eac_generic_base0/spec/spec_helper.rb +4 -0
  103. data/sub/avm-eac_rails_base1/Gemfile +5 -0
  104. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +20 -0
  105. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb +17 -0
  106. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb +25 -0
  107. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb +26 -0
  108. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb +26 -0
  109. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb +43 -0
  110. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb +26 -0
  111. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb +18 -0
  112. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb +32 -0
  113. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb +46 -0
  114. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb +17 -0
  115. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb +12 -0
  116. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb +27 -0
  117. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb +47 -0
  118. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb +27 -0
  119. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb +70 -0
  120. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb +29 -0
  121. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb +57 -0
  122. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +7 -0
  123. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb +9 -0
  124. data/sub/avm-eac_rails_base1/spec/rubocop_spec.rb +3 -0
  125. data/sub/avm-eac_rails_base1/spec/spec_helper.rb +4 -0
  126. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service +12 -0
  127. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +6 -0
  128. data/sub/avm-eac_redmine_base0/Gemfile +5 -0
  129. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +23 -0
  130. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/apache_host.rb +10 -0
  131. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/core_update.rb +118 -0
  132. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/data_unit.rb +51 -0
  133. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/deploy.rb +36 -0
  134. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instance.rb +57 -0
  135. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +97 -0
  136. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/rest_api.rb +11 -0
  137. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +28 -0
  138. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb +66 -0
  139. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners.rb +13 -0
  140. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +7 -0
  141. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb +9 -0
  142. data/sub/avm-eac_redmine_base0/locale/en.yml +5 -0
  143. data/sub/avm-eac_redmine_base0/locale/pt-BR.yml +5 -0
  144. data/sub/avm-eac_redmine_base0/spec/rubocop_spec.rb +3 -0
  145. data/sub/avm-eac_redmine_base0/spec/spec_helper.rb +4 -0
  146. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/deploy/config/install.sh.template +31 -0
  147. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/deploy/config/secrets.yml +8 -0
  148. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template +37 -0
  149. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile_apache_setup +8 -0
  150. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_http_virtualhost.conf.template +10 -0
  151. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template +16 -0
  152. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/install_settings.sh.template +33 -0
  153. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template +52 -0
  154. data/sub/avm-eac_redmine_plugin_base0/Gemfile +8 -0
  155. data/sub/avm-eac_redmine_plugin_base0/avm-eac_redmine_plugin_base0.gemspec +19 -0
  156. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb +30 -0
  157. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/version.rb +7 -0
  158. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0.rb +9 -0
  159. data/sub/avm-eac_redmine_plugin_base0/spec/rubocop_spec.rb +3 -0
  160. data/sub/avm-eac_redmine_plugin_base0/spec/spec_helper.rb +4 -0
  161. data/sub/avm-eac_ruby_base1/Gemfile +8 -0
  162. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +21 -0
  163. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb +56 -0
  164. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb +19 -0
  165. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb +34 -0
  166. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/depends_on.rb +25 -0
  167. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict.rb +44 -0
  168. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile.rb +17 -0
  169. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb +73 -0
  170. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb +31 -0
  171. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb +19 -0
  172. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb +26 -0
  173. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser.rb +25 -0
  174. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb +11 -0
  175. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb +31 -0
  176. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb +17 -0
  177. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb +41 -0
  178. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb +55 -0
  179. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/version_file.rb +43 -0
  180. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems.rb +11 -0
  181. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb +39 -0
  182. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +53 -0
  183. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb +28 -0
  184. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubygems.rb +43 -0
  185. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +23 -0
  186. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +70 -0
  187. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb +76 -0
  188. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb +19 -0
  189. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb +13 -0
  190. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/base.rb +59 -0
  191. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/minitest.rb +29 -0
  192. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple/decorated_gem.rb +52 -0
  193. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple/result.rb +29 -0
  194. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple.rb +90 -0
  195. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/rspec.rb +25 -0
  196. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests.rb +13 -0
  197. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb +59 -0
  198. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb +48 -0
  199. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb +11 -0
  200. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +7 -0
  201. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb +9 -0
  202. data/sub/avm-eac_ruby_base1/locale/en.yml +8 -0
  203. data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +8 -0
  204. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb +7 -0
  205. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out +192 -0
  206. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml +300 -0
  207. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out +245 -0
  208. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml +355 -0
  209. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb +14 -0
  210. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec_files/a_version_file.rb +7 -0
  211. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec.rb +20 -0
  212. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Gemfile +5 -0
  213. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Rakefile +14 -0
  214. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/exe/myrunner +5 -0
  215. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/lib/mygem/version.rb +5 -0
  216. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/lib/mygem.rb +5 -0
  217. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/mygem.gemspec +16 -0
  218. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb +7 -0
  219. data/sub/avm-eac_ruby_base1/spec/rubocop_spec.rb +3 -0
  220. data/sub/avm-eac_ruby_base1/spec/spec_helper.rb +4 -0
  221. data/sub/avm-tools/Gemfile +12 -0
  222. data/sub/avm-tools/Gemfile.lock +300 -0
  223. data/sub/avm-tools/README.textile +39 -0
  224. data/sub/avm-tools/avm-tools.gemspec +33 -0
  225. data/sub/avm-tools/exe/avm +6 -0
  226. data/sub/avm-tools/lib/avm/eac_wordpress_base0/apache_host.rb +25 -0
  227. data/sub/avm-tools/lib/avm/eac_wordpress_base0/deploy.rb +10 -0
  228. data/sub/avm-tools/lib/avm/eac_wordpress_base0/instance.rb +24 -0
  229. data/sub/avm-tools/lib/avm/eac_wordpress_base0.rb +9 -0
  230. data/sub/avm-tools/lib/avm/eac_writings_base0/apache_host.rb +17 -0
  231. data/sub/avm-tools/lib/avm/eac_writings_base0/commons.rb +12 -0
  232. data/sub/avm-tools/lib/avm/eac_writings_base0/deploy.rb +36 -0
  233. data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/base_stereotype.rb +19 -0
  234. data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb +23 -0
  235. data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/tex_source.rb +33 -0
  236. data/sub/avm-tools/lib/avm/eac_writings_base0/file_build.rb +45 -0
  237. data/sub/avm-tools/lib/avm/eac_writings_base0/instance.rb +11 -0
  238. data/sub/avm-tools/lib/avm/eac_writings_base0/project.rb +33 -0
  239. data/sub/avm-tools/lib/avm/eac_writings_base0/project_build/chapters_content.rb +47 -0
  240. data/sub/avm-tools/lib/avm/eac_writings_base0/project_build/copy_files.rb +42 -0
  241. data/sub/avm-tools/lib/avm/eac_writings_base0/project_build.rb +117 -0
  242. data/sub/avm-tools/lib/avm/eac_writings_base0.rb +9 -0
  243. data/sub/avm-tools/lib/avm/launcher/context/instance_collector.rb +46 -0
  244. data/sub/avm-tools/lib/avm/launcher/context/instance_discovery.rb +56 -0
  245. data/sub/avm-tools/lib/avm/launcher/context/instance_manager/cached_instance.rb +37 -0
  246. data/sub/avm-tools/lib/avm/launcher/context/instance_manager/cached_instances.rb +35 -0
  247. data/sub/avm-tools/lib/avm/launcher/context/instance_manager.rb +76 -0
  248. data/sub/avm-tools/lib/avm/launcher/context/settings.rb +53 -0
  249. data/sub/avm-tools/lib/avm/launcher/context.rb +94 -0
  250. data/sub/avm-tools/lib/avm/launcher/git/base/class_methods.rb +28 -0
  251. data/sub/avm-tools/lib/avm/launcher/git/base/dirty_files.rb +23 -0
  252. data/sub/avm-tools/lib/avm/launcher/git/base/remotes.rb +40 -0
  253. data/sub/avm-tools/lib/avm/launcher/git/base/subrepo.rb +44 -0
  254. data/sub/avm-tools/lib/avm/launcher/git/base/underlying.rb +63 -0
  255. data/sub/avm-tools/lib/avm/launcher/git/base.rb +86 -0
  256. data/sub/avm-tools/lib/avm/launcher/git/error.rb +13 -0
  257. data/sub/avm-tools/lib/avm/launcher/git/mirror_update.rb +38 -0
  258. data/sub/avm-tools/lib/avm/launcher/git/publish_base.rb +125 -0
  259. data/sub/avm-tools/lib/avm/launcher/git/remote.rb +55 -0
  260. data/sub/avm-tools/lib/avm/launcher/git/sub_warp_base.rb +33 -0
  261. data/sub/avm-tools/lib/avm/launcher/git/warp_base.rb +67 -0
  262. data/sub/avm-tools/lib/avm/launcher/git.rb +7 -0
  263. data/sub/avm-tools/lib/avm/launcher/instances/base/cache.rb +43 -0
  264. data/sub/avm-tools/lib/avm/launcher/instances/base.rb +96 -0
  265. data/sub/avm-tools/lib/avm/launcher/instances/error.rb +10 -0
  266. data/sub/avm-tools/lib/avm/launcher/instances/runner_helper.rb +47 -0
  267. data/sub/avm-tools/lib/avm/launcher/instances/settings.rb +55 -0
  268. data/sub/avm-tools/lib/avm/launcher/instances.rb +6 -0
  269. data/sub/avm-tools/lib/avm/launcher/paths/logical.rb +87 -0
  270. data/sub/avm-tools/lib/avm/launcher/paths.rb +4 -0
  271. data/sub/avm-tools/lib/avm/launcher/project.rb +18 -0
  272. data/sub/avm-tools/lib/avm/launcher/publish/base.rb +47 -0
  273. data/sub/avm-tools/lib/avm/launcher/publish.rb +4 -0
  274. data/sub/avm-tools/lib/avm/launcher/ruby/gem/build.rb +125 -0
  275. data/sub/avm-tools/lib/avm/launcher/ruby/gem/specification.rb +63 -0
  276. data/sub/avm-tools/lib/avm/launcher/ruby/gem.rb +4 -0
  277. data/sub/avm-tools/lib/avm/launcher/ruby.rb +3 -0
  278. data/sub/avm-tools/lib/avm/launcher/vendor/github.rb +20 -0
  279. data/sub/avm-tools/lib/avm/launcher/vendor.rb +3 -0
  280. data/sub/avm-tools/lib/avm/patches/i18n.rb +22 -0
  281. data/sub/avm-tools/lib/avm/patches.rb +9 -0
  282. data/sub/avm-tools/lib/avm/projects/stereotype/job_comparator.rb +32 -0
  283. data/sub/avm-tools/lib/avm/projects/stereotype.rb +63 -0
  284. data/sub/avm-tools/lib/avm/projects/stereotypes/git/local_project_mixin.rb +19 -0
  285. data/sub/avm-tools/lib/avm/projects/stereotypes/git/publish.rb +15 -0
  286. data/sub/avm-tools/lib/avm/projects/stereotypes/git/warp.rb +27 -0
  287. data/sub/avm-tools/lib/avm/projects/stereotypes/git.rb +25 -0
  288. data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo/publish.rb +14 -0
  289. data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo/warp.rb +88 -0
  290. data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo.rb +34 -0
  291. data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree/publish.rb +14 -0
  292. data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree/warp.rb +32 -0
  293. data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree.rb +51 -0
  294. data/sub/avm-tools/lib/avm/projects/stereotypes/rails_application/local_project_mixin.rb +18 -0
  295. data/sub/avm-tools/lib/avm/projects/stereotypes/rails_application.rb +25 -0
  296. data/sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb +23 -0
  297. data/sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb +28 -0
  298. data/sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem/publish.rb +129 -0
  299. data/sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem.rb +30 -0
  300. data/sub/avm-tools/lib/avm/projects/stereotypes.rb +20 -0
  301. data/sub/avm-tools/lib/avm/projects.rb +9 -0
  302. data/sub/avm-tools/lib/avm/rails.rb +9 -0
  303. data/sub/avm-tools/lib/avm/ruby/bundler.rb +11 -0
  304. data/sub/avm-tools/lib/avm/ruby/gems/generator.rb +165 -0
  305. data/sub/avm-tools/lib/avm/ruby/gems.rb +11 -0
  306. data/sub/avm-tools/lib/avm/ruby.rb +9 -0
  307. data/sub/avm-tools/lib/avm/stereotypes.rb +9 -0
  308. data/sub/avm-tools/lib/avm/tools/app_src.rb +64 -0
  309. data/sub/avm-tools/lib/avm/tools/core_ext.rb +4 -0
  310. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_asciidoctor_base0/build.rb +56 -0
  311. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_asciidoctor_base0.rb +14 -0
  312. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_chapters.rb +45 -0
  313. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_single.rb +35 -0
  314. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb +34 -0
  315. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0.rb +33 -0
  316. data/sub/avm-tools/lib/avm/tools/runner/app_src/info.rb +38 -0
  317. data/sub/avm-tools/lib/avm/tools/runner/app_src/issue/complete.rb +80 -0
  318. data/sub/avm-tools/lib/avm/tools/runner/app_src/issue/deliver.rb +35 -0
  319. data/sub/avm-tools/lib/avm/tools/runner/app_src/issue.rb +19 -0
  320. data/sub/avm-tools/lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb +62 -0
  321. data/sub/avm-tools/lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb +105 -0
  322. data/sub/avm-tools/lib/avm/tools/runner/app_src/ruby/bundler.rb +21 -0
  323. data/sub/avm-tools/lib/avm/tools/runner/app_src/ruby.rb +19 -0
  324. data/sub/avm-tools/lib/avm/tools/runner/app_src/subs.rb +71 -0
  325. data/sub/avm-tools/lib/avm/tools/runner/app_src/test.rb +93 -0
  326. data/sub/avm-tools/lib/avm/tools/runner/app_src/update.rb +22 -0
  327. data/sub/avm-tools/lib/avm/tools/runner/app_src/version_bump.rb +81 -0
  328. data/sub/avm-tools/lib/avm/tools/runner/app_src.rb +40 -0
  329. data/sub/avm-tools/lib/avm/tools/runner/config/load_path.rb +52 -0
  330. data/sub/avm-tools/lib/avm/tools/runner/config.rb +17 -0
  331. data/sub/avm-tools/lib/avm/tools/runner/eac_asciidoctor_base0.rb +14 -0
  332. data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/dev_docker.rb +17 -0
  333. data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/docker.rb +17 -0
  334. data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb +56 -0
  335. data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0.rb +15 -0
  336. data/sub/avm-tools/lib/avm/tools/runner/eac_webapp_base0.rb +14 -0
  337. data/sub/avm-tools/lib/avm/tools/runner/eac_wordpress_base0.rb +15 -0
  338. data/sub/avm-tools/lib/avm/tools/runner/eac_writings_base0.rb +14 -0
  339. data/sub/avm-tools/lib/avm/tools/runner/files/format.rb +50 -0
  340. data/sub/avm-tools/lib/avm/tools/runner/files/rotate.rb +31 -0
  341. data/sub/avm-tools/lib/avm/tools/runner/files.rb +17 -0
  342. data/sub/avm-tools/lib/avm/tools/runner/git/auto_commit.rb +67 -0
  343. data/sub/avm-tools/lib/avm/tools/runner/git/commit.rb +102 -0
  344. data/sub/avm-tools/lib/avm/tools/runner/git/deploy.rb +112 -0
  345. data/sub/avm-tools/lib/avm/tools/runner/git/dirty_files.rb +44 -0
  346. data/sub/avm-tools/lib/avm/tools/runner/git/organize.rb +75 -0
  347. data/sub/avm-tools/lib/avm/tools/runner/git/revisions_test.rb +66 -0
  348. data/sub/avm-tools/lib/avm/tools/runner/git/subrepo/check.rb +48 -0
  349. data/sub/avm-tools/lib/avm/tools/runner/git/subrepo/clone.rb +83 -0
  350. data/sub/avm-tools/lib/avm/tools/runner/git/subrepo/fix.rb +68 -0
  351. data/sub/avm-tools/lib/avm/tools/runner/git/subrepo.rb +19 -0
  352. data/sub/avm-tools/lib/avm/tools/runner/git.rb +36 -0
  353. data/sub/avm-tools/lib/avm/tools/runner/instance/info.rb +41 -0
  354. data/sub/avm-tools/lib/avm/tools/runner/instance.rb +25 -0
  355. data/sub/avm-tools/lib/avm/tools/runner/launcher/instances.rb +36 -0
  356. data/sub/avm-tools/lib/avm/tools/runner/launcher/projects.rb +40 -0
  357. data/sub/avm-tools/lib/avm/tools/runner/launcher/publish.rb +53 -0
  358. data/sub/avm-tools/lib/avm/tools/runner/launcher.rb +17 -0
  359. data/sub/avm-tools/lib/avm/tools/runner/ruby/gems/generate.rb +39 -0
  360. data/sub/avm-tools/lib/avm/tools/runner/ruby/gems.rb +19 -0
  361. data/sub/avm-tools/lib/avm/tools/runner/ruby/rubocop.rb +30 -0
  362. data/sub/avm-tools/lib/avm/tools/runner/ruby.rb +17 -0
  363. data/sub/avm-tools/lib/avm/tools/runner/self/docker.rb +14 -0
  364. data/sub/avm-tools/lib/avm/tools/runner/self/registry.rb +25 -0
  365. data/sub/avm-tools/lib/avm/tools/runner/self.rb +22 -0
  366. data/sub/avm-tools/lib/avm/tools/runner.rb +27 -0
  367. data/sub/avm-tools/lib/avm/tools/self.rb +23 -0
  368. data/sub/avm-tools/lib/avm/tools/version.rb +7 -0
  369. data/sub/avm-tools/lib/avm/tools.rb +8 -0
  370. data/sub/avm-tools/lib/avm.rb +7 -0
  371. data/sub/avm-tools/locale/en.yml +7 -0
  372. data/sub/avm-tools/locale/pt-BR.yml +7 -0
  373. data/sub/avm-tools/spec/dummy/avm-tools_stub/avm-tools.gemspec +28 -0
  374. data/sub/avm-tools/spec/dummy/avm-tools_stub/lib/avm/tools/version.rb +7 -0
  375. data/sub/avm-tools/spec/dummy/avm-tools_stub/lib/avm/tools.rb +6 -0
  376. data/sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb +5 -0
  377. data/sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb +3 -0
  378. data/sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec +15 -0
  379. data/sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec.rb +24 -0
  380. data/sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec_no_ssl_content.conf +11 -0
  381. data/sub/avm-tools/spec/lib/avm/instances/application_spec.rb +23 -0
  382. data/sub/avm-tools/spec/lib/avm/instances/application_spec_fixture.yml +3 -0
  383. data/sub/avm-tools/spec/lib/avm/instances/base_spec.rb +92 -0
  384. data/sub/avm-tools/spec/lib/avm/instances/base_spec_configs_storage.yml +34 -0
  385. data/sub/avm-tools/spec/lib/avm/launcher/context_spec.rb +110 -0
  386. data/sub/avm-tools/spec/lib/avm/launcher/context_spec.yml +5 -0
  387. data/sub/avm-tools/spec/lib/avm/launcher/git/base_spec.rb +45 -0
  388. data/sub/avm-tools/spec/lib/avm/launcher/instances/base_spec.rb +25 -0
  389. data/sub/avm-tools/spec/lib/avm/launcher/ruby/gem/build_spec.rb +43 -0
  390. data/sub/avm-tools/spec/lib/avm/launcher/ruby/gem/specification_spec.rb +40 -0
  391. data/sub/avm-tools/spec/lib/avm/launcher/vendor/github_spec.rb +23 -0
  392. data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec.rb +80 -0
  393. data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec_settings.yml +6 -0
  394. data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb +49 -0
  395. data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec_settings.yml +6 -0
  396. data/sub/avm-tools/spec/lib/avm/projects/stereotypes/ruby_gem/publish_spec.rb +19 -0
  397. data/sub/avm-tools/spec/lib/avm/projects/stereotypes/ruby_gem_spec.rb +22 -0
  398. data/sub/avm-tools/spec/lib/avm/tools/runner/app_src/issue/complete_spec.rb +48 -0
  399. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec.rb +56 -0
  400. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/Gemfile.source +6 -0
  401. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/Gemfile.target +5 -0
  402. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/html_code.html.erb.source +8 -0
  403. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/html_code.html.erb.target +8 -0
  404. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/html_code.html.source +5 -0
  405. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/html_code.html.target +5 -0
  406. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/javascript_code1.js.source +29 -0
  407. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/javascript_code1.js.target +21 -0
  408. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/json_code.json.source +8 -0
  409. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/json_code.json.target +7 -0
  410. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_code.php.source +10 -0
  411. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_code.php.target +10 -0
  412. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_code2.php.source +4 -0
  413. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_code2.php.target +3 -0
  414. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_html_code.php.source +64 -0
  415. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_html_code.php.target +64 -0
  416. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_iso88591_code.php.source +4 -0
  417. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_iso88591_code.php.target +3 -0
  418. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/plain_text.source +3 -0
  419. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/plain_text.target +3 -0
  420. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/python_code.source +30 -0
  421. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/python_code.target +39 -0
  422. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/ruby_code.rb.source +6 -0
  423. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/ruby_code.rb.target +7 -0
  424. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/xml_code.xml.source +11 -0
  425. data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/xml_code.xml.target +9 -0
  426. data/sub/avm-tools/spec/lib/avm/tools/runner/files/rotate_spec.rb +72 -0
  427. data/sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec.rb +124 -0
  428. data/sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append1/stub3.txt.template +1 -0
  429. data/sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append2/stub4.txt +1 -0
  430. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec.rb +53 -0
  431. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/Gemfile +5 -0
  432. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/Gemfile.lock +1 -0
  433. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/dashed-mygem.gemspec +18 -0
  434. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/lib/dashed/mygem/version.rb +7 -0
  435. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/lib/dashed/mygem.rb +9 -0
  436. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/spec/rubocop_spec.rb +3 -0
  437. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/spec/spec_helper.rb +4 -0
  438. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/Gemfile +5 -0
  439. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/Gemfile.lock +1 -0
  440. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/lib/mygem/version.rb +5 -0
  441. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/lib/mygem.rb +7 -0
  442. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/mygem.gemspec +18 -0
  443. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/spec/rubocop_spec.rb +3 -0
  444. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/spec/spec_helper.rb +4 -0
  445. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec.rb +35 -0
  446. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir1/dir3/Gemfile +5 -0
  447. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir1/dir3/Gemfile.lock +27 -0
  448. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir2/empty.rb +1 -0
  449. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir4/false_command.rb +4 -0
  450. data/sub/avm-tools/spec/lib/avm/tools/runner_spec.rb +15 -0
  451. data/sub/avm-tools/spec/rubocop_spec.rb +3 -0
  452. data/sub/avm-tools/spec/spec_helper/avm_tools_runner.rb +11 -0
  453. data/sub/avm-tools/spec/spec_helper/eac_launcher/settings.yml +6 -0
  454. data/sub/avm-tools/spec/spec_helper/eac_launcher.rb +52 -0
  455. data/sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/Dockerfile +24 -0
  456. data/sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/id_rsa +27 -0
  457. data/sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/id_rsa.pub +1 -0
  458. data/sub/avm-tools/spec/spec_helper/stubbed_docker_server.rb +93 -0
  459. data/sub/avm-tools/spec/spec_helper/templates.rb +5 -0
  460. data/sub/avm-tools/spec/spec_helper.rb +7 -0
  461. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/Gemfile +5 -0
  462. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +22 -0
  463. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_host.rb +17 -0
  464. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_path.rb +10 -0
  465. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/deploy.rb +26 -0
  466. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instance.rb +11 -0
  467. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +16 -0
  468. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb +30 -0
  469. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb +49 -0
  470. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb +54 -0
  471. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb +30 -0
  472. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb +11 -0
  473. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +7 -0
  474. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb +9 -0
  475. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb +7 -0
  476. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +3 -0
  477. data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb +4 -0
  478. data/sub/avm-tools/sub/avm-eac_postgresql_base0/Gemfile +5 -0
  479. data/sub/avm-tools/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec +19 -0
  480. data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/assert.rb +77 -0
  481. data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/data_unit.rb +39 -0
  482. data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance.rb +74 -0
  483. data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb +18 -0
  484. data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +7 -0
  485. data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0.rb +9 -0
  486. data/sub/avm-tools/sub/avm-eac_postgresql_base0/spec/rubocop_spec.rb +3 -0
  487. data/sub/avm-tools/sub/avm-eac_postgresql_base0/spec/spec_helper.rb +4 -0
  488. data/sub/avm-tools/sub/avm-eac_rails_base0/Gemfile +5 -0
  489. data/sub/avm-tools/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +19 -0
  490. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_host.rb +10 -0
  491. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_path.rb +19 -0
  492. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb +53 -0
  493. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instance.rb +11 -0
  494. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb +26 -0
  495. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners.rb +11 -0
  496. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb +27 -0
  497. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +7 -0
  498. data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0.rb +9 -0
  499. data/sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb +22 -0
  500. data/sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec_files/apache_host_spec_no_ssl_content.conf +11 -0
  501. data/sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb +23 -0
  502. data/sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec_files/stub-app_0_apache_path.conf +14 -0
  503. data/sub/avm-tools/sub/avm-eac_rails_base0/spec/rubocop_spec.rb +3 -0
  504. data/sub/avm-tools/sub/avm-eac_rails_base0/spec/spec_helper.rb +5 -0
  505. data/sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf +5 -0
  506. data/sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template +21 -0
  507. data/sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template +11 -0
  508. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/Gemfile +5 -0
  509. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec +20 -0
  510. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache/resource.rb +59 -0
  511. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache.rb +26 -0
  512. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/docker_image.rb +29 -0
  513. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances/base.rb +22 -0
  514. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances.rb +11 -0
  515. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base/docker.rb +19 -0
  516. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base.rb +28 -0
  517. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/version.rb +7 -0
  518. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb +9 -0
  519. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/docker_image_spec.rb +16 -0
  520. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base/docker_spec.rb +14 -0
  521. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base_spec.rb +7 -0
  522. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/rubocop_spec.rb +3 -0
  523. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/spec_helper.rb +4 -0
  524. data/sub/avm-tools/sub/avm-eac_ubuntu_base0/template/avm/eac_ubuntu_base0/docker_image/Dockerfile.template +24 -0
  525. data/sub/avm-tools/sub/avm-files/Gemfile +5 -0
  526. data/sub/avm-tools/sub/avm-files/avm-files.gemspec +21 -0
  527. data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/file_content.rb +24 -0
  528. data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/plain_directory.rb +25 -0
  529. data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/resource_base.rb +13 -0
  530. data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/tar_output_command.rb +26 -0
  531. data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/templatized_directory.rb +29 -0
  532. data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable.rb +55 -0
  533. data/sub/avm-tools/sub/avm-files/lib/avm/files/appender.rb +11 -0
  534. data/sub/avm-tools/sub/avm-files/lib/avm/files/deploy.rb +71 -0
  535. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/base.rb +62 -0
  536. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/generic_plain.rb +34 -0
  537. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/html.rb +45 -0
  538. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/javascript.rb +24 -0
  539. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/json.rb +27 -0
  540. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/php.rb +22 -0
  541. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/python.rb +22 -0
  542. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/ruby.rb +22 -0
  543. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/xml.rb +28 -0
  544. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats.rb +13 -0
  545. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/utf8_assert.rb +74 -0
  546. data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter.rb +90 -0
  547. data/sub/avm-tools/sub/avm-files/lib/avm/files/version.rb +7 -0
  548. data/sub/avm-tools/sub/avm-files/lib/avm/files.rb +9 -0
  549. data/sub/avm-tools/sub/avm-files/spec/rubocop_spec.rb +3 -0
  550. data/sub/avm-tools/sub/avm-files/spec/spec_helper.rb +4 -0
  551. data/sub/avm-tools/sub/avm-git/Gemfile +5 -0
  552. data/sub/avm-tools/sub/avm-git/avm-git.gemspec +21 -0
  553. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/commit_info.rb +23 -0
  554. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/base.rb +39 -0
  555. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/last.rb +19 -0
  556. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/manual.rb +45 -0
  557. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/new.rb +24 -0
  558. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/nth.rb +31 -0
  559. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/unique.rb +21 -0
  560. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules.rb +31 -0
  561. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit_path/ruby.rb +20 -0
  562. data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit_path.rb +28 -0
  563. data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/class_methods.rb +31 -0
  564. data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/deploy.rb +38 -0
  565. data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/deploy_methods.rb +19 -0
  566. data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/diff_tree_line.rb +32 -0
  567. data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/file.rb +46 -0
  568. data/sub/avm-tools/sub/avm-git/lib/avm/git/commit.rb +59 -0
  569. data/sub/avm-tools/sub/avm-git/lib/avm/git/file_auto_fixup.rb +83 -0
  570. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/commits.rb +42 -0
  571. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +23 -0
  572. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +61 -0
  573. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +39 -0
  574. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/push.rb +60 -0
  575. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/remote.rb +33 -0
  576. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/test.rb +40 -0
  577. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +28 -0
  578. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/validation.rb +39 -0
  579. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/validations.rb +53 -0
  580. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +19 -0
  581. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete.rb +66 -0
  582. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/deliver.rb +56 -0
  583. data/sub/avm-tools/sub/avm-git/lib/avm/git/issue.rb +11 -0
  584. data/sub/avm-tools/sub/avm-git/lib/avm/git/organize/reference_update.rb +34 -0
  585. data/sub/avm-tools/sub/avm-git/lib/avm/git/organize/repository.rb +76 -0
  586. data/sub/avm-tools/sub/avm-git/lib/avm/git/organize.rb +11 -0
  587. data/sub/avm-tools/sub/avm-git/lib/avm/git/revision_test.rb +105 -0
  588. data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/git/change_tracker.rb +35 -0
  589. data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/git/commit.rb +55 -0
  590. data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/git.rb +73 -0
  591. data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +39 -0
  592. data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/provider.rb +19 -0
  593. data/sub/avm-tools/sub/avm-git/lib/avm/git/scms.rb +11 -0
  594. data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_check/parent.rb +51 -0
  595. data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_check/remote.rb +89 -0
  596. data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_check/show_result.rb +32 -0
  597. data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_check.rb +38 -0
  598. data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_checks.rb +59 -0
  599. data/sub/avm-tools/sub/avm-git/lib/avm/git/version.rb +7 -0
  600. data/sub/avm-tools/sub/avm-git/lib/avm/git.rb +11 -0
  601. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/auto_commit_path_spec.rb +21 -0
  602. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/deploy_spec.rb +93 -0
  603. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb +13 -0
  604. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +1 -0
  605. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
  606. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +1 -0
  607. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
  608. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +1 -0
  609. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
  610. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +2 -0
  611. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
  612. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
  613. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
  614. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit_spec.rb +56 -0
  615. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/scms/git_spec.rb +8 -0
  616. data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +8 -0
  617. data/sub/avm-tools/sub/avm-git/spec/rubocop_spec.rb +3 -0
  618. data/sub/avm-tools/sub/avm-git/spec/spec_helper.rb +4 -0
  619. data/sub/avm-tools/sub/eac_config/Gemfile +5 -0
  620. data/sub/avm-tools/sub/eac_config/eac_config.gemspec +19 -0
  621. data/sub/avm-tools/sub/eac_config/lib/eac_config/entry.rb +53 -0
  622. data/sub/avm-tools/sub/eac_config/lib/eac_config/entry_path.rb +41 -0
  623. data/sub/avm-tools/sub/eac_config/lib/eac_config/envvars_node/entry.rb +54 -0
  624. data/sub/avm-tools/sub/eac_config/lib/eac_config/envvars_node.rb +25 -0
  625. data/sub/avm-tools/sub/eac_config/lib/eac_config/load_nodes_search.rb +39 -0
  626. data/sub/avm-tools/sub/eac_config/lib/eac_config/load_path.rb +28 -0
  627. data/sub/avm-tools/sub/eac_config/lib/eac_config/node.rb +67 -0
  628. data/sub/avm-tools/sub/eac_config/lib/eac_config/node_entry.rb +22 -0
  629. data/sub/avm-tools/sub/eac_config/lib/eac_config/node_uri.rb +38 -0
  630. data/sub/avm-tools/sub/eac_config/lib/eac_config/old_configs/base.rb +43 -0
  631. data/sub/avm-tools/sub/eac_config/lib/eac_config/old_configs/file.rb +47 -0
  632. data/sub/avm-tools/sub/eac_config/lib/eac_config/old_configs.rb +75 -0
  633. data/sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/entry_key_error.rb +8 -0
  634. data/sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/node.rb +67 -0
  635. data/sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/path_search.rb +39 -0
  636. data/sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash.rb +63 -0
  637. data/sub/avm-tools/sub/eac_config/lib/eac_config/rspec/setup.rb +65 -0
  638. data/sub/avm-tools/sub/eac_config/lib/eac_config/rspec.rb +9 -0
  639. data/sub/avm-tools/sub/eac_config/lib/eac_config/version.rb +5 -0
  640. data/sub/avm-tools/sub/eac_config/lib/eac_config/yaml_file_node/entry.rb +36 -0
  641. data/sub/avm-tools/sub/eac_config/lib/eac_config/yaml_file_node.rb +47 -0
  642. data/sub/avm-tools/sub/eac_config/lib/eac_config.rb +7 -0
  643. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/entry_path_spec.rb +30 -0
  644. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb +14 -0
  645. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/envvars_node_spec.rb +40 -0
  646. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/old_configs_spec.rb +46 -0
  647. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/paths_hash_spec.rb +88 -0
  648. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb +52 -0
  649. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml +6 -0
  650. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml +2 -0
  651. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml +2 -0
  652. data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml +4 -0
  653. data/sub/avm-tools/sub/eac_config/spec/rubocop_spec.rb +3 -0
  654. data/sub/avm-tools/sub/eac_config/spec/spec_helper.rb +4 -0
  655. data/sub/avm-tools/sub/eac_docker/Gemfile +5 -0
  656. data/sub/avm-tools/sub/eac_docker/eac_docker.gemspec +19 -0
  657. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/container.rb +78 -0
  658. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/debug.rb +15 -0
  659. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/executables.rb +18 -0
  660. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images/base.rb +14 -0
  661. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images/coded.rb +43 -0
  662. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images/named.rb +30 -0
  663. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images/templatized.rb +41 -0
  664. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images.rb +9 -0
  665. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/registry.rb +17 -0
  666. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/rspec/setup.rb +17 -0
  667. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/rspec.rb +9 -0
  668. data/sub/avm-tools/sub/eac_docker/lib/eac_docker/version.rb +5 -0
  669. data/sub/avm-tools/sub/eac_docker/lib/eac_docker.rb +7 -0
  670. data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/executables_spec.rb +9 -0
  671. data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/coded_spec.rb +12 -0
  672. data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile +1 -0
  673. data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb +18 -0
  674. data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile +1 -0
  675. data/sub/avm-tools/sub/eac_docker/spec/rubocop_spec.rb +3 -0
  676. data/sub/avm-tools/sub/eac_docker/spec/spec_helper.rb +4 -0
  677. data/sub/avm-tools/sub/eac_git/Gemfile +5 -0
  678. data/sub/avm-tools/sub/eac_git/eac_git.gemspec +20 -0
  679. data/sub/avm-tools/sub/eac_git/lib/eac_git/executables.rb +48 -0
  680. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/branch.rb +27 -0
  681. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/commit/archive.rb +19 -0
  682. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/commit/changed_file.rb +46 -0
  683. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/commit/diff_tree_line.rb +32 -0
  684. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/commit.rb +73 -0
  685. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/dirty_files.rb +37 -0
  686. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/log.rb +17 -0
  687. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/remote.rb +27 -0
  688. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/remotes.rb +20 -0
  689. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/subrepo/config.rb +43 -0
  690. data/sub/avm-tools/sub/eac_git/lib/eac_git/local/subrepo.rb +49 -0
  691. data/sub/avm-tools/sub/eac_git/lib/eac_git/local.rb +126 -0
  692. data/sub/avm-tools/sub/eac_git/lib/eac_git/remote/ls_result.rb +20 -0
  693. data/sub/avm-tools/sub/eac_git/lib/eac_git/remote.rb +19 -0
  694. data/sub/avm-tools/sub/eac_git/lib/eac_git/rspec/setup.rb +23 -0
  695. data/sub/avm-tools/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb +71 -0
  696. data/sub/avm-tools/sub/eac_git/lib/eac_git/rspec.rb +9 -0
  697. data/sub/avm-tools/sub/eac_git/lib/eac_git/version.rb +5 -0
  698. data/sub/avm-tools/sub/eac_git/lib/eac_git.rb +7 -0
  699. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/executables_spec.rb +13 -0
  700. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb +13 -0
  701. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out +1 -0
  702. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
  703. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out +1 -0
  704. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
  705. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out +1 -0
  706. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
  707. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out +2 -0
  708. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
  709. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
  710. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
  711. data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit_spec.rb +58 -0
  712. data/sub/avm-tools/sub/eac_git/spec/rubocop_spec.rb +3 -0
  713. data/sub/avm-tools/sub/eac_git/spec/spec_helper.rb +4 -0
  714. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/Changes +110 -0
  715. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/Intro.pod +509 -0
  716. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/License +21 -0
  717. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/Makefile +82 -0
  718. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/Meta +28 -0
  719. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ReadMe.pod +698 -0
  720. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/doc/comparison.swim +35 -0
  721. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/doc/git-subrepo.swim +608 -0
  722. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/doc/intro-to-subrepo.swim +387 -0
  723. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/Changes +15 -0
  724. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/License +21 -0
  725. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/Makefile +45 -0
  726. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/Meta +28 -0
  727. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/ReadMe.pod +77 -0
  728. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/bin/bash+ +43 -0
  729. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/doc/bash+.swim +61 -0
  730. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/lib/bash+.bash +92 -0
  731. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man1/bash+.1 +134 -0
  732. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man3/bash+.3 +134 -0
  733. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/base.t +12 -0
  734. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/fcopy.t +22 -0
  735. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/bar.bash +3 -0
  736. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/foo.bash +3 -0
  737. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+-std.t +18 -0
  738. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+.t +23 -0
  739. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/test.bash +70 -0
  740. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t +19 -0
  741. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Changes +15 -0
  742. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/License +21 -0
  743. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Makefile +20 -0
  744. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Meta +30 -0
  745. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ReadMe.pod +115 -0
  746. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/doc/test-more.swim +89 -0
  747. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Changes +15 -0
  748. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/License +21 -0
  749. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Makefile +45 -0
  750. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Meta +28 -0
  751. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/ReadMe.pod +77 -0
  752. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/bin/bash+ +43 -0
  753. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/doc/bash+.swim +61 -0
  754. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/lib/bash+.bash +92 -0
  755. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man1/bash+.1 +134 -0
  756. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man3/bash+.3 +134 -0
  757. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/base.t +12 -0
  758. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/fcopy.t +22 -0
  759. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/bar.bash +3 -0
  760. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/foo.bash +3 -0
  761. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+-std.t +18 -0
  762. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+.t +23 -0
  763. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/test.bash +70 -0
  764. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t +19 -0
  765. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Changes +15 -0
  766. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/License +21 -0
  767. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile +37 -0
  768. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Meta +28 -0
  769. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/ReadMe.pod +66 -0
  770. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/doc/test-tap.swim +48 -0
  771. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/lib/test/tap.bash +153 -0
  772. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/man/man3/test-tap.3 +119 -0
  773. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/bail_out.t +13 -0
  774. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/done.t +10 -0
  775. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail.t +20 -0
  776. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail_fast.t +15 -0
  777. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/helper.bash +9 -0
  778. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/pass.t +9 -0
  779. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/plan.t +10 -0
  780. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/skip_all.t +20 -0
  781. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/tap.t +13 -0
  782. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/bail.t +14 -0
  783. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail.t +7 -0
  784. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail_fast.t +12 -0
  785. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-init.t +8 -0
  786. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-plan.t +9 -0
  787. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/lib/test/more.bash +95 -0
  788. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/man/man3/test-more.3 +173 -0
  789. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/fail.t +20 -0
  790. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/more.t +20 -0
  791. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/pass.t +9 -0
  792. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/setup +8 -0
  793. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/skip_all.t +11 -0
  794. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/fail1.t +12 -0
  795. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/skip_all.t +10 -0
  796. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/lib/git-subrepo +1903 -0
  797. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +1 -0
  798. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/help-functions.bash +339 -0
  799. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/man/man1/git-subrepo.1 +743 -0
  800. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/0.4.0 +12 -0
  801. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/AllGitCmds +148 -0
  802. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Cases +32 -0
  803. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Commands +33 -0
  804. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Dags +199 -0
  805. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Gists +7 -0
  806. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Links +25 -0
  807. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Plugins +10 -0
  808. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Spec +39 -0
  809. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Story1 +57 -0
  810. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/ToDo +55 -0
  811. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/design.swim +137 -0
  812. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/design2.swim +85 -0
  813. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/init-test +38 -0
  814. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/pull-dance.txt +18 -0
  815. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/recreate-rebase-conflict.sh +56 -0
  816. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/subtree-rebase-fail-example/test.bash +29 -0
  817. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/test-subrepo-push.sh +69 -0
  818. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/test.sh +58 -0
  819. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-completion.pl +210 -0
  820. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-help-functions.pl +89 -0
  821. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/share/completion.bash +42 -0
  822. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/share/enable-completion.sh +50 -0
  823. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/share/git-completion.bash +2738 -0
  824. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/share/zsh-completion/_git-subrepo +81 -0
  825. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/branch-all.t +41 -0
  826. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/branch-rev-list-one-path.t +43 -0
  827. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/branch-rev-list.t +47 -0
  828. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/branch.t +52 -0
  829. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/clean.t +43 -0
  830. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/clone-annotated-tag.t +45 -0
  831. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/clone.t +107 -0
  832. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/compile.t +19 -0
  833. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/config.t +58 -0
  834. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/encode.t +91 -0
  835. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/error.t +171 -0
  836. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/fetch.t +43 -0
  837. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/gitignore.t +61 -0
  838. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/init.t +64 -0
  839. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/issue29.t +98 -0
  840. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/issue95.t +98 -0
  841. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/issue96.t +96 -0
  842. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-all.t +38 -0
  843. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-merge.t +113 -0
  844. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-message.t +88 -0
  845. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-new-branch.t +58 -0
  846. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-ours.t +90 -0
  847. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-theirs.t +82 -0
  848. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-twice.t +44 -0
  849. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-worktree.t +40 -0
  850. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull.t +99 -0
  851. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-after-init.t +51 -0
  852. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-force.t +56 -0
  853. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-new-branch.t +61 -0
  854. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-no-changes.t +29 -0
  855. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-squash.t +56 -0
  856. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push.t +176 -0
  857. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/reclone.t +45 -0
  858. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/HEAD +1 -0
  859. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/config +4 -0
  860. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/1f/0c4b264caed0126814a0ede851a1e0b4e16ae6 +0 -0
  861. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/87/46903fdb1b9c2101377880125917c2e05b4d69 +0 -0
  862. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/94/c86ffc745232d89f78c6f895e11e71272518db +0 -0
  863. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/c6/76c57b6576743fa56278527aa60ebd2e202a7c +0 -0
  864. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  865. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/f6/2a8ff3feadf39b0a98f1a86ec6d1eb33858ee9 +0 -0
  866. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/heads/master +1 -0
  867. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/tags/A +1 -0
  868. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/HEAD +1 -0
  869. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/config +4 -0
  870. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/a0/f4cdaaf533a936296cdebbed8206c3b9ededa8 +0 -0
  871. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/e2/1291a1ad392a9d4c51dd9586804f1467b28afd +0 -0
  872. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  873. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/refs/heads/master +1 -0
  874. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/HEAD +1 -0
  875. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/config +5 -0
  876. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/11/523f5dcf03b4c89b592dc8a3d0308f68da2386 +0 -0
  877. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/14/2addf8ec5f37334e837440122c62f2c68a29ad +0 -0
  878. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/32/5180321750a21cd7a4e7ecda319e557a4f6a09 +2 -0
  879. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/3d/918c6901c02f43af5d31779dd5e1f9166aeb36 +0 -0
  880. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/3e/4cb596066dce63ba4d047abddb677389b65e19 +0 -0
  881. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/4b/6e53022e7a04f07887697e4f3d7c377fd9822b +0 -0
  882. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/58/931fc1bd559b59c41ea738fc7ad04f9ad01bd3 +0 -0
  883. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/5e/c0c28e1b806f25efdca18fcf7a74b49c3755bd +0 -0
  884. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/75/fa6584e748f57eff06eebdc55e9ac21d4fcbf2 +1 -0
  885. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/80/2d5edbd5e1cb7fca82b5bd38e7c8a0a496fb20 +0 -0
  886. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/94/7b3d714c38791e95ad6f928b48c98bb8708acd +0 -0
  887. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/95/e1f2df3f4d5f3d7a60588c25a7ca8a913d3c2a +1 -0
  888. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/b1/5f4a7666baf40d949548ead946a3370e273479 +0 -0
  889. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/c3/ee8978c4c5d84c3b7d00ba8e5906933d027882 +0 -0
  890. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/c8/b0bffbc405ef3fad7354ff833fbec36d67ddfa +3 -0
  891. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/dd/8bdb934ec848137f011fe423b185505c343626 +2 -0
  892. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/e2/9be58c767cfeb27235c995d293a7d71aac0135 +2 -0
  893. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/ee/1224401fc6aac595145fa727dcf6706ac8aec1 +1 -0
  894. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/f1/cc1a657b2e805c400f5dcaaa76bd29c6178b1b +0 -0
  895. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/refs/heads/master +1 -0
  896. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/setup +205 -0
  897. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/status.t +68 -0
  898. data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/submodule.t +45 -0
  899. data/sub/avm-tools/sub/eac_rest/Gemfile +5 -0
  900. data/sub/avm-tools/sub/eac_rest/eac_rest.gemspec +18 -0
  901. data/sub/avm-tools/sub/eac_rest/lib/eac_rest/api.rb +50 -0
  902. data/sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb +16 -0
  903. data/sub/avm-tools/sub/eac_rest/lib/eac_rest/request.rb +95 -0
  904. data/sub/avm-tools/sub/eac_rest/lib/eac_rest/response.rb +112 -0
  905. data/sub/avm-tools/sub/eac_rest/lib/eac_rest/version.rb +5 -0
  906. data/sub/avm-tools/sub/eac_rest/lib/eac_rest.rb +7 -0
  907. data/sub/avm-tools/sub/eac_rest/spec/rubocop_spec.rb +3 -0
  908. data/sub/avm-tools/sub/eac_rest/spec/spec_helper.rb +4 -0
  909. data/sub/avm-tools/sub/eac_templates/Gemfile +5 -0
  910. data/sub/avm-tools/sub/eac_templates/eac_templates.gemspec +19 -0
  911. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/core_ext.rb +4 -0
  912. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/directory.rb +108 -0
  913. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/file.rb +48 -0
  914. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/from_all_gems.rb +4 -0
  915. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/from_gem.rb +35 -0
  916. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/erb_template.rb +9 -0
  917. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb +10 -0
  918. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module.rb +4 -0
  919. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/object/erb_template.rb +9 -0
  920. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/object/template.rb +9 -0
  921. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/object.rb +4 -0
  922. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches.rb +4 -0
  923. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/searcher.rb +53 -0
  924. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_not_found_error.rb +5 -0
  925. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/base.rb +21 -0
  926. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/config_reader.rb +27 -0
  927. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/entries_reader.rb +23 -0
  928. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/generic.rb +23 -0
  929. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/hash.rb +27 -0
  930. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers.rb +23 -0
  931. data/sub/avm-tools/sub/eac_templates/lib/eac_templates/version.rb +5 -0
  932. data/sub/avm-tools/sub/eac_templates/lib/eac_templates.rb +7 -0
  933. data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/file_spec.rb +35 -0
  934. data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/file_spec_files/expected_content +2 -0
  935. data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/file_spec_files/source.template +2 -0
  936. data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/searcher_spec.rb +30 -0
  937. data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file1.template +1 -0
  938. data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file2 +1 -0
  939. data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path2/subdir1/file3.template +1 -0
  940. data/sub/avm-tools/sub/eac_templates/spec/lib/object/template_spec.rb +23 -0
  941. data/sub/avm-tools/sub/eac_templates/spec/lib/object/template_spec_files/path/my_stub_with_template +1 -0
  942. data/sub/avm-tools/sub/eac_templates/spec/rubocop_spec.rb +3 -0
  943. data/sub/avm-tools/sub/eac_templates/spec/spec_helper.rb +4 -0
  944. data/sub/avm-tools/template/avm/eac_wordpress_base0/deploy/wp-config.php.template +90 -0
  945. data/sub/avm-tools/template/avm/eac_writings_base0/commons/all.tex +5 -0
  946. data/sub/avm-tools/template/avm/eac_writings_base0/commons/ebook.tex +11 -0
  947. data/sub/avm-tools/template/avm/eac_writings_base0/commons/images.tex +11 -0
  948. data/sub/avm-tools/template/avm/eac_writings_base0/commons/links.tex +2 -0
  949. data/sub/avm-tools/template/avm/eac_writings_base0/commons/portuguese.tex +8 -0
  950. data/sub/avm-tools/template/avm/eac_writings_base0/commons/source_code/java.tex +15 -0
  951. data/sub/avm-tools/template/avm/eac_writings_base0/commons/source_code.tex +21 -0
  952. data/sub/avm-tools/template/avm/eac_writings_base0/commons/utils.tex +6 -0
  953. data/sub/avm-tools/template/avm/eac_writings_base0/deploy/index.html.template +9 -0
  954. data/sub/avm-tools/template/avm/ruby/gems/generator/gemspec.template +18 -0
  955. data/sub/avm-tools/template/avm/ruby/gems/generator/root_lib.template +7 -0
  956. data/sub/avm-tools/template/avm/ruby/gems/generator/static/Gemfile +5 -0
  957. data/sub/avm-tools/template/avm/ruby/gems/generator/static/spec/rubocop_spec.rb +3 -0
  958. data/sub/avm-tools/template/avm/ruby/gems/generator/static/spec/spec_helper.rb +4 -0
  959. data/sub/avm-tools/template/avm/ruby/gems/generator/version.template +5 -0
  960. data/sub/avm-tools/template/avm/self/docker_image/Dockerfile +17 -0
  961. data/sub/avm-tools/template/avm/self/docker_image/entrypoint.sh +12 -0
  962. data/sub/eac_cli/Gemfile +5 -0
  963. data/sub/eac_cli/eac_cli.gemspec +20 -0
  964. data/sub/eac_cli/lib/eac_cli/config/entry/options.rb +57 -0
  965. data/sub/eac_cli/lib/eac_cli/config/entry/undefined.rb +26 -0
  966. data/sub/eac_cli/lib/eac_cli/config/entry.rb +50 -0
  967. data/sub/eac_cli/lib/eac_cli/config.rb +21 -0
  968. data/sub/eac_cli/lib/eac_cli/core_ext.rb +6 -0
  969. data/sub/eac_cli/lib/eac_cli/default_runner.rb +14 -0
  970. data/sub/eac_cli/lib/eac_cli/definition/alternative.rb +80 -0
  971. data/sub/eac_cli/lib/eac_cli/definition/argument_option.rb +21 -0
  972. data/sub/eac_cli/lib/eac_cli/definition/base_option/initialize_args_parser.rb +47 -0
  973. data/sub/eac_cli/lib/eac_cli/definition/base_option.rb +66 -0
  974. data/sub/eac_cli/lib/eac_cli/definition/boolean_option.rb +27 -0
  975. data/sub/eac_cli/lib/eac_cli/definition/positional_argument.rb +61 -0
  976. data/sub/eac_cli/lib/eac_cli/definition.rb +95 -0
  977. data/sub/eac_cli/lib/eac_cli/enum.rb +45 -0
  978. data/sub/eac_cli/lib/eac_cli/old_configs/entry_reader.rb +80 -0
  979. data/sub/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb +16 -0
  980. data/sub/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb +44 -0
  981. data/sub/eac_cli/lib/eac_cli/old_configs/store_passwords_entry_reader.rb +25 -0
  982. data/sub/eac_cli/lib/eac_cli/old_configs.rb +35 -0
  983. data/sub/eac_cli/lib/eac_cli/parser/alternative/argv.rb +17 -0
  984. data/sub/eac_cli/lib/eac_cli/parser/alternative/double_dash.rb +24 -0
  985. data/sub/eac_cli/lib/eac_cli/parser/alternative/long_options.rb +37 -0
  986. data/sub/eac_cli/lib/eac_cli/parser/alternative/option_argument.rb +29 -0
  987. data/sub/eac_cli/lib/eac_cli/parser/alternative/options.rb +29 -0
  988. data/sub/eac_cli/lib/eac_cli/parser/alternative/positionals.rb +30 -0
  989. data/sub/eac_cli/lib/eac_cli/parser/alternative/short_options.rb +47 -0
  990. data/sub/eac_cli/lib/eac_cli/parser/alternative.rb +92 -0
  991. data/sub/eac_cli/lib/eac_cli/parser/collector.rb +46 -0
  992. data/sub/eac_cli/lib/eac_cli/parser/error.rb +15 -0
  993. data/sub/eac_cli/lib/eac_cli/parser.rb +34 -0
  994. data/sub/eac_cli/lib/eac_cli/patches/object/runner_with.rb +26 -0
  995. data/sub/eac_cli/lib/eac_cli/patches/object.rb +5 -0
  996. data/sub/eac_cli/lib/eac_cli/patches.rb +4 -0
  997. data/sub/eac_cli/lib/eac_cli/rspec/setup.rb +42 -0
  998. data/sub/eac_cli/lib/eac_cli/rspec.rb +9 -0
  999. data/sub/eac_cli/lib/eac_cli/runner/after_class_methods.rb +33 -0
  1000. data/sub/eac_cli/lib/eac_cli/runner/class_runner.rb +50 -0
  1001. data/sub/eac_cli/lib/eac_cli/runner/context.rb +40 -0
  1002. data/sub/eac_cli/lib/eac_cli/runner/exit.rb +13 -0
  1003. data/sub/eac_cli/lib/eac_cli/runner/instance_methods.rb +43 -0
  1004. data/sub/eac_cli/lib/eac_cli/runner.rb +49 -0
  1005. data/sub/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb +63 -0
  1006. data/sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb +82 -0
  1007. data/sub/eac_cli/lib/eac_cli/runner_with/help.rb +41 -0
  1008. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands/definition_concern.rb +10 -0
  1009. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +125 -0
  1010. data/sub/eac_cli/lib/eac_cli/runner_with.rb +9 -0
  1011. data/sub/eac_cli/lib/eac_cli/runner_with_set.rb +50 -0
  1012. data/sub/eac_cli/lib/eac_cli/speaker/constants.rb +13 -0
  1013. data/sub/eac_cli/lib/eac_cli/speaker/list.rb +61 -0
  1014. data/sub/eac_cli/lib/eac_cli/speaker/options.rb +38 -0
  1015. data/sub/eac_cli/lib/eac_cli/speaker.rb +126 -0
  1016. data/sub/eac_cli/lib/eac_cli/version.rb +5 -0
  1017. data/sub/eac_cli/lib/eac_cli.rb +7 -0
  1018. data/sub/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb +18 -0
  1019. data/sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb +14 -0
  1020. data/sub/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb +140 -0
  1021. data/sub/eac_cli/spec/lib/eac_cli/runner_spec.rb +129 -0
  1022. data/sub/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb +51 -0
  1023. data/sub/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb +88 -0
  1024. data/sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb +32 -0
  1025. data/sub/eac_cli/spec/rubocop_spec.rb +3 -0
  1026. data/sub/eac_cli/spec/spec_helper.rb +4 -0
  1027. data/sub/eac_fs/Gemfile +5 -0
  1028. data/sub/eac_fs/eac_fs.gemspec +20 -0
  1029. data/sub/eac_fs/lib/eac_fs/cached_download.rb +40 -0
  1030. data/sub/eac_fs/lib/eac_fs/contexts.rb +21 -0
  1031. data/sub/eac_fs/lib/eac_fs/file_info.rb +29 -0
  1032. data/sub/eac_fs/lib/eac_fs/logs/file.rb +56 -0
  1033. data/sub/eac_fs/lib/eac_fs/logs.rb +64 -0
  1034. data/sub/eac_fs/lib/eac_fs/patches/module/fs_cache.rb +15 -0
  1035. data/sub/eac_fs/lib/eac_fs/patches/module.rb +4 -0
  1036. data/sub/eac_fs/lib/eac_fs/patches/object/fs_cache.rb +32 -0
  1037. data/sub/eac_fs/lib/eac_fs/patches/object.rb +4 -0
  1038. data/sub/eac_fs/lib/eac_fs/patches/pathname/info.rb +12 -0
  1039. data/sub/eac_fs/lib/eac_fs/patches/pathname.rb +4 -0
  1040. data/sub/eac_fs/lib/eac_fs/patches.rb +4 -0
  1041. data/sub/eac_fs/lib/eac_fs/storage_tree.rb +62 -0
  1042. data/sub/eac_fs/lib/eac_fs/traversable.rb +45 -0
  1043. data/sub/eac_fs/lib/eac_fs/traverser.rb +76 -0
  1044. data/sub/eac_fs/lib/eac_fs/version.rb +5 -0
  1045. data/sub/eac_fs/lib/eac_fs.rb +7 -0
  1046. data/sub/eac_fs/spec/lib/eac_fs/storage_tree_spec.rb +32 -0
  1047. data/sub/eac_fs/spec/rubocop_spec.rb +3 -0
  1048. data/sub/eac_fs/spec/spec_helper.rb +4 -0
  1049. data/sub/eac_ruby_base0/Gemfile +5 -0
  1050. data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +21 -0
  1051. data/sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb +88 -0
  1052. data/sub/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb +34 -0
  1053. data/sub/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb +5 -0
  1054. data/sub/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb +31 -0
  1055. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb +10 -0
  1056. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb +4 -0
  1057. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb +5 -0
  1058. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb +5 -0
  1059. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches.rb +4 -0
  1060. data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb +14 -0
  1061. data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb +9 -0
  1062. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +92 -0
  1063. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb +42 -0
  1064. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb +52 -0
  1065. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb +36 -0
  1066. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb +58 -0
  1067. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb +9 -0
  1068. data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +5 -0
  1069. data/sub/eac_ruby_base0/lib/eac_ruby_base0.rb +7 -0
  1070. data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb +42 -0
  1071. data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb +81 -0
  1072. data/sub/eac_ruby_base0/spec/rubocop_spec.rb +3 -0
  1073. data/sub/eac_ruby_base0/spec/spec_helper.rb +4 -0
  1074. data/sub/eac_ruby_utils/Gemfile +16 -0
  1075. data/sub/eac_ruby_utils/MIT-LICENCE +16 -0
  1076. data/sub/eac_ruby_utils/README.rdoc +3 -0
  1077. data/sub/eac_ruby_utils/eac_ruby_utils.gemspec +24 -0
  1078. data/sub/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb +68 -0
  1079. data/sub/eac_ruby_utils/lib/eac_ruby_utils/arguments_consumer.rb +81 -0
  1080. data/sub/eac_ruby_utils/lib/eac_ruby_utils/bit.rb +46 -0
  1081. data/sub/eac_ruby_utils/lib/eac_ruby_utils/bit_array.rb +81 -0
  1082. data/sub/eac_ruby_utils/lib/eac_ruby_utils/blank_not_blank.rb +19 -0
  1083. data/sub/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb +31 -0
  1084. data/sub/eac_ruby_utils/lib/eac_ruby_utils/by_reference.rb +23 -0
  1085. data/sub/eac_ruby_utils/lib/eac_ruby_utils/byte.rb +105 -0
  1086. data/sub/eac_ruby_utils/lib/eac_ruby_utils/byte_array.rb +36 -0
  1087. data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern/class_setup.rb +52 -0
  1088. data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern/module_setup.rb +41 -0
  1089. data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb +20 -0
  1090. data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/class_initialize.rb +29 -0
  1091. data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/instance_initialize.rb +53 -0
  1092. data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/super_args.rb +54 -0
  1093. data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor.rb +89 -0
  1094. data/sub/eac_ruby_utils/lib/eac_ruby_utils/compact.rb +22 -0
  1095. data/sub/eac_ruby_utils/lib/eac_ruby_utils/compare_by.rb +28 -0
  1096. data/sub/eac_ruby_utils/lib/eac_ruby_utils/context.rb +33 -0
  1097. data/sub/eac_ruby_utils/lib/eac_ruby_utils/contextualizable.rb +21 -0
  1098. data/sub/eac_ruby_utils/lib/eac_ruby_utils/core_ext.rb +7 -0
  1099. data/sub/eac_ruby_utils/lib/eac_ruby_utils/custom_format.rb +53 -0
  1100. data/sub/eac_ruby_utils/lib/eac_ruby_utils/enum.rb +102 -0
  1101. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/base_env.rb +28 -0
  1102. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/concat.rb +33 -0
  1103. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/envvars.rb +24 -0
  1104. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/extra_options.rb +33 -0
  1105. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command.rb +172 -0
  1106. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/executable.rb +81 -0
  1107. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/file.rb +22 -0
  1108. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/local_env.rb +17 -0
  1109. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/process.rb +27 -0
  1110. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/spawn.rb +32 -0
  1111. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb +53 -0
  1112. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb +25 -0
  1113. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb +24 -0
  1114. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb +34 -0
  1115. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env.rb +75 -0
  1116. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs.rb +23 -0
  1117. data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb +57 -0
  1118. data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb +30 -0
  1119. data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/directory.rb +16 -0
  1120. data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/file.rb +34 -0
  1121. data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp.rb +52 -0
  1122. data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs.rb +9 -0
  1123. data/sub/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb +79 -0
  1124. data/sub/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb +35 -0
  1125. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb +32 -0
  1126. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/base_accessor.rb +23 -0
  1127. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/boolean_accessor.rb +16 -0
  1128. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/class_methods.rb +20 -0
  1129. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/common_accessor.rb +30 -0
  1130. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb +46 -0
  1131. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/instance_methods.rb +21 -0
  1132. data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable.rb +15 -0
  1133. data/sub/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb +29 -0
  1134. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/class_methods.rb +14 -0
  1135. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/instance_methods.rb +30 -0
  1136. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/integer_list.rb +23 -0
  1137. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb +111 -0
  1138. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/lists.rb +59 -0
  1139. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/string_list.rb +19 -0
  1140. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/symbol_list.rb +19 -0
  1141. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/value.rb +49 -0
  1142. data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable.rb +17 -0
  1143. data/sub/eac_ruby_utils/lib/eac_ruby_utils/local_time_zone.rb +48 -0
  1144. data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/from_all_gems.rb +4 -0
  1145. data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/from_gem.rb +47 -0
  1146. data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/module_i18n_translate.rb +74 -0
  1147. data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales.rb +9 -0
  1148. data/sub/eac_ruby_utils/lib/eac_ruby_utils/method_class.rb +35 -0
  1149. data/sub/eac_ruby_utils/lib/eac_ruby_utils/options_consumer.rb +62 -0
  1150. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patch.rb +11 -0
  1151. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/abstract.rb +9 -0
  1152. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/common_constructor.rb +9 -0
  1153. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/self_included_modules.rb +7 -0
  1154. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/settings_provider.rb +10 -0
  1155. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class.rb +4 -0
  1156. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb +45 -0
  1157. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable.rb +4 -0
  1158. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/current.rb +9 -0
  1159. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/stopped.rb +14 -0
  1160. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator.rb +4 -0
  1161. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/options_consumer.rb +10 -0
  1162. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb +10 -0
  1163. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb +10 -0
  1164. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash.rb +5 -0
  1165. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel/nyi.rb +10 -0
  1166. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel.rb +4 -0
  1167. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb +10 -0
  1168. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/common_concern.rb +9 -0
  1169. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/compare_by.rb +9 -0
  1170. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/context.rb +11 -0
  1171. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/i18n_translate.rb +9 -0
  1172. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb +10 -0
  1173. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/listable.rb +10 -0
  1174. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/method_class.rb +9 -0
  1175. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/patch.rb +9 -0
  1176. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/require_sub.rb +9 -0
  1177. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/simple_cache.rb +10 -0
  1178. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/speaker.rb +9 -0
  1179. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module.rb +4 -0
  1180. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb +25 -0
  1181. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/call_if_proc.rb +11 -0
  1182. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/compact.rb +20 -0
  1183. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb +23 -0
  1184. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/i18n_translate.rb +13 -0
  1185. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_nil.rb +17 -0
  1186. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb +19 -0
  1187. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb +22 -0
  1188. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb +15 -0
  1189. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_uri.rb +15 -0
  1190. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb +5 -0
  1191. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_noext.rb +10 -0
  1192. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb +9 -0
  1193. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/if_exist.rb +10 -0
  1194. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/mkpath_s.rb +12 -0
  1195. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/parent_n.rb +11 -0
  1196. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/readlink_r.rb +11 -0
  1197. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/reqdir_glob.rb +13 -0
  1198. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb +4 -0
  1199. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb +16 -0
  1200. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb +10 -0
  1201. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb +4 -0
  1202. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string/delimited.rb +16 -0
  1203. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb +11 -0
  1204. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb +4 -0
  1205. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb +11 -0
  1206. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb +4 -0
  1207. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches.rb +4 -0
  1208. data/sub/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb +51 -0
  1209. data/sub/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb +34 -0
  1210. data/sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb +134 -0
  1211. data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb +20 -0
  1212. data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb +17 -0
  1213. data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb +12 -0
  1214. data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb +49 -0
  1215. data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb +39 -0
  1216. data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb +9 -0
  1217. data/sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb +32 -0
  1218. data/sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb +38 -0
  1219. data/sub/eac_ruby_utils/lib/eac_ruby_utils/ruby.rb +9 -0
  1220. data/sub/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb +69 -0
  1221. data/sub/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb +46 -0
  1222. data/sub/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb +77 -0
  1223. data/sub/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb +64 -0
  1224. data/sub/eac_ruby_utils/lib/eac_ruby_utils/speaker/sender.rb +32 -0
  1225. data/sub/eac_ruby_utils/lib/eac_ruby_utils/speaker.rb +16 -0
  1226. data/sub/eac_ruby_utils/lib/eac_ruby_utils/string_delimited.rb +70 -0
  1227. data/sub/eac_ruby_utils/lib/eac_ruby_utils/struct.rb +63 -0
  1228. data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +5 -0
  1229. data/sub/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb +105 -0
  1230. data/sub/eac_ruby_utils/lib/eac_ruby_utils.rb +6 -0
  1231. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/abstract_methods_spec.rb +28 -0
  1232. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb +17 -0
  1233. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/bit_array_spec.rb +22 -0
  1234. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb +16 -0
  1235. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/byte_spec.rb +54 -0
  1236. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/common_concern_spec.rb +65 -0
  1237. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/common_constructor_spec.rb +125 -0
  1238. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/compact_spec.rb +20 -0
  1239. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/compare_by_spec.rb +38 -0
  1240. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/custom_format_spec.rb +60 -0
  1241. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/enum_spec.rb +43 -0
  1242. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/executable_spec.rb +37 -0
  1243. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/ssh_env_spec.rb +25 -0
  1244. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/extname_spec.rb +18 -0
  1245. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/directory_spec.rb +12 -0
  1246. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb +52 -0
  1247. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb +16 -0
  1248. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb +275 -0
  1249. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/local_time_zone_spec.rb +17 -0
  1250. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/method_class_spec.rb +46 -0
  1251. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb +80 -0
  1252. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb +25 -0
  1253. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/self_included_modules_spec.rb +30 -0
  1254. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb +39 -0
  1255. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb +26 -0
  1256. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb +32 -0
  1257. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/options_consumer_spec.rb +17 -0
  1258. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb +13 -0
  1259. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/compare_by_spec.rb +36 -0
  1260. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb +15 -0
  1261. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/method_class_spec.rb +20 -0
  1262. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb +15 -0
  1263. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/speaker_spec.rb +13 -0
  1264. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/call_if_proc_spec.rb +11 -0
  1265. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/compact_spec.rb +20 -0
  1266. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb +13 -0
  1267. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template +1 -0
  1268. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_noext_spec.rb +26 -0
  1269. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb +17 -0
  1270. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb +33 -0
  1271. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/string/delimited_spec.rb +34 -0
  1272. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb +65 -0
  1273. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb +6 -0
  1274. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb +6 -0
  1275. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb +19 -0
  1276. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/ruby_spec.rb +22 -0
  1277. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb +57 -0
  1278. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb +129 -0
  1279. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb +57 -0
  1280. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/yaml_spec.rb +75 -0
  1281. data/sub/eac_ruby_utils/spec/locales/pt-BR.yml +58 -0
  1282. data/sub/eac_ruby_utils/spec/rubocop_check_spec.rb +3 -0
  1283. data/sub/eac_ruby_utils/spec/spec_helper.rb +15 -0
  1284. metadata +1291 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6179cb52f3708d13732aea02ac28aa4b3ed2baf5613147d1518472a45ed6c472
4
- data.tar.gz: 23977832db7b05883bd82aa26e8395cce3b1f3273b51fd5b71a0ba73b9e2e76f
3
+ metadata.gz: 9f62da51457512bc25b5321faa19507d05bd3fa231950ef6cfcbf39f70809f39
4
+ data.tar.gz: 641dc2b412c60738c9d5acb21d217cdcb5459430501c63498114d0336a6b7465
5
5
  SHA512:
6
- metadata.gz: 6fc57397cbe4e1d1aec320fdbf7e4b6f1ae6f461121a906309e272697fe89f559390c940f50513b04bd30f1260843d4a28a71ddd19a66e167b3e1a76c58d8774
7
- data.tar.gz: 101b185d7436589ab2a183f568b2de5c518eec9538fd956cd96db138a2ec84fa061f253c09ab2e4dbdde8eddcc3c59b77c69b0d3f104d33f174989d064f96b6d
6
+ metadata.gz: a5a9048310a062489b32ecf8578dfdfad82a3d8ee9d7da42fdd1ea368d1c31d218828ff62641ce5b755a944f4310e268d85bff1f2adacf6c932bdbe47f1ae3ac
7
+ data.tar.gz: 82da69b9433611450a88634316e05e162d3af4fccb9da97b51747fe42fcfd535f2462111ab9152e56ffd07d04c55381b0297cfefce1b0f6b0249c4405a45d1ff
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
6
+
7
+ ::Dir["#{::File.join(__dir__, 'sub')}/*"].each do |dir|
8
+ gem ::File.basename(dir), path: dir, require: false
9
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,312 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ eac_tools (0.4.0)
5
+ avm-eac_generic_base0 (~> 0.3)
6
+ avm-eac_rails_base1 (~> 0.3, >= 0.3.1)
7
+ avm-eac_redmine_base0 (~> 0.8)
8
+ avm-eac_redmine_plugin_base0 (~> 0.1, >= 0.1.1)
9
+ avm-eac_ruby_base1 (~> 0.9)
10
+ avm-tools (~> 0.121)
11
+ eac_ruby_utils (~> 0.95, >= 0.95.2)
12
+
13
+ PATH
14
+ remote: sub/avm-eac_generic_base0
15
+ specs:
16
+ avm-eac_generic_base0 (0.3.0)
17
+ avm (~> 0.24)
18
+ eac_ruby_utils (~> 0.05, >= 0.95.2)
19
+
20
+ PATH
21
+ remote: sub/avm-eac_rails_base1
22
+ specs:
23
+ avm-eac_rails_base1 (0.3.2)
24
+ avm-eac_ruby_base1 (~> 0.8)
25
+ avm-eac_webapp_base0 (~> 0.3)
26
+ eac_ruby_utils (~> 0.95, >= 0.95.1)
27
+
28
+ PATH
29
+ remote: sub/avm-eac_redmine_base0
30
+ specs:
31
+ avm-eac_redmine_base0 (0.8.0)
32
+ avm-eac_rails_base1 (~> 0.3)
33
+ avm-eac_ubuntu_base0 (~> 0.2)
34
+ curb (~> 0.9.10)
35
+ eac_fs (~> 0.4)
36
+ eac_rest (~> 0.4)
37
+ eac_ruby_utils (~> 0.68)
38
+
39
+ PATH
40
+ remote: sub/avm-eac_redmine_plugin_base0
41
+ specs:
42
+ avm-eac_redmine_plugin_base0 (0.1.1)
43
+ avm-eac_ruby_base1 (~> 0.8, >= 0.8.1)
44
+ eac_ruby_utils (~> 0.95, >= 0.95.1)
45
+
46
+ PATH
47
+ remote: sub/avm-eac_ruby_base1
48
+ specs:
49
+ avm-eac_ruby_base1 (0.9.0)
50
+ avm (~> 0.23)
51
+ avm-eac_generic_base0 (~> 0.2)
52
+ eac_ruby_utils (~> 0.95, >= 0.95.1)
53
+
54
+ PATH
55
+ remote: sub/avm-tools
56
+ specs:
57
+ avm-tools (0.121.1)
58
+ aranha-parsers (~> 0.4)
59
+ avm (~> 0.22)
60
+ avm-eac_asciidoctor_base0 (~> 0.3, >= 0.3.4)
61
+ avm-eac_rails_base0 (~> 0.3)
62
+ avm-eac_redmine_base0 (~> 0.5, >= 0.5.2)
63
+ avm-eac_ruby_base1 (~> 0.8)
64
+ avm-eac_ubuntu_base0 (~> 0.3)
65
+ avm-files (~> 0.1)
66
+ avm-git (~> 0.3, >= 0.3.1)
67
+ clipboard (~> 1.3, >= 1.3.3)
68
+ curb (~> 0.9.10)
69
+ eac_ruby_base0 (~> 0.16, >= 0.16.4)
70
+ git (~> 1.7)
71
+ ruby-progressbar (~> 1.10, >= 1.10.1)
72
+
73
+ PATH
74
+ remote: sub/avm
75
+ specs:
76
+ avm (0.24.0)
77
+ eac_cli (~> 0.27, >= 0.27.6)
78
+ eac_docker (~> 0.3)
79
+ eac_git (~> 0.6)
80
+ eac_ruby_utils (~> 0.95)
81
+ eac_templates (~> 0.1, >= 0.1.1)
82
+ filesize (~> 0.2)
83
+ htmlbeautifier (~> 1.3, >= 1.3.1)
84
+ minitar (~> 0.9)
85
+
86
+ PATH
87
+ remote: sub/eac_cli
88
+ specs:
89
+ eac_cli (0.27.6)
90
+ colorize (~> 0.8.1)
91
+ eac_config (~> 0.8)
92
+ eac_ruby_utils (~> 0.95)
93
+
94
+ PATH
95
+ remote: sub/eac_fs
96
+ specs:
97
+ eac_fs (0.12.2)
98
+ content-type
99
+ eac_ruby_utils (~> 0.70)
100
+ ruby-filemagic
101
+
102
+ PATH
103
+ remote: sub/eac_ruby_base0
104
+ specs:
105
+ eac_ruby_base0 (0.16.5)
106
+ avm-eac_ruby_base1 (~> 0.8)
107
+ eac_cli (~> 0.27, >= 0.27.5)
108
+ eac_fs (~> 0.10)
109
+ eac_ruby_utils (~> 0.95, >= 0.95.1)
110
+
111
+ PATH
112
+ remote: sub/eac_ruby_utils
113
+ specs:
114
+ eac_ruby_utils (0.95.2)
115
+ activesupport (>= 4, < 7)
116
+ addressable (~> 2.6)
117
+ bundler
118
+ filesize
119
+ net-ssh (~> 4.2)
120
+
121
+ GEM
122
+ remote: https://rubygems.org/
123
+ specs:
124
+ activesupport (6.1.6.1)
125
+ concurrent-ruby (~> 1.0, >= 1.0.2)
126
+ i18n (>= 1.6, < 2)
127
+ minitest (>= 5.1)
128
+ tzinfo (~> 2.0)
129
+ zeitwerk (~> 2.3)
130
+ addressable (2.8.0)
131
+ public_suffix (>= 2.0.2, < 5.0)
132
+ aranha-parsers (0.14.1)
133
+ activesupport (>= 4.0.0)
134
+ addressable (~> 2.7)
135
+ curb (~> 0.9.10)
136
+ eac_ruby_utils (~> 0.92, >= 0.92.1)
137
+ faraday-gzip (~> 0.1)
138
+ faraday_middleware
139
+ nokogiri (~> 1.12, >= 1.12.4)
140
+ ofx-parser (~> 1.1.0)
141
+ asciidoctor (2.0.17)
142
+ ast (2.4.2)
143
+ avm-eac_asciidoctor_base0 (0.3.4)
144
+ asciidoctor (~> 2.0, >= 2.0.12)
145
+ avm-eac_webapp_base0 (~> 0.2)
146
+ eac_ruby_utils (~> 0.63)
147
+ os
148
+ rouge (~> 3.26)
149
+ avm-eac_postgresql_base0 (0.2.0)
150
+ avm (~> 0.12, >= 0.12.1)
151
+ eac_ruby_utils (~> 0.82)
152
+ avm-eac_rails_base0 (0.4.1)
153
+ avm-eac_rails_base1 (~> 0.3)
154
+ eac_ruby_utils (~> 0.80, >= 0.80.2)
155
+ avm-eac_ubuntu_base0 (0.3.0)
156
+ avm (~> 0.7)
157
+ eac_ruby_utils (~> 0.77, >= 0.77.1)
158
+ eac_templates (~> 0.3)
159
+ avm-eac_webapp_base0 (0.3.0)
160
+ avm (~> 0.1)
161
+ avm-eac_generic_base0 (~> 0.1)
162
+ avm-eac_postgresql_base0 (~> 0.1)
163
+ avm-eac_ubuntu_base0 (~> 0.3)
164
+ eac_ruby_utils (~> 0.68)
165
+ avm-files (0.3.2)
166
+ avm (~> 0.6)
167
+ eac_fs (~> 0.5)
168
+ eac_ruby_utils (~> 0.76)
169
+ eac_templates (~> 0.2)
170
+ avm-git (0.4.0)
171
+ avm-files (~> 0.1)
172
+ eac_git (~> 0.11)
173
+ eac_ruby_utils (~> 0.76)
174
+ clipboard (1.3.6)
175
+ colorize (0.8.1)
176
+ concurrent-ruby (1.1.10)
177
+ content-type (0.0.2)
178
+ parslet (~> 2.0)
179
+ curb (0.9.11)
180
+ diff-lcs (1.5.0)
181
+ eac_config (0.8.1)
182
+ addressable
183
+ eac_ruby_utils (~> 0.83)
184
+ eac_docker (0.4.1)
185
+ eac_ruby_utils (~> 0.74)
186
+ eac_templates (~> 0.1)
187
+ eac_git (0.12.1)
188
+ eac_ruby_utils (~> 0.83)
189
+ parseconfig (~> 1.0, >= 1.0.8)
190
+ eac_rest (0.6.1)
191
+ eac_ruby_utils (~> 0.70)
192
+ eac_ruby_gem_support (0.5.1)
193
+ eac_ruby_utils (~> 0.74)
194
+ rspec (~> 3.9)
195
+ rubocop (~> 0.80.1)
196
+ rubocop-rails (~> 2.4.2)
197
+ rubocop-rspec (~> 1.38.1)
198
+ eac_templates (0.3.1)
199
+ eac_config (~> 0.5)
200
+ eac_ruby_utils (~> 0.64)
201
+ faraday (1.10.0)
202
+ faraday-em_http (~> 1.0)
203
+ faraday-em_synchrony (~> 1.0)
204
+ faraday-excon (~> 1.1)
205
+ faraday-httpclient (~> 1.0)
206
+ faraday-multipart (~> 1.0)
207
+ faraday-net_http (~> 1.0)
208
+ faraday-net_http_persistent (~> 1.0)
209
+ faraday-patron (~> 1.0)
210
+ faraday-rack (~> 1.0)
211
+ faraday-retry (~> 1.0)
212
+ ruby2_keywords (>= 0.0.4)
213
+ faraday-em_http (1.0.0)
214
+ faraday-em_synchrony (1.0.0)
215
+ faraday-excon (1.1.0)
216
+ faraday-gzip (0.1.0)
217
+ faraday (>= 1.0)
218
+ zlib (~> 2.1)
219
+ faraday-httpclient (1.0.1)
220
+ faraday-multipart (1.0.4)
221
+ multipart-post (~> 2)
222
+ faraday-net_http (1.0.1)
223
+ faraday-net_http_persistent (1.2.0)
224
+ faraday-patron (1.0.0)
225
+ faraday-rack (1.0.0)
226
+ faraday-retry (1.0.3)
227
+ faraday_middleware (1.2.0)
228
+ faraday (~> 1.0)
229
+ filesize (0.2.0)
230
+ git (1.11.0)
231
+ rchardet (~> 1.8)
232
+ hpricot (0.8.6)
233
+ htmlbeautifier (1.4.2)
234
+ i18n (1.12.0)
235
+ concurrent-ruby (~> 1.0)
236
+ jaro_winkler (1.5.4)
237
+ minitar (0.9)
238
+ minitest (5.16.2)
239
+ multipart-post (2.2.3)
240
+ net-ssh (4.2.0)
241
+ nokogiri (1.13.7-x86_64-linux)
242
+ racc (~> 1.4)
243
+ ofx-parser (1.1.0)
244
+ hpricot (>= 0.6)
245
+ os (1.1.4)
246
+ parallel (1.22.1)
247
+ parseconfig (1.1.2)
248
+ parser (3.1.2.0)
249
+ ast (~> 2.4.1)
250
+ parslet (2.0.0)
251
+ public_suffix (4.0.7)
252
+ racc (1.6.0)
253
+ rack (2.2.4)
254
+ rainbow (3.1.1)
255
+ rchardet (1.8.0)
256
+ rexml (3.2.5)
257
+ rouge (3.29.0)
258
+ rspec (3.11.0)
259
+ rspec-core (~> 3.11.0)
260
+ rspec-expectations (~> 3.11.0)
261
+ rspec-mocks (~> 3.11.0)
262
+ rspec-core (3.11.0)
263
+ rspec-support (~> 3.11.0)
264
+ rspec-expectations (3.11.0)
265
+ diff-lcs (>= 1.2.0, < 2.0)
266
+ rspec-support (~> 3.11.0)
267
+ rspec-mocks (3.11.1)
268
+ diff-lcs (>= 1.2.0, < 2.0)
269
+ rspec-support (~> 3.11.0)
270
+ rspec-support (3.11.0)
271
+ rubocop (0.80.1)
272
+ jaro_winkler (~> 1.5.1)
273
+ parallel (~> 1.10)
274
+ parser (>= 2.7.0.1)
275
+ rainbow (>= 2.2.2, < 4.0)
276
+ rexml
277
+ ruby-progressbar (~> 1.7)
278
+ unicode-display_width (>= 1.4.0, < 1.7)
279
+ rubocop-rails (2.4.2)
280
+ rack (>= 1.1)
281
+ rubocop (>= 0.72.0)
282
+ rubocop-rspec (1.38.1)
283
+ rubocop (>= 0.68.1)
284
+ ruby-filemagic (0.7.3)
285
+ ruby-progressbar (1.11.0)
286
+ ruby2_keywords (0.0.5)
287
+ tzinfo (2.0.4)
288
+ concurrent-ruby (~> 1.0)
289
+ unicode-display_width (1.6.1)
290
+ zeitwerk (2.6.0)
291
+ zlib (2.1.1)
292
+
293
+ PLATFORMS
294
+ x86_64-linux
295
+
296
+ DEPENDENCIES
297
+ avm!
298
+ avm-eac_generic_base0!
299
+ avm-eac_rails_base1!
300
+ avm-eac_redmine_base0!
301
+ avm-eac_redmine_plugin_base0!
302
+ avm-eac_ruby_base1!
303
+ avm-tools!
304
+ eac_cli!
305
+ eac_fs!
306
+ eac_ruby_base0!
307
+ eac_ruby_gem_support (~> 0.5.1)
308
+ eac_ruby_utils!
309
+ eac_tools!
310
+
311
+ BUNDLED WITH
312
+ 2.3.17
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacTools
4
- VERSION = '0.2.1'
4
+ VERSION = '0.4.0'
5
5
  end
data/sub/avm/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -0,0 +1,26 @@
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.27', '>= 0.27.6'
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
@@ -0,0 +1,40 @@
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
@@ -0,0 +1,18 @@
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
@@ -0,0 +1,17 @@
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
@@ -0,0 +1,11 @@
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
@@ -0,0 +1,119 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/data/rotate'
4
+ require 'eac_ruby_utils/core_ext'
5
+ require 'minitar'
6
+
7
+ module Avm
8
+ module Data
9
+ class Package
10
+ class Dump
11
+ enable_speaker
12
+ enable_listable
13
+
14
+ DEFAULT_EXPIRE_TIME = 1.day
15
+ DEFAULT_FILE_EXTENSION = '.tar'
16
+
17
+ attr_reader :package, :data_file_path, :existing
18
+
19
+ lists.add_string :existing, :denied, :overwrite, :rotate, :rotate_expired
20
+
21
+ def initialize(package, data_file_path, options = {})
22
+ @package = package
23
+ @data_file_path = data_file_path
24
+ options = options.to_options_consumer
25
+ @existing, @expire_time = options.consume(:existing, :expire_time)
26
+ options.validate
27
+ self.class.lists.existing.value_validate!(@existing)
28
+ end
29
+
30
+ def runnable?
31
+ cannot_run_reason.blank?
32
+ end
33
+
34
+ def cannot_run_reason
35
+ return nil if !data_file_exist? ||
36
+ [EXISTING_OVERWRITE, EXISTING_ROTATE].include?(existing)
37
+
38
+ if existing == EXISTING_DENIED
39
+ 'Data exist and overwriting is denied'
40
+ elsif existing == EXISTING_ROTATE_EXPIRED && !data_file_expired?
41
+ 'Data exist and yet is not expired'
42
+ end
43
+ end
44
+
45
+ def run
46
+ raise "Cannot run: #{cannot_run_reason}" unless runnable?
47
+
48
+ build_dir = dump_units_to_build_directory
49
+ package_file = create_package_file(build_dir)
50
+ rotate
51
+ move_download_to_final_dest(package_file)
52
+ end
53
+
54
+ def data_file_exist?
55
+ ::File.exist?(data_file_path)
56
+ end
57
+
58
+ def data_file_time
59
+ data_file_exist? ? ::Time.now - ::File.mtime(data_file_path) : nil
60
+ end
61
+
62
+ def data_file_expired?
63
+ data_file_time.if_present(false) { |v| v >= expire_time }
64
+ end
65
+
66
+ def expire_time
67
+ @expire_time || DEFAULT_EXPIRE_TIME
68
+ end
69
+
70
+ private
71
+
72
+ def download
73
+ infom 'Downloading dump...'
74
+ download_path = find_download_path
75
+ dump_command.system!(output_file: download_path)
76
+ fatal_error "File \"#{download_path}\" not saved" unless ::File.exist?(download_path)
77
+ fatal_error "File \"#{download_path}\" is empty" if ::File.zero?(download_path)
78
+ download_path
79
+ end
80
+
81
+ def move_download_to_final_dest(download_path)
82
+ ::FileUtils.mkdir_p(::File.dirname(data_file_path))
83
+ ::FileUtils.mv(download_path, data_file_path)
84
+ end
85
+
86
+ def rotate
87
+ return unless data_file_exist?
88
+ return unless existing == EXISTING_ROTATE
89
+
90
+ infom "Rotating \"#{data_file_path}\"..."
91
+ ::Avm::Data::Rotate.new(data_file_path).run
92
+ end
93
+
94
+ def new_build_path
95
+ f = ::Tempfile.new(self.class.name.parameterize + '-download')
96
+ path = f.path
97
+ f.close
98
+ f.unlink
99
+ path
100
+ end
101
+
102
+ def dump_units_to_build_directory
103
+ dir = ::Dir.mktmpdir
104
+ package.dump_units_to_directory(dir)
105
+ dir
106
+ end
107
+
108
+ def create_package_file(build_dir)
109
+ package_path = new_build_path
110
+ infom "Creating package \"#{package_path}\" from \"#{build_dir}\"..."
111
+ Dir.chdir(build_dir) do
112
+ ::Minitar.pack('.', File.open(::File.expand_path(package_path), 'wb'))
113
+ end
114
+ package_path
115
+ end
116
+ end
117
+ end
118
+ end
119
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+ require 'minitar'
5
+
6
+ module Avm
7
+ module Data
8
+ class Package
9
+ class Load
10
+ enable_speaker
11
+
12
+ attr_reader :package, :data_file_path
13
+
14
+ def initialize(package, data_file_path)
15
+ @package = package
16
+ @data_file_path = data_file_path
17
+ end
18
+
19
+ def runnable?
20
+ cannot_run_reason.blank?
21
+ end
22
+
23
+ def cannot_run_reason
24
+ return nil if data_file_exist?
25
+
26
+ "Data file \"#{data_file_path}\" does not exist"
27
+ end
28
+
29
+ def run
30
+ raise "Cannot run: #{cannot_run_reason}" unless runnable?
31
+
32
+ build_dir = extract_packages_to_build_directory
33
+ package.load_units_from_directory(build_dir)
34
+ end
35
+
36
+ def data_file_exist?
37
+ ::File.exist?(data_file_path)
38
+ end
39
+
40
+ def extract_packages_to_build_directory
41
+ dir = ::Dir.mktmpdir
42
+ ::Minitar.unpack(data_file_path, dir)
43
+ dir
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/data/package/dump'
4
+ require 'avm/data/package/load'
5
+
6
+ module Avm
7
+ module Data
8
+ class Package
9
+ attr_reader :units
10
+
11
+ def initialize(options)
12
+ @units = {}
13
+ options = options.to_options_consumer
14
+ units = options.consume(:units)
15
+ options.validate
16
+ units.if_present do |v|
17
+ v.each { |identifier, unit| add_unit(identifier, unit) }
18
+ end
19
+ end
20
+
21
+ def add_unit(identifier, unit)
22
+ @units[identifier.to_sym] = unit
23
+ end
24
+
25
+ def dump(data_path, options = {})
26
+ ::Avm::Data::Package::Dump.new(self, data_path, options)
27
+ end
28
+
29
+ def load(data_path)
30
+ ::Avm::Data::Package::Load.new(self, data_path)
31
+ end
32
+
33
+ def dump_units_to_directory(directory)
34
+ @units.each { |identifier, unit| unit.dump_to_directory(directory, identifier) }
35
+ end
36
+
37
+ def load_units_from_directory(directory)
38
+ @units.each { |identifier, unit| unit.load_from_directory(directory, identifier) }
39
+ end
40
+ end
41
+ end
42
+ end