eac_tools 0.109.0 → 0.110.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +67 -54
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +24 -0
  5. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb +23 -0
  6. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/css/file_apply.rb +44 -0
  7. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/css.rb +17 -0
  8. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/html.rb +42 -0
  9. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/javascript.rb +19 -0
  10. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/json.rb +23 -0
  11. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/provider.rb +17 -0
  12. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/xml.rb +23 -0
  13. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_base.rb +28 -0
  14. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_host.rb +72 -0
  15. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_path.rb +37 -0
  16. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/apache.rb +42 -0
  17. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/deploy.rb +28 -0
  18. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/deploy_info.rb +27 -0
  19. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/install.rb +19 -0
  20. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb +37 -0
  21. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/appended_directories.rb +25 -0
  22. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/build.rb +45 -0
  23. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/info.rb +44 -0
  24. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/scm.rb +88 -0
  25. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/setup_files_unit.rb +53 -0
  26. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/write_on_target.rb +18 -0
  27. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb +72 -0
  28. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy_info.rb +35 -0
  29. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/processes/web_server.rb +34 -0
  30. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_host.rb +34 -0
  31. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb +38 -0
  32. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/deploy.rb +47 -0
  33. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/deploy_info.rb +24 -0
  34. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources/base.rb +13 -0
  35. data/sub/{avm-git/lib/avm/git → avm-eac_webapp_base0/lib/avm/eac_webapp_base0}/version.rb +2 -2
  36. data/sub/{avm-git/lib/avm/git.rb → avm-eac_webapp_base0/lib/avm/eac_webapp_base0.rb} +6 -7
  37. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec.rb +7 -0
  38. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec_files/css1.source.css +11 -0
  39. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec_files/css1.target.css +11 -0
  40. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec.rb +7 -0
  41. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.erb.source +8 -0
  42. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.erb.target +8 -0
  43. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.source +5 -0
  44. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.target +5 -0
  45. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec.rb +7 -0
  46. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec_files/javascript_code1.js.source +29 -0
  47. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec_files/javascript_code1.js.target +21 -0
  48. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec.rb +7 -0
  49. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec_files/json_code.json.source +8 -0
  50. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec_files/json_code.json.target +7 -0
  51. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec.rb +7 -0
  52. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec_files/xml_code.xml.source +11 -0
  53. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec_files/xml_code.xml.target +9 -0
  54. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/instances/base_spec.rb +11 -0
  55. data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/sources/base_spec.rb +7 -0
  56. data/sub/{avm-git → avm-eac_webapp_base0}/spec/spec_helper.rb +1 -1
  57. data/sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/instances/apache_host/no_ssl.conf +11 -0
  58. data/sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/instances/apache_path/default.conf +7 -0
  59. data/sub/eac_ruby_gem_support/Gemfile +8 -0
  60. data/sub/eac_ruby_gem_support/eac_ruby_gem_support.gemspec +25 -0
  61. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/rspec/helpers/filesystem.rb +73 -0
  62. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/rspec/helpers/utils.rb +22 -0
  63. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/rspec/setup.rb +51 -0
  64. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/rspec/shared_examples/source_target_fixtures.rb +73 -0
  65. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/rspec/shared_examples/spec_paths.rb +11 -0
  66. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/rspec/source_target_fixtures_controller.rb +29 -0
  67. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/rspec/spec_paths_controller.rb +27 -0
  68. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/rspec/specs/rubocop.rb +33 -0
  69. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/source_target_fixtures/source_target_file.rb +17 -0
  70. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/source_target_fixtures.rb +72 -0
  71. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support/version.rb +5 -0
  72. data/sub/eac_ruby_gem_support/lib/eac_ruby_gem_support.rb +14 -0
  73. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/rspec/helpers/filesystem_spec.rb +30 -0
  74. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/rspec/shared_examples/source_target_fixtures_spec.rb +11 -0
  75. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/rspec/shared_examples/source_target_fixtures_spec_files/one.source.yaml +2 -0
  76. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/rspec/shared_examples/source_target_fixtures_spec_files/one.target.yaml +2 -0
  77. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/rspec/shared_examples/spec_paths_spec.rb +17 -0
  78. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/source_target_fixtures_spec.rb +25 -0
  79. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/source_target_fixtures_spec_files/stub1.source.txt +1 -0
  80. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/source_target_fixtures_spec_files/stub1.target.html +1 -0
  81. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/source_target_fixtures_spec_files/stub2.source.html +1 -0
  82. data/sub/eac_ruby_gem_support/spec/lib/eac_ruby_gem_support/source_target_fixtures_spec_files/stub3.target.yaml +1 -0
  83. data/sub/eac_ruby_gem_support/spec/meta/rubocop_check_spec.rb +3 -0
  84. data/sub/eac_ruby_gem_support/spec/spec_helper.rb +5 -0
  85. metadata +97 -140
  86. data/sub/avm-git/avm-git.gemspec +0 -25
  87. data/sub/avm-git/lib/avm/git/application_scms/base/assert_main_at.rb +0 -44
  88. data/sub/avm-git/lib/avm/git/application_scms/base.rb +0 -18
  89. data/sub/avm-git/lib/avm/git/commit/class_methods.rb +0 -29
  90. data/sub/avm-git/lib/avm/git/commit/diff_tree_line.rb +0 -32
  91. data/sub/avm-git/lib/avm/git/commit/file.rb +0 -42
  92. data/sub/avm-git/lib/avm/git/commit.rb +0 -57
  93. data/sub/avm-git/lib/avm/git/issue/complete/commits.rb +0 -40
  94. data/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +0 -20
  95. data/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +0 -59
  96. data/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +0 -37
  97. data/sub/avm-git/lib/avm/git/issue/complete/push.rb +0 -60
  98. data/sub/avm-git/lib/avm/git/issue/complete/remote.rb +0 -33
  99. data/sub/avm-git/lib/avm/git/issue/complete/test.rb +0 -34
  100. data/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +0 -21
  101. data/sub/avm-git/lib/avm/git/issue/complete/validation.rb +0 -36
  102. data/sub/avm-git/lib/avm/git/issue/complete/validations.rb +0 -54
  103. data/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +0 -19
  104. data/sub/avm-git/lib/avm/git/issue/complete.rb +0 -66
  105. data/sub/avm-git/lib/avm/git/launcher/base/class_methods.rb +0 -28
  106. data/sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb +0 -21
  107. data/sub/avm-git/lib/avm/git/launcher/base/remotes.rb +0 -37
  108. data/sub/avm-git/lib/avm/git/launcher/base/subrepo.rb +0 -42
  109. data/sub/avm-git/lib/avm/git/launcher/base/underlying.rb +0 -54
  110. data/sub/avm-git/lib/avm/git/launcher/base.rb +0 -80
  111. data/sub/avm-git/lib/avm/git/launcher/error.rb +0 -13
  112. data/sub/avm-git/lib/avm/git/launcher/mirror_update.rb +0 -36
  113. data/sub/avm-git/lib/avm/git/launcher/publish_base.rb +0 -128
  114. data/sub/avm-git/lib/avm/git/launcher/remote.rb +0 -53
  115. data/sub/avm-git/lib/avm/git/launcher/sub_warp_base.rb +0 -36
  116. data/sub/avm-git/lib/avm/git/launcher/warp_base.rb +0 -63
  117. data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/local_project_mixin.rb +0 -16
  118. data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/publish.rb +0 -13
  119. data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/warp.rb +0 -25
  120. data/sub/avm-git/lib/avm/git/launcher_stereotypes/git.rb +0 -21
  121. data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb +0 -29
  122. data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/warp.rb +0 -82
  123. data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo.rb +0 -31
  124. data/sub/avm-git/lib/avm/git/launcher_stereotypes/provider.rb +0 -16
  125. data/sub/avm-git/lib/avm/git/organize/reference_update.rb +0 -32
  126. data/sub/avm-git/lib/avm/git/organize/repository.rb +0 -74
  127. data/sub/avm-git/lib/avm/git/revision_test.rb +0 -102
  128. data/sub/avm-git/lib/avm/git/runners/base/commit.rb +0 -98
  129. data/sub/avm-git/lib/avm/git/runners/base/deploy.rb +0 -108
  130. data/sub/avm-git/lib/avm/git/runners/base/dirty_files.rb +0 -42
  131. data/sub/avm-git/lib/avm/git/runners/base/organize.rb +0 -72
  132. data/sub/avm-git/lib/avm/git/runners/base/revisions_test.rb +0 -63
  133. data/sub/avm-git/lib/avm/git/runners/base/subrepo/check.rb +0 -45
  134. data/sub/avm-git/lib/avm/git/runners/base/subrepo/clone.rb +0 -80
  135. data/sub/avm-git/lib/avm/git/runners/base/subrepo/fix.rb +0 -69
  136. data/sub/avm-git/lib/avm/git/runners/base/subrepo.rb +0 -16
  137. data/sub/avm-git/lib/avm/git/runners/base.rb +0 -39
  138. data/sub/avm-git/lib/avm/git/scms/git/branch.rb +0 -28
  139. data/sub/avm-git/lib/avm/git/scms/git/branches.rb +0 -17
  140. data/sub/avm-git/lib/avm/git/scms/git/change_tracker.rb +0 -34
  141. data/sub/avm-git/lib/avm/git/scms/git/changed_file.rb +0 -25
  142. data/sub/avm-git/lib/avm/git/scms/git/changed_files.rb +0 -21
  143. data/sub/avm-git/lib/avm/git/scms/git/commit/deploy.rb +0 -38
  144. data/sub/avm-git/lib/avm/git/scms/git/commit/deploy_methods.rb +0 -24
  145. data/sub/avm-git/lib/avm/git/scms/git/commit.rb +0 -64
  146. data/sub/avm-git/lib/avm/git/scms/git/commit_dirty.rb +0 -32
  147. data/sub/avm-git/lib/avm/git/scms/git/commits.rb +0 -44
  148. data/sub/avm-git/lib/avm/git/scms/git/interval.rb +0 -28
  149. data/sub/avm-git/lib/avm/git/scms/git/milestones.rb +0 -18
  150. data/sub/avm-git/lib/avm/git/scms/git/remote.rb +0 -18
  151. data/sub/avm-git/lib/avm/git/scms/git/remotes.rb +0 -29
  152. data/sub/avm-git/lib/avm/git/scms/git/run_commit.rb +0 -54
  153. data/sub/avm-git/lib/avm/git/scms/git.rb +0 -46
  154. data/sub/avm-git/lib/avm/git/scms/git_sub_base/changed_file.rb +0 -19
  155. data/sub/avm-git/lib/avm/git/scms/git_sub_base/commit.rb +0 -23
  156. data/sub/avm-git/lib/avm/git/scms/git_sub_base/interval.rb +0 -23
  157. data/sub/avm-git/lib/avm/git/scms/git_sub_base.rb +0 -28
  158. data/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +0 -33
  159. data/sub/avm-git/lib/avm/git/scms/git_subtree.rb +0 -29
  160. data/sub/avm-git/lib/avm/git/scms/provider.rb +0 -16
  161. data/sub/avm-git/lib/avm/git/subrepo_check/parent.rb +0 -48
  162. data/sub/avm-git/lib/avm/git/subrepo_check/remote.rb +0 -86
  163. data/sub/avm-git/lib/avm/git/subrepo_check/show_result.rb +0 -30
  164. data/sub/avm-git/lib/avm/git/subrepo_check.rb +0 -36
  165. data/sub/avm-git/lib/avm/git/subrepo_checks.rb +0 -57
  166. data/sub/avm-git/lib/avm/git/vendor/github.rb +0 -20
  167. data/sub/avm-git/locale/en.yml +0 -6
  168. data/sub/avm-git/locale/pt-BR.yml +0 -6
  169. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb +0 -11
  170. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +0 -1
  171. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +0 -7
  172. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +0 -1
  173. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +0 -7
  174. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +0 -1
  175. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +0 -7
  176. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +0 -2
  177. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +0 -13
  178. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +0 -2
  179. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +0 -13
  180. data/sub/avm-git/spec/lib/avm/git/commit_spec.rb +0 -54
  181. data/sub/avm-git/spec/lib/avm/git/launcher/base_spec.rb +0 -43
  182. data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec.rb +0 -80
  183. data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_files/config.yml +0 -5
  184. data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_settings.yml +0 -6
  185. data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec.rb +0 -51
  186. data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_files/config.yml +0 -3
  187. data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_settings.yml +0 -6
  188. data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec.rb +0 -124
  189. data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append1/stub3.txt.template +0 -1
  190. data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append2/stub4.txt +0 -1
  191. data/sub/avm-git/spec/lib/avm/git/scms/git/commit/deploy_spec.rb +0 -89
  192. data/sub/avm-git/spec/lib/avm/git/scms/git_spec.rb +0 -5
  193. data/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +0 -5
  194. data/sub/avm-git/spec/lib/avm/git/vendor/github_spec.rb +0 -21
  195. /data/sub/{avm-git → avm-eac_webapp_base0}/Gemfile +0 -0
  196. /data/sub/{avm-git → avm-eac_webapp_base0}/spec/meta/rubocop_spec.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d784bae4151ced339eec1e3f92bccc62228f4639b06ee6246a16496152269eba
