eac_tools 0.102.1 → 0.103.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +46 -43
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +26 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/apache_host.rb +10 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb +27 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/files.rb +18 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/gitolite.rb +52 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/install.rb +43 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/nodejs.rb +19 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/web.rb +17 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +53 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/deploy.rb +16 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +110 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/entity_base.rb +31 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/project.rb +21 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/root.rb +17 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/wiki_page.rb +50 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api.rb +10 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/docker.rb +15 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/read.rb +25 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/write.rb +68 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page.rb +26 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project.rb +22 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project_rename.rb +53 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +32 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/core_update.rb +125 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb +61 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/docker.rb +16 -0
- data/sub/{avm-git/lib/avm/git → avm-eac_redmine_base0/lib/avm/eac_redmine_base0}/version.rb +2 -2
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb +16 -0
- data/sub/avm-eac_redmine_base0/locale/en.yml +6 -0
- data/sub/avm-eac_redmine_base0/locale/pt-BR.yml +6 -0
- data/sub/avm-eac_redmine_base0/spec/lib/avm/eac_redmine_base0/instances/apache_host_spec.rb +22 -0
- data/sub/avm-eac_redmine_base0/spec/lib/avm/eac_redmine_base0/instances/apache_host_spec_files/apache_host_spec_no_ssl_content.conf +11 -0
- data/sub/avm-eac_redmine_base0/spec/lib/avm/eac_redmine_base0/instances/base/gitolite_spec.rb +26 -0
- data/sub/avm-eac_redmine_base0/spec/lib/avm/eac_redmine_base0/instances/base/gitolite_spec_files/config.yml +10 -0
- data/sub/{avm-git → avm-eac_redmine_base0}/spec/spec_helper.rb +3 -2
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/deploy/config/install.sh.template +45 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/deploy/config/secrets.yml +8 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template +37 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_host_dockerfile +8 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_http_virtualhost.conf.template +10 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template +16 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_path_dockerfile +5 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template +52 -0
- data/sub/eac_cli/Gemfile +8 -0
- data/sub/eac_cli/eac_cli.gemspec +23 -0
- data/sub/eac_cli/lib/eac_cli/config/entry/options.rb +55 -0
- data/sub/eac_cli/lib/eac_cli/config/entry/undefined.rb +26 -0
- data/sub/eac_cli/lib/eac_cli/config/entry.rb +55 -0
- data/sub/eac_cli/lib/eac_cli/config.rb +15 -0
- data/sub/eac_cli/lib/eac_cli/core_ext.rb +4 -0
- data/sub/eac_cli/lib/eac_cli/default_runner.rb +12 -0
- data/sub/eac_cli/lib/eac_cli/definition/alternative.rb +101 -0
- data/sub/eac_cli/lib/eac_cli/definition/argument_option.rb +19 -0
- data/sub/eac_cli/lib/eac_cli/definition/boolean_option.rb +25 -0
- data/sub/eac_cli/lib/eac_cli/definition/error.rb +8 -0
- data/sub/eac_cli/lib/eac_cli/definition/option/initialize_args_parser.rb +48 -0
- data/sub/eac_cli/lib/eac_cli/definition/option.rb +70 -0
- data/sub/eac_cli/lib/eac_cli/definition/option_or_positional.rb +41 -0
- data/sub/eac_cli/lib/eac_cli/definition/positional.rb +50 -0
- data/sub/eac_cli/lib/eac_cli/definition.rb +104 -0
- data/sub/eac_cli/lib/eac_cli/enum.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/entry_reader.rb +76 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb +14 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/store_passwords_entry_reader.rb +23 -0
- data/sub/eac_cli/lib/eac_cli/old_configs.rb +31 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/any_options.rb +17 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/argv.rb +19 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/double_dash.rb +24 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/long_options.rb +37 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/option_argument.rb +29 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/options.rb +29 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/positionals.rb +30 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/short_options.rb +54 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative.rb +99 -0
- data/sub/eac_cli/lib/eac_cli/parser/collector.rb +52 -0
- data/sub/eac_cli/lib/eac_cli/parser/error.rb +13 -0
- data/sub/eac_cli/lib/eac_cli/parser.rb +32 -0
- data/sub/eac_cli/lib/eac_cli/patches/object/runner_with.rb +22 -0
- data/sub/eac_cli/lib/eac_cli/patches/object.rb +5 -0
- data/sub/{avm-git/lib/avm/git/issue.rb → eac_cli/lib/eac_cli/patches.rb} +0 -7
- data/sub/eac_cli/lib/eac_cli/rspec/setup.rb +41 -0
- data/sub/eac_cli/lib/eac_cli/rspec.rb +7 -0
- data/sub/eac_cli/lib/eac_cli/runner/after_class_methods.rb +34 -0
- data/sub/eac_cli/lib/eac_cli/runner/class_runner.rb +32 -0
- data/sub/eac_cli/lib/eac_cli/runner/context.rb +57 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/base.rb +22 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/parent.rb +24 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/runner.rb +17 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/runner_missing_method.rb +29 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/set.rb +41 -0
- data/sub/{avm-git/lib/avm/git/launcher_stereotypes.rb → eac_cli/lib/eac_cli/runner/context_responders.rb} +3 -3
- data/sub/eac_cli/lib/eac_cli/runner/exit.rb +14 -0
- data/sub/eac_cli/lib/eac_cli/runner/for_context.rb +35 -0
- data/sub/eac_cli/lib/eac_cli/runner/instance_methods.rb +45 -0
- data/sub/eac_cli/lib/eac_cli/runner.rb +47 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/confirmation/input_result.rb +60 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/confirmation.rb +65 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb +61 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb +79 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help/layout.rb +38 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help.rb +51 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/input.rb +32 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output.rb +54 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item/asciidoc_formatter.rb +70 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item/base_formatter.rb +12 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item/csv_formatter.rb +21 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb +16 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item.rb +47 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list/base_formatter.rb +44 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list/csv_formatter.rb +24 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list/tty_formatter.rb +34 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list/yaml_formatter.rb +21 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list.rb +39 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/subcommands/definition_concern.rb +10 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +124 -0
- data/sub/eac_cli/lib/eac_cli/runner_with.rb +7 -0
- data/sub/eac_cli/lib/eac_cli/runner_with_set.rb +54 -0
- data/sub/eac_cli/lib/eac_cli/speaker/constants.rb +11 -0
- data/sub/eac_cli/lib/eac_cli/speaker/input_blocked.rb +14 -0
- data/sub/eac_cli/lib/eac_cli/speaker/input_requested.rb +8 -0
- data/sub/eac_cli/lib/eac_cli/speaker/list.rb +84 -0
- data/sub/eac_cli/lib/eac_cli/speaker/options.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/speaker/request_from_list.rb +40 -0
- data/sub/eac_cli/lib/eac_cli/speaker.rb +114 -0
- data/sub/eac_cli/lib/eac_cli/version.rb +5 -0
- data/sub/eac_cli/lib/eac_cli.rb +14 -0
- data/sub/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb +18 -0
- data/sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb +14 -0
- data/sub/eac_cli/spec/lib/eac_cli/parser/alternative/subcommands_spec.rb +58 -0
- data/sub/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb +89 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner/for_context_spec.rb +79 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_spec.rb +129 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/confirmation/input_result_spec.rb +36 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/confirmation_spec.rb +42 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb +21 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb +51 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/output_list_spec.rb +57 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/output_spec.rb +81 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb +99 -0
- data/sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb +36 -0
- data/sub/eac_cli/spec/rubocop_spec.rb +3 -0
- data/sub/eac_cli/spec/spec_helper.rb +4 -0
- metadata +157 -130
- data/sub/avm-git/avm-git.gemspec +0 -25
- data/sub/avm-git/lib/avm/git/application_scms/base/assert_main_at.rb +0 -44
- data/sub/avm-git/lib/avm/git/application_scms/base.rb +0 -18
- data/sub/avm-git/lib/avm/git/application_scms.rb +0 -9
- data/sub/avm-git/lib/avm/git/commit/class_methods.rb +0 -29
- data/sub/avm-git/lib/avm/git/commit/diff_tree_line.rb +0 -32
- data/sub/avm-git/lib/avm/git/commit/file.rb +0 -42
- data/sub/avm-git/lib/avm/git/commit.rb +0 -57
- data/sub/avm-git/lib/avm/git/issue/complete/commits.rb +0 -40
- data/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +0 -20
- data/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +0 -59
- data/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +0 -37
- data/sub/avm-git/lib/avm/git/issue/complete/push.rb +0 -60
- data/sub/avm-git/lib/avm/git/issue/complete/remote.rb +0 -33
- data/sub/avm-git/lib/avm/git/issue/complete/test.rb +0 -34
- data/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +0 -21
- data/sub/avm-git/lib/avm/git/issue/complete/validation.rb +0 -36
- data/sub/avm-git/lib/avm/git/issue/complete/validations.rb +0 -54
- data/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +0 -19
- data/sub/avm-git/lib/avm/git/issue/complete.rb +0 -66
- data/sub/avm-git/lib/avm/git/launcher/base/class_methods.rb +0 -28
- data/sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb +0 -21
- data/sub/avm-git/lib/avm/git/launcher/base/remotes.rb +0 -37
- data/sub/avm-git/lib/avm/git/launcher/base/subrepo.rb +0 -42
- data/sub/avm-git/lib/avm/git/launcher/base/underlying.rb +0 -54
- data/sub/avm-git/lib/avm/git/launcher/base.rb +0 -81
- data/sub/avm-git/lib/avm/git/launcher/error.rb +0 -13
- data/sub/avm-git/lib/avm/git/launcher/mirror_update.rb +0 -36
- data/sub/avm-git/lib/avm/git/launcher/publish_base.rb +0 -127
- data/sub/avm-git/lib/avm/git/launcher/remote.rb +0 -53
- data/sub/avm-git/lib/avm/git/launcher/sub_warp_base.rb +0 -36
- data/sub/avm-git/lib/avm/git/launcher/warp_base.rb +0 -63
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/local_project_mixin.rb +0 -16
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/publish.rb +0 -13
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/warp.rb +0 -25
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git.rb +0 -22
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb +0 -29
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/warp.rb +0 -82
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo.rb +0 -32
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/publish.rb +0 -12
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/warp.rb +0 -29
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree.rb +0 -47
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/provider.rb +0 -17
- data/sub/avm-git/lib/avm/git/organize/reference_update.rb +0 -32
- data/sub/avm-git/lib/avm/git/organize/repository.rb +0 -74
- data/sub/avm-git/lib/avm/git/organize.rb +0 -9
- data/sub/avm-git/lib/avm/git/revision_test.rb +0 -102
- data/sub/avm-git/lib/avm/git/runners/base/commit.rb +0 -96
- data/sub/avm-git/lib/avm/git/runners/base/deploy.rb +0 -108
- data/sub/avm-git/lib/avm/git/runners/base/dirty_files.rb +0 -42
- data/sub/avm-git/lib/avm/git/runners/base/organize.rb +0 -72
- data/sub/avm-git/lib/avm/git/runners/base/revisions_test.rb +0 -63
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/check.rb +0 -45
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/clone.rb +0 -80
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/fix.rb +0 -69
- data/sub/avm-git/lib/avm/git/runners/base/subrepo.rb +0 -17
- data/sub/avm-git/lib/avm/git/runners/base.rb +0 -40
- data/sub/avm-git/lib/avm/git/runners.rb +0 -9
- data/sub/avm-git/lib/avm/git/scms/git/branch.rb +0 -28
- data/sub/avm-git/lib/avm/git/scms/git/branches.rb +0 -17
- data/sub/avm-git/lib/avm/git/scms/git/change_tracker.rb +0 -34
- data/sub/avm-git/lib/avm/git/scms/git/changed_file.rb +0 -25
- data/sub/avm-git/lib/avm/git/scms/git/changed_files.rb +0 -21
- data/sub/avm-git/lib/avm/git/scms/git/commit/deploy.rb +0 -37
- data/sub/avm-git/lib/avm/git/scms/git/commit/deploy_methods.rb +0 -24
- data/sub/avm-git/lib/avm/git/scms/git/commit.rb +0 -64
- data/sub/avm-git/lib/avm/git/scms/git/commit_dirty.rb +0 -32
- data/sub/avm-git/lib/avm/git/scms/git/commits.rb +0 -44
- data/sub/avm-git/lib/avm/git/scms/git/interval.rb +0 -28
- data/sub/avm-git/lib/avm/git/scms/git/milestones.rb +0 -18
- data/sub/avm-git/lib/avm/git/scms/git/remote.rb +0 -18
- data/sub/avm-git/lib/avm/git/scms/git/remotes.rb +0 -29
- data/sub/avm-git/lib/avm/git/scms/git/run_commit.rb +0 -54
- data/sub/avm-git/lib/avm/git/scms/git.rb +0 -46
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/changed_file.rb +0 -19
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/commit.rb +0 -23
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/interval.rb +0 -23
- data/sub/avm-git/lib/avm/git/scms/git_sub_base.rb +0 -30
- data/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +0 -33
- data/sub/avm-git/lib/avm/git/scms/git_subtree.rb +0 -29
- data/sub/avm-git/lib/avm/git/scms/provider.rb +0 -16
- data/sub/avm-git/lib/avm/git/scms.rb +0 -9
- data/sub/avm-git/lib/avm/git/subrepo_check/parent.rb +0 -48
- data/sub/avm-git/lib/avm/git/subrepo_check/remote.rb +0 -86
- data/sub/avm-git/lib/avm/git/subrepo_check/show_result.rb +0 -30
- data/sub/avm-git/lib/avm/git/subrepo_check.rb +0 -36
- data/sub/avm-git/lib/avm/git/subrepo_checks.rb +0 -57
- data/sub/avm-git/lib/avm/git/vendor/github.rb +0 -20
- data/sub/avm-git/lib/avm/git/vendor.rb +0 -9
- data/sub/avm-git/lib/avm/git.rb +0 -16
- data/sub/avm-git/locale/en.yml +0 -6
- data/sub/avm-git/locale/pt-BR.yml +0 -6
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb +0 -13
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +0 -1
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +0 -7
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +0 -1
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +0 -7
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +0 -1
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +0 -7
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +0 -2
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +0 -13
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +0 -2
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +0 -13
- data/sub/avm-git/spec/lib/avm/git/commit_spec.rb +0 -56
- data/sub/avm-git/spec/lib/avm/git/launcher/base_spec.rb +0 -45
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec.rb +0 -83
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_files/config.yml +0 -5
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_settings.yml +0 -6
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec.rb +0 -53
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_files/config.yml +0 -3
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_settings.yml +0 -6
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec.rb +0 -126
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append1/stub3.txt.template +0 -1
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append2/stub4.txt +0 -1
- data/sub/avm-git/spec/lib/avm/git/scms/git/commit/deploy_spec.rb +0 -92
- data/sub/avm-git/spec/lib/avm/git/scms/git_spec.rb +0 -8
- data/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +0 -8
- data/sub/avm-git/spec/lib/avm/git/vendor/github_spec.rb +0 -23
- /data/sub/{avm-git → avm-eac_redmine_base0}/Gemfile +0 -0
- /data/sub/{avm-git → avm-eac_redmine_base0}/spec/rubocop_spec.rb +0 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Instances
|
6
|
+
class RestApi < ::EacRest::Api
|
7
|
+
class Root < ::Avm::EacRedmineBase0::Instances::RestApi::EntityBase
|
8
|
+
# @param id_or_identifier [String]
|
9
|
+
# @return [Avm::EacRedmineBase0::Instances::RestApi::Project]
|
10
|
+
def project(id_or_identifier)
|
11
|
+
api.entity(::Avm::EacRedmineBase0::Instances::RestApi::Project, id_or_identifier)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Instances
|
6
|
+
class RestApi < ::EacRest::Api
|
7
|
+
class WikiPage < ::Avm::EacRedmineBase0::Instances::RestApi::EntityBase
|
8
|
+
enable_simple_cache
|
9
|
+
|
10
|
+
# @return [Hash]
|
11
|
+
def data_from_id
|
12
|
+
fetch_data(prefix)
|
13
|
+
end
|
14
|
+
|
15
|
+
# @return [String]
|
16
|
+
def data_root
|
17
|
+
'wiki_page'
|
18
|
+
end
|
19
|
+
|
20
|
+
# @return [String]
|
21
|
+
def prefix
|
22
|
+
"#{parent_entity.prefix}/wiki/#{id}"
|
23
|
+
end
|
24
|
+
|
25
|
+
# @return [String]
|
26
|
+
def read
|
27
|
+
data.fetch(data_root).fetch('text')
|
28
|
+
end
|
29
|
+
|
30
|
+
# @param content [String]
|
31
|
+
# @return [+self+]
|
32
|
+
def write(text)
|
33
|
+
data_from_response(
|
34
|
+
build_request(prefix).verb(:put).header('Content-type', 'application/json')
|
35
|
+
.body_data(write_data(text).to_json).response
|
36
|
+
)
|
37
|
+
end
|
38
|
+
|
39
|
+
# @param text [String]
|
40
|
+
# @return [Hash]
|
41
|
+
def write_data(text)
|
42
|
+
{
|
43
|
+
data_root => { 'text' => text }
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/read.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Instances
|
6
|
+
module Runners
|
7
|
+
class Project
|
8
|
+
class WikiPage
|
9
|
+
class Read
|
10
|
+
runner_with :help, :output
|
11
|
+
|
12
|
+
def run
|
13
|
+
run_output
|
14
|
+
end
|
15
|
+
|
16
|
+
def output_content
|
17
|
+
runner_context.call(:wiki_page_content)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Instances
|
6
|
+
module Runners
|
7
|
+
class Project
|
8
|
+
class WikiPage
|
9
|
+
class Write
|
10
|
+
runner_with :help, :confirmation, :input do
|
11
|
+
bool_opt '-f', '--force'
|
12
|
+
end
|
13
|
+
delegate :force?, to: :parsed
|
14
|
+
|
15
|
+
def run
|
16
|
+
start_banner
|
17
|
+
if write?
|
18
|
+
run_write
|
19
|
+
else
|
20
|
+
success 'Content unchanged, no further action will be taken'
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def start_banner
|
25
|
+
infov 'Content'
|
26
|
+
infov ' * Current', current_content
|
27
|
+
infov ' * New', new_content
|
28
|
+
infov ' * Changed?', content_changed?
|
29
|
+
end
|
30
|
+
|
31
|
+
# @return [Boolean]
|
32
|
+
def content_changed?
|
33
|
+
new_content != current_content
|
34
|
+
end
|
35
|
+
|
36
|
+
def run_write
|
37
|
+
if confirm?('Write?')
|
38
|
+
infom 'Writing...'
|
39
|
+
runner_context.call(:wiki_page).write(new_content)
|
40
|
+
success('Writed!')
|
41
|
+
else
|
42
|
+
success('Unconfirmed, no further action will be taken')
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# @return [Boolean]
|
47
|
+
def write?
|
48
|
+
parsed.force? || content_changed?
|
49
|
+
end
|
50
|
+
|
51
|
+
private
|
52
|
+
|
53
|
+
# @return [String]
|
54
|
+
def current_content_uncached
|
55
|
+
runner_context.call(:wiki_page_content)
|
56
|
+
end
|
57
|
+
|
58
|
+
# @return [String]
|
59
|
+
def new_content_uncached
|
60
|
+
input_content
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Instances
|
6
|
+
module Runners
|
7
|
+
class Project
|
8
|
+
class WikiPage
|
9
|
+
runner_with :help, :subcommands do
|
10
|
+
pos_arg :name
|
11
|
+
subcommands
|
12
|
+
end
|
13
|
+
|
14
|
+
def wiki_page
|
15
|
+
runner_context.call(:project).wiki_page(parsed.name)
|
16
|
+
end
|
17
|
+
|
18
|
+
def wiki_page_content
|
19
|
+
wiki_page.read
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Instances
|
6
|
+
module Runners
|
7
|
+
class Project
|
8
|
+
runner_with :help, :subcommands do
|
9
|
+
pos_arg :id_or_identifier
|
10
|
+
subcommands
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def project_uncached
|
16
|
+
runner_context.call(:instance).rest_api.root_entity.project(parsed.id_or_identifier)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Instances
|
6
|
+
module Runners
|
7
|
+
class ProjectRename
|
8
|
+
runner_with :help, ::Avm::EacRailsBase1::RunnerWith::Bundle do
|
9
|
+
pos_arg :from
|
10
|
+
pos_arg :to
|
11
|
+
end
|
12
|
+
|
13
|
+
def run
|
14
|
+
bundle_run
|
15
|
+
end
|
16
|
+
|
17
|
+
def start_banner
|
18
|
+
infov 'From', from
|
19
|
+
infov 'To', to
|
20
|
+
end
|
21
|
+
|
22
|
+
delegate :from, :to, to: :parsed
|
23
|
+
|
24
|
+
def bundle_args
|
25
|
+
%w[exec rails runner] + [code]
|
26
|
+
end
|
27
|
+
|
28
|
+
def code
|
29
|
+
<<~CODE
|
30
|
+
from_arg = '#{from}'
|
31
|
+
to_arg = '#{to}'
|
32
|
+
project = ::Project.where(identifier: from_arg).first
|
33
|
+
if project.present?
|
34
|
+
puts "Project found: \#{project}"
|
35
|
+
puts "Renaming..."
|
36
|
+
project.update_column(:identifier, to_arg)
|
37
|
+
puts "Renamed. Testing..."
|
38
|
+
project = ::Project.where(identifier: to_arg).first
|
39
|
+
if project
|
40
|
+
puts "Project found: \#{project}"
|
41
|
+
else
|
42
|
+
fail "After rename: project not found with identifier \\"\#{to_arg}\\""
|
43
|
+
end
|
44
|
+
else
|
45
|
+
fail "Before rename: project not found with identifier \\"\#{from_arg}\\""
|
46
|
+
end
|
47
|
+
CODE
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Sources
|
6
|
+
class Base < ::Avm::EacRailsBase1::Sources::Base
|
7
|
+
DEFAULT_TEST_COMMANDS = {}.freeze
|
8
|
+
REDMINE_LIB_SUBPATH = 'lib/redmine.rb'
|
9
|
+
SUBS_INCLUDE_PATHS_DEFAULT = ['plugins/*'].freeze
|
10
|
+
|
11
|
+
# Return a empty hash (No tests).
|
12
|
+
#
|
13
|
+
# @return [Hash<String, EacRubyUtils::Envs::Command].
|
14
|
+
def default_test_commands
|
15
|
+
DEFAULT_TEST_COMMANDS
|
16
|
+
end
|
17
|
+
|
18
|
+
def redmine_lib_path
|
19
|
+
path.join(REDMINE_LIB_SUBPATH)
|
20
|
+
end
|
21
|
+
|
22
|
+
def subs_include_paths_default
|
23
|
+
SUBS_INCLUDE_PATHS_DEFAULT
|
24
|
+
end
|
25
|
+
|
26
|
+
def valid?
|
27
|
+
super && redmine_lib_path.exist?
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,125 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Sources
|
6
|
+
class CoreUpdate
|
7
|
+
enable_speaker
|
8
|
+
enable_simple_cache
|
9
|
+
common_constructor :source, :version, :url
|
10
|
+
|
11
|
+
GITIGNORE_ADD = %w[/public/assets/**/* /config/install.sh /config/secrets_key.txt
|
12
|
+
/log/**/*].freeze
|
13
|
+
GITIGNORE_DEL = %w[/Gemfile.lock /plugins/* /public/themes/*].freeze
|
14
|
+
TARGET_KEEP = ::Avm::Sources::Base::Configuration::CONFIGURATION_FILENAMES
|
15
|
+
.map { |b| "/#{b}" } + %w[/Gemfile.lock /plugins/*/**
|
16
|
+
/public/themes/*/**].freeze
|
17
|
+
TARGET_REMOVE = %w[alternate classic].map { |t| "/public/themes/#{t}/**" }
|
18
|
+
|
19
|
+
def run
|
20
|
+
::EacRubyUtils::Fs::Temp.on_directory do |dir|
|
21
|
+
@tempdir = dir
|
22
|
+
assert_source_package
|
23
|
+
extract_package_to_tempdir
|
24
|
+
sync_content
|
25
|
+
change_git_ignore
|
26
|
+
validate_empty_dir
|
27
|
+
end
|
28
|
+
git_commit
|
29
|
+
success 'Done!'
|
30
|
+
end
|
31
|
+
|
32
|
+
def assert_source_package
|
33
|
+
infom 'Asserting source package...'
|
34
|
+
source_package.assert
|
35
|
+
infov 'Package cache path', source_package.path
|
36
|
+
infov 'Package size', source_package.path.size
|
37
|
+
end
|
38
|
+
|
39
|
+
def fs_object_id
|
40
|
+
[source.path, version].join('_').variableize
|
41
|
+
end
|
42
|
+
|
43
|
+
private
|
44
|
+
|
45
|
+
attr_reader :tempdir
|
46
|
+
|
47
|
+
def change_git_ignore
|
48
|
+
file = target_path.join('.gitignore')
|
49
|
+
file.write(
|
50
|
+
(file.read.each_line.map(&:strip).reject { |line| GITIGNORE_DEL.include?(line) } +
|
51
|
+
['', '#eac_redmine_base0'] + GITIGNORE_ADD).map { |line| "#{line}\n" }.join
|
52
|
+
)
|
53
|
+
end
|
54
|
+
|
55
|
+
def extract_package_to_tempdir
|
56
|
+
infom "Extracting package to tempdir #{tempdir}..."
|
57
|
+
::EacRubyUtils::Envs.local.command(
|
58
|
+
'tar', '-xf', source_package.path.to_path, '-C', tempdir.to_path,
|
59
|
+
'--strip-components', '1'
|
60
|
+
).execute!
|
61
|
+
end
|
62
|
+
|
63
|
+
def git_commit
|
64
|
+
if git_repo.dirty?
|
65
|
+
infom 'Git commiting...'
|
66
|
+
git_repo.command('add', '--', target_path).execute!
|
67
|
+
git_repo.command('commit', '-m', git_commit_message, '--', target_path).execute!
|
68
|
+
else
|
69
|
+
infom 'Nothing to commit'
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
def git_commit_message
|
74
|
+
i18n_translate(__method__, version: version, __locale: source.locale)
|
75
|
+
end
|
76
|
+
|
77
|
+
def git_repo_uncached
|
78
|
+
::EacGit::Local.new(target_path)
|
79
|
+
end
|
80
|
+
|
81
|
+
def sync_content
|
82
|
+
::Avm::Sync.new(source_path, target_path)
|
83
|
+
.add_exclude('/*').add_includes(*target_files_to_remove).move_mode(true).run
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [EacFs::CachedDownload]
|
87
|
+
def source_package_uncached
|
88
|
+
::EacFs::CachedDownload.new(url, fs_cache)
|
89
|
+
end
|
90
|
+
|
91
|
+
def validate_empty_dir
|
92
|
+
if source_path.children.empty?
|
93
|
+
infom 'No content left in source directory'
|
94
|
+
else
|
95
|
+
fatal_error 'Found entries in source directory: ' + # rubocop:disable Style/StringConcatenation
|
96
|
+
source_path.children.map { |c| c.basename.to_path }.join(', ')
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
def source_path_uncached
|
101
|
+
::Pathname.new(tempdir.to_path)
|
102
|
+
end
|
103
|
+
|
104
|
+
# @return [Enumerable<String>]
|
105
|
+
def target_files_to_remove
|
106
|
+
git_repo.command('ls-files').execute!
|
107
|
+
.each_line.map { |v| "/#{v.strip}" }
|
108
|
+
.reject { |tpath| target_keep?(tpath) }
|
109
|
+
end
|
110
|
+
|
111
|
+
# @param tpath [String]
|
112
|
+
# @return [Boolean]
|
113
|
+
def target_keep?(tpath)
|
114
|
+
tpath = tpath.to_pathname
|
115
|
+
TARGET_REMOVE.none? { |target_remove| tpath.fnmatch?(target_remove) }
|
116
|
+
TARGET_KEEP.any? { |target_keep| tpath.fnmatch?(target_keep) }
|
117
|
+
end
|
118
|
+
|
119
|
+
def target_path_uncached
|
120
|
+
source.path
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Sources
|
6
|
+
module Runners
|
7
|
+
class CoreUpdate
|
8
|
+
runner_with :help do
|
9
|
+
arg_opt '-u', '--url', 'Core\'s package URL.'
|
10
|
+
arg_opt '-v', '--version', 'Core\'s version.'
|
11
|
+
desc 'Update instance\' core.'
|
12
|
+
end
|
13
|
+
|
14
|
+
def run
|
15
|
+
start_banner
|
16
|
+
validate
|
17
|
+
update
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def start_banner
|
23
|
+
infov 'URL', url
|
24
|
+
infov 'Version', version
|
25
|
+
end
|
26
|
+
|
27
|
+
def update
|
28
|
+
::Avm::EacRedmineBase0::Sources::CoreUpdate
|
29
|
+
.new(runner_context.call(:subject), version, url).run
|
30
|
+
end
|
31
|
+
|
32
|
+
def url
|
33
|
+
parsed.url || url_by_version
|
34
|
+
end
|
35
|
+
|
36
|
+
def url_by_version
|
37
|
+
parsed.version.if_present do |v|
|
38
|
+
"https://www.redmine.org/releases/redmine-#{v}.tar.gz"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def validate
|
43
|
+
%w[url version].each do |attr|
|
44
|
+
fatal_error "\"#{attr}\" is blank. See avaiable options." if send(attr).blank?
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def version
|
49
|
+
parsed.version || version_by_url
|
50
|
+
end
|
51
|
+
|
52
|
+
def version_by_url
|
53
|
+
parsed.url.if_present do |v|
|
54
|
+
/(\d+.\d+.\d+)/.if_match(v, false) { |m| m[1] }
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRedmineBase0
|
5
|
+
module Sources
|
6
|
+
module Runners
|
7
|
+
class Docker < ::Avm::EacGenericBase0::Sources::Docker::Runner
|
8
|
+
# @return [Avm::EacUbuntuBase0::DockerImage]
|
9
|
+
def docker_image
|
10
|
+
::Avm::EacUbuntuBase0::DockerImage.new
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils'
|
4
|
+
EacRubyUtils::RootModuleSetup.perform __FILE__
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRedmineBase0
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
require 'avm'
|
12
|
+
require 'avm/eac_generic_base0'
|
13
|
+
require 'avm/eac_rails_base1'
|
14
|
+
require 'avm/eac_ubuntu_base0'
|
15
|
+
require 'eac_fs'
|
16
|
+
require 'eac_rest'
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_redmine_base0/instances/apache_host'
|
4
|
+
require 'avm/eac_redmine_base0/instances/base'
|
5
|
+
|
6
|
+
RSpec.describe Avm::EacRedmineBase0::Instances::ApacheHost do
|
7
|
+
describe '#no_ssl_site_content' do
|
8
|
+
let(:instance) { Avm::EacRedmineBase0::Instances::Base.by_id('stub-app_0') }
|
9
|
+
let(:apache_host) { described_class.new(instance) }
|
10
|
+
let(:fixtures_dir) { Pathname.new('apache_host_spec_files').expand_path(__dir__) }
|
11
|
+
let(:expected_content) { fixtures_dir.join('apache_host_spec_no_ssl_content.conf').read }
|
12
|
+
|
13
|
+
before do
|
14
|
+
instance.entry('install.path').write('/path/to/stub-app_0')
|
15
|
+
instance.entry('web.url').write('http://stubapp.net')
|
16
|
+
end
|
17
|
+
|
18
|
+
it do
|
19
|
+
expect(apache_host.no_ssl_site_content).to eq(expected_content)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_redmine_base0/instances/base'
|
4
|
+
|
5
|
+
RSpec.describe Avm::EacRedmineBase0::Instances::Base, '#gitolite' do
|
6
|
+
include_examples 'entries_values', __FILE__, {
|
7
|
+
'app_0' => {
|
8
|
+
'gitolite.username' => 'git',
|
9
|
+
'gitolite.path' => '/var/lib/git',
|
10
|
+
'gitolite.scheme' => 'file',
|
11
|
+
'gitolite.hostname' => 'localhost'
|
12
|
+
},
|
13
|
+
'app_1' => {
|
14
|
+
'gitolite.username' => 'git1',
|
15
|
+
'gitolite.path' => '/var/lib/git1',
|
16
|
+
'gitolite.scheme' => 'file',
|
17
|
+
'gitolite.hostname' => 'localhost'
|
18
|
+
},
|
19
|
+
'app_2' => {
|
20
|
+
'gitolite.username' => 'git2',
|
21
|
+
'gitolite.path' => '/home/git2',
|
22
|
+
'gitolite.scheme' => 'file',
|
23
|
+
'gitolite.hostname' => 'localhost'
|
24
|
+
}
|
25
|
+
}
|
26
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/
|
3
|
+
require 'avm/eac_redmine_base0'
|
4
4
|
require 'eac_ruby_gem_support'
|
5
|
-
EacRubyUtils::Rspec.default_setup_create(File.expand_path('..', __dir__))
|
5
|
+
EacRubyUtils::Rspec.default_setup_create(File.expand_path('..', __dir__))
|
6
|
+
EacRubyUtils::Rspec.default_setup.stub_eac_config_node
|