avm-tools 0.88.0 → 0.93.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/eac_asciidoctor_base0.rb +9 -0
  3. data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/apache_host.rb +1 -1
  4. data/lib/avm/eac_asciidoctor_base0/apache_path.rb +10 -0
  5. data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/build.rb +5 -3
  6. data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/build/file.rb +4 -4
  7. data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/deploy.rb +6 -6
  8. data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/instance.rb +1 -1
  9. data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/project.rb +1 -1
  10. data/lib/avm/eac_rails_base0/apache_path.rb +6 -38
  11. data/lib/avm/eac_webapp_base0/apache_host.rb +7 -31
  12. data/lib/avm/eac_webapp_base0/apache_path.rb +51 -0
  13. data/lib/avm/eac_webapp_base0/deploy.rb +17 -23
  14. data/lib/avm/eac_webapp_base0/deploy/appended_directories.rb +1 -1
  15. data/lib/avm/eac_webapp_base0/deploy/git_info.rb +1 -1
  16. data/lib/avm/eac_webapp_base0/instance.rb +2 -0
  17. data/lib/avm/eac_webapp_base0/runner/apache_host.rb +7 -10
  18. data/lib/avm/eac_webapp_base0/runner/apache_path.rb +40 -0
  19. data/lib/avm/eac_webapp_base0/runner/data.rb +6 -15
  20. data/lib/avm/eac_webapp_base0/runner/data/dump.rb +18 -24
  21. data/lib/avm/eac_webapp_base0/runner/data/load.rb +12 -23
  22. data/lib/avm/eac_webapp_base0/runner/deploy.rb +13 -21
  23. data/lib/avm/executables.rb +1 -1
  24. data/lib/avm/git/auto_commit/commit_info.rb +22 -0
  25. data/lib/avm/git/auto_commit/rules.rb +31 -0
  26. data/lib/avm/git/auto_commit/rules/base.rb +39 -0
  27. data/lib/avm/git/auto_commit/rules/last.rb +19 -0
  28. data/lib/avm/git/auto_commit/rules/manual.rb +45 -0
  29. data/lib/avm/git/auto_commit/rules/nth.rb +23 -0
  30. data/lib/avm/git/auto_commit/rules/unique.rb +21 -0
  31. data/lib/avm/git/file_auto_fixup.rb +15 -62
  32. data/lib/avm/tools/runner/{eac_writings_base1.rb → eac_asciidoctor_base0.rb} +2 -2
  33. data/lib/avm/tools/runner/eac_webapp_base0.rb +14 -0
  34. data/lib/avm/tools/runner/git/auto_commit.rb +12 -13
  35. data/lib/avm/tools/runner/git/auto_fixup.rb +9 -9
  36. data/lib/avm/tools/runner/git/commit.rb +11 -20
  37. data/lib/avm/tools/runner/local_project/{eac_writings_base1.rb → eac_asciidoctor_base0.rb} +2 -2
  38. data/lib/avm/tools/runner/local_project/{eac_writings_base1 → eac_asciidoctor_base0}/build.rb +5 -9
  39. data/lib/avm/tools/runner/local_project/ruby.rb +1 -1
  40. data/lib/avm/tools/runner/local_project/ruby/bundler.rb +1 -1
  41. data/lib/avm/tools/runner/local_project/ruby/bundler/gemfile_lock.rb +1 -1
  42. data/lib/avm/tools/runner/ruby.rb +6 -14
  43. data/lib/avm/tools/runner/ruby/gems.rb +4 -7
  44. data/lib/avm/tools/runner/ruby/gems/generate.rb +12 -23
  45. data/lib/avm/tools/runner/ruby/rubocop.rb +1 -1
  46. data/lib/avm/tools/version.rb +1 -1
  47. data/template/avm/eac_rails_base0/apache_path/extra_content.conf +5 -0
  48. data/template/avm/eac_webapp_base0/apache_path/default.conf +9 -0
  49. data/vendor/avm-apps/Gemfile +5 -0
  50. data/vendor/avm-apps/avm-apps.gemspec +18 -0
  51. data/{lib/avm/eac_writings_base1.rb → vendor/avm-apps/lib/avm/apps.rb} +1 -1
  52. data/vendor/avm-apps/lib/avm/apps/jobs.rb +11 -0
  53. data/vendor/avm-apps/lib/avm/apps/jobs/base.rb +64 -0
  54. data/vendor/avm-apps/lib/avm/apps/jobs/variables_source.rb +24 -0
  55. data/vendor/avm-apps/lib/avm/apps/version.rb +7 -0
  56. data/vendor/avm-apps/spec/rubocop_spec.rb +7 -0
  57. data/vendor/avm-apps/spec/spec_helper.rb +100 -0
  58. data/vendor/eac_cli/lib/eac_cli/definition/alternative.rb +4 -7
  59. data/vendor/eac_cli/lib/eac_cli/definition/argument_option.rb +8 -0
  60. data/vendor/eac_cli/lib/eac_cli/definition/base_option.rb +21 -9
  61. data/vendor/eac_cli/lib/eac_cli/definition/base_option/initialize_args_parser.rb +47 -0
  62. data/vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb +8 -0
  63. data/vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb +12 -0
  64. data/vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb +15 -1
  65. data/vendor/eac_cli/lib/eac_cli/parser/collector.rb +3 -17
  66. data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
  67. data/vendor/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb +4 -0
  68. data/vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb +21 -3
  69. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/local_time_zone.rb +4 -0
  70. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  71. metadata +55 -15
  72. data/lib/avm/tools/runner/eac_rails_base0/apache_path.rb +0 -38
  73. data/template/avm/eac_rails_base0/apache_path/default.conf +0 -13
  74. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/default_time_zone_set.rb +0 -6
@@ -1,13 +0,0 @@
1
- <IfModule mod_passenger.c>
2
- Alias "%%WEB.PATH%%" "%%FS_PATH%%/public"
3
- <Location "%%WEB.PATH%%">
4
- PassengerBaseURI "%%WEB.PATH%%"
5
- PassengerAppRoot "%%FS_PATH%%"
6
- PassengerAppEnv production
7
- </Location>
8
- <Directory "%%FS_PATH%%/public">
9
- Allow from all
10
- Options -MultiViews
11
- Require all granted
12
- </Directory>
13
- </IfModule>
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'active_support/core_ext/time/zones'
4
- require 'eac_ruby_utils/local_time_zone'
5
-
6
- ::Time.zone = ::EacRubyUtils::LocalTimeZone.auto