4
- data.tar.gz: 5cf57b206e329e991bc2982f847a5d3a33d87d5ac264ac6ffd2146f931d170a3
3
+ metadata.gz: 11243ccf7d6a5f5071ebc0ee0c1b5f295cf60d6b18e6d0a0364efc5d58701420
4
+ data.tar.gz: 9a76b306a2685a88031c5bfc285024f9ac3eca232962abdb9763292f14b80f75
5
5
  SHA512:
6
- metadata.gz: c6c96ccb7f241e144e113b8a701f99272a477e79688743095664b47e94fd77de503eff7e1a2ce180510e80cb7fba3236f4b2b573fb69f9c7909d8f121edf3465
7
- data.tar.gz: 421c1f3247e610b59de3a359f1eb8ec709fd3be0463d966fa77a58d28085b15a21a32dddfc38a61563c1a14cdc8b714f19be01c471e68fe467b41930e954305b
6
+ metadata.gz: 0f2dc485a589bf95c8a096965a54109ef998e1c455790c0664d2c4778304813a2945c612473225e13f584cad54fc2b7849b4e32b9be4ae5249ded8d02ddf1677
7
+ data.tar.gz: 96f7b282b03016c0e5db29354fa75b9f3a14d25b1faf85343bd5a3870498cd60af18fb68467a7e4ab0f3ed78da81ae18efd56ece5d7a1fba04594256da46a900
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eac_tools (0.109.0)
4
+ eac_tools (0.110.1)
5
5
  avm (~> 0.98, >= 0.98.4)
