eac_tools 0.96.1 → 0.96.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -13
- data/lib/eac_tools/version.rb +1 -1
- data/sub/{avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec → avm-eac_rails_base1/avm-eac_rails_base1.gemspec} +6 -6
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/apache_base.rb +16 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/apache_host.rb +18 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/apache_path.rb +21 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/base.rb +50 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/deploy.rb +23 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/processes/daemon.rb +39 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/processes/tasks_scheduler.rb +27 -0
- data/sub/{avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem.rb → avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/processes.rb} +3 -3
- data/sub/{avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources → avm-eac_rails_base1/lib/avm/eac_rails_base1/instances}/runners/bundle.rb +7 -8
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/runners/code_runner.rb +28 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/runners/log.rb +45 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/runners/logs/clear.rb +27 -0
- data/sub/{avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb → avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/runners/logs.rb} +4 -4
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/runners/rails_server.rb +34 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/runners/tasks_scheduler/systemd_unit.rb +48 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/runners/tasks_scheduler.rb +19 -0
- data/sub/{avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources → avm-eac_rails_base1/lib/avm/eac_rails_base1/instances}/runners.rb +2 -2
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/systemd_unit/service.rb +72 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/systemd_unit/tasks_scheduler_command.rb +31 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/systemd_unit.rb +59 -0
- data/sub/{avm-eac_ruby_base1/lib/avm/eac_ruby_base1 → avm-eac_rails_base1/lib/avm/eac_rails_base1}/instances.rb +1 -1
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb +27 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb +47 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb +43 -0
- data/sub/{avm-eac_ruby_base1/lib/avm/eac_ruby_base1 → avm-eac_rails_base1/lib/avm/eac_rails_base1}/version.rb +2 -2
- data/sub/{avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb → avm-eac_rails_base1/lib/avm/eac_rails_base1.rb} +1 -1
- data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/instances/apache_path/extra_content.conf +5 -0
- data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/instances/systemd_unit/tasks_scheduler.service +12 -0
- data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/instances/systemd_unit/tasks_scheduler_command.sh +6 -0
- metadata +41 -152
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb +0 -56
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb +0 -34
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/depends_on.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict.rb +0 -44
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile.rb +0 -17
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb +0 -77
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb +0 -33
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/ruby_requirement.rb +0 -16
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb +0 -26
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats/base/file_resource_name.rb +0 -47
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats/base.rb +0 -22
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/instances/mixin.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem/build.rb +0 -126
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem/specification.rb +0 -63
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb +0 -28
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish.rb +0 -130
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base.rb +0 -37
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/preferred_version_requirements.rb +0 -43
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec/setup.rb +0 -16
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec/source_generator.rb +0 -22
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb +0 -31
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb +0 -17
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb +0 -42
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb +0 -55
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/add_or_replace_gem_line.rb +0 -71
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/dependency.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec.rb +0 -59
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/remote.rb +0 -36
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/version_file.rb +0 -45
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base/lib_rename.rb +0 -77
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base/rubocop.rb +0 -30
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base.rb +0 -18
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/dependencies.rb +0 -63
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/gemfile_lock.rb +0 -27
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/options.rb +0 -35
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/version_builder.rb +0 -62
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base.rb +0 -112
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb +0 -39
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +0 -68
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb +0 -42
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb +0 -28
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop_command.rb +0 -73
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubygems.rb +0 -43
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/update.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version.rb +0 -31
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +0 -61
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/bundle_update.rb +0 -23
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/gemfile_local/sibling.rb +0 -53
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/gemfile_local.rb +0 -69
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/namespace_replacer.rb +0 -55
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_local.rb +0 -58
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_lock/git.rb +0 -60
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_lock.rb +0 -89
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb +0 -76
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/update_dependencies_requirements.rb +0 -68
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/base.rb +0 -59
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/minitest.rb +0 -29
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple/decorated_gem.rb +0 -52
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple/result.rb +0 -29
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple.rb +0 -90
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/rspec.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests.rb +0 -13
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb +0 -59
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update_dependency_requirements.rb +0 -64
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb +0 -11
- data/sub/avm-eac_ruby_base1/locale/en.yml +0 -9
- data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +0 -9
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out +0 -192
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml +0 -300
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out +0 -245
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml +0 -355
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/3.source.out +0 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/3.target.yaml +0 -305
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec.rb +0 -15
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/Gemfile.source +0 -6
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/Gemfile.target +0 -3
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/ruby_code.rb.source +0 -6
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/ruby_code.rb.target +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher/gem/build_spec.rb +0 -46
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher/gem/specification_spec.rb +0 -59
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish_spec.rb +0 -29
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base_spec.rb +0 -23
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/preferred_version_requirements_spec.rb +0 -23
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/gemspec_spec.rb +0 -37
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/gemspec_spec_files/changes1.source.yaml +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/gemspec_spec_files/changes1.target.txt +0 -15
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/gemspec_spec_files/the_gem.gemspec +0 -15
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb +0 -15
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec_files/a_version_file.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec.rb +0 -36
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir1/dir3/Gemfile +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir1/dir3/Gemfile.lock +0 -27
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir2/empty.rb +0 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir4/false_command.rb +0 -4
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec.rb +0 -19
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile +0 -8
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile.lock +0 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/_gitignore +0 -2
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/dashed-mygem.gemspec +0 -19
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/lib/dashed/mygem/version.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/lib/dashed/mygem.rb +0 -9
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile +0 -8
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile.lock +0 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/_gitignore +0 -2
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/lib/mygem/version.rb +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/lib/mygem.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/mygem.gemspec +0 -19
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec.rb +0 -30
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Gemfile +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Gemfile.lock +0 -19
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Rakefile +0 -14
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/exe/myrunner +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/lib/mygem/version.rb +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/lib/mygem.rb +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/mygem.gemspec +0 -17
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb +0 -16
- data/sub/avm-eac_ruby_base1/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_ruby_base1/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/gemspec.template +0 -19
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/root_lib.template +0 -7
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/Gemfile +0 -8
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/version.template +0 -5
- /data/sub/{avm-eac_ruby_base1 → avm-eac_rails_base1}/Gemfile +0 -0
- /data/sub/{avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem → avm-eac_rails_base1}/spec/rubocop_spec.rb +0 -0
- /data/sub/{avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem → avm-eac_rails_base1}/spec/spec_helper.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a85250168e8a4dece64a1b735d4a8f044823bf911a739fd172960ede3274467
|
4
|
+
data.tar.gz: edfbfcef25c09e651034d391d415fe0692596880242b972023cd2b6802d3a410
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc5fbdca4469bec0d6063bb26e859eebfd404a47ef60ce15ebfd6da9342bdc2f8826b5fa5aa4976fff115a6a586fa7d092de4c6cc484156aeaa5c1e422416209
|
7
|
+
data.tar.gz: f68acfdb87c5c8800e294e6cd7424fea6d1e11fae8044c6205e96b5adc049fc9797a98e215ca53fa6dd48b65a092e093cb187c6b2efe4a3f13452d11df948fe0
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.96.
|
4
|
+
eac_tools (0.96.2)
|
5
5
|
avm (~> 0.94)
|
6
6
|
avm-eac_asciidoctor_base0 (~> 0.24)
|
7
7
|
avm-eac_generic_base0 (~> 0.13)
|
@@ -12,7 +12,7 @@ PATH
|
|
12
12
|
avm-eac_postgresql_base0 (~> 0.5, >= 0.5.3)
|
13
13
|
avm-eac_python_base0 (~> 0.2, >= 0.2.2)
|
14
14
|
avm-eac_rails_base0 (~> 0.11, >= 0.11.1)
|
15
|
-
avm-eac_rails_base1 (~> 0.10)
|
15
|
+
avm-eac_rails_base1 (~> 0.10, >= 0.10.1)
|
16
16
|
avm-eac_redmine_base0 (~> 0.22, >= 0.22.3)
|
17
17
|
avm-eac_redmine_plugin_base0 (~> 0.4, >= 0.4.1)
|
18
18
|
avm-eac_ruby_base0 (~> 0.1)
|
@@ -24,12 +24,12 @@ PATH
|
|
24
24
|
eac_ruby_utils (~> 0.122)
|
25
25
|
|
26
26
|
PATH
|
27
|
-
remote: sub/avm-
|
27
|
+
remote: sub/avm-eac_rails_base1
|
28
28
|
specs:
|
29
|
-
avm-
|
29
|
+
avm-eac_rails_base1 (0.10.1)
|
30
30
|
avm (~> 0.94)
|
31
|
-
avm-
|
32
|
-
|
31
|
+
avm-eac_ruby_base1 (~> 0.35, >= 0.35.1)
|
32
|
+
avm-eac_webapp_base0 (~> 0.20, >= 0.20.1)
|
33
33
|
eac_ruby_utils (~> 0.122)
|
34
34
|
|
35
35
|
GEM
|
@@ -90,11 +90,6 @@ GEM
|
|
90
90
|
avm-eac_rails_base0 (0.11.1)
|
91
91
|
avm-eac_rails_base1 (~> 0.10)
|
92
92
|
eac_ruby_utils (~> 0.121)
|
93
|
-
avm-eac_rails_base1 (0.10.0)
|
94
|
-
avm (~> 0.81)
|
95
|
-
avm-eac_ruby_base1 (~> 0.33)
|
96
|
-
avm-eac_webapp_base0 (~> 0.18, >= 0.18.2)
|
97
|
-
eac_ruby_utils (~> 0.119, >= 0.119.2)
|
98
93
|
avm-eac_redmine_base0 (0.22.3)
|
99
94
|
avm (~> 0.92)
|
100
95
|
avm-eac_generic_base0 (~> 0.13)
|
@@ -110,6 +105,11 @@ GEM
|
|
110
105
|
avm-eac_ruby_base0 (0.1.0)
|
111
106
|
avm-eac_ruby_base1 (~> 0.34)
|
112
107
|
eac_ruby_utils (~> 0.122)
|
108
|
+
avm-eac_ruby_base1 (0.35.1)
|
109
|
+
avm (~> 0.94)
|
110
|
+
avm-eac_generic_base0 (~> 0.13)
|
111
|
+
eac_envs-http (~> 0.5, >= 0.5.1)
|
112
|
+
eac_ruby_utils (~> 0.122)
|
113
113
|
avm-eac_ubuntu_base0 (0.5.1)
|
114
114
|
avm (~> 0.86, >= 0.86.2)
|
115
115
|
eac_ruby_utils (~> 0.121)
|
@@ -272,7 +272,7 @@ GEM
|
|
272
272
|
rubocop (~> 1.41)
|
273
273
|
rubocop-factory_bot (2.26.1)
|
274
274
|
rubocop (~> 1.61)
|
275
|
-
rubocop-rails (2.26.
|
275
|
+
rubocop-rails (2.26.2)
|
276
276
|
activesupport (>= 4.2.0)
|
277
277
|
rack (>= 1.1)
|
278
278
|
rubocop (>= 1.52.0, < 2.0)
|
@@ -309,7 +309,7 @@ PLATFORMS
|
|
309
309
|
x86_64-linux
|
310
310
|
|
311
311
|
DEPENDENCIES
|
312
|
-
avm-
|
312
|
+
avm-eac_rails_base1!
|
313
313
|
eac_ruby_gem_support (~> 0.10)
|
314
314
|
eac_tools!
|
315
315
|
|
data/lib/eac_tools/version.rb
CHANGED
@@ -2,20 +2,20 @@
|
|
2
2
|
|
3
3
|
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
4
|
|
5
|
-
require 'avm/
|
5
|
+
require 'avm/eac_rails_base1/version'
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
|
-
s.name = 'avm-
|
9
|
-
s.version = Avm::
|
8
|
+
s.name = 'avm-eac_rails_base1'
|
9
|
+
s.version = Avm::EacRailsBase1::VERSION
|
10
10
|
s.authors = ['Put here the authors']
|
11
11
|
s.summary = 'Put here de description.'
|
12
12
|
|
13
|
-
s.files = Dir['{lib,
|
13
|
+
s.files = Dir['{lib,template}/**/*']
|
14
14
|
s.required_ruby_version = '>= 2.7'
|
15
15
|
|
16
16
|
s.add_dependency 'avm', '~> 0.94'
|
17
|
-
s.add_dependency 'avm-
|
18
|
-
s.add_dependency '
|
17
|
+
s.add_dependency 'avm-eac_ruby_base1', '~> 0.35', '>= 0.35.1'
|
18
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.20', '>= 0.20.1'
|
19
19
|
s.add_dependency 'eac_ruby_utils', '~> 0.122'
|
20
20
|
|
21
21
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.10'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module EacRailsBase1
|
7
|
+
module Instances
|
8
|
+
module ApacheBase
|
9
|
+
# @return [String]
|
10
|
+
def document_root
|
11
|
+
::File.join(super, 'public')
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/instances/apache_base'
|
4
|
+
require 'avm/eac_webapp_base0/instances/apache_host'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRailsBase1
|
8
|
+
module Instances
|
9
|
+
class ApacheHost < ::Avm::EacWebappBase0::Instances::ApacheHost
|
10
|
+
prepend ::Avm::EacRailsBase1::Instances::ApacheBase
|
11
|
+
|
12
|
+
def extra_content
|
13
|
+
'PassengerEnabled On'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/instances/apache_base'
|
4
|
+
require 'avm/eac_webapp_base0/instances/apache_path'
|
5
|
+
require 'eac_templates/core_ext'
|
6
|
+
|
7
|
+
module Avm
|
8
|
+
module EacRailsBase1
|
9
|
+
module Instances
|
10
|
+
class ApachePath < ::Avm::EacWebappBase0::Instances::ApachePath
|
11
|
+
prepend ::Avm::EacRailsBase1::Instances::ApacheBase
|
12
|
+
|
13
|
+
# @return [String]
|
14
|
+
def extra_content
|
15
|
+
::Avm::EacRailsBase1::Instances::ApachePath.template.child('extra_content.conf')
|
16
|
+
.apply(variables_source)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/instances/apache_host'
|
4
|
+
require 'avm/eac_rails_base1/instances/apache_path'
|
5
|
+
require 'avm/eac_rails_base1/instances/processes/tasks_scheduler'
|
6
|
+
require 'avm/eac_rails_base1/instances/runners'
|
7
|
+
require 'avm/eac_ruby_base1/instances/mixin'
|
8
|
+
require 'avm/eac_ruby_base1/sources/base'
|
9
|
+
require 'avm/eac_webapp_base0/instances/base'
|
10
|
+
|
11
|
+
module Avm
|
12
|
+
module EacRailsBase1
|
13
|
+
module Instances
|
14
|
+
class Base < ::Avm::EacWebappBase0::Instances::Base
|
15
|
+
include ::Avm::EacRubyBase1::Instances::Mixin
|
16
|
+
|
17
|
+
DEFAULT_RAILS_ENVIRONMENT = 'production'
|
18
|
+
|
19
|
+
def bundle(*args)
|
20
|
+
the_gem.bundle(*args).chdir_root.envvar('RAILS_ENV', DEFAULT_RAILS_ENVIRONMENT)
|
21
|
+
end
|
22
|
+
|
23
|
+
# @return [Avm::Instances::Data::Package]
|
24
|
+
def data_package_create
|
25
|
+
super.add_unit('database', database_unit)
|
26
|
+
end
|
27
|
+
|
28
|
+
# @return [Addressable::URI]
|
29
|
+
def gemfile_source
|
30
|
+
application.local_source.gemfile_source
|
31
|
+
end
|
32
|
+
|
33
|
+
# @return [Array<Avm::Instances::Process>]
|
34
|
+
def processes
|
35
|
+
super + [::Avm::EacRailsBase1::Instances::Processes::TasksScheduler.new(self)]
|
36
|
+
end
|
37
|
+
|
38
|
+
def rake(*args)
|
39
|
+
bundle('exec', 'rake', *args)
|
40
|
+
end
|
41
|
+
|
42
|
+
def the_gem
|
43
|
+
@the_gem ||= ::Avm::EacRubyBase1::Sources::Base.new(
|
44
|
+
::File.join(read_entry('install.path'))
|
45
|
+
).env_set(host_env)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_envs/http/request'
|
4
|
+
require 'avm/eac_webapp_base0/instances/deploy'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRailsBase1
|
8
|
+
module Instances
|
9
|
+
class Deploy < ::Avm::EacWebappBase0::Instances::Deploy
|
10
|
+
set_callback :write_on_target, :before do
|
11
|
+
check_rubygems_access
|
12
|
+
end
|
13
|
+
|
14
|
+
# @return [void]
|
15
|
+
# @raise [EacEnvs::Http::Error]
|
16
|
+
def check_rubygems_access
|
17
|
+
infom "Checkin access to gems provider (\"#{instance.gemfile_source}\")..."
|
18
|
+
::EacEnvs::Http::Request.new.url(instance.gemfile_source).response.body_data_or_raise
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/instances/process'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRailsBase1
|
8
|
+
module Instances
|
9
|
+
module Processes
|
10
|
+
class Daemon < ::Avm::Instances::Process
|
11
|
+
acts_as_abstract :command_name, :gem_name
|
12
|
+
|
13
|
+
# @return [Boolean]
|
14
|
+
def available?
|
15
|
+
instance.application.local_source.gemfile_lock_gem_version(gem_name).present?
|
16
|
+
end
|
17
|
+
|
18
|
+
def disable
|
19
|
+
daemon_command(:stop).system!
|
20
|
+
end
|
21
|
+
|
22
|
+
def enable
|
23
|
+
daemon_command(:start).system!
|
24
|
+
end
|
25
|
+
|
26
|
+
def enabled?
|
27
|
+
daemon_command(:status).execute.fetch(:exit_code).zero?
|
28
|
+
end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
def daemon_command(action)
|
33
|
+
instance.bundle('exec', command_name, action)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/instances/processes/daemon'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRailsBase1
|
8
|
+
module Instances
|
9
|
+
module Processes
|
10
|
+
class TasksScheduler < ::Avm::EacRailsBase1::Instances::Processes::Daemon
|
11
|
+
GEM_NAME = 'tasks_scheduler'
|
12
|
+
COMMAND_NAME = 'tasks_scheduler'
|
13
|
+
|
14
|
+
# @return [String]
|
15
|
+
def command_name
|
16
|
+
COMMAND_NAME
|
17
|
+
end
|
18
|
+
|
19
|
+
# @return [String]
|
20
|
+
def gem_name
|
21
|
+
GEM_NAME
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -1,27 +1,26 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'avm/eac_rails_base1/runner_with/bundle'
|
3
4
|
require 'eac_cli/core_ext'
|
4
5
|
require 'shellwords'
|
5
6
|
|
6
7
|
module Avm
|
7
|
-
module
|
8
|
-
module
|
8
|
+
module EacRailsBase1
|
9
|
+
module Instances
|
9
10
|
module Runners
|
10
11
|
class Bundle
|
11
|
-
runner_with :help do
|
12
|
+
runner_with ::Avm::EacRailsBase1::RunnerWith::Bundle, :help do
|
12
13
|
desc 'Runs "bundle ...".'
|
13
14
|
pos_arg :'bundle-args', repeat: true, optional: true
|
14
15
|
end
|
15
16
|
|
16
17
|
def run
|
17
|
-
|
18
|
+
bundle_run
|
18
19
|
end
|
19
20
|
|
20
|
-
def
|
21
|
-
|
21
|
+
def bundle_args
|
22
|
+
parsed.bundle_args.reject { |arg| arg == '--' }
|
22
23
|
end
|
23
|
-
|
24
|
-
delegate :bundle_args, to: :parsed
|
25
24
|
end
|
26
25
|
end
|
27
26
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/runner_with/bundle'
|
4
|
+
require 'eac_cli/core_ext'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRailsBase1
|
8
|
+
module Instances
|
9
|
+
module Runners
|
10
|
+
class CodeRunner
|
11
|
+
runner_with :help, ::Avm::EacRailsBase1::RunnerWith::Bundle do
|
12
|
+
desc 'Runs a Ruby code with "rails runner".'
|
13
|
+
pos_arg :code
|
14
|
+
end
|
15
|
+
|
16
|
+
def run
|
17
|
+
infov 'Environment', runner_context.call(:instance).host_env
|
18
|
+
bundle_run
|
19
|
+
end
|
20
|
+
|
21
|
+
def bundle_args
|
22
|
+
%w[exec rails runner] + [parsed.code]
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/runner_with/rails_environment'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module EacRailsBase1
|
7
|
+
module Instances
|
8
|
+
module Runners
|
9
|
+
class Log
|
10
|
+
runner_with :help, ::Avm::EacRailsBase1::RunnerWith::RailsEnvironment do
|
11
|
+
desc 'Read application\'s log.'
|
12
|
+
bool_opt '-f', '--follow', 'Output appended data as the log grows.'
|
13
|
+
end
|
14
|
+
|
15
|
+
def run
|
16
|
+
start_banner
|
17
|
+
tail_command.system
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def log_path
|
23
|
+
::File.join(rails_instance.read_entry('install.path'), 'log',
|
24
|
+
"#{rails_environment}.log")
|
25
|
+
end
|
26
|
+
|
27
|
+
def start_banner
|
28
|
+
infov 'Environment', rails_environment
|
29
|
+
infov 'Log path', log_path
|
30
|
+
end
|
31
|
+
|
32
|
+
def tail_command
|
33
|
+
rails_instance.host_env.command(*tail_command_args)
|
34
|
+
end
|
35
|
+
|
36
|
+
def tail_command_args
|
37
|
+
r = %w[tail]
|
38
|
+
r << '--follow' if parsed.follow?
|
39
|
+
r + [log_path]
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/runner_with/rails_environment'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module EacRailsBase1
|
7
|
+
module Instances
|
8
|
+
module Runners
|
9
|
+
class Logs
|
10
|
+
class Clear
|
11
|
+
runner_with :help, ::Avm::EacRailsBase1::RunnerWith::Bundle do
|
12
|
+
desc 'Clear logs.'
|
13
|
+
end
|
14
|
+
|
15
|
+
def run
|
16
|
+
bundle_run
|
17
|
+
end
|
18
|
+
|
19
|
+
def bundle_args
|
20
|
+
%w[exec rake log:clear]
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -3,13 +3,13 @@
|
|
3
3
|
require 'eac_cli/core_ext'
|
4
4
|
|
5
5
|
module Avm
|
6
|
-
module
|
7
|
-
module
|
6
|
+
module EacRailsBase1
|
7
|
+
module Instances
|
8
8
|
module Runners
|
9
|
-
class
|
9
|
+
class Logs
|
10
10
|
require_sub __FILE__
|
11
11
|
runner_with :help, :subcommands do
|
12
|
-
desc '
|
12
|
+
desc 'Manipule multiple application\'s logs.'
|
13
13
|
subcommands
|
14
14
|
end
|
15
15
|
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/runner_with/bundle'
|
4
|
+
require 'avm/instances/entry_keys'
|
5
|
+
require 'eac_cli/core_ext'
|
6
|
+
require 'shellwords'
|
7
|
+
|
8
|
+
module Avm
|
9
|
+
module EacRailsBase1
|
10
|
+
module Instances
|
11
|
+
module Runners
|
12
|
+
class RailsServer
|
13
|
+
DEFAULT_RAILS_ENVIRONMENT = 'development'
|
14
|
+
runner_with :help, ::Avm::EacRailsBase1::RunnerWith::Bundle do
|
15
|
+
desc 'Run the embbeded Rails web server.'
|
16
|
+
end
|
17
|
+
|
18
|
+
def run
|
19
|
+
infov 'Environment', rails_environment
|
20
|
+
infov 'Bundle args', ::Shellwords.join(bundle_args)
|
21
|
+
infov 'Result', bundle_command.system
|
22
|
+
end
|
23
|
+
|
24
|
+
protected
|
25
|
+
|
26
|
+
def bundle_args
|
27
|
+
['exec', 'rails', 'server', '--port',
|
28
|
+
runner_context.call(:instance).read_entry(::Avm::Instances::EntryKeys::WEB_PORT)]
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_rails_base1/instances/systemd_unit'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRailsBase1
|
8
|
+
module Instances
|
9
|
+
module Runners
|
10
|
+
class TasksScheduler
|
11
|
+
class SystemdUnit
|
12
|
+
DEFAULT_RESTART = 'on-failure'
|
13
|
+
|
14
|
+
runner_with :help do
|
15
|
+
desc 'Configure Systemd unit for instace\'s tasks scheduler daemon (Reference: ' \
|
16
|
+
'https://www.freedesktop.org/software/systemd/man/systemd.service.html).'
|
17
|
+
bool_opt '-e', '--exec-run', 'Run daemon with "run" instead of "start"/"stop".'
|
18
|
+
arg_opt '-r', '--restart', 'Value for systemd.service, Restart=.',
|
19
|
+
default: DEFAULT_RESTART
|
20
|
+
end
|
21
|
+
|
22
|
+
delegate :restart, to: :parsed
|
23
|
+
|
24
|
+
def run
|
25
|
+
if result.error?
|
26
|
+
fatal_error result.to_s
|
27
|
+
else
|
28
|
+
infov 'Result', result.label
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def systemd_unit_uncached
|
35
|
+
::Avm::EacRailsBase1::Instances::SystemdUnit.new(runner_context.call(:instance),
|
36
|
+
restart: parsed.restart,
|
37
|
+
exec_run: parsed.exec_run?)
|
38
|
+
end
|
39
|
+
|
40
|
+
def result_uncached
|
41
|
+
systemd_unit.run
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module EacRailsBase1
|
7
|
+
module Instances
|
8
|
+
module Runners
|
9
|
+
class TasksScheduler
|
10
|
+
require_sub __FILE__
|
11
|
+
|
12
|
+
runner_with :help, :subcommands do
|
13
|
+
subcommands
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|