eac_tools 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +9 -0
- data/Gemfile.lock +306 -0
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/Gemfile +8 -0
- data/sub/avm/avm.gemspec +26 -0
- data/sub/avm/lib/avm/data/instance/files_unit.rb +40 -0
- data/sub/avm/lib/avm/data/instance/package.rb +18 -0
- data/sub/avm/lib/avm/data/instance/unit.rb +17 -0
- data/sub/avm/lib/avm/data/instance.rb +11 -0
- data/sub/avm/lib/avm/data/package/dump.rb +119 -0
- data/sub/avm/lib/avm/data/package/load.rb +48 -0
- data/sub/avm/lib/avm/data/package.rb +42 -0
- data/sub/avm/lib/avm/data/rotate.rb +107 -0
- data/sub/avm/lib/avm/data/unit.rb +94 -0
- data/sub/avm/lib/avm/docker/container.rb +50 -0
- data/sub/avm/lib/avm/docker/image.rb +71 -0
- data/sub/avm/lib/avm/docker/runner.rb +125 -0
- data/sub/avm/lib/avm/docker.rb +9 -0
- data/sub/avm/lib/avm/executables.rb +24 -0
- data/sub/avm/lib/avm/instances/application.rb +29 -0
- data/sub/avm/lib/avm/instances/base/auto_values/access.rb +40 -0
- data/sub/avm/lib/avm/instances/base/auto_values/admin.rb +19 -0
- data/sub/avm/lib/avm/instances/base/auto_values/data.rb +26 -0
- data/sub/avm/lib/avm/instances/base/auto_values/database.rb +76 -0
- data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +43 -0
- data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +34 -0
- data/sub/avm/lib/avm/instances/base/auto_values/ruby.rb +15 -0
- data/sub/avm/lib/avm/instances/base/auto_values/source.rb +15 -0
- data/sub/avm/lib/avm/instances/base/auto_values/system.rb +23 -0
- data/sub/avm/lib/avm/instances/base/auto_values/web.rb +46 -0
- data/sub/avm/lib/avm/instances/base/auto_values.rb +21 -0
- data/sub/avm/lib/avm/instances/base/dockerizable.rb +45 -0
- data/sub/avm/lib/avm/instances/base/entry_keys.rb +22 -0
- data/sub/avm/lib/avm/instances/base.rb +64 -0
- data/sub/avm/lib/avm/instances/docker_image.rb +15 -0
- data/sub/avm/lib/avm/instances/entries.rb +43 -0
- data/sub/avm/lib/avm/instances/entry.rb +60 -0
- data/sub/avm/lib/avm/instances/entry_keys.rb +60 -0
- data/sub/avm/lib/avm/instances/runner.rb +39 -0
- data/sub/avm/lib/avm/instances.rb +8 -0
- data/sub/avm/lib/avm/jobs/base.rb +63 -0
- data/sub/avm/lib/avm/jobs/variables_source.rb +22 -0
- data/sub/avm/lib/avm/jobs.rb +9 -0
- data/sub/avm/lib/avm/launcher/errors/base.rb +10 -0
- data/sub/avm/lib/avm/launcher/errors/non_project.rb +15 -0
- data/sub/avm/lib/avm/launcher/paths/real.rb +44 -0
- data/sub/avm/lib/avm/launcher/publish/check_result.rb +67 -0
- data/sub/avm/lib/avm/path_string.rb +27 -0
- data/sub/avm/lib/avm/registry/base.rb +71 -0
- data/sub/avm/lib/avm/registry/with_path.rb +23 -0
- data/sub/avm/lib/avm/registry.rb +39 -0
- data/sub/avm/lib/avm/result.rb +86 -0
- data/sub/avm/lib/avm/rspec/setup.rb +22 -0
- data/sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb +11 -0
- data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +14 -0
- data/sub/avm/lib/avm/rspec.rb +9 -0
- data/sub/avm/lib/avm/runners/base.rb +27 -0
- data/sub/avm/lib/avm/scms/base.rb +41 -0
- data/sub/avm/lib/avm/scms/commit.rb +43 -0
- data/sub/avm/lib/avm/scms/inflector.rb +22 -0
- data/sub/avm/lib/avm/scms/null.rb +14 -0
- data/sub/avm/lib/avm/self/docker_image.rb +14 -0
- data/sub/avm/lib/avm/self/instance/entry_keys.rb +12 -0
- data/sub/avm/lib/avm/self/instance.rb +31 -0
- data/sub/avm/lib/avm/sources/base/configuration.rb +55 -0
- data/sub/avm/lib/avm/sources/base/instance.rb +28 -0
- data/sub/avm/lib/avm/sources/base/locale.rb +26 -0
- data/sub/avm/lib/avm/sources/base/parent.rb +31 -0
- data/sub/avm/lib/avm/sources/base/runners.rb +47 -0
- data/sub/avm/lib/avm/sources/base/subs.rb +55 -0
- data/sub/avm/lib/avm/sources/base/subs_paths.rb +32 -0
- data/sub/avm/lib/avm/sources/base/testing.rb +27 -0
- data/sub/avm/lib/avm/sources/base.rb +48 -0
- data/sub/avm/lib/avm/sources/configuration/rubocop.rb +26 -0
- data/sub/avm/lib/avm/sources/configuration.rb +59 -0
- data/sub/avm/lib/avm/sources/tester.rb +24 -0
- data/sub/avm/lib/avm/sources/tests/builder.rb +83 -0
- data/sub/avm/lib/avm/sources/tests/performer.rb +35 -0
- data/sub/avm/lib/avm/sources/tests/result.rb +15 -0
- data/sub/avm/lib/avm/sources/tests/single.rb +56 -0
- data/sub/avm/lib/avm/sources/tests.rb +11 -0
- data/sub/avm/lib/avm/sources.rb +9 -0
- data/sub/avm/lib/avm/sync.rb +94 -0
- data/sub/avm/lib/avm/version.rb +5 -0
- data/sub/avm/lib/avm/version_number.rb +45 -0
- data/sub/avm/lib/avm.rb +7 -0
- data/sub/avm/spec/lib/avm/scms/base_spec.rb +7 -0
- data/sub/avm/spec/lib/avm/sources/base_spec.rb +7 -0
- data/sub/avm/spec/rubocop_spec.rb +3 -0
- data/sub/avm/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_generic_base0/Gemfile +5 -0
- data/sub/avm-eac_generic_base0/avm-eac_generic_base0.gemspec +19 -0
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base/version_bump.rb +35 -0
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base.rb +25 -0
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/tester.rb +56 -0
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources.rb +11 -0
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/version.rb +7 -0
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0.rb +9 -0
- data/sub/avm-eac_generic_base0/locale/en.yml +6 -0
- data/sub/avm-eac_generic_base0/locale/pt-BR.yml +6 -0
- data/sub/avm-eac_generic_base0/spec/lib/avm/eac_generic_base0/sources/base_spec.rb +7 -0
- data/sub/avm-eac_generic_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_generic_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_rails_base1/Gemfile +5 -0
- data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +20 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb +17 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb +25 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb +26 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb +26 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb +43 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb +26 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb +18 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb +32 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb +46 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb +17 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb +12 -0
- 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 +27 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb +70 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb +29 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb +57 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +7 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb +9 -0
- data/sub/avm-eac_rails_base1/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_rails_base1/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service +12 -0
- data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +6 -0
- data/sub/avm-eac_redmine_base0/Gemfile +5 -0
- data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +23 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/apache_host.rb +10 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/core_update.rb +118 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/data_unit.rb +51 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/deploy.rb +36 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instance.rb +57 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +97 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/rest_api.rb +11 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +28 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb +66 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners.rb +13 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +7 -0
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb +9 -0
- data/sub/avm-eac_redmine_base0/locale/en.yml +5 -0
- data/sub/avm-eac_redmine_base0/locale/pt-BR.yml +5 -0
- data/sub/avm-eac_redmine_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_redmine_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/deploy/config/install.sh.template +31 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/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/Dockerfile_apache_setup +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/install_settings.sh.template +33 -0
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template +52 -0
- data/sub/avm-eac_redmine_plugin_base0/Gemfile +8 -0
- data/sub/avm-eac_redmine_plugin_base0/avm-eac_redmine_plugin_base0.gemspec +19 -0
- data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb +30 -0
- data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/version.rb +7 -0
- data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0.rb +9 -0
- data/sub/avm-eac_redmine_plugin_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_redmine_plugin_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_ruby_base1/Gemfile +8 -0
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +21 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb +56 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb +19 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb +34 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/depends_on.rb +25 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict.rb +44 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile.rb +17 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb +73 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb +31 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb +19 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb +26 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser.rb +25 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb +11 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb +31 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb +17 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb +41 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb +55 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/version_file.rb +43 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems.rb +11 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb +39 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +53 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb +28 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubygems.rb +43 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +23 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +62 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb +76 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb +19 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb +13 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb +36 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/base.rb +59 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/minitest.rb +29 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple/decorated_gem.rb +52 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple/result.rb +29 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple.rb +90 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/rspec.rb +25 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests.rb +13 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb +59 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb +48 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb +11 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +7 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb +9 -0
- data/sub/avm-eac_ruby_base1/locale/en.yml +8 -0
- data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +8 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb +7 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out +192 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml +300 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out +245 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml +355 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb +14 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec_files/a_version_file.rb +7 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec.rb +20 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Gemfile +5 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Rakefile +14 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/exe/myrunner +5 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/lib/mygem/version.rb +5 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/lib/mygem.rb +5 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/mygem.gemspec +16 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb +7 -0
- data/sub/avm-eac_ruby_base1/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_ruby_base1/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/Gemfile +12 -0
- data/sub/avm-tools/Gemfile.lock +300 -0
- data/sub/avm-tools/README.textile +39 -0
- data/sub/avm-tools/avm-tools.gemspec +33 -0
- data/sub/avm-tools/exe/avm +6 -0
- data/sub/avm-tools/lib/avm/eac_wordpress_base0/apache_host.rb +25 -0
- data/sub/avm-tools/lib/avm/eac_wordpress_base0/deploy.rb +10 -0
- data/sub/avm-tools/lib/avm/eac_wordpress_base0/instance.rb +24 -0
- data/sub/avm-tools/lib/avm/eac_wordpress_base0.rb +9 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/apache_host.rb +17 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/commons.rb +12 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/deploy.rb +36 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/base_stereotype.rb +19 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb +23 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/tex_source.rb +33 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/file_build.rb +45 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/instance.rb +11 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/project.rb +33 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/project_build/chapters_content.rb +47 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/project_build/copy_files.rb +42 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0/project_build.rb +117 -0
- data/sub/avm-tools/lib/avm/eac_writings_base0.rb +9 -0
- data/sub/avm-tools/lib/avm/launcher/context/instance_collector.rb +46 -0
- data/sub/avm-tools/lib/avm/launcher/context/instance_discovery.rb +56 -0
- data/sub/avm-tools/lib/avm/launcher/context/instance_manager/cached_instance.rb +37 -0
- data/sub/avm-tools/lib/avm/launcher/context/instance_manager/cached_instances.rb +35 -0
- data/sub/avm-tools/lib/avm/launcher/context/instance_manager.rb +76 -0
- data/sub/avm-tools/lib/avm/launcher/context/settings.rb +53 -0
- data/sub/avm-tools/lib/avm/launcher/context.rb +94 -0
- data/sub/avm-tools/lib/avm/launcher/git/base/class_methods.rb +28 -0
- data/sub/avm-tools/lib/avm/launcher/git/base/dirty_files.rb +23 -0
- data/sub/avm-tools/lib/avm/launcher/git/base/remotes.rb +40 -0
- data/sub/avm-tools/lib/avm/launcher/git/base/subrepo.rb +44 -0
- data/sub/avm-tools/lib/avm/launcher/git/base/underlying.rb +63 -0
- data/sub/avm-tools/lib/avm/launcher/git/base.rb +86 -0
- data/sub/avm-tools/lib/avm/launcher/git/error.rb +13 -0
- data/sub/avm-tools/lib/avm/launcher/git/mirror_update.rb +38 -0
- data/sub/avm-tools/lib/avm/launcher/git/publish_base.rb +125 -0
- data/sub/avm-tools/lib/avm/launcher/git/remote.rb +55 -0
- data/sub/avm-tools/lib/avm/launcher/git/sub_warp_base.rb +33 -0
- data/sub/avm-tools/lib/avm/launcher/git/warp_base.rb +67 -0
- data/sub/avm-tools/lib/avm/launcher/git.rb +7 -0
- data/sub/avm-tools/lib/avm/launcher/instances/base/cache.rb +43 -0
- data/sub/avm-tools/lib/avm/launcher/instances/base.rb +96 -0
- data/sub/avm-tools/lib/avm/launcher/instances/error.rb +10 -0
- data/sub/avm-tools/lib/avm/launcher/instances/runner_helper.rb +47 -0
- data/sub/avm-tools/lib/avm/launcher/instances/settings.rb +55 -0
- data/sub/avm-tools/lib/avm/launcher/instances.rb +6 -0
- data/sub/avm-tools/lib/avm/launcher/paths/logical.rb +87 -0
- data/sub/avm-tools/lib/avm/launcher/paths.rb +4 -0
- data/sub/avm-tools/lib/avm/launcher/project.rb +18 -0
- data/sub/avm-tools/lib/avm/launcher/publish/base.rb +47 -0
- data/sub/avm-tools/lib/avm/launcher/publish.rb +4 -0
- data/sub/avm-tools/lib/avm/launcher/ruby/gem/build.rb +125 -0
- data/sub/avm-tools/lib/avm/launcher/ruby/gem/specification.rb +63 -0
- data/sub/avm-tools/lib/avm/launcher/ruby/gem.rb +4 -0
- data/sub/avm-tools/lib/avm/launcher/ruby.rb +3 -0
- data/sub/avm-tools/lib/avm/launcher/vendor/github.rb +20 -0
- data/sub/avm-tools/lib/avm/launcher/vendor.rb +3 -0
- data/sub/avm-tools/lib/avm/patches/i18n.rb +22 -0
- data/sub/avm-tools/lib/avm/patches.rb +9 -0
- data/sub/avm-tools/lib/avm/projects/stereotype/job_comparator.rb +32 -0
- data/sub/avm-tools/lib/avm/projects/stereotype.rb +63 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git/local_project_mixin.rb +19 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git/publish.rb +15 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git/warp.rb +27 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git.rb +25 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo/publish.rb +14 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo/warp.rb +88 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo.rb +34 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree/publish.rb +14 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree/warp.rb +32 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree.rb +51 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/rails_application/local_project_mixin.rb +18 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/rails_application.rb +25 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb +23 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb +28 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem/publish.rb +129 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem.rb +30 -0
- data/sub/avm-tools/lib/avm/projects/stereotypes.rb +20 -0
- data/sub/avm-tools/lib/avm/projects.rb +9 -0
- data/sub/avm-tools/lib/avm/rails.rb +9 -0
- data/sub/avm-tools/lib/avm/ruby/bundler.rb +11 -0
- data/sub/avm-tools/lib/avm/ruby/gems/generator.rb +165 -0
- data/sub/avm-tools/lib/avm/ruby/gems.rb +11 -0
- data/sub/avm-tools/lib/avm/ruby.rb +9 -0
- data/sub/avm-tools/lib/avm/stereotypes.rb +9 -0
- data/sub/avm-tools/lib/avm/tools/app_src.rb +64 -0
- data/sub/avm-tools/lib/avm/tools/core_ext.rb +4 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_asciidoctor_base0/build.rb +56 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_asciidoctor_base0.rb +14 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_chapters.rb +45 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_single.rb +35 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb +34 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0.rb +33 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/info.rb +38 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/issue/complete.rb +80 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/issue/deliver.rb +35 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/issue.rb +19 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb +62 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb +105 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/ruby/bundler.rb +21 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/ruby.rb +19 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/subs.rb +71 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/test.rb +93 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/update.rb +22 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src/version_bump.rb +81 -0
- data/sub/avm-tools/lib/avm/tools/runner/app_src.rb +40 -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/eac_asciidoctor_base0.rb +14 -0
- data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/dev_docker.rb +17 -0
- data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/docker.rb +17 -0
- data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb +56 -0
- data/sub/avm-tools/lib/avm/tools/runner/eac_redmine_base0.rb +15 -0
- data/sub/avm-tools/lib/avm/tools/runner/eac_webapp_base0.rb +14 -0
- data/sub/avm-tools/lib/avm/tools/runner/eac_wordpress_base0.rb +15 -0
- data/sub/avm-tools/lib/avm/tools/runner/eac_writings_base0.rb +14 -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/git/auto_commit.rb +67 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/commit.rb +102 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/deploy.rb +112 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/dirty_files.rb +44 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/organize.rb +75 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/revisions_test.rb +66 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/subrepo/check.rb +48 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/subrepo/clone.rb +83 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/subrepo/fix.rb +68 -0
- data/sub/avm-tools/lib/avm/tools/runner/git/subrepo.rb +19 -0
- data/sub/avm-tools/lib/avm/tools/runner/git.rb +36 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance/info.rb +41 -0
- data/sub/avm-tools/lib/avm/tools/runner/instance.rb +25 -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/ruby/gems/generate.rb +39 -0
- data/sub/avm-tools/lib/avm/tools/runner/ruby/gems.rb +19 -0
- data/sub/avm-tools/lib/avm/tools/runner/ruby/rubocop.rb +30 -0
- data/sub/avm-tools/lib/avm/tools/runner/ruby.rb +17 -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.rb +27 -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 +8 -0
- data/sub/avm-tools/lib/avm.rb +7 -0
- data/sub/avm-tools/locale/en.yml +7 -0
- data/sub/avm-tools/locale/pt-BR.yml +7 -0
- data/sub/avm-tools/spec/dummy/avm-tools_stub/avm-tools.gemspec +28 -0
- data/sub/avm-tools/spec/dummy/avm-tools_stub/lib/avm/tools/version.rb +7 -0
- data/sub/avm-tools/spec/dummy/avm-tools_stub/lib/avm/tools.rb +6 -0
- data/sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb +5 -0
- data/sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb +3 -0
- data/sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec +15 -0
- data/sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec.rb +24 -0
- data/sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec_no_ssl_content.conf +11 -0
- data/sub/avm-tools/spec/lib/avm/instances/application_spec.rb +23 -0
- data/sub/avm-tools/spec/lib/avm/instances/application_spec_fixture.yml +3 -0
- data/sub/avm-tools/spec/lib/avm/instances/base_spec.rb +92 -0
- data/sub/avm-tools/spec/lib/avm/instances/base_spec_configs_storage.yml +34 -0
- data/sub/avm-tools/spec/lib/avm/launcher/context_spec.rb +110 -0
- data/sub/avm-tools/spec/lib/avm/launcher/context_spec.yml +5 -0
- data/sub/avm-tools/spec/lib/avm/launcher/git/base_spec.rb +45 -0
- data/sub/avm-tools/spec/lib/avm/launcher/instances/base_spec.rb +25 -0
- data/sub/avm-tools/spec/lib/avm/launcher/ruby/gem/build_spec.rb +43 -0
- data/sub/avm-tools/spec/lib/avm/launcher/ruby/gem/specification_spec.rb +40 -0
- data/sub/avm-tools/spec/lib/avm/launcher/vendor/github_spec.rb +23 -0
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec.rb +80 -0
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec_settings.yml +6 -0
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb +49 -0
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec_settings.yml +6 -0
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/ruby_gem/publish_spec.rb +19 -0
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/ruby_gem_spec.rb +22 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/app_src/issue/complete_spec.rb +48 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec.rb +56 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/Gemfile.source +6 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/Gemfile.target +5 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/html_code.html.erb.source +8 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/html_code.html.erb.target +8 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/html_code.html.source +5 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/html_code.html.target +5 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/javascript_code1.js.source +29 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/javascript_code1.js.target +21 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/json_code.json.source +8 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/json_code.json.target +7 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_code.php.source +10 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_code.php.target +10 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_code2.php.source +4 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_code2.php.target +3 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_html_code.php.source +64 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_html_code.php.target +64 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_iso88591_code.php.source +4 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/php_iso88591_code.php.target +3 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/plain_text.source +3 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/plain_text.target +3 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/python_code.source +30 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/python_code.target +39 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/ruby_code.rb.source +6 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/ruby_code.rb.target +7 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/xml_code.xml.source +11 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/xml_code.xml.target +9 -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/git/deploy_spec.rb +124 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append1/stub3.txt.template +1 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append2/stub4.txt +1 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec.rb +53 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/Gemfile +5 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/Gemfile.lock +1 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/dashed-mygem.gemspec +18 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/lib/dashed/mygem/version.rb +7 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/lib/dashed/mygem.rb +9 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/dashed-mygem/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/Gemfile +5 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/Gemfile.lock +1 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/lib/mygem/version.rb +5 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/lib/mygem.rb +7 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/mygem.gemspec +18 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/gems/generate_spec_files/mygem/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec.rb +35 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir1/dir3/Gemfile +5 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir1/dir3/Gemfile.lock +27 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir2/empty.rb +1 -0
- data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir4/false_command.rb +4 -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/avm_tools_runner.rb +11 -0
- data/sub/avm-tools/spec/spec_helper/eac_launcher/settings.yml +6 -0
- data/sub/avm-tools/spec/spec_helper/eac_launcher.rb +52 -0
- data/sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/Dockerfile +24 -0
- data/sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/id_rsa +27 -0
- data/sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/id_rsa.pub +1 -0
- data/sub/avm-tools/spec/spec_helper/stubbed_docker_server.rb +93 -0
- data/sub/avm-tools/spec/spec_helper/templates.rb +5 -0
- data/sub/avm-tools/spec/spec_helper.rb +7 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/Gemfile +5 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +22 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_host.rb +17 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_path.rb +10 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/deploy.rb +26 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instance.rb +11 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +16 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb +30 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb +49 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb +54 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb +30 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb +11 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +7 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb +9 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb +7 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/Gemfile +5 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec +19 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/assert.rb +77 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/data_unit.rb +39 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance.rb +74 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb +18 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +7 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0.rb +9 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/avm-eac_postgresql_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/Gemfile +5 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +19 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_host.rb +10 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_path.rb +19 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb +53 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instance.rb +11 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb +26 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners.rb +11 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb +27 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +7 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0.rb +9 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb +22 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec_files/apache_host_spec_no_ssl_content.conf +11 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb +23 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec_files/stub-app_0_apache_path.conf +14 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/spec/spec_helper.rb +5 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf +5 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template +21 -0
- data/sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template +11 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/Gemfile +5 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec +20 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache/resource.rb +59 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache.rb +26 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/docker_image.rb +29 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances/base.rb +22 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances.rb +11 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base/docker.rb +19 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base.rb +28 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/version.rb +7 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb +9 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/docker_image_spec.rb +16 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base/docker_spec.rb +14 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base_spec.rb +7 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/avm-eac_ubuntu_base0/template/avm/eac_ubuntu_base0/docker_image/Dockerfile.template +24 -0
- data/sub/avm-tools/sub/avm-files/Gemfile +5 -0
- data/sub/avm-tools/sub/avm-files/avm-files.gemspec +21 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/file_content.rb +24 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/plain_directory.rb +25 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/resource_base.rb +13 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/tar_output_command.rb +26 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable/templatized_directory.rb +29 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/appendable.rb +55 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/appender.rb +11 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/deploy.rb +71 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/base.rb +62 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/generic_plain.rb +34 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/html.rb +45 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/javascript.rb +24 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/json.rb +27 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/php.rb +22 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/python.rb +22 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/ruby.rb +22 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats/xml.rb +28 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/formats.rb +13 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter/utf8_assert.rb +74 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/formatter.rb +90 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files/version.rb +7 -0
- data/sub/avm-tools/sub/avm-files/lib/avm/files.rb +9 -0
- data/sub/avm-tools/sub/avm-files/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/avm-files/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/avm-git/Gemfile +5 -0
- data/sub/avm-tools/sub/avm-git/avm-git.gemspec +21 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/commit_info.rb +23 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/base.rb +39 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/last.rb +19 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/manual.rb +45 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/new.rb +24 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/nth.rb +31 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules/unique.rb +21 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit/rules.rb +31 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit_path/ruby.rb +20 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/auto_commit_path.rb +28 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/class_methods.rb +31 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/deploy.rb +38 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/deploy_methods.rb +19 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/diff_tree_line.rb +32 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/commit/file.rb +46 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/commit.rb +59 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/file_auto_fixup.rb +83 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/commits.rb +42 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +23 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +61 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +39 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/push.rb +60 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/remote.rb +33 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/test.rb +40 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +28 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/validation.rb +39 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/validations.rb +53 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +19 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/complete.rb +66 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue/deliver.rb +56 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/issue.rb +11 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/organize/reference_update.rb +34 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/organize/repository.rb +76 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/organize.rb +11 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/revision_test.rb +105 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/git/change_tracker.rb +35 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/git/commit.rb +55 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/git.rb +73 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +39 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/scms/provider.rb +19 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/scms.rb +11 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_check/parent.rb +51 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_check/remote.rb +89 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_check/show_result.rb +32 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_check.rb +38 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/subrepo_checks.rb +59 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git/version.rb +7 -0
- data/sub/avm-tools/sub/avm-git/lib/avm/git.rb +11 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/auto_commit_path_spec.rb +21 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/deploy_spec.rb +93 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb +13 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +1 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +1 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +1 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +2 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/commit_spec.rb +56 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/scms/git_spec.rb +8 -0
- data/sub/avm-tools/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +8 -0
- data/sub/avm-tools/sub/avm-git/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/avm-git/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/eac_config/Gemfile +5 -0
- data/sub/avm-tools/sub/eac_config/eac_config.gemspec +19 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/entry.rb +53 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/entry_path.rb +41 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/envvars_node/entry.rb +54 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/envvars_node.rb +25 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/load_nodes_search.rb +39 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/load_path.rb +28 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/node.rb +67 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/node_entry.rb +22 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/node_uri.rb +38 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/old_configs/base.rb +43 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/old_configs/file.rb +47 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/old_configs.rb +75 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/entry_key_error.rb +8 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/node.rb +67 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash/path_search.rb +39 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/paths_hash.rb +63 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/rspec/setup.rb +65 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/rspec.rb +9 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/version.rb +5 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/yaml_file_node/entry.rb +36 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config/yaml_file_node.rb +47 -0
- data/sub/avm-tools/sub/eac_config/lib/eac_config.rb +7 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/entry_path_spec.rb +30 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb +14 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/envvars_node_spec.rb +40 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/old_configs_spec.rb +46 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/paths_hash_spec.rb +88 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb +52 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml +6 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml +2 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml +2 -0
- data/sub/avm-tools/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml +4 -0
- data/sub/avm-tools/sub/eac_config/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/eac_config/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/eac_docker/Gemfile +5 -0
- data/sub/avm-tools/sub/eac_docker/eac_docker.gemspec +19 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/container.rb +78 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/debug.rb +15 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/executables.rb +18 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images/base.rb +14 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images/coded.rb +43 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images/named.rb +30 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images/templatized.rb +41 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/images.rb +9 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/registry.rb +17 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/rspec/setup.rb +17 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/rspec.rb +9 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker/version.rb +5 -0
- data/sub/avm-tools/sub/eac_docker/lib/eac_docker.rb +7 -0
- data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/executables_spec.rb +9 -0
- data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/coded_spec.rb +12 -0
- data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile +1 -0
- data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb +18 -0
- data/sub/avm-tools/sub/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile +1 -0
- data/sub/avm-tools/sub/eac_docker/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/eac_docker/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/eac_git/Gemfile +5 -0
- data/sub/avm-tools/sub/eac_git/eac_git.gemspec +20 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/executables.rb +48 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/branch.rb +27 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/commit/archive.rb +19 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/commit/changed_file.rb +46 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/commit/diff_tree_line.rb +32 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/commit.rb +73 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/dirty_files.rb +37 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/log.rb +17 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/remote.rb +27 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/remotes.rb +20 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/subrepo/config.rb +43 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local/subrepo.rb +49 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/local.rb +126 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/remote/ls_result.rb +20 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/remote.rb +19 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/rspec/setup.rb +23 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb +71 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/rspec.rb +9 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git/version.rb +5 -0
- data/sub/avm-tools/sub/eac_git/lib/eac_git.rb +7 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/executables_spec.rb +13 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb +13 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out +1 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out +1 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out +1 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out +2 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
- data/sub/avm-tools/sub/eac_git/spec/lib/eac_git/local/commit_spec.rb +58 -0
- data/sub/avm-tools/sub/eac_git/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/eac_git/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/Changes +110 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/Intro.pod +509 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/License +21 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/Makefile +82 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/Meta +28 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ReadMe.pod +698 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/doc/comparison.swim +35 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/doc/git-subrepo.swim +608 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/doc/intro-to-subrepo.swim +387 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/Changes +15 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/License +21 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/Makefile +45 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/Meta +28 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/ReadMe.pod +77 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/bin/bash+ +43 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/doc/bash+.swim +61 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/lib/bash+.bash +92 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man1/bash+.1 +134 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man3/bash+.3 +134 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/base.t +12 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/fcopy.t +22 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/bar.bash +3 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/foo.bash +3 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+-std.t +18 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+.t +23 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/test.bash +70 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t +19 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Changes +15 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/License +21 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Makefile +20 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Meta +30 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ReadMe.pod +115 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/doc/test-more.swim +89 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Changes +15 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/License +21 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Makefile +45 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Meta +28 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/ReadMe.pod +77 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/bin/bash+ +43 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/doc/bash+.swim +61 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/lib/bash+.bash +92 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man1/bash+.1 +134 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man3/bash+.3 +134 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/base.t +12 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/fcopy.t +22 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/bar.bash +3 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/foo.bash +3 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+-std.t +18 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+.t +23 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/test.bash +70 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t +19 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Changes +15 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/License +21 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile +37 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Meta +28 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/ReadMe.pod +66 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/doc/test-tap.swim +48 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/lib/test/tap.bash +153 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/man/man3/test-tap.3 +119 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/bail_out.t +13 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/done.t +10 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail.t +20 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail_fast.t +15 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/helper.bash +9 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/pass.t +9 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/plan.t +10 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/skip_all.t +20 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/tap.t +13 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/bail.t +14 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail.t +7 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail_fast.t +12 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-init.t +8 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-plan.t +9 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/lib/test/more.bash +95 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/man/man3/test-more.3 +173 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/fail.t +20 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/more.t +20 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/pass.t +9 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/setup +8 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/skip_all.t +11 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/fail1.t +12 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/skip_all.t +10 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/lib/git-subrepo +1903 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/help-functions.bash +339 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/man/man1/git-subrepo.1 +743 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/0.4.0 +12 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/AllGitCmds +148 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Cases +32 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Commands +33 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Dags +199 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Gists +7 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Links +25 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Plugins +10 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Spec +39 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/Story1 +57 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/ToDo +55 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/design.swim +137 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/design2.swim +85 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/init-test +38 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/pull-dance.txt +18 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/recreate-rebase-conflict.sh +56 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/subtree-rebase-fail-example/test.bash +29 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/test-subrepo-push.sh +69 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/note/test.sh +58 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-completion.pl +210 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-help-functions.pl +89 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/share/completion.bash +42 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/share/enable-completion.sh +50 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/share/git-completion.bash +2738 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/share/zsh-completion/_git-subrepo +81 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/branch-all.t +41 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/branch-rev-list-one-path.t +43 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/branch-rev-list.t +47 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/branch.t +52 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/clean.t +43 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/clone-annotated-tag.t +45 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/clone.t +107 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/compile.t +19 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/config.t +58 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/encode.t +91 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/error.t +171 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/fetch.t +43 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/gitignore.t +61 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/init.t +64 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/issue29.t +98 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/issue95.t +98 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/issue96.t +96 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-all.t +38 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-merge.t +113 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-message.t +88 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-new-branch.t +58 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-ours.t +90 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-theirs.t +82 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-twice.t +44 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-worktree.t +40 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull.t +99 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-after-init.t +51 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-force.t +56 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-new-branch.t +61 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-no-changes.t +29 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push-squash.t +56 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/push.t +176 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/reclone.t +45 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/HEAD +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/config +4 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/1f/0c4b264caed0126814a0ede851a1e0b4e16ae6 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/87/46903fdb1b9c2101377880125917c2e05b4d69 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/94/c86ffc745232d89f78c6f895e11e71272518db +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/c6/76c57b6576743fa56278527aa60ebd2e202a7c +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/f6/2a8ff3feadf39b0a98f1a86ec6d1eb33858ee9 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/heads/master +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/tags/A +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/HEAD +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/config +4 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/a0/f4cdaaf533a936296cdebbed8206c3b9ededa8 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/e2/1291a1ad392a9d4c51dd9586804f1467b28afd +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/foo/refs/heads/master +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/HEAD +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/config +5 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/11/523f5dcf03b4c89b592dc8a3d0308f68da2386 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/14/2addf8ec5f37334e837440122c62f2c68a29ad +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/32/5180321750a21cd7a4e7ecda319e557a4f6a09 +2 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/3d/918c6901c02f43af5d31779dd5e1f9166aeb36 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/3e/4cb596066dce63ba4d047abddb677389b65e19 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/4b/6e53022e7a04f07887697e4f3d7c377fd9822b +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/58/931fc1bd559b59c41ea738fc7ad04f9ad01bd3 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/5e/c0c28e1b806f25efdca18fcf7a74b49c3755bd +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/75/fa6584e748f57eff06eebdc55e9ac21d4fcbf2 +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/80/2d5edbd5e1cb7fca82b5bd38e7c8a0a496fb20 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/94/7b3d714c38791e95ad6f928b48c98bb8708acd +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/95/e1f2df3f4d5f3d7a60588c25a7ca8a913d3c2a +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/b1/5f4a7666baf40d949548ead946a3370e273479 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/c3/ee8978c4c5d84c3b7d00ba8e5906933d027882 +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/c8/b0bffbc405ef3fad7354ff833fbec36d67ddfa +3 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/dd/8bdb934ec848137f011fe423b185505c343626 +2 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/e2/9be58c767cfeb27235c995d293a7d71aac0135 +2 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/ee/1224401fc6aac595145fa727dcf6706ac8aec1 +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/f1/cc1a657b2e805c400f5dcaaa76bd29c6178b1b +0 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/repo/init/refs/heads/master +1 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/setup +205 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/status.t +68 -0
- data/sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/submodule.t +45 -0
- data/sub/avm-tools/sub/eac_rest/Gemfile +5 -0
- data/sub/avm-tools/sub/eac_rest/eac_rest.gemspec +18 -0
- data/sub/avm-tools/sub/eac_rest/lib/eac_rest/api.rb +50 -0
- data/sub/avm-tools/sub/eac_rest/lib/eac_rest/entity.rb +16 -0
- data/sub/avm-tools/sub/eac_rest/lib/eac_rest/request.rb +95 -0
- data/sub/avm-tools/sub/eac_rest/lib/eac_rest/response.rb +112 -0
- data/sub/avm-tools/sub/eac_rest/lib/eac_rest/version.rb +5 -0
- data/sub/avm-tools/sub/eac_rest/lib/eac_rest.rb +7 -0
- data/sub/avm-tools/sub/eac_rest/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/eac_rest/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/sub/eac_templates/Gemfile +5 -0
- data/sub/avm-tools/sub/eac_templates/eac_templates.gemspec +19 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/core_ext.rb +4 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/directory.rb +108 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/file.rb +48 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/from_all_gems.rb +4 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/from_gem.rb +35 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/erb_template.rb +9 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb +10 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module.rb +4 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/object/erb_template.rb +9 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/object/template.rb +9 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/object.rb +4 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/patches.rb +4 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/searcher.rb +53 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_not_found_error.rb +5 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/base.rb +21 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/config_reader.rb +27 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/entries_reader.rb +23 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/generic.rb +23 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers/hash.rb +27 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/variable_providers.rb +23 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates/version.rb +5 -0
- data/sub/avm-tools/sub/eac_templates/lib/eac_templates.rb +7 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/file_spec.rb +35 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/file_spec_files/expected_content +2 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/file_spec_files/source.template +2 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/searcher_spec.rb +30 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file1.template +1 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file2 +1 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path2/subdir1/file3.template +1 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/object/template_spec.rb +23 -0
- data/sub/avm-tools/sub/eac_templates/spec/lib/object/template_spec_files/path/my_stub_with_template +1 -0
- data/sub/avm-tools/sub/eac_templates/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/sub/eac_templates/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/template/avm/eac_wordpress_base0/deploy/wp-config.php.template +90 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/commons/all.tex +5 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/commons/ebook.tex +11 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/commons/images.tex +11 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/commons/links.tex +2 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/commons/portuguese.tex +8 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/commons/source_code/java.tex +15 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/commons/source_code.tex +21 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/commons/utils.tex +6 -0
- data/sub/avm-tools/template/avm/eac_writings_base0/deploy/index.html.template +9 -0
- data/sub/avm-tools/template/avm/ruby/gems/generator/gemspec.template +18 -0
- data/sub/avm-tools/template/avm/ruby/gems/generator/root_lib.template +7 -0
- data/sub/avm-tools/template/avm/ruby/gems/generator/static/Gemfile +5 -0
- data/sub/avm-tools/template/avm/ruby/gems/generator/static/spec/rubocop_spec.rb +3 -0
- data/sub/avm-tools/template/avm/ruby/gems/generator/static/spec/spec_helper.rb +4 -0
- data/sub/avm-tools/template/avm/ruby/gems/generator/version.template +5 -0
- data/sub/avm-tools/template/avm/self/docker_image/Dockerfile +17 -0
- data/sub/avm-tools/template/avm/self/docker_image/entrypoint.sh +12 -0
- data/sub/eac_cli/Gemfile +5 -0
- data/sub/eac_cli/eac_cli.gemspec +20 -0
- data/sub/eac_cli/lib/eac_cli/config/entry/options.rb +57 -0
- data/sub/eac_cli/lib/eac_cli/config/entry/undefined.rb +26 -0
- data/sub/eac_cli/lib/eac_cli/config/entry.rb +50 -0
- data/sub/eac_cli/lib/eac_cli/config.rb +21 -0
- data/sub/eac_cli/lib/eac_cli/core_ext.rb +6 -0
- data/sub/eac_cli/lib/eac_cli/default_runner.rb +14 -0
- data/sub/eac_cli/lib/eac_cli/definition/alternative.rb +80 -0
- data/sub/eac_cli/lib/eac_cli/definition/argument_option.rb +21 -0
- data/sub/eac_cli/lib/eac_cli/definition/base_option/initialize_args_parser.rb +47 -0
- data/sub/eac_cli/lib/eac_cli/definition/base_option.rb +66 -0
- data/sub/eac_cli/lib/eac_cli/definition/boolean_option.rb +27 -0
- data/sub/eac_cli/lib/eac_cli/definition/positional_argument.rb +61 -0
- data/sub/eac_cli/lib/eac_cli/definition.rb +95 -0
- data/sub/eac_cli/lib/eac_cli/enum.rb +45 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/entry_reader.rb +80 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb +16 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb +44 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/store_passwords_entry_reader.rb +25 -0
- data/sub/eac_cli/lib/eac_cli/old_configs.rb +35 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/argv.rb +17 -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 +47 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative.rb +92 -0
- data/sub/eac_cli/lib/eac_cli/parser/collector.rb +46 -0
- data/sub/eac_cli/lib/eac_cli/parser/error.rb +15 -0
- data/sub/eac_cli/lib/eac_cli/parser.rb +34 -0
- data/sub/eac_cli/lib/eac_cli/patches/object/runner_with.rb +26 -0
- data/sub/eac_cli/lib/eac_cli/patches/object.rb +5 -0
- data/sub/eac_cli/lib/eac_cli/patches.rb +4 -0
- data/sub/eac_cli/lib/eac_cli/rspec/setup.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/rspec.rb +9 -0
- data/sub/eac_cli/lib/eac_cli/runner/after_class_methods.rb +33 -0
- data/sub/eac_cli/lib/eac_cli/runner/class_runner.rb +50 -0
- data/sub/eac_cli/lib/eac_cli/runner/context.rb +40 -0
- data/sub/eac_cli/lib/eac_cli/runner/exit.rb +13 -0
- data/sub/eac_cli/lib/eac_cli/runner/instance_methods.rb +43 -0
- data/sub/eac_cli/lib/eac_cli/runner.rb +49 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb +63 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb +82 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help.rb +41 -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 +125 -0
- data/sub/eac_cli/lib/eac_cli/runner_with.rb +9 -0
- data/sub/eac_cli/lib/eac_cli/runner_with_set.rb +50 -0
- data/sub/eac_cli/lib/eac_cli/speaker/constants.rb +13 -0
- data/sub/eac_cli/lib/eac_cli/speaker/list.rb +61 -0
- data/sub/eac_cli/lib/eac_cli/speaker/options.rb +38 -0
- data/sub/eac_cli/lib/eac_cli/speaker.rb +126 -0
- data/sub/eac_cli/lib/eac_cli/version.rb +5 -0
- data/sub/eac_cli/lib/eac_cli.rb +7 -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_spec.rb +140 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_spec.rb +129 -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/subcommands_spec.rb +88 -0
- data/sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb +32 -0
- data/sub/eac_cli/spec/rubocop_spec.rb +3 -0
- data/sub/eac_cli/spec/spec_helper.rb +4 -0
- data/sub/eac_fs/Gemfile +5 -0
- data/sub/eac_fs/eac_fs.gemspec +20 -0
- data/sub/eac_fs/lib/eac_fs/cached_download.rb +40 -0
- data/sub/eac_fs/lib/eac_fs/contexts.rb +21 -0
- data/sub/eac_fs/lib/eac_fs/file_info.rb +29 -0
- data/sub/eac_fs/lib/eac_fs/logs/file.rb +56 -0
- data/sub/eac_fs/lib/eac_fs/logs.rb +64 -0
- data/sub/eac_fs/lib/eac_fs/patches/module/fs_cache.rb +15 -0
- data/sub/eac_fs/lib/eac_fs/patches/module.rb +4 -0
- data/sub/eac_fs/lib/eac_fs/patches/object/fs_cache.rb +32 -0
- data/sub/eac_fs/lib/eac_fs/patches/object.rb +4 -0
- data/sub/eac_fs/lib/eac_fs/patches/pathname/info.rb +12 -0
- data/sub/eac_fs/lib/eac_fs/patches/pathname.rb +4 -0
- data/sub/eac_fs/lib/eac_fs/patches.rb +4 -0
- data/sub/eac_fs/lib/eac_fs/storage_tree.rb +62 -0
- data/sub/eac_fs/lib/eac_fs/traversable.rb +45 -0
- data/sub/eac_fs/lib/eac_fs/traverser.rb +76 -0
- data/sub/eac_fs/lib/eac_fs/version.rb +5 -0
- data/sub/eac_fs/lib/eac_fs.rb +7 -0
- data/sub/eac_fs/spec/lib/eac_fs/storage_tree_spec.rb +32 -0
- data/sub/eac_fs/spec/rubocop_spec.rb +3 -0
- data/sub/eac_fs/spec/spec_helper.rb +4 -0
- data/sub/eac_ruby_base0/Gemfile +5 -0
- data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +21 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb +88 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb +34 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb +5 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb +31 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb +10 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb +4 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb +5 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb +5 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches.rb +4 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb +14 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb +9 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +92 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb +42 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb +52 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb +36 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb +58 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb +9 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +5 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0.rb +7 -0
- data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb +42 -0
- data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb +81 -0
- data/sub/eac_ruby_base0/spec/rubocop_spec.rb +3 -0
- data/sub/eac_ruby_base0/spec/spec_helper.rb +4 -0
- metadata +1098 -4
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_ruby_base1/sources/base'
|
4
|
+
require 'avm/tools/runner'
|
5
|
+
|
6
|
+
::RSpec.describe ::Avm::Tools::Runner::Ruby::Rubocop do
|
7
|
+
let(:fixtures_root) { ::Pathname.new(__dir__).expand_path.join('rubocop_spec_files') }
|
8
|
+
let(:dir1) { fixtures_root.join('dir1') }
|
9
|
+
let(:dir2) { fixtures_root.join('dir2') }
|
10
|
+
let(:dir3) { dir1.join('dir3') }
|
11
|
+
let(:dir4) { fixtures_root.join('dir4') }
|
12
|
+
|
13
|
+
{
|
14
|
+
dir1: '0.48.1',
|
15
|
+
dir2: ::Avm::EacRubyBase1::Sources::Base.new(APP_ROOT).gemfile_lock_gem_version('rubocop').to_s,
|
16
|
+
dir3: '0.48.1',
|
17
|
+
dir4: '33.33.33'
|
18
|
+
}.each do |dir_name, rubocop_version|
|
19
|
+
context "when dir is #{dir_name}" do
|
20
|
+
let(:dir) { send(dir_name) }
|
21
|
+
let(:thegem) { ::Avm::EacRubyBase1::Sources::Base.new(dir) }
|
22
|
+
|
23
|
+
before do
|
24
|
+
thegem.bundle.system! if thegem.gemfile_path.exist?
|
25
|
+
end
|
26
|
+
|
27
|
+
it "return #{rubocop_version} as Rubocop version" do
|
28
|
+
argv = ['--quiet', 'ruby', 'rubocop', '-C', dir.to_s, '--', '--version']
|
29
|
+
expect { ::Avm::Tools::Runner.run(argv: argv) }.to(
|
30
|
+
output("#{rubocop_version}\n").to_stdout_from_any_process
|
31
|
+
)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
ast (2.4.0)
|
5
|
+
parser (2.7.0.4)
|
6
|
+
ast (~> 2.4.0)
|
7
|
+
powerpack (0.1.2)
|
8
|
+
rainbow (2.2.2)
|
9
|
+
rake
|
10
|
+
rake (13.0.1)
|
11
|
+
rubocop (0.48.1)
|
12
|
+
parser (>= 2.3.3.1, < 3.0)
|
13
|
+
powerpack (~> 0.1)
|
14
|
+
rainbow (>= 1.99.1, < 3.0)
|
15
|
+
ruby-progressbar (~> 1.7)
|
16
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
17
|
+
ruby-progressbar (1.10.1)
|
18
|
+
unicode-display_width (1.7.0)
|
19
|
+
|
20
|
+
PLATFORMS
|
21
|
+
ruby
|
22
|
+
|
23
|
+
DEPENDENCIES
|
24
|
+
rubocop (= 0.48.1)
|
25
|
+
|
26
|
+
BUNDLED WITH
|
27
|
+
2.3.17
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -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
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
DUMMY_DIR = ::File.expand_path('../dummy', __dir__)
|
4
|
+
ROOT_DIR = ::File.expand_path('../..', __dir__)
|
5
|
+
|
6
|
+
require 'avm/launcher/context'
|
7
|
+
|
8
|
+
RSpec.configure do |config|
|
9
|
+
config.before do
|
10
|
+
require 'avm/launcher/context'
|
11
|
+
::Avm::Launcher::Context.current = ::Avm::Launcher::Context.new(
|
12
|
+
projects_root: DUMMY_DIR,
|
13
|
+
settings_file: ::File.join(__dir__, 'eac_launcher', 'settings.yml'),
|
14
|
+
cache_root: ::Dir.mktmpdir
|
15
|
+
)
|
16
|
+
@remotes_dir = ::Dir.mktmpdir
|
17
|
+
allow(::ProgressBar).to receive(:create).and_return(double.as_null_object)
|
18
|
+
end
|
19
|
+
|
20
|
+
def temp_context(settings_path)
|
21
|
+
require 'avm/launcher/context'
|
22
|
+
require 'tmpdir'
|
23
|
+
::Avm::Launcher::Context.current = ::Avm::Launcher::Context.new(
|
24
|
+
projects_root: ::Dir.mktmpdir, settings_file: settings_path, cache_root: ::Dir.mktmpdir
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
def init_remote(name)
|
29
|
+
require 'avm/launcher/git/base'
|
30
|
+
r = ::Avm::Launcher::Git::Base.new(::File.join(@remotes_dir, name))
|
31
|
+
r.init_bare
|
32
|
+
r
|
33
|
+
end
|
34
|
+
|
35
|
+
def init_git(subdir)
|
36
|
+
require 'avm/launcher/git/base'
|
37
|
+
r = ::Avm::Launcher::Git::Base.new(::File.join(::Avm::Launcher::Context.current.root.real,
|
38
|
+
subdir))
|
39
|
+
r.git
|
40
|
+
r.execute!('config', 'user.email', 'theuser@example.net')
|
41
|
+
r.execute!('config', 'user.name', 'The User')
|
42
|
+
r
|
43
|
+
end
|
44
|
+
|
45
|
+
def touch_commit(repos, subpath)
|
46
|
+
require 'fileutils'
|
47
|
+
::FileUtils.mkdir_p(::File.dirname(repos.subpath(subpath)))
|
48
|
+
::FileUtils.touch(repos.subpath(subpath))
|
49
|
+
repos.execute!('add', repos.subpath(subpath))
|
50
|
+
repos.execute!('commit', '-m', subpath)
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
FROM ubuntu:18.04
|
2
|
+
MAINTAINER Aleksandar Diklic "https://github.com/rastasheep"
|
3
|
+
|
4
|
+
RUN apt-get update
|
5
|
+
|
6
|
+
RUN apt-get install -y openssh-server
|
7
|
+
RUN mkdir /var/run/sshd
|
8
|
+
|
9
|
+
RUN echo 'root:root' |chpasswd
|
10
|
+
|
11
|
+
RUN sed -ri 's/^#?PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
12
|
+
RUN sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config
|
13
|
+
|
14
|
+
RUN mkdir /root/.ssh
|
15
|
+
ADD id_rsa /root/.ssh/id_rsa
|
16
|
+
ADD id_rsa.pub /root/.ssh/id_rsa.pub
|
17
|
+
ADD id_rsa.pub /root/.ssh/authorized_keys
|
18
|
+
|
19
|
+
RUN apt-get clean && \
|
20
|
+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
21
|
+
|
22
|
+
EXPOSE 22
|
23
|
+
|
24
|
+
CMD ["/usr/sbin/sshd", "-D"]
|
@@ -0,0 +1,27 @@
|
|
1
|
+
-----BEGIN RSA PRIVATE KEY-----
|
2
|
+
MIIEowIBAAKCAQEAyZfl6Z+r/Is396PdKgYEWAf0O2xt7a1UwlaP7ozRvZjmmd/X
|
3
|
+
dkPo2ZsXe7tACAJzDHMO9UO1/WQ0ZirkVfLTe82CInwggYLxEf1vRtCV1NuVtttZ
|
4
|
+
+D0yZWb/kXEApVAIzKvCBPZJuspBPuJcEuVygJn646WXqi1X3CBDqV+YEI8sm1o3
|
5
|
+
xn9xmsyXmW7AfIT07F1W6u4/vfGnZ3zjyXwA0ef1wZ46RgzFgVTBZOnpf0ELjcW0
|
6
|
+
VRfvgGRytoY22pvqxtYc5Yumgddp2oi3fUKMoRrDAwU7+VFKUQv0XmMsZKKp2iei
|
7
|
+
hl/WRI9ScXs16QNQZqVqnw9ll2aUaPVVf1Jk4QIDAQABAoIBADDiWKoyQe5XhBbU
|
8
|
+
8YiDNQJzy1GtlWqRIYCOpRBfrWygayrdEM5o4UoDRcqHOZu3nFZkgDgRV0w+xEYS
|
9
|
+
GJSO8aGP0AK0vt0o93Q5VIaDhhG7va49uq9rh5D3TPnjwRhVNA0NiVrSrkZRTUkG
|
10
|
+
cvVSFlYBAMm7Ge/2VtvWJxInUCSTZPZfh+7ySAOYfDCpENgEcQKYXhx2WFrd0O/Q
|
11
|
+
I2QgIpbpOAgqNxvaRT60gNiIKmIGAFHEJiKsK94mkaVj28GJ4kZkXkdaGQDuypYp
|
12
|
+
nB7sO3Z5Gq2pCjAgFHxtDP2lZHN4IaX6uQBWupCPhJ63V9gLTvxTMZfI9sn6O2PS
|
13
|
+
F50wQcECgYEA88o22sA5ZoEZ7CtXVZ9EzNOopNMFNX4IeMdu7c8+qgZWWFJDbmXV
|
14
|
+
AqDZ0W72miSETZB8FR9unJLXlgBJWSR7R4s6KfTo9PKvfN3x0H3l+4AZXcDTexJN
|
15
|
+
vdYWJbR+NnsW3lh5dzBiRE70GQ2QU9zQKMl9mCWVL+3o1YAz9XqTYKUCgYEA07Cn
|
16
|
+
rPLHUQvmm4+DUlyNp8H0SBWl0jx1+cMnfWpdMMs/7bLYpkbnpqN/IgKQOf3AYI//
|
17
|
+
lncnk1NRdNfpuf3yLtvhdqZFg9N11dbT0i0rTNlHvWzrVB4Rtu9OD3EWvCoqOPKQ
|
18
|
+
ey+XdVyasI8W6k4hYuZiClsm2pFwxbTMBBTbYo0CgYAuQMVbh3Dcg835QtfVBNy2
|
19
|
+
x8mNTAQG/Bx7XcssD0/iTkV/iEwG3Acn8oCg/Z6H7Dm1xZ3lHAuOZUXFzdQct5E0
|
20
|
+
J7QnVbIFFy44UJuaZOiHaOxnHziAdx6Mz9tv1+jCSWQzVzHkbSeXsisZvbsOTiyo
|
21
|
+
MGJFxYuihk7QgvxYrKLdiQKBgGb/aeYFTiNJ5g9EWYHmVGoOPZwhJEhRcJlwcbNc
|
22
|
+
4DDQg69UuILWtvlmTYIvuxrsMwEIrzP3j8Ln5Bc0wpzjSUWxaFcBeYs1hPzhhLib
|
23
|
+
j5jZk0VATJPl+XqHnvR2crhkz5xbsR6uvkO1JfLH/D9OeoITVBpz1Ui9QSCA4k8O
|
24
|
+
Etw1AoGBAKRMXd+BxObb7+Qr0QSSjsAo2/5Ca782X1G8LoXkKqXqSiY+Y98ugpoC
|
25
|
+
Gu+oeiHLHDW47hHbtC5rdXigcLEZQRiLVsOiwgua8AcnQxBhF4/Xi877+C8hB7ge
|
26
|
+
JjlolpGpvjYN3QEnYxki4Fbgxxz4PX91NjnT5RF4dILhTa5kavP7
|
27
|
+
-----END RSA PRIVATE KEY-----
|
@@ -0,0 +1 @@
|
|
1
|
+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJl+Xpn6v8izf3o90qBgRYB/Q7bG3trVTCVo/ujNG9mOaZ39d2Q+jZmxd7u0AIAnMMcw71Q7X9ZDRmKuRV8tN7zYIifCCBgvER/W9G0JXU25W221n4PTJlZv+RcQClUAjMq8IE9km6ykE+4lwS5XKAmfrjpZeqLVfcIEOpX5gQjyybWjfGf3GazJeZbsB8hPTsXVbq7j+98adnfOPJfADR5/XBnjpGDMWBVMFk6el/QQuNxbRVF++AZHK2hjbam+rG1hzli6aB12naiLd9QoyhGsMDBTv5UUpRC/ReYyxkoqnaJ6KGX9ZEj1JxezXpA1BmpWqfD2WXZpRo9VV/UmTh avm@localhost
|
@@ -0,0 +1,93 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_docker/images/templatized'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
|
+
require_relative 'templates'
|
6
|
+
|
7
|
+
class StubbedDockerServer < ::EacDocker::Images::Templatized
|
8
|
+
class << self
|
9
|
+
enable_simple_cache
|
10
|
+
|
11
|
+
def on_run
|
12
|
+
instance.on_run { yield }
|
13
|
+
end
|
14
|
+
|
15
|
+
delegate :env, to: :instance
|
16
|
+
|
17
|
+
private
|
18
|
+
|
19
|
+
def instance_uncached
|
20
|
+
new.tag('avm_stubbed_docker_server')
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def env
|
25
|
+
raise '@env is blank' if @env.blank?
|
26
|
+
|
27
|
+
@env
|
28
|
+
end
|
29
|
+
|
30
|
+
def on_run
|
31
|
+
on_container do
|
32
|
+
on_env do
|
33
|
+
yield
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
private
|
39
|
+
|
40
|
+
def container
|
41
|
+
raise '@container is blank' if @container.blank?
|
42
|
+
|
43
|
+
@container
|
44
|
+
end
|
45
|
+
|
46
|
+
def env_identity_file
|
47
|
+
template.child('id_rsa').path
|
48
|
+
end
|
49
|
+
|
50
|
+
def env_identity_file_good_permissions
|
51
|
+
r = ::EacRubyUtils::Fs::Temp.file
|
52
|
+
::FileUtils.cp env_identity_file, r
|
53
|
+
r.chmod(0o600)
|
54
|
+
r
|
55
|
+
end
|
56
|
+
|
57
|
+
def close_env
|
58
|
+
@identity_file.remove
|
59
|
+
@env = nil
|
60
|
+
end
|
61
|
+
|
62
|
+
def on_env
|
63
|
+
open_env
|
64
|
+
begin
|
65
|
+
yield
|
66
|
+
ensure
|
67
|
+
close_env
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
def on_container
|
72
|
+
provide.container.temporary(true).on_detached do |container|
|
73
|
+
@container = container
|
74
|
+
begin
|
75
|
+
yield
|
76
|
+
ensure
|
77
|
+
@container = nil
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def open_env
|
83
|
+
raise 'Environment already open' if @env.present?
|
84
|
+
|
85
|
+
@identity_file = env_identity_file_good_permissions
|
86
|
+
@env = ::EacRubyUtils::Envs::SshEnv.new(
|
87
|
+
"ssh://root@#{container.hostname}" \
|
88
|
+
'?StrictHostKeyChecking=no' \
|
89
|
+
'&BatchMode=yes' \
|
90
|
+
"&IdentityFile=#{@identity_file}"
|
91
|
+
)
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
+
|
5
|
+
require 'avm/eac_asciidoctor_base0/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'avm-eac_asciidoctor_base0'
|
9
|
+
s.version = Avm::EacAsciidoctorBase0::VERSION
|
10
|
+
s.authors = ['Put here the authors']
|
11
|
+
s.summary = 'Put here de description.'
|
12
|
+
|
13
|
+
s.files = Dir['{lib,template}/**/*']
|
14
|
+
|
15
|
+
s.add_dependency 'asciidoctor', '~> 2.0', '>= 2.0.12'
|
16
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.2'
|
17
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.63'
|
18
|
+
s.add_dependency 'os'
|
19
|
+
s.add_dependency 'rouge', '~> 3.26'
|
20
|
+
|
21
|
+
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.2'
|
22
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_webapp_base0/apache_host'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module EacAsciidoctorBase0
|
7
|
+
class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
|
8
|
+
def document_root
|
9
|
+
instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
|
10
|
+
end
|
11
|
+
|
12
|
+
def extra_content
|
13
|
+
''
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_webapp_base0/deploy'
|
4
|
+
require 'avm/eac_asciidoctor_base0/sources/base'
|
5
|
+
require 'avm/eac_asciidoctor_base0/sources/build'
|
6
|
+
|
7
|
+
module Avm
|
8
|
+
module EacAsciidoctorBase0
|
9
|
+
class Deploy < ::Avm::EacWebappBase0::Deploy
|
10
|
+
def build_content
|
11
|
+
::Avm::EacAsciidoctorBase0::Sources::Build.new(
|
12
|
+
project,
|
13
|
+
::Avm::EacAsciidoctorBase0::Sources::Build::OPTION_TARGET_DIRECTORY => build_dir
|
14
|
+
).run
|
15
|
+
end
|
16
|
+
|
17
|
+
private
|
18
|
+
|
19
|
+
def project_uncached
|
20
|
+
::Avm::EacAsciidoctorBase0::Sources::Base.new(
|
21
|
+
instance.source_instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
|
22
|
+
)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_webapp_base0/sources/base'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacAsciidoctorBase0
|
8
|
+
module Sources
|
9
|
+
class Base < ::Avm::EacWebappBase0::Sources::Base
|
10
|
+
def valid?
|
11
|
+
false
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'asciidoctor'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module EacAsciidoctorBase0
|
7
|
+
module Sources
|
8
|
+
class Build
|
9
|
+
class File
|
10
|
+
enable_speaker
|
11
|
+
common_constructor :build, :subpath
|
12
|
+
|
13
|
+
def run
|
14
|
+
infov 'Building', subpath
|
15
|
+
::Asciidoctor.convert_file source_path.to_path,
|
16
|
+
to_file: target_path.to_path, safe: :unsafe, mkdirs: true
|
17
|
+
end
|
18
|
+
|
19
|
+
def source_path
|
20
|
+
build.project.path.join(subpath)
|
21
|
+
end
|
22
|
+
|
23
|
+
def target_path
|
24
|
+
build.target_directory.join(subpath).basename_sub('.*') { |b| "#{b}.html" }
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
require 'eac_ruby_utils/fs/clearable_directory'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacAsciidoctorBase0
|
8
|
+
module Sources
|
9
|
+
class Build
|
10
|
+
require_sub __FILE__
|
11
|
+
enable_speaker
|
12
|
+
enable_simple_cache
|
13
|
+
enable_listable
|
14
|
+
lists.add_symbol :option, :target_directory
|
15
|
+
common_constructor :project, :options, default: [{}] do
|
16
|
+
self.options = self.class.lists.option.hash_keys_validate!(options.symbolize_keys)
|
17
|
+
end
|
18
|
+
|
19
|
+
SOURCE_EXTNAMES = %w[.adoc .asc].freeze
|
20
|
+
|
21
|
+
def run
|
22
|
+
infov 'Files to build', source_files.count
|
23
|
+
target_directory.clear
|
24
|
+
source_files.each(&:run)
|
25
|
+
end
|
26
|
+
|
27
|
+
def default_target_directory
|
28
|
+
project.path.join('build')
|
29
|
+
end
|
30
|
+
|
31
|
+
def target_directory
|
32
|
+
::EacRubyUtils::Fs::ClearableDirectory.new(
|
33
|
+
options[OPTION_TARGET_DIRECTORY] || default_target_directory
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
37
|
+
def source_files_uncached
|
38
|
+
r = []
|
39
|
+
project.path.children.each do |child|
|
40
|
+
next unless SOURCE_EXTNAMES.include?(child.extname)
|
41
|
+
|
42
|
+
r << ::Avm::EacAsciidoctorBase0::Sources::Build::File.new(self, child.basename)
|
43
|
+
end
|
44
|
+
r
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_asciidoctor_base0/sources/build'
|
4
|
+
require 'eac_ruby_base0/core_ext'
|
5
|
+
require 'os'
|
6
|
+
|
7
|
+
module Avm
|
8
|
+
module EacAsciidoctorBase0
|
9
|
+
module Sources
|
10
|
+
class Runner
|
11
|
+
class Build
|
12
|
+
runner_with :help do
|
13
|
+
desc 'Build the project'
|
14
|
+
arg_opt '-d', '--target-dir', 'Directory to build'
|
15
|
+
bool_opt '--open', 'Show the result.'
|
16
|
+
end
|
17
|
+
|
18
|
+
def run
|
19
|
+
start_banner
|
20
|
+
build.run
|
21
|
+
open
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def build_uncached
|
27
|
+
::Avm::EacAsciidoctorBase0::Sources::Build.new(runner_context.call(:project),
|
28
|
+
target_directory: parsed.target_dir)
|
29
|
+
end
|
30
|
+
|
31
|
+
def default_target_directory
|
32
|
+
runner_context.call(:project).path.join('build')
|
33
|
+
end
|
34
|
+
|
35
|
+
def open
|
36
|
+
return unless parsed.open?
|
37
|
+
|
38
|
+
infom "Opening \"#{open_path}\"..."
|
39
|
+
::EacRubyUtils::Envs.local.command(OS.open_file_command, open_path).system!
|
40
|
+
end
|
41
|
+
|
42
|
+
def open_path
|
43
|
+
build.source_files.first.target_path
|
44
|
+
end
|
45
|
+
|
46
|
+
def start_banner
|
47
|
+
runner_context.call(:project_banner)
|
48
|
+
infov 'Target directory', build.target_directory
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_asciidoctor_base0/sources/base'
|
4
|
+
require 'eac_ruby_base0/core_ext'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacAsciidoctorBase0
|
8
|
+
module Sources
|
9
|
+
class Runner
|
10
|
+
require_sub __FILE__
|
11
|
+
|
12
|
+
runner_with :help, :subcommands do
|
13
|
+
desc 'EacAsciidoctorBase0 utitilies for local projects.'
|
14
|
+
subcommands
|
15
|
+
end
|
16
|
+
|
17
|
+
def project_banner
|
18
|
+
infov 'Project', project.application.name
|
19
|
+
infov 'Path', project.path
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
def project_uncached
|
25
|
+
::Avm::EacAsciidoctorBase0::Sources::Base.new(runner_context.call(:instance_path))
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|