6
6
  avm-eac_asciidoctor_base0 (~> 0.26, >= 0.26.1)
7
7
  avm-eac_generic_base0 (~> 0.15, >= 0.15.2)
@@ -9,29 +9,41 @@ PATH
9
9
  avm-eac_gitlab_base0 (~> 0.5)
10
10
  avm-eac_latex_base0 (~> 0.3, >= 0.3.2)
11
11
  avm-eac_php_base0 (~> 0.5)
12
- avm-eac_postgresql_base0 (~> 0.5, >= 0.5.3)
12
+ avm-eac_postgresql_base0 (~> 0.6)
13
13
  avm-eac_python_base0 (~> 0.2, >= 0.2.2)
14
- avm-eac_rails_base0 (~> 0.11, >= 0.11.1)
15
- avm-eac_rails_base1 (~> 0.11, >= 0.11.1)
14
+ avm-eac_rails_base0 (~> 0.11, >= 0.11.2)
15
+ avm-eac_rails_base1 (~> 0.11, >= 0.11.2)
16
16
  avm-eac_redmine_base0 (~> 0.24, >= 0.24.1)
17
17
  avm-eac_redmine_plugin_base0 (~> 0.5)
18
18
  avm-eac_ruby_base0 (~> 0.1)
19
19
  avm-eac_ruby_base1 (~> 0.39)
