eac_tools 0.92.0 → 0.94.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +68 -53
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/avm.gemspec +3 -3
- data/sub/avm/lib/avm/launcher/context.rb +0 -5
- data/sub/avm/lib/avm/rspec/launcher_controller.rb +96 -0
- data/sub/avm/lib/avm/rspec/setup.rb +1 -1
- data/sub/avm/lib/avm/rspec/shared_examples/with_launcher.rb +16 -0
- data/sub/avm/lib/avm/scms/base.rb +1 -1
- data/sub/avm/lib/avm/sources/base/sub.rb +1 -1
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm/spec/lib/avm/launcher/context_spec.rb +2 -2
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec.rb +2 -2
- data/sub/avm/template/avm/rspec/launcher_controller/settings.yml +1 -0
- data/sub/avm-eac_webapp_base0/Gemfile +8 -0
- data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +25 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb +26 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/css/file_apply.rb +48 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/css.rb +22 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/html.rb +43 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/javascript.rb +22 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/json.rb +25 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/provider.rb +24 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/xml.rb +26 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats.rb +11 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_base.rb +33 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_host.rb +78 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_path.rb +42 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/apache.rb +44 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/deploy_info.rb +30 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/install.rb +22 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb +44 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/appended_directories.rb +27 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/build.rb +50 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/info.rb +47 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/scm.rb +88 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/setup_files_unit.rb +53 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/write_on_target.rb +20 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb +76 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy_info.rb +37 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/processes/web_server.rb +37 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/processes.rb +13 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_host.rb +36 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb +40 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/load.rb +60 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/deploy.rb +57 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/deploy_info.rb +28 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners.rb +13 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources/base.rb +15 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources.rb +11 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +7 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0.rb +9 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec.rb +7 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec_files/css1.source.css +11 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec_files/css1.target.css +11 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec.rb +7 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.erb.source +8 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.erb.target +8 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.source +5 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.target +5 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec.rb +7 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec_files/javascript_code1.js.source +29 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec_files/javascript_code1.js.target +21 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec.rb +7 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec_files/json_code.json.source +8 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec_files/json_code.json.target +7 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec.rb +7 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec_files/xml_code.xml.source +11 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec_files/xml_code.xml.target +9 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/instances/base_spec.rb +11 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/sources/base_spec.rb +7 -0
- data/sub/avm-eac_webapp_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_webapp_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/instances/apache_host/no_ssl.conf +11 -0
- data/sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/instances/apache_path/default.conf +7 -0
- data/sub/avm-git/Gemfile +8 -0
- data/sub/avm-git/avm-git.gemspec +25 -0
- data/sub/avm-git/lib/avm/git/application_scms/base/assert_main_at.rb +49 -0
- data/sub/avm-git/lib/avm/git/application_scms/base.rb +21 -0
- data/sub/avm-git/lib/avm/git/application_scms.rb +11 -0
- data/sub/avm-git/lib/avm/git/commit/class_methods.rb +31 -0
- data/sub/avm-git/lib/avm/git/commit/diff_tree_line.rb +32 -0
- data/sub/avm-git/lib/avm/git/commit/file.rb +46 -0
- data/sub/avm-git/lib/avm/git/commit.rb +59 -0
- data/sub/avm-git/lib/avm/git/issue/complete/commits.rb +42 -0
- data/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +23 -0
- data/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +61 -0
- data/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +39 -0
- data/sub/avm-git/lib/avm/git/issue/complete/push.rb +60 -0
- data/sub/avm-git/lib/avm/git/issue/complete/remote.rb +33 -0
- data/sub/avm-git/lib/avm/git/issue/complete/test.rb +40 -0
- data/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +21 -0
- data/sub/avm-git/lib/avm/git/issue/complete/validation.rb +39 -0
- data/sub/avm-git/lib/avm/git/issue/complete/validations.rb +53 -0
- data/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +19 -0
- data/sub/avm-git/lib/avm/git/issue/complete.rb +69 -0
- data/sub/avm-git/lib/avm/git/issue.rb +11 -0
- data/sub/avm-git/lib/avm/git/launcher/base/class_methods.rb +28 -0
- data/sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb +23 -0
- data/sub/avm-git/lib/avm/git/launcher/base/remotes.rb +40 -0
- data/sub/avm-git/lib/avm/git/launcher/base/subrepo.rb +44 -0
- data/sub/avm-git/lib/avm/git/launcher/base/underlying.rb +59 -0
- data/sub/avm-git/lib/avm/git/launcher/base.rb +87 -0
- data/sub/avm-git/lib/avm/git/launcher/error.rb +15 -0
- data/sub/avm-git/lib/avm/git/launcher/mirror_update.rb +38 -0
- data/sub/avm-git/lib/avm/git/launcher/publish_base.rb +131 -0
- data/sub/avm-git/lib/avm/git/launcher/remote.rb +55 -0
- data/sub/avm-git/lib/avm/git/launcher/sub_warp_base.rb +33 -0
- data/sub/avm-git/lib/avm/git/launcher/warp_base.rb +68 -0
- data/sub/avm-git/lib/avm/git/launcher.rb +7 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/local_project_mixin.rb +19 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/publish.rb +15 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/warp.rb +27 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git.rb +25 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb +31 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/warp.rb +88 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo.rb +36 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/publish.rb +14 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/warp.rb +32 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree.rb +51 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/provider.rb +22 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes.rb +11 -0
- data/sub/avm-git/lib/avm/git/organize/reference_update.rb +34 -0
- data/sub/avm-git/lib/avm/git/organize/repository.rb +77 -0
- data/sub/avm-git/lib/avm/git/organize.rb +11 -0
- data/sub/avm-git/lib/avm/git/revision_test.rb +105 -0
- data/sub/avm-git/lib/avm/git/runners/base/commit.rb +102 -0
- data/sub/avm-git/lib/avm/git/runners/base/deploy.rb +111 -0
- data/sub/avm-git/lib/avm/git/runners/base/dirty_files.rb +44 -0
- data/sub/avm-git/lib/avm/git/runners/base/organize.rb +75 -0
- data/sub/avm-git/lib/avm/git/runners/base/revisions_test.rb +66 -0
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/check.rb +48 -0
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/clone.rb +83 -0
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/fix.rb +76 -0
- data/sub/avm-git/lib/avm/git/runners/base/subrepo.rb +19 -0
- data/sub/avm-git/lib/avm/git/runners/base.rb +43 -0
- data/sub/avm-git/lib/avm/git/runners.rb +11 -0
- data/sub/avm-git/lib/avm/git/scms/git/branch.rb +31 -0
- data/sub/avm-git/lib/avm/git/scms/git/branches.rb +20 -0
- data/sub/avm-git/lib/avm/git/scms/git/change_tracker.rb +36 -0
- data/sub/avm-git/lib/avm/git/scms/git/changed_file.rb +16 -0
- data/sub/avm-git/lib/avm/git/scms/git/changed_files.rb +24 -0
- data/sub/avm-git/lib/avm/git/scms/git/commit/deploy.rb +43 -0
- data/sub/avm-git/lib/avm/git/scms/git/commit/deploy_methods.rb +30 -0
- data/sub/avm-git/lib/avm/git/scms/git/commit.rb +67 -0
- data/sub/avm-git/lib/avm/git/scms/git/commit_dirty.rb +36 -0
- data/sub/avm-git/lib/avm/git/scms/git/commits.rb +47 -0
- data/sub/avm-git/lib/avm/git/scms/git/interval.rb +31 -0
- data/sub/avm-git/lib/avm/git/scms/git/milestones.rb +21 -0
- data/sub/avm-git/lib/avm/git/scms/git/remote.rb +21 -0
- data/sub/avm-git/lib/avm/git/scms/git/remotes.rb +32 -0
- data/sub/avm-git/lib/avm/git/scms/git/run_commit.rb +57 -0
- data/sub/avm-git/lib/avm/git/scms/git.rb +51 -0
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/changed_file.rb +21 -0
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/commit.rb +27 -0
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/interval.rb +28 -0
- data/sub/avm-git/lib/avm/git/scms/git_sub_base.rb +33 -0
- data/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +37 -0
- data/sub/avm-git/lib/avm/git/scms/git_subtree.rb +34 -0
- data/sub/avm-git/lib/avm/git/scms/provider.rb +21 -0
- data/sub/avm-git/lib/avm/git/scms.rb +11 -0
- data/sub/avm-git/lib/avm/git/subrepo_check/parent.rb +51 -0
- data/sub/avm-git/lib/avm/git/subrepo_check/remote.rb +89 -0
- data/sub/avm-git/lib/avm/git/subrepo_check/show_result.rb +32 -0
- data/sub/avm-git/lib/avm/git/subrepo_check.rb +38 -0
- data/sub/avm-git/lib/avm/git/subrepo_checks.rb +60 -0
- data/sub/avm-git/lib/avm/git/vendor/github.rb +20 -0
- data/sub/avm-git/lib/avm/git/vendor.rb +11 -0
- data/sub/avm-git/lib/avm/git/version.rb +7 -0
- data/sub/avm-git/lib/avm/git.rb +9 -0
- data/sub/avm-git/locale/en.yml +6 -0
- data/sub/avm-git/locale/pt-BR.yml +6 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb +13 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +1 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +1 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +1 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +2 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
- data/sub/avm-git/spec/lib/avm/git/commit_spec.rb +56 -0
- data/sub/avm-git/spec/lib/avm/git/launcher/base_spec.rb +45 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec.rb +83 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_files/config.yml +5 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_settings.yml +6 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec.rb +53 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_files/config.yml +3 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_settings.yml +6 -0
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec.rb +126 -0
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append1/stub3.txt.template +1 -0
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append2/stub4.txt +1 -0
- data/sub/avm-git/spec/lib/avm/git/scms/git/commit/deploy_spec.rb +92 -0
- data/sub/avm-git/spec/lib/avm/git/scms/git_spec.rb +8 -0
- data/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +8 -0
- data/sub/avm-git/spec/lib/avm/git/vendor/github_spec.rb +23 -0
- data/sub/avm-git/spec/rubocop_spec.rb +3 -0
- data/sub/avm-git/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/Gemfile +8 -0
- data/sub/avm-tools/README.textile +28 -0
- data/sub/avm-tools/avm-tools.gemspec +25 -0
- data/sub/avm-tools/exe/avm +6 -0
- data/sub/avm-tools/lib/avm/tools/core_ext.rb +3 -0
- data/sub/avm-tools/lib/avm/tools/rspec/helpers/runner.rb +20 -0
- data/sub/avm-tools/lib/avm/tools/rspec/helpers.rb +13 -0
- data/sub/avm-tools/lib/avm/tools/rspec/setup.rb +24 -0
- data/sub/avm-tools/lib/avm/tools/rspec.rb +11 -0
- data/sub/avm-tools/lib/avm/tools/runner/application/info.rb +36 -0
- data/sub/avm-tools/lib/avm/tools/runner/application.rb +26 -0
- data/sub/avm-tools/lib/avm/tools/runner/application_stereotypes/list.rb +31 -0
- data/sub/avm-tools/lib/avm/tools/runner/application_stereotypes.rb +16 -0
- data/sub/avm-tools/lib/avm/tools/runner/applications/list.rb +31 -0
- data/sub/avm-tools/lib/avm/tools/runner/applications.rb +16 -0
- data/sub/avm-tools/lib/avm/tools/runner/config/load_path.rb +52 -0
- data/sub/avm-tools/lib/avm/tools/runner/config.rb +17 -0
- data/sub/avm-tools/lib/avm/tools/runner/files/format.rb +50 -0
- data/sub/avm-tools/lib/avm/tools/runner/files/rotate.rb +31 -0
- data/sub/avm-tools/lib/avm/tools/runner/files.rb +17 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/data/clear.rb +18 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/data/dump.rb +20 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/data/load.rb +25 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/data/unit/clear.rb +20 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/data/unit/dump.rb +20 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/data/unit/load.rb +25 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/data/unit.rb +44 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/data.rb +27 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/entry.rb +43 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/info.rb +39 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/system.rb +65 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance.rb +16 -0
- data/sub/avm-tools/lib/avm/tools/runner/launcher/instances.rb +36 -0
- data/sub/avm-tools/lib/avm/tools/runner/launcher/projects.rb +40 -0
- data/sub/avm-tools/lib/avm/tools/runner/launcher/publish.rb +53 -0
- data/sub/avm-tools/lib/avm/tools/runner/launcher.rb +17 -0
- data/sub/avm-tools/lib/avm/tools/runner/launcher_stereotypes/list.rb +41 -0
- data/sub/avm-tools/lib/avm/tools/runner/launcher_stereotypes.rb +16 -0
- data/sub/avm-tools/lib/avm/tools/runner/self/docker.rb +14 -0
- data/sub/avm-tools/lib/avm/tools/runner/self/registry.rb +25 -0
- data/sub/avm-tools/lib/avm/tools/runner/self.rb +22 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/auto_commit.rb +72 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/info.rb +55 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/issue/complete.rb +86 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb +35 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/issue.rb +19 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/sub/remove.rb +22 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/sub.rb +29 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/subs.rb +72 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/test.rb +93 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/update.rb +22 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/version_bump.rb +81 -0
- data/sub/avm-tools/lib/avm/tools/runner/source.rb +18 -0
- data/sub/avm-tools/lib/avm/tools/runner/source_generate.rb +12 -0
- data/sub/avm-tools/lib/avm/tools/runner.rb +27 -0
- data/sub/avm-tools/lib/avm/tools/runner_with/include_exclude.rb +23 -0
- data/sub/avm-tools/lib/avm/tools/runner_with/instance_data_clear.rb +23 -0
- data/sub/avm-tools/lib/avm/tools/runner_with/instance_data_dump.rb +59 -0
- data/sub/avm-tools/lib/avm/tools/runner_with/instance_data_load.rb +69 -0
- data/sub/avm-tools/lib/avm/tools/runner_with/instance_data_performer.rb +40 -0
- data/sub/avm-tools/lib/avm/tools/runner_with.rb +11 -0
- data/sub/avm-tools/lib/avm/tools/self.rb +23 -0
- data/sub/avm-tools/lib/avm/tools/version.rb +7 -0
- data/sub/avm-tools/lib/avm/tools.rb +9 -0
- data/sub/avm-tools/lib/avm.rb +7 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/rotate_spec.rb +72 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/launcher_stereotypes/list_spec.rb +17 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/source/issue/complete_spec.rb +49 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner_spec.rb +15 -0
- data/sub/avm-tools/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/spec/spec_helper.rb +4 -0
- metadata +284 -25
- data/sub/avm/spec/spec_helper/launcher_context.rb +0 -75
- /data/sub/avm/{spec → template/avm/rspec/launcher_controller}/dummy/avm-tools_stub/avm-tools.gemspec +0 -0
- /data/sub/avm/{spec → template/avm/rspec/launcher_controller}/dummy/avm-tools_stub/lib/avm/tools/version.rb +0 -0
- /data/sub/avm/{spec → template/avm/rspec/launcher_controller}/dummy/avm-tools_stub/lib/avm/tools.rb +0 -0
- /data/sub/avm/{spec → template/avm/rspec/launcher_controller}/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb +0 -0
- /data/sub/avm/{spec → template/avm/rspec/launcher_controller}/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb +0 -0
- /data/sub/avm/{spec → template/avm/rspec/launcher_controller}/dummy/ruby_gem_stub/ruby_gem_stub.gemspec +0 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/tools/runner'
|
4
|
+
|
5
|
+
RSpec.describe Avm::Tools::Runner::LauncherStereotypes::List do
|
6
|
+
def avm_tools_runner_args_prefix
|
7
|
+
%w[launcher-stereotypes list]
|
8
|
+
end
|
9
|
+
|
10
|
+
it do
|
11
|
+
expect { avm_tools_runner_run }.not_to raise_error
|
12
|
+
end
|
13
|
+
|
14
|
+
it do
|
15
|
+
expect { avm_tools_runner_run('--deprecated') }.not_to raise_error
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/git/launcher/base'
|
4
|
+
require 'avm/tools/runner'
|
5
|
+
require 'tmpdir'
|
6
|
+
require 'fileutils'
|
7
|
+
|
8
|
+
RSpec.describe Avm::Tools::Runner::Source::Issue::Complete, :git do
|
9
|
+
let(:remote_name) { 'origin' }
|
10
|
+
let(:issue_ref) { 'issue_123' }
|
11
|
+
let(:remote_repos) { stubbed_git_local_repo(true) }
|
12
|
+
let(:local_repos) { stubbed_git_local_repo }
|
13
|
+
let(:eac_local_repos) { Avm::Git::Launcher::Base.new(local_repos.root_path.to_path) }
|
14
|
+
|
15
|
+
context 'when branch is pushed' do
|
16
|
+
before do
|
17
|
+
eac_local_repos.assert_remote_url(remote_name, remote_repos.root_path.to_path)
|
18
|
+
local_repos.command('checkout', '-b', issue_ref).execute!
|
19
|
+
local_repos.file('myfile1.txt').touch
|
20
|
+
local_repos.file(Avm::Sources::Base::Configuration::CONFIGURATION_FILENAMES.first).touch
|
21
|
+
local_repos.command('add', '.').execute!
|
22
|
+
local_repos.command('commit', '-m', 'myfile1.txt').execute!
|
23
|
+
local_repos.command('push', 'origin', issue_ref).execute!
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'remote repos has a issue branch' do
|
27
|
+
expect(eac_local_repos.remote_hashs(remote_name)).to include("refs/heads/#{issue_ref}")
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'remote repos does not have a issue tag' do
|
31
|
+
expect(eac_local_repos.remote_hashs(remote_name)).not_to include("refs/tags/#{issue_ref}")
|
32
|
+
end
|
33
|
+
|
34
|
+
context 'when "git issue complete" is called' do
|
35
|
+
before do
|
36
|
+
Avm::Tools::Runner.run(argv: ['source', '-C', eac_local_repos] +
|
37
|
+
%w[issue complete --yes])
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'remote repos does not have a issue branch' do
|
41
|
+
expect(eac_local_repos.remote_hashs(remote_name)).not_to include("refs/heads/#{issue_ref}")
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'remote repos has a issue tag' do
|
45
|
+
expect(eac_local_repos.remote_hashs(remote_name)).to include("refs/tags/#{issue_ref}")
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/tools/runner'
|
4
|
+
require 'avm/tools/version'
|
5
|
+
|
6
|
+
RSpec.describe Avm::Tools::Runner do
|
7
|
+
let(:argv) { %w[--version] }
|
8
|
+
let(:instance) { described_class.create(argv: argv) }
|
9
|
+
|
10
|
+
it 'runs' do
|
11
|
+
expect { instance.run }.to(
|
12
|
+
output("#{Avm::Tools::VERSION}\n").to_stdout_from_any_process
|
13
|
+
)
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.94.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.94'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.94'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: avm-eac_asciidoctor_base0
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,20 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: 0.4.3
|
109
|
+
version: '0.5'
|
113
110
|
type: :runtime
|
114
111
|
prerelease: false
|
115
112
|
version_requirements: !ruby/object:Gem::Requirement
|
116
113
|
requirements:
|
117
114
|
- - "~>"
|
118
115
|
- !ruby/object:Gem::Version
|
119
|
-
version: '0.
|
120
|
-
- - ">="
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 0.4.3
|
116
|
+
version: '0.5'
|
123
117
|
- !ruby/object:Gem::Dependency
|
124
118
|
name: avm-eac_postgresql_base0
|
125
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -274,14 +268,20 @@ dependencies:
|
|
274
268
|
requirements:
|
275
269
|
- - "~>"
|
276
270
|
- !ruby/object:Gem::Version
|
277
|
-
version: '0.
|
271
|
+
version: '0.20'
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: 0.20.1
|
278
275
|
type: :runtime
|
279
276
|
prerelease: false
|
280
277
|
version_requirements: !ruby/object:Gem::Requirement
|
281
278
|
requirements:
|
282
279
|
- - "~>"
|
283
280
|
- !ruby/object:Gem::Version
|
284
|
-
version: '0.
|
281
|
+
version: '0.20'
|
282
|
+
- - ">="
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: 0.20.1
|
285
285
|
- !ruby/object:Gem::Dependency
|
286
286
|
name: avm-eac_wordpress_base0
|
287
287
|
requirement: !ruby/object:Gem::Requirement
|
@@ -308,28 +308,28 @@ dependencies:
|
|
308
308
|
requirements:
|
309
309
|
- - "~>"
|
310
310
|
- !ruby/object:Gem::Version
|
311
|
-
version: '0.
|
311
|
+
version: '0.18'
|
312
312
|
type: :runtime
|
313
313
|
prerelease: false
|
314
314
|
version_requirements: !ruby/object:Gem::Requirement
|
315
315
|
requirements:
|
316
316
|
- - "~>"
|
317
317
|
- !ruby/object:Gem::Version
|
318
|
-
version: '0.
|
318
|
+
version: '0.18'
|
319
319
|
- !ruby/object:Gem::Dependency
|
320
320
|
name: avm-tools
|
321
321
|
requirement: !ruby/object:Gem::Requirement
|
322
322
|
requirements:
|
323
323
|
- - "~>"
|
324
324
|
- !ruby/object:Gem::Version
|
325
|
-
version: '0.
|
325
|
+
version: '0.162'
|
326
326
|
type: :runtime
|
327
327
|
prerelease: false
|
328
328
|
version_requirements: !ruby/object:Gem::Requirement
|
329
329
|
requirements:
|
330
330
|
- - "~>"
|
331
331
|
- !ruby/object:Gem::Version
|
332
|
-
version: '0.
|
332
|
+
version: '0.162'
|
333
333
|
- !ruby/object:Gem::Dependency
|
334
334
|
name: eac_ruby_utils
|
335
335
|
requirement: !ruby/object:Gem::Requirement
|
@@ -368,6 +368,263 @@ files:
|
|
368
368
|
- Gemfile.lock
|
369
369
|
- lib/eac_tools.rb
|
370
370
|
- lib/eac_tools/version.rb
|
371
|
+
- sub/avm-eac_webapp_base0/Gemfile
|
372
|
+
- sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec
|
373
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0.rb
|
374
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb
|
375
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats.rb
|
376
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/css.rb
|
377
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/css/file_apply.rb
|
378
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/html.rb
|
379
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/javascript.rb
|
380
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/json.rb
|
381
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/provider.rb
|
382
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/file_formats/xml.rb
|
383
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_base.rb
|
384
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_host.rb
|
385
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_path.rb
|
386
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb
|
387
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/apache.rb
|
388
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/deploy_info.rb
|
389
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/install.rb
|
390
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb
|
391
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/appended_directories.rb
|
392
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/build.rb
|
393
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/info.rb
|
394
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/scm.rb
|
395
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/setup_files_unit.rb
|
396
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/write_on_target.rb
|
397
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy_info.rb
|
398
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/processes.rb
|
399
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/processes/web_server.rb
|
400
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners.rb
|
401
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_host.rb
|
402
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
|
403
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/load.rb
|
404
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/deploy.rb
|
405
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/deploy_info.rb
|
406
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources.rb
|
407
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources/base.rb
|
408
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb
|
409
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec.rb
|
410
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec_files/css1.source.css
|
411
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/css_spec_files/css1.target.css
|
412
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec.rb
|
413
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.erb.source
|
414
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.erb.target
|
415
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.source
|
416
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/html_spec_files/html_code.html.target
|
417
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec.rb
|
418
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec_files/javascript_code1.js.source
|
419
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/javascript_spec_files/javascript_code1.js.target
|
420
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec.rb
|
421
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec_files/json_code.json.source
|
422
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/json_spec_files/json_code.json.target
|
423
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec.rb
|
424
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec_files/xml_code.xml.source
|
425
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/file_formats/xml_spec_files/xml_code.xml.target
|
426
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/instances/base_spec.rb
|
427
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/sources/base_spec.rb
|
428
|
+
- sub/avm-eac_webapp_base0/spec/rubocop_spec.rb
|
429
|
+
- sub/avm-eac_webapp_base0/spec/spec_helper.rb
|
430
|
+
- sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/instances/apache_host/no_ssl.conf
|
431
|
+
- sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/instances/apache_path/default.conf
|
432
|
+
- sub/avm-git/Gemfile
|
433
|
+
- sub/avm-git/avm-git.gemspec
|
434
|
+
- sub/avm-git/lib/avm/git.rb
|
435
|
+
- sub/avm-git/lib/avm/git/application_scms.rb
|
436
|
+
- sub/avm-git/lib/avm/git/application_scms/base.rb
|
437
|
+
- sub/avm-git/lib/avm/git/application_scms/base/assert_main_at.rb
|
438
|
+
- sub/avm-git/lib/avm/git/commit.rb
|
439
|
+
- sub/avm-git/lib/avm/git/commit/class_methods.rb
|
440
|
+
- sub/avm-git/lib/avm/git/commit/diff_tree_line.rb
|
441
|
+
- sub/avm-git/lib/avm/git/commit/file.rb
|
442
|
+
- sub/avm-git/lib/avm/git/issue.rb
|
443
|
+
- sub/avm-git/lib/avm/git/issue/complete.rb
|
444
|
+
- sub/avm-git/lib/avm/git/issue/complete/commits.rb
|
445
|
+
- sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb
|
446
|
+
- sub/avm-git/lib/avm/git/issue/complete/local_branch.rb
|
447
|
+
- sub/avm-git/lib/avm/git/issue/complete/local_tag.rb
|
448
|
+
- sub/avm-git/lib/avm/git/issue/complete/push.rb
|
449
|
+
- sub/avm-git/lib/avm/git/issue/complete/remote.rb
|
450
|
+
- sub/avm-git/lib/avm/git/issue/complete/test.rb
|
451
|
+
- sub/avm-git/lib/avm/git/issue/complete/tracker.rb
|
452
|
+
- sub/avm-git/lib/avm/git/issue/complete/validation.rb
|
453
|
+
- sub/avm-git/lib/avm/git/issue/complete/validations.rb
|
454
|
+
- sub/avm-git/lib/avm/git/issue/complete/working_tree.rb
|
455
|
+
- sub/avm-git/lib/avm/git/launcher.rb
|
456
|
+
- sub/avm-git/lib/avm/git/launcher/base.rb
|
457
|
+
- sub/avm-git/lib/avm/git/launcher/base/class_methods.rb
|
458
|
+
- sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb
|
459
|
+
- sub/avm-git/lib/avm/git/launcher/base/remotes.rb
|
460
|
+
- sub/avm-git/lib/avm/git/launcher/base/subrepo.rb
|
461
|
+
- sub/avm-git/lib/avm/git/launcher/base/underlying.rb
|
462
|
+
- sub/avm-git/lib/avm/git/launcher/error.rb
|
463
|
+
- sub/avm-git/lib/avm/git/launcher/mirror_update.rb
|
464
|
+
- sub/avm-git/lib/avm/git/launcher/publish_base.rb
|
465
|
+
- sub/avm-git/lib/avm/git/launcher/remote.rb
|
466
|
+
- sub/avm-git/lib/avm/git/launcher/sub_warp_base.rb
|
467
|
+
- sub/avm-git/lib/avm/git/launcher/warp_base.rb
|
468
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes.rb
|
469
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git.rb
|
470
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git/local_project_mixin.rb
|
471
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git/publish.rb
|
472
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git/warp.rb
|
473
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo.rb
|
474
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb
|
475
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/warp.rb
|
476
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree.rb
|
477
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/publish.rb
|
478
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/warp.rb
|
479
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/provider.rb
|
480
|
+
- sub/avm-git/lib/avm/git/organize.rb
|
481
|
+
- sub/avm-git/lib/avm/git/organize/reference_update.rb
|
482
|
+
- sub/avm-git/lib/avm/git/organize/repository.rb
|
483
|
+
- sub/avm-git/lib/avm/git/revision_test.rb
|
484
|
+
- sub/avm-git/lib/avm/git/runners.rb
|
485
|
+
- sub/avm-git/lib/avm/git/runners/base.rb
|
486
|
+
- sub/avm-git/lib/avm/git/runners/base/commit.rb
|
487
|
+
- sub/avm-git/lib/avm/git/runners/base/deploy.rb
|
488
|
+
- sub/avm-git/lib/avm/git/runners/base/dirty_files.rb
|
489
|
+
- sub/avm-git/lib/avm/git/runners/base/organize.rb
|
490
|
+
- sub/avm-git/lib/avm/git/runners/base/revisions_test.rb
|
491
|
+
- sub/avm-git/lib/avm/git/runners/base/subrepo.rb
|
492
|
+
- sub/avm-git/lib/avm/git/runners/base/subrepo/check.rb
|
493
|
+
- sub/avm-git/lib/avm/git/runners/base/subrepo/clone.rb
|
494
|
+
- sub/avm-git/lib/avm/git/runners/base/subrepo/fix.rb
|
495
|
+
- sub/avm-git/lib/avm/git/scms.rb
|
496
|
+
- sub/avm-git/lib/avm/git/scms/git.rb
|
497
|
+
- sub/avm-git/lib/avm/git/scms/git/branch.rb
|
498
|
+
- sub/avm-git/lib/avm/git/scms/git/branches.rb
|
499
|
+
- sub/avm-git/lib/avm/git/scms/git/change_tracker.rb
|
500
|
+
- sub/avm-git/lib/avm/git/scms/git/changed_file.rb
|
501
|
+
- sub/avm-git/lib/avm/git/scms/git/changed_files.rb
|
502
|
+
- sub/avm-git/lib/avm/git/scms/git/commit.rb
|
503
|
+
- sub/avm-git/lib/avm/git/scms/git/commit/deploy.rb
|
504
|
+
- sub/avm-git/lib/avm/git/scms/git/commit/deploy_methods.rb
|
505
|
+
- sub/avm-git/lib/avm/git/scms/git/commit_dirty.rb
|
506
|
+
- sub/avm-git/lib/avm/git/scms/git/commits.rb
|
507
|
+
- sub/avm-git/lib/avm/git/scms/git/interval.rb
|
508
|
+
- sub/avm-git/lib/avm/git/scms/git/milestones.rb
|
509
|
+
- sub/avm-git/lib/avm/git/scms/git/remote.rb
|
510
|
+
- sub/avm-git/lib/avm/git/scms/git/remotes.rb
|
511
|
+
- sub/avm-git/lib/avm/git/scms/git/run_commit.rb
|
512
|
+
- sub/avm-git/lib/avm/git/scms/git_sub_base.rb
|
513
|
+
- sub/avm-git/lib/avm/git/scms/git_sub_base/changed_file.rb
|
514
|
+
- sub/avm-git/lib/avm/git/scms/git_sub_base/commit.rb
|
515
|
+
- sub/avm-git/lib/avm/git/scms/git_sub_base/interval.rb
|
516
|
+
- sub/avm-git/lib/avm/git/scms/git_subrepo.rb
|
517
|
+
- sub/avm-git/lib/avm/git/scms/git_subtree.rb
|
518
|
+
- sub/avm-git/lib/avm/git/scms/provider.rb
|
519
|
+
- sub/avm-git/lib/avm/git/subrepo_check.rb
|
520
|
+
- sub/avm-git/lib/avm/git/subrepo_check/parent.rb
|
521
|
+
- sub/avm-git/lib/avm/git/subrepo_check/remote.rb
|
522
|
+
- sub/avm-git/lib/avm/git/subrepo_check/show_result.rb
|
523
|
+
- sub/avm-git/lib/avm/git/subrepo_checks.rb
|
524
|
+
- sub/avm-git/lib/avm/git/vendor.rb
|
525
|
+
- sub/avm-git/lib/avm/git/vendor/github.rb
|
526
|
+
- sub/avm-git/lib/avm/git/version.rb
|
527
|
+
- sub/avm-git/locale/en.yml
|
528
|
+
- sub/avm-git/locale/pt-BR.yml
|
529
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb
|
530
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out
|
531
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml
|
532
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out
|
533
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml
|
534
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out
|
535
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml
|
536
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out
|
537
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml
|
538
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out
|
539
|
+
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml
|
540
|
+
- sub/avm-git/spec/lib/avm/git/commit_spec.rb
|
541
|
+
- sub/avm-git/spec/lib/avm/git/launcher/base_spec.rb
|
542
|
+
- sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec.rb
|
543
|
+
- sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_files/config.yml
|
544
|
+
- sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_settings.yml
|
545
|
+
- sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec.rb
|
546
|
+
- sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_files/config.yml
|
547
|
+
- sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_settings.yml
|
548
|
+
- sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec.rb
|
549
|
+
- sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append1/stub3.txt.template
|
550
|
+
- sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append2/stub4.txt
|
551
|
+
- sub/avm-git/spec/lib/avm/git/scms/git/commit/deploy_spec.rb
|
552
|
+
- sub/avm-git/spec/lib/avm/git/scms/git_spec.rb
|
553
|
+
- sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
|
554
|
+
- sub/avm-git/spec/lib/avm/git/vendor/github_spec.rb
|
555
|
+
- sub/avm-git/spec/rubocop_spec.rb
|
556
|
+
- sub/avm-git/spec/spec_helper.rb
|
557
|
+
- sub/avm-tools/Gemfile
|
558
|
+
- sub/avm-tools/README.textile
|
559
|
+
- sub/avm-tools/avm-tools.gemspec
|
560
|
+
- sub/avm-tools/exe/avm
|
561
|
+
- sub/avm-tools/lib/avm.rb
|
562
|
+
- sub/avm-tools/lib/avm/tools.rb
|
563
|
+
- sub/avm-tools/lib/avm/tools/core_ext.rb
|
564
|
+
- sub/avm-tools/lib/avm/tools/rspec.rb
|
565
|
+
- sub/avm-tools/lib/avm/tools/rspec/helpers.rb
|
566
|
+
- sub/avm-tools/lib/avm/tools/rspec/helpers/runner.rb
|
567
|
+
- sub/avm-tools/lib/avm/tools/rspec/setup.rb
|
568
|
+
- sub/avm-tools/lib/avm/tools/runner.rb
|
569
|
+
- sub/avm-tools/lib/avm/tools/runner/application.rb
|
570
|
+
- sub/avm-tools/lib/avm/tools/runner/application/info.rb
|
571
|
+
- sub/avm-tools/lib/avm/tools/runner/application_stereotypes.rb
|
572
|
+
- sub/avm-tools/lib/avm/tools/runner/application_stereotypes/list.rb
|
573
|
+
- sub/avm-tools/lib/avm/tools/runner/applications.rb
|
574
|
+
- sub/avm-tools/lib/avm/tools/runner/applications/list.rb
|
575
|
+
- sub/avm-tools/lib/avm/tools/runner/config.rb
|
576
|
+
- sub/avm-tools/lib/avm/tools/runner/config/load_path.rb
|
577
|
+
- sub/avm-tools/lib/avm/tools/runner/files.rb
|
578
|
+
- sub/avm-tools/lib/avm/tools/runner/files/format.rb
|
579
|
+
- sub/avm-tools/lib/avm/tools/runner/files/rotate.rb
|
580
|
+
- sub/avm-tools/lib/avm/tools/runner/instance.rb
|
581
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/data.rb
|
582
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/data/clear.rb
|
583
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/data/dump.rb
|
584
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/data/load.rb
|
585
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/data/unit.rb
|
586
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/data/unit/clear.rb
|
587
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/data/unit/dump.rb
|
588
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/data/unit/load.rb
|
589
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/entry.rb
|
590
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/info.rb
|
591
|
+
- sub/avm-tools/lib/avm/tools/runner/instance/system.rb
|
592
|
+
- sub/avm-tools/lib/avm/tools/runner/launcher.rb
|
593
|
+
- sub/avm-tools/lib/avm/tools/runner/launcher/instances.rb
|
594
|
+
- sub/avm-tools/lib/avm/tools/runner/launcher/projects.rb
|
595
|
+
- sub/avm-tools/lib/avm/tools/runner/launcher/publish.rb
|
596
|
+
- sub/avm-tools/lib/avm/tools/runner/launcher_stereotypes.rb
|
597
|
+
- sub/avm-tools/lib/avm/tools/runner/launcher_stereotypes/list.rb
|
598
|
+
- sub/avm-tools/lib/avm/tools/runner/self.rb
|
599
|
+
- sub/avm-tools/lib/avm/tools/runner/self/docker.rb
|
600
|
+
- sub/avm-tools/lib/avm/tools/runner/self/registry.rb
|
601
|
+
- sub/avm-tools/lib/avm/tools/runner/source.rb
|
602
|
+
- sub/avm-tools/lib/avm/tools/runner/source/auto_commit.rb
|
603
|
+
- sub/avm-tools/lib/avm/tools/runner/source/info.rb
|
604
|
+
- sub/avm-tools/lib/avm/tools/runner/source/issue.rb
|
605
|
+
- sub/avm-tools/lib/avm/tools/runner/source/issue/complete.rb
|
606
|
+
- sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
|
607
|
+
- sub/avm-tools/lib/avm/tools/runner/source/sub.rb
|
608
|
+
- sub/avm-tools/lib/avm/tools/runner/source/sub/remove.rb
|
609
|
+
- sub/avm-tools/lib/avm/tools/runner/source/subs.rb
|
610
|
+
- sub/avm-tools/lib/avm/tools/runner/source/test.rb
|
611
|
+
- sub/avm-tools/lib/avm/tools/runner/source/update.rb
|
612
|
+
- sub/avm-tools/lib/avm/tools/runner/source/version_bump.rb
|
613
|
+
- sub/avm-tools/lib/avm/tools/runner/source_generate.rb
|
614
|
+
- sub/avm-tools/lib/avm/tools/runner_with.rb
|
615
|
+
- sub/avm-tools/lib/avm/tools/runner_with/include_exclude.rb
|
616
|
+
- sub/avm-tools/lib/avm/tools/runner_with/instance_data_clear.rb
|
617
|
+
- sub/avm-tools/lib/avm/tools/runner_with/instance_data_dump.rb
|
618
|
+
- sub/avm-tools/lib/avm/tools/runner_with/instance_data_load.rb
|
619
|
+
- sub/avm-tools/lib/avm/tools/runner_with/instance_data_performer.rb
|
620
|
+
- sub/avm-tools/lib/avm/tools/self.rb
|
621
|
+
- sub/avm-tools/lib/avm/tools/version.rb
|
622
|
+
- sub/avm-tools/spec/lib/avm/tools/runner/files/rotate_spec.rb
|
623
|
+
- sub/avm-tools/spec/lib/avm/tools/runner/launcher_stereotypes/list_spec.rb
|
624
|
+
- sub/avm-tools/spec/lib/avm/tools/runner/source/issue/complete_spec.rb
|
625
|
+
- sub/avm-tools/spec/lib/avm/tools/runner_spec.rb
|
626
|
+
- sub/avm-tools/spec/rubocop_spec.rb
|
627
|
+
- sub/avm-tools/spec/spec_helper.rb
|
371
628
|
- sub/avm/Gemfile
|
372
629
|
- sub/avm/avm.gemspec
|
373
630
|
- sub/avm/lib/avm.rb
|
@@ -507,6 +764,7 @@ files:
|
|
507
764
|
- sub/avm/lib/avm/registry/with_path/cache.rb
|
508
765
|
- sub/avm/lib/avm/result.rb
|
509
766
|
- sub/avm/lib/avm/rspec.rb
|
767
|
+
- sub/avm/lib/avm/rspec/launcher_controller.rb
|
510
768
|
- sub/avm/lib/avm/rspec/setup.rb
|
511
769
|
- sub/avm/lib/avm/rspec/setup/launcher.rb
|
512
770
|
- sub/avm/lib/avm/rspec/setup/source_generator.rb
|
@@ -517,6 +775,7 @@ files:
|
|
517
775
|
- sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
|
518
776
|
- sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
|
519
777
|
- sub/avm/lib/avm/rspec/shared_examples/with_config.rb
|
778
|
+
- sub/avm/lib/avm/rspec/shared_examples/with_launcher.rb
|
520
779
|
- sub/avm/lib/avm/runners/base.rb
|
521
780
|
- sub/avm/lib/avm/scms.rb
|
522
781
|
- sub/avm/lib/avm/scms/auto_commit.rb
|
@@ -589,12 +848,6 @@ files:
|
|
589
848
|
- sub/avm/lib/avm/with/extra_subcommands.rb
|
590
849
|
- sub/avm/locale/en.yml
|
591
850
|
- sub/avm/locale/pt-BR.yml
|
592
|
-
- sub/avm/spec/dummy/avm-tools_stub/avm-tools.gemspec
|
593
|
-
- sub/avm/spec/dummy/avm-tools_stub/lib/avm/tools.rb
|
594
|
-
- sub/avm/spec/dummy/avm-tools_stub/lib/avm/tools/version.rb
|
595
|
-
- sub/avm/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb
|
596
|
-
- sub/avm/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb
|
597
|
-
- sub/avm/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
|
598
851
|
- sub/avm/spec/lib/avm/applications/base/entries_spec.rb
|
599
852
|
- sub/avm/spec/lib/avm/applications/base/entries_spec_files/config.yml
|
600
853
|
- sub/avm/spec/lib/avm/applications/base_spec.rb
|
@@ -615,8 +868,14 @@ files:
|
|
615
868
|
- sub/avm/spec/lib/avm/sources/runner_spec.rb
|
616
869
|
- sub/avm/spec/rubocop_spec.rb
|
617
870
|
- sub/avm/spec/spec_helper.rb
|
618
|
-
- sub/avm/spec/spec_helper/launcher_context.rb
|
619
871
|
- sub/avm/spec/spec_helper/launcher_context/settings.yml
|
872
|
+
- sub/avm/template/avm/rspec/launcher_controller/dummy/avm-tools_stub/avm-tools.gemspec
|
873
|
+
- sub/avm/template/avm/rspec/launcher_controller/dummy/avm-tools_stub/lib/avm/tools.rb
|
874
|
+
- sub/avm/template/avm/rspec/launcher_controller/dummy/avm-tools_stub/lib/avm/tools/version.rb
|
875
|
+
- sub/avm/template/avm/rspec/launcher_controller/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb
|
876
|
+
- sub/avm/template/avm/rspec/launcher_controller/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb
|
877
|
+
- sub/avm/template/avm/rspec/launcher_controller/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
|
878
|
+
- sub/avm/template/avm/rspec/launcher_controller/settings.yml
|
620
879
|
- sub/avm/template/avm/self/docker_image/Dockerfile
|
621
880
|
- sub/avm/template/avm/self/docker_image/entrypoint.sh
|
622
881
|
homepage:
|
@@ -1,75 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
DUMMY_DIR = File.expand_path('../dummy', __dir__)
|
4
|
-
|
5
|
-
RSpec.shared_context 'with launcher' do
|
6
|
-
before do
|
7
|
-
require 'avm/launcher/context'
|
8
|
-
Avm::Launcher::Context.current = Avm::Launcher::Context.new(
|
9
|
-
projects_root: DUMMY_DIR,
|
10
|
-
settings_file: File.join(__dir__, 'launcher_context', 'settings.yml'),
|
11
|
-
cache_root: Dir.mktmpdir
|
12
|
-
)
|
13
|
-
@remotes_dir = Dir.mktmpdir
|
14
|
-
allow(ProgressBar).to receive(:create).and_return(double.as_null_object)
|
15
|
-
end
|
16
|
-
|
17
|
-
# @param application_id [String]
|
18
|
-
# @param path [Pathname]
|
19
|
-
# @return void
|
20
|
-
def application_source_path(application_id, path)
|
21
|
-
EacConfig::Node.context.current.entry("#{application_id}_dev.install.path").value =
|
22
|
-
path.to_pathname.to_path
|
23
|
-
end
|
24
|
-
|
25
|
-
# @param settings_path [Pathname]
|
26
|
-
# @param projects_root [Pathname]
|
27
|
-
def context_set(settings_path, projects_root)
|
28
|
-
require 'avm/launcher/context'
|
29
|
-
require 'tmpdir'
|
30
|
-
Avm::Launcher::Context.current = Avm::Launcher::Context.new(
|
31
|
-
settings_file: settings_path.to_pathname.to_path,
|
32
|
-
cache_root: Dir.mktmpdir
|
33
|
-
)
|
34
|
-
self.projects_root = projects_root
|
35
|
-
end
|
36
|
-
|
37
|
-
# @param settings_path [Pathname]
|
38
|
-
def temp_context(settings_path)
|
39
|
-
context_set(settings_path, Dir.mktmpdir)
|
40
|
-
end
|
41
|
-
|
42
|
-
def init_remote(name)
|
43
|
-
require 'avm/git/launcher/base'
|
44
|
-
r = Avm::Git::Launcher::Base.new(File.join(@remotes_dir, name)) # rubocop:disable RSpec/InstanceVariable
|
45
|
-
r.init_bare
|
46
|
-
r
|
47
|
-
end
|
48
|
-
|
49
|
-
def init_git(subdir)
|
50
|
-
require 'avm/git/launcher/base'
|
51
|
-
r = Avm::Git::Launcher::Base.new(File.join(projects_root, subdir))
|
52
|
-
r.git
|
53
|
-
r.execute!('config', 'user.email', 'theuser@example.net')
|
54
|
-
r.execute!('config', 'user.name', 'The User')
|
55
|
-
r
|
56
|
-
end
|
57
|
-
|
58
|
-
# @param path [String]
|
59
|
-
def projects_root
|
60
|
-
@projects_root ||= Dir.mktmpdir
|
61
|
-
end
|
62
|
-
|
63
|
-
# @param path [Pathname]
|
64
|
-
def projects_root=(path)
|
65
|
-
@projects_root = path.to_pathname.to_path
|
66
|
-
end
|
67
|
-
|
68
|
-
def touch_commit(repos, subpath)
|
69
|
-
require 'fileutils'
|
70
|
-
FileUtils.mkdir_p(File.dirname(repos.subpath(subpath)))
|
71
|
-
FileUtils.touch(repos.subpath(subpath))
|
72
|
-
repos.execute!('add', repos.subpath(subpath))
|
73
|
-
repos.execute!('commit', '-m', subpath)
|
74
|
-
end
|
75
|
-
end
|
/data/sub/avm/{spec → template/avm/rspec/launcher_controller}/dummy/avm-tools_stub/avm-tools.gemspec
RENAMED
File without changes
|
File without changes
|
/data/sub/avm/{spec → template/avm/rspec/launcher_controller}/dummy/avm-tools_stub/lib/avm/tools.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|