20
- avm-eac_webapp_base0 (~> 0.21, >= 0.21.3)
20
+ avm-eac_webapp_base0 (~> 0.21, >= 0.21.5)
21
21
  avm-eac_wordpress_base0 (~> 0.3, >= 0.3.2)
22
22
  avm-git (~> 0.21, >= 0.21.2)
23
23
  avm-tools (~> 0.163, >= 0.163.6)
24
- eac_ruby_utils (~> 0.129, >= 0.129.1)
24
+ eac_ruby_utils (~> 0.130)
25
25
 
26
26
  PATH
27
- remote: sub/avm-git
27
+ remote: sub/avm-eac_webapp_base0
28
28
  specs:
29
- avm-git (0.21.2)
29
+ avm-eac_webapp_base0 (0.21.5)
30
30
  avm (~> 0.98, >= 0.98.4)
31
- eac_git (~> 0.18, >= 0.18.1)
32
- eac_ruby_utils (~> 0.129, >= 0.129.1)
33
- filesize
34
- git (~> 1.19, >= 1.19.1)
31
+ avm-eac_generic_base0 (~> 0.15, >= 0.15.2)
32
+ avm-eac_postgresql_base0 (~> 0.6)
33
+ avm-eac_ubuntu_base0 (~> 0.7)
34
+ eac_ruby_utils (~> 0.130)
35
+ htmlbeautifier (~> 1.4, >= 1.4.3)
36
+
37
+ PATH
38
+ remote: sub/eac_ruby_gem_support
39
+ specs:
40
+ eac_ruby_gem_support (0.12.2)
41
+ eac_ruby_utils (~> 0.130)
42
+ rspec (~> 3.13, >= 3.13.2)
43
+ rubocop (~> 1.85, >= 1.85.1)
44
+ rubocop-rails (~> 2.34, >= 2.34.3)
45
+ rubocop-rspec (~> 3.9)
46
+ super_diff (~> 0.18)
35
47
 
36
48
  GEM
37
49
  remote: https://rubygems.org/
@@ -42,17 +54,17 @@ GEM
42
54
  minitest (>= 5.1)
43
55
  tzinfo (~> 2.0)
44
56
  zeitwerk (~> 2.3)
45
- addressable (2.8.8)
57
+ addressable (2.8.9)
46
58
  public_suffix (>= 2.0.2, < 8.0)
47
59
  aranha (0.20.0)
48
60
  eac_ruby_utils (~> 0.128)
49
- aranha-parsers (0.26.2)
61
+ aranha-parsers (0.26.3)
50
62
  activesupport (>= 4.0.0)
51
- addressable (~> 2.8, >= 2.8.8)
63
+ addressable (~> 2.8, >= 2.8.9)
52
64
  aranha (~> 0.20)
53
65
  eac_envs-http (~> 0.7, >= 0.7.1)
54
- eac_ruby_utils (~> 0.129)
55
- nokogiri (~> 1.19)
66
+ eac_ruby_utils (~> 0.130)
67
+ nokogiri (~> 1.19, >= 1.19.1)
56
68
  ofx-parser (~> 1.1)
57
69
  asciidoctor (2.0.26)
58
70
  ast (2.4.3)
@@ -91,20 +103,20 @@ GEM
91
103
  avm-eac_generic_base0 (~> 0.13)
92
104
  avm-eac_webapp_base0 (~> 0.20)
93
105
  eac_ruby_utils (~> 0.122)
94
- avm-eac_postgresql_base0 (0.5.3)
95
- avm (~> 0.85)
96
- eac_ruby_utils (~> 0.121)
106
+ avm-eac_postgresql_base0 (0.6.0)
107
+ avm (~> 0.98, >= 0.98.4)
108
+ eac_ruby_utils (~> 0.129, >= 0.129.1)
97
109
  avm-eac_python_base0 (0.2.2)
98
110
  avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
99
111
  eac_ruby_utils (~> 0.119, >= 0.119.2)
100
- avm-eac_rails_base0 (0.11.1)
101
- avm-eac_rails_base1 (~> 0.10)
102
- eac_ruby_utils (~> 0.121)
103
- avm-eac_rails_base1 (0.11.1)
104
- avm (~> 0.98, >= 0.98.2)
105
- avm-eac_ruby_base1 (~> 0.38, >= 0.38.1)
106
- avm-eac_webapp_base0 (~> 0.21, >= 0.21.3)
107
- eac_ruby_utils (~> 0.128, >= 0.128.6)
112
+ avm-eac_rails_base0 (0.11.2)
113
+ avm-eac_rails_base1 (~> 0.11, >= 0.11.2)
114
+ eac_ruby_utils (~> 0.129, >= 0.129.1)
115
+ avm-eac_rails_base1 (0.11.2)
116
+ avm (~> 0.98, >= 0.98.4)
117
+ avm-eac_ruby_base1 (~> 0.39)
118
+ avm-eac_webapp_base0 (~> 0.21, >= 0.21.4)
119
+ eac_ruby_utils (~> 0.129, >= 0.129.1)
108
120
  avm-eac_redmine_base0 (0.24.1)
109
121
  avm (~> 0.98, >= 0.98.4)
110
122
  avm-eac_generic_base0 (~> 0.15, >= 0.15.2)
@@ -129,26 +141,27 @@ GEM
129
141
  avm (~> 0.98, >= 0.98.2)
130
142
  eac_ruby_utils (~> 0.128, >= 0.128.6)
131
143
  eac_templates (~> 0.8, >= 0.8.3)
132
- avm-eac_webapp_base0 (0.21.3)
133
- avm (~> 0.98, >= 0.98.2)
134
- avm-eac_generic_base0 (~> 0.15, >= 0.15.2)
135
- avm-eac_postgresql_base0 (~> 0.5, >= 0.5.3)
136
- avm-eac_ubuntu_base0 (~> 0.6)
137
- eac_ruby_utils (~> 0.128, >= 0.128.6)
138
- htmlbeautifier (~> 1.4, >= 1.4.3)
139
144
  avm-eac_wordpress_base0 (0.3.2)
140
145
  avm (~> 0.86, >= 0.86.2)
141
146
  avm-eac_webapp_base0 (~> 0.18, >= 0.18.4)
142
147
  eac_ruby_utils (~> 0.121)
148
+ avm-git (0.21.2)
149
+ avm (~> 0.98, >= 0.98.4)
150
+ eac_git (~> 0.18, >= 0.18.1)
151
+ eac_ruby_utils (~> 0.129, >= 0.129.1)
152
+ filesize
153
+ git (~> 1.19, >= 1.19.1)
143
154
  avm-tools (0.163.6)
144
155
  avm (~> 0.98, >= 0.98.4)
145
156
  eac_ruby_base0 (~> 0.19, >= 0.19.3)
157
+ bigdecimal (4.0.1)
146
158
  clipboard (2.0.0)
147
159
  colorize (0.8.1)
148
160
  concurrent-ruby (1.3.6)
149
161
  content-type (0.0.2)
150
162
  parslet (~> 2.0)
151
163
  diff-lcs (1.6.2)
164
+ drb (2.2.3)
152
165
  eac_cli (0.45.0)
153
166
  clipboard (~> 2.0)
154
167
  colorize (~> 0.8, >= 0.8.1)
@@ -187,14 +200,7 @@ GEM
187
200
  eac_cli (~> 0.45)
188
201
  eac_fs (~> 0.20)
189
202
  eac_ruby_utils (~> 0.129)
190
- eac_ruby_gem_support (0.12.1)
191
- eac_ruby_utils (~> 0.129)
192
- rspec (~> 3.13, >= 3.13.2)
193
- rubocop (~> 1.84, >= 1.84.1)
194
- rubocop-rails (~> 2.34, >= 2.34.3)
195
- rubocop-rspec (~> 3.9)
196
- super_diff (~> 0.18)
197
- eac_ruby_utils (0.129.1)
203
+ eac_ruby_utils (0.130.0)
198
204
  activesupport (>= 4, < 7)
199
205
  addressable (~> 2.8, >= 2.8.8)
200
206
  bundler
@@ -226,18 +232,24 @@ GEM
226
232
  htmlbeautifier (1.4.3)
227
233
  i18n (1.14.8)
228
234
  concurrent-ruby (~> 1.0)
229
- json (2.18.1)
235
+ json (2.19.1)
236
+ json-schema (6.2.0)
237
+ addressable (~> 2.8)
238
+ bigdecimal (>= 3.1, < 5)
230
239
  language_server-protocol (3.17.0.5)
231
240
  lint_roller (1.1.0)
232
241
  logger (1.7.0)
242
+ mcp (0.8.0)
243
+ json-schema (>= 4.1)
233
244
  minitar (0.12.1)
234
- minitest (6.0.1)
245
+ minitest (6.0.2)
246
+ drb (~> 2.0)
235
247
  prism (~> 1.5)
236
248
  multipart-post (2.4.1)
237
249
  net-http (0.9.1)
238
250
  uri (>= 0.11.1)
239
251
  net-ssh (4.2.0)
240
- nokogiri (1.19.0-x86_64-linux-gnu)
252
+ nokogiri (1.19.1-x86_64-linux-gnu)
241
253
  racc (~> 1.4)
242
254
  ofx-parser (1.1.0)
243
255
  hpricot (>= 0.6)
@@ -245,7 +257,7 @@ GEM
245
257
  os (1.1.4)
246
258
  parallel (1.27.0)
247
259
  parseconfig (1.1.2)
248
- parser (3.3.10.1)
260
+ parser (3.3.10.2)
249
261
  ast (~> 2.4.1)
250
262
  racc
251
263
  parslet (2.0.0)
@@ -254,9 +266,9 @@ GEM
254
266
  patience_diff (1.2.0)
255
267
  optimist (~> 3.0)
256
268
  prism (1.9.0)
257
- public_suffix (7.0.2)
269
+ public_suffix (7.0.5)
258
270
  racc (1.8.1)
259
- rack (3.2.4)
271
+ rack (3.2.5)
260
272
  rainbow (3.1.1)
261
273
  random-port (0.8.0)
262
274
  tago (~> 0.0)
@@ -272,14 +284,15 @@ GEM
272
284
  rspec-expectations (3.13.5)
273
285
  diff-lcs (>= 1.2.0, < 2.0)
274
286
  rspec-support (~> 3.13.0)
275
- rspec-mocks (3.13.7)
287
+ rspec-mocks (3.13.8)
276
288
  diff-lcs (>= 1.2.0, < 2.0)
277
289
  rspec-support (~> 3.13.0)
278
290
  rspec-support (3.13.7)
279
- rubocop (1.84.2)
291
+ rubocop (1.85.1)
280
292
  json (~> 2.3)
281
293
  language_server-protocol (~> 3.17.0.2)
282
294
  lint_roller (~> 1.1.0)
295
+ mcp (~> 0.6)
283
296
  parallel (~> 1.10)
284
297
  parser (>= 3.3.0.2)
285
298
  rainbow (>= 2.2.2, < 4.0)
@@ -323,15 +336,15 @@ GEM
323
336
  unicode_utils (1.4.0)
324
337
  uri (1.1.1)
325
338
  webrick (1.9.2)
326
- zeitwerk (2.7.4)
339
+ zeitwerk (2.7.5)
327
340
  zlib (2.1.1)
328
341
 
329
342
  PLATFORMS
330
343
  x86_64-linux-gnu
331
344
 
332
345
  DEPENDENCIES
333
- avm-git!
334
- eac_ruby_gem_support (~> 0.12, >= 0.12.1)
346
+ avm-eac_webapp_base0!
347
+ eac_ruby_gem_support (~> 0.12, >= 0.12.2, >= 0)!
335
348
  eac_tools!
336
349
 
337
350
  BUNDLED WITH
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacTools
4
- VERSION = '0.109.0'
4
+ VERSION = '0.110.1'
5
5
  end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
+
5
+ require 'avm/eac_webapp_base0/version'
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = 'avm-eac_webapp_base0'
9
+ s.version = Avm::EacWebappBase0::VERSION
10
+ s.authors = ['Put here the authors']
11
+ s.summary = 'Put here de description.'
12
+
13
+ s.files = Dir['{lib,template}/**/{*,.*}']
14
+ s.required_ruby_version = '>= 2.7'
15
+
16
+ s.add_dependency 'avm', '~> 0.98', '>= 0.98.4'
17
+ s.add_dependency 'avm-eac_generic_base0', '~> 0.15', '>= 0.15.2'
18
+ s.add_dependency 'avm-eac_postgresql_base0', '~> 0.6'
19
+ s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.7'
20
+ s.add_dependency 'eac_ruby_utils', '~> 0.130'
21
+ s.add_dependency 'htmlbeautifier', '~> 1.4', '>= 1.4.3'
22
+
23
+ s.add_development_dependency 'eac_ruby_gem_support', '~> 0.12', '>= 0.12.2'
24
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module Executables
6
+ class << self
7
+ enable_simple_cache
8
+
9
+ def env
10
+ ::EacRubyUtils::Envs.local
11
+ end
12
+
13
+ private
14
+
15
+ %w[cssbeautify-cli js-beautify tidy].each do |program|
16
+ define_method("#{program.underscore}_uncached") do
17
+ env.executable(program, '--version')
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module FileFormats
6
+ class Css < ::Avm::EacGenericBase0::FileFormats::Base
7
+ class FileApply
8
+ EXECUTABLE_NAME = 'cssbeautify-cli'
9
+ EXECUTABLE_CHECK_ARGS = ['--version'].freeze
10
+ EXECUTABLE_STATIC_ARGS = ['--autosemicolon', '--indent', ' ', '--openbrace',
11
+ 'end-of-line', '--stdin'].freeze
12
+
13
+ common_constructor :file
14
+
15
+ def perform
16
+ on_temp_output_file do |_temp_file|
17
+ run_command
18
+ end
19
+ end
20
+
21
+ private
22
+
23
+ attr_accessor :output_file
24
+
25
+ def command
26
+ ::Avm::EacWebappBase0::Executables.cssbeautify_cli.command(*EXECUTABLE_STATIC_ARGS)
27
+ end
28
+
29
+ def on_temp_output_file
30
+ ::EacRubyUtils::Fs::Temp.on_file do |temp_output_file|
31
+ self.output_file = temp_output_file
32
+ yield
33
+ ::FileUtils.mv(temp_output_file.to_path, file)
34
+ end
35
+ end
36
+
37
+ def run_command
38
+ command.system!(input_file: file, output_file: output_file.to_path)
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module FileFormats
6
+ class Css < ::Avm::EacGenericBase0::FileFormats::Base
7
+ VALID_BASENAMES = %w[*.css *.scss].freeze
8
+ VALID_TYPES = [].freeze
9
+
10
+ def file_apply(file)
11
+ ::Avm::EacWebappBase0::FileFormats::Css::FileApply.new(file).perform
12
+ super
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'htmlbeautifier'
4
+
5
+ module Avm
6
+ module EacWebappBase0
7
+ module FileFormats
8
+ class Html < ::Avm::EacGenericBase0::FileFormats::Base
9
+ VALID_BASENAMES = %w[*.html *.html.erb].freeze
10
+ VALID_TYPES = [].freeze
11
+
12
+ def file_apply(path)
13
+ input = ::File.read(path)
14
+ temppath = tempfile_path
15
+ ::File.open(temppath, 'w') do |output|
16
+ beautify path, input, output
17
+ end
18
+ ::FileUtils.mv(temppath, path)
19
+ super
20
+ end
21
+
22
+ private
23
+
24
+ def beautify(name, input, output)
25
+ output.puts ::HtmlBeautifier.beautify(input, htmlbeautify_options)
26
+ rescue StandardError => e
27
+ raise "Error parsing #{name}: #{e}"
28
+ end
29
+
30
+ def htmlbeautify_options
31
+ @htmlbeautify_options ||= { indent: ' ' }
32
+ end
33
+
34
+ def tempfile_path
35
+ tempfile = ::Tempfile.new
36
+ tempfile.close
37
+ tempfile.path
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module FileFormats
6
+ class Javascript < ::Avm::EacGenericBase0::FileFormats::Base
7
+ VALID_BASENAMES = %w[*.js].freeze
8
+ VALID_TYPES = [].freeze
9
+
10
+ def internal_apply(files)
11
+ ::Avm::EacWebappBase0::Executables.js_beautify.command.append(
12
+ ['--indent-size=2', '--end-with-newline', '--replace', *files]
13
+ ).system!
14
+ super
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module FileFormats
6
+ class Json < ::Avm::EacGenericBase0::FileFormats::Base
7
+ VALID_BASENAMES = %w[*.json].freeze
8
+ VALID_TYPES = [].freeze
9
+
10
+ def file_apply(file)
11
+ ::File.write(file, ::JSON.pretty_generate(::JSON.parse(::File.read(file))))
12
+ end
13
+
14
+ def json_file?(file)
15
+ ::JSON.parse(::File.read(file))
16
+ true
17
+ rescue JSON::ParserError
18
+ false
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module FileFormats
6
+ class Provider
7
+ ALL_NAMES = %w[css html javascript json xml].freeze
8
+
9
+ def all
10
+ @all ||= ALL_NAMES.map do |name|
11
+ ::Avm::EacWebappBase0::FileFormats.const_get(name.camelize)
12
+ end.freeze
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module FileFormats
6
+ class Xml < ::Avm::EacGenericBase0::FileFormats::Base
7
+ VALID_BASENAMES = %w[*.svg *.xml].freeze
8
+ VALID_TYPES = ['image/svg+xml', 'xml'].freeze
9
+
10
+ def internal_apply(files)
11
+ format_command(files).system!
12
+ super
13
+ end
14
+
15
+ def format_command(files)
16
+ ::Avm::EacWebappBase0::Executables.tidy.command.append(
17
+ %w[-xml -modify --indent auto --indent-spaces 2 --wrap 100] + files
18
+ )
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module Instances
6
+ class ApacheBase
7
+ # @return [String]
8
+ def document_root
9
+ instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
10
+ end
11
+
12
+ protected
13
+
14
+ def reload_apache
15
+ infom 'Reloading Apache...'
16
+ apache.service('reload')
17
+ end
18
+
19
+ private
20
+
21
+ # @return [Avm::EacUbuntuBase0::Apache]
22
+ def apache_uncached
23
+ instance.platform_instance.apache
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,72 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module Instances
6
+ class ApacheHost < ::Avm::EacWebappBase0::Instances::ApacheBase
7
+ APACHE_DIRECTORY_EXTRA_CONFIG_KEY = 'install.apache_directory_extra_config'
8
+ JOBS = %w[write_available_no_ssl_site enable_no_ssl_site remove_ssl_site reload_apache
9
+ run_certbot enable_ssl_site reload_apache].freeze
10
+ include ::Avm::Entries::Jobs::Base
11
+
12
+ def directory_extra_config
13
+ instance.entry(APACHE_DIRECTORY_EXTRA_CONFIG_KEY).optional_value
14
+ .if_present { |v| " #{v}\n" }
15
+ end
16
+
17
+ def no_ssl_site_content
18
+ ::Avm::EacWebappBase0::Instances::ApacheHost
19
+ .template.child('no_ssl.conf')
20
+ .apply(variables_source)
21
+ end
22
+
23
+ def ssl?
24
+ options[:certbot]
25
+ end
26
+
27
+ private
28
+
29
+ def enable_no_ssl_site
30
+ infom 'Enabling no SSL site...'
31
+ no_ssl_site.enable
32
+ end
33
+
34
+ def enable_ssl_site
35
+ return unless ssl?
36
+
37
+ infom 'Enabling SSL site...'
38
+ ssl_site.enable
39
+ end
40
+
41
+ def no_ssl_site_uncached
42
+ apache.site(instance.id)
43
+ end
44
+
45
+ def remove_ssl_site
46
+ infom 'Removing SSL site...'
47
+ ssl_site.remove
48
+ end
49
+
50
+ def run_certbot
51
+ return unless ssl?
52
+
53
+ infom 'Running Certbot...'
54
+ instance.host_env.command(
55
+ 'sudo', 'certbot', '--apache', '--domain', instance.read_entry('web.hostname'),
56
+ '--redirect', '--non-interactive', '--agree-tos',
57
+ '--email', instance.install_email
58
+ ).system!
59
+ end
60
+
61
+ def ssl_site_uncached
62
+ apache.site("#{no_ssl_site.name}-le-ssl")
63
+ end
64
+
65
+ def write_available_no_ssl_site
66
+ infom 'Writing no SSL site conf...'
67
+ no_ssl_site.write(no_ssl_site_content)
68
+ end
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacWebappBase0
5
+ module Instances
6
+ class ApachePath < ::Avm::EacWebappBase0::Instances::ApacheBase
7
+ JOBS = %w[write_available_conf enable_conf reload_apache].freeze
8
+ include ::Avm::Entries::Jobs::Base
9
+
10
+ def content
11
+ ::Avm::EacWebappBase0::Instances::ApachePath.template.child('default.conf')
12
+ .apply(variables_source)
13
+ end
14
+
15
+ def extra_content
16
+ ''
17
+ end
18
+
19
+ private
20
+
21
+ def enable_conf
22
+ infom 'Enabling configuration...'
23
+ conf.enable
24
+ end
25
+
26
+ def conf_uncached
27
+ apache.conf(instance.id)
28
+ end
29
+
30
+ def write_available_conf
31
+ infom 'Writing available configuration...'
32
+ conf.write(content)
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end