eac_tools 0.83.0 → 0.84.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +32 -46
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/Gemfile +2 -2
- data/sub/avm/avm.gemspec +3 -3
- data/sub/avm/lib/avm/applications/base/publishing.rb +1 -1
- data/sub/avm/lib/avm/data/rotate.rb +1 -1
- data/sub/avm/lib/avm/docker/image.rb +3 -3
- data/sub/avm/lib/avm/docker/runner.rb +1 -1
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values/path_component.rb +1 -1
- data/sub/avm/lib/avm/entries/keys_constants_set.rb +1 -1
- data/sub/avm/lib/avm/entries/uri_builder.rb +2 -2
- data/sub/avm/lib/avm/executables.rb +1 -1
- data/sub/avm/lib/avm/instances/base/entry_keys.rb +1 -1
- data/sub/avm/lib/avm/instances/base/install.rb +1 -1
- data/sub/avm/lib/avm/instances/base.rb +1 -1
- data/sub/avm/lib/avm/instances/ids.rb +1 -1
- data/sub/avm/lib/avm/launcher/context/instance_manager/cached_instances.rb +1 -1
- data/sub/avm/lib/avm/launcher/context/instance_manager.rb +1 -1
- data/sub/avm/lib/avm/launcher/instances/base.rb +2 -2
- data/sub/avm/lib/avm/launcher/paths/logical.rb +3 -3
- data/sub/avm/lib/avm/launcher/publish/check_result.rb +2 -4
- data/sub/avm/lib/avm/path_string.rb +1 -1
- data/sub/avm/lib/avm/result.rb +6 -10
- data/sub/avm/lib/avm/rspec/shared_examples/avm_file_format_file_resource_name.rb +1 -1
- data/sub/avm/lib/avm/rspec/shared_examples/avm_file_formats_with_fixtures.rb +5 -5
- data/sub/avm/lib/avm/rspec/shared_examples/avm_source_generated.rb +3 -3
- data/sub/avm/lib/avm/rspec/shared_examples/entries_values.rb +2 -2
- data/sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb +2 -2
- data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +2 -2
- data/sub/avm/lib/avm/scms/auto_commit/file_resource_name.rb +1 -1
- data/sub/avm/lib/avm/scms/auto_commit/rules.rb +3 -3
- data/sub/avm/lib/avm/scms/commit_info.rb +9 -3
- data/sub/avm/lib/avm/source_generators/runner.rb +1 -1
- data/sub/avm/lib/avm/sources/base/subs.rb +1 -1
- data/sub/avm/lib/avm/sources/base/testing.rb +2 -2
- data/sub/avm/lib/avm/sources/tests/single.rb +1 -1
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm/spec/lib/avm/applications/base/entries_spec.rb +1 -1
- data/sub/avm/spec/lib/avm/applications/base_spec.rb +3 -3
- data/sub/avm/spec/lib/avm/file_formats/base_spec.rb +1 -1
- data/sub/avm/spec/lib/avm/instances/base_spec.rb +59 -59
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec.rb +9 -9
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/avm-tools_stub/avm-tools.gemspec +1 -1
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/ruby_gem_stub/ruby_gem_stub.gemspec +1 -1
- data/sub/avm/spec/lib/avm/patches/eac_config/entry_path_spec.rb +1 -1
- data/sub/avm/spec/lib/avm/scms/auto_commit/file_resource_name_spec.rb +1 -1
- data/sub/avm/spec/lib/avm/scms/base_spec.rb +1 -1
- data/sub/avm/spec/lib/avm/sources/base_spec.rb +1 -1
- data/sub/avm/spec/lib/avm/sources/runner_spec.rb +1 -1
- data/sub/avm/spec/rubocop_spec.rb +1 -1
- data/sub/avm/spec/spec_helper.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +1 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/documents_owner.rb +30 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/body_target.rb +37 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/media.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb +2 -19
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build.rb +2 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +13 -3
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document/media.rb +28 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document/title.rb +26 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document.rb +56 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb +2 -4
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/document/build.rb +46 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/document.rb +30 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/documents.rb +28 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec.rb +6 -6
- metadata +20 -219
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document/media.rb +0 -30
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document/title.rb +0 -28
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document.rb +0 -48
- data/sub/avm-eac_python_base0/Gemfile +0 -8
- data/sub/avm-eac_python_base0/avm-eac_python_base0.gemspec +0 -20
- data/sub/avm-eac_python_base0/lib/avm/eac_python_base0/executables.rb +0 -22
- data/sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats/base.rb +0 -20
- data/sub/avm-eac_python_base0/lib/avm/eac_python_base0/file_formats.rb +0 -11
- data/sub/avm-eac_python_base0/lib/avm/eac_python_base0/version.rb +0 -7
- data/sub/avm-eac_python_base0/lib/avm/eac_python_base0.rb +0 -9
- data/sub/avm-eac_python_base0/spec/lib/avm/eac_python_base0/file_formats/base_spec.rb +0 -7
- data/sub/avm-eac_python_base0/spec/lib/avm/eac_python_base0/file_formats/base_spec_files/python_code.source +0 -30
- data/sub/avm-eac_python_base0/spec/lib/avm/eac_python_base0/file_formats/base_spec_files/python_code.target +0 -39
- data/sub/avm-eac_python_base0/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_python_base0/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_redmine_base0/Gemfile +0 -8
- data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +0 -27
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/apache_host.rb +0 -12
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb +0 -30
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/files.rb +0 -22
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/gitolite.rb +0 -55
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/install.rb +0 -46
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/nodejs.rb +0 -22
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/web.rb +0 -20
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +0 -58
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/deploy.rb +0 -19
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +0 -106
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/entity_base.rb +0 -35
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/project.rb +0 -26
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/root.rb +0 -21
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/wiki_page.rb +0 -54
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api.rb +0 -14
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/docker.rb +0 -17
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/read.rb +0 -27
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/write.rb +0 -70
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page.rb +0 -30
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project.rb +0 -26
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project_rename.rb +0 -56
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners.rb +0 -14
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances.rb +0 -11
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +0 -36
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/core_update.rb +0 -120
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb +0 -65
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/docker.rb +0 -19
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners.rb +0 -13
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources.rb +0 -11
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +0 -7
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb +0 -9
- data/sub/avm-eac_redmine_base0/locale/en.yml +0 -6
- data/sub/avm-eac_redmine_base0/locale/pt-BR.yml +0 -6
- data/sub/avm-eac_redmine_base0/spec/lib/avm/eac_redmine_base0/instances/apache_host_spec.rb +0 -22
- data/sub/avm-eac_redmine_base0/spec/lib/avm/eac_redmine_base0/instances/apache_host_spec_files/apache_host_spec_no_ssl_content.conf +0 -11
- data/sub/avm-eac_redmine_base0/spec/lib/avm/eac_redmine_base0/instances/base/gitolite_spec.rb +0 -26
- data/sub/avm-eac_redmine_base0/spec/lib/avm/eac_redmine_base0/instances/base/gitolite_spec_files/config.yml +0 -10
- data/sub/avm-eac_redmine_base0/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_redmine_base0/spec/spec_helper.rb +0 -5
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/deploy/config/install.sh.template +0 -45
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/deploy/config/secrets.yml +0 -8
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template +0 -33
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_host_dockerfile +0 -8
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_http_virtualhost.conf.template +0 -10
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template +0 -16
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_path_dockerfile +0 -5
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template +0 -52
- data/sub/avm-eac_ruby_base1/Gemfile +0 -8
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +0 -24
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb +0 -56
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb +0 -34
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/depends_on.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict.rb +0 -44
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile.rb +0 -17
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb +0 -77
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb +0 -33
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/ruby_requirement.rb +0 -16
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb +0 -26
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats/base/file_resource_name.rb +0 -47
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats/base.rb +0 -22
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/instances/mixin.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/instances.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem/build.rb +0 -126
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem/specification.rb +0 -63
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem.rb +0 -13
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb +0 -28
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish.rb +0 -130
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base.rb +0 -37
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/preferred_version_requirements.rb +0 -43
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec/setup.rb +0 -16
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec/source_generator.rb +0 -22
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb +0 -31
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb +0 -17
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb +0 -42
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb +0 -55
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/add_or_replace_gem_line.rb +0 -62
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/dependency.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec.rb +0 -42
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/version_file.rb +0 -45
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base/lib_rename.rb +0 -77
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base/rubocop.rb +0 -30
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base.rb +0 -18
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/dependencies.rb +0 -27
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/gemfile_lock.rb +0 -27
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/options.rb +0 -30
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/version_builder.rb +0 -52
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base.rb +0 -111
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb +0 -39
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +0 -68
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb +0 -42
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb +0 -28
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop_command.rb +0 -73
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubygems.rb +0 -43
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/update.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version.rb +0 -31
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +0 -61
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/bundle_update.rb +0 -23
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/namespace_replacer.rb +0 -55
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb +0 -29
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_local.rb +0 -100
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_lock/git.rb +0 -60
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_lock.rb +0 -89
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb +0 -76
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb +0 -19
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/update_dependencies_requirements.rb +0 -68
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb +0 -13
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/base.rb +0 -59
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/minitest.rb +0 -29
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple/decorated_gem.rb +0 -52
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple/result.rb +0 -29
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/multiple.rb +0 -90
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/rspec.rb +0 -25
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests.rb +0 -13
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb +0 -59
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update_dependency_requirements.rb +0 -64
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb +0 -11
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +0 -7
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb +0 -9
- data/sub/avm-eac_ruby_base1/locale/en.yml +0 -9
- data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +0 -9
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out +0 -192
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml +0 -300
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out +0 -245
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml +0 -355
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/3.source.out +0 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/3.target.yaml +0 -305
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec.rb +0 -15
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/Gemfile.source +0 -6
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/Gemfile.target +0 -3
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/ruby_code.rb.source +0 -6
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/ruby_code.rb.target +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher/gem/build_spec.rb +0 -46
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher/gem/specification_spec.rb +0 -49
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish_spec.rb +0 -24
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base_spec.rb +0 -23
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/preferred_version_requirements_spec.rb +0 -23
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb +0 -14
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec_files/a_version_file.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec.rb +0 -36
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir1/dir3/Gemfile +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir1/dir3/Gemfile.lock +0 -27
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir2/empty.rb +0 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir4/false_command.rb +0 -4
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec.rb +0 -19
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile +0 -8
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile.lock +0 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/_gitignore +0 -2
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/dashed-mygem.gemspec +0 -19
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/lib/dashed/mygem/version.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/lib/dashed/mygem.rb +0 -9
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile +0 -8
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile.lock +0 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/_gitignore +0 -2
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/lib/mygem/version.rb +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/lib/mygem.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/mygem.gemspec +0 -19
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec.rb +0 -30
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Gemfile +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Gemfile.lock +0 -19
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/Rakefile +0 -14
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/exe/myrunner +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/lib/mygem/version.rb +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/lib/mygem.rb +0 -5
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec_files/mygem/mygem.gemspec +0 -17
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb +0 -16
- data/sub/avm-eac_ruby_base1/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_ruby_base1/spec/spec_helper.rb +0 -8
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/gemspec.template +0 -19
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/root_lib.template +0 -7
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/Gemfile +0 -8
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/version.template +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90cc35695a96e5a68b05547e316935299b3ac32592ba5cb12fc0dfff73853651
|
4
|
+
data.tar.gz: 508452fbef29321fe3dc2eb161a6f6a843e548e44f6ff9cbbe2652016650cf03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6c855e202297cacf1b9c9a56c94a389395adaf5942325d0c600c6f8367b0e4b5c89c68a097fe87334da63d31f32f4c9d92b5e7ecaa34406cd5b4491bfb6d358
|
7
|
+
data.tar.gz: d11bd3b1702a67c17aee566c2b4845af43c9c398d3a2b52b7276563c4fdfb397c3acd0cc9ab713e88e058a9458a24cef2ab82c5ea260de9b7dd9c2ff1502fb98
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.
|
5
|
-
avm (~> 0.84)
|
6
|
-
avm-eac_asciidoctor_base0 (~> 0.
|
4
|
+
eac_tools (0.84.0)
|
5
|
+
avm (~> 0.84, >= 0.84.1)
|
6
|
+
avm-eac_asciidoctor_base0 (~> 0.21)
|
7
7
|
avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
|
8
8
|
avm-eac_github_base0 (~> 0.3)
|
9
9
|
avm-eac_latex_base0 (~> 0.3, >= 0.3.1)
|
@@ -19,15 +19,15 @@ PATH
|
|
19
19
|
avm-eac_wordpress_base0 (~> 0.3, >= 0.3.1)
|
20
20
|
avm-git (~> 0.14)
|
21
21
|
avm-tools (~> 0.159)
|
22
|
-
eac_ruby_utils (~> 0.
|
22
|
+
eac_ruby_utils (~> 0.120)
|
23
23
|
|
24
24
|
PATH
|
25
25
|
remote: sub/avm-eac_asciidoctor_base0
|
26
26
|
specs:
|
27
|
-
avm-eac_asciidoctor_base0 (0.
|
27
|
+
avm-eac_asciidoctor_base0 (0.21.0)
|
28
28
|
asciidoctor (~> 2.0, >= 2.0.20)
|
29
29
|
avm-eac_webapp_base0 (~> 0.18, >= 0.18.2)
|
30
|
-
eac_ruby_utils (~> 0.
|
30
|
+
eac_ruby_utils (~> 0.120)
|
31
31
|
os (~> 1.1, >= 1.1.4)
|
32
32
|
rouge (~> 3.30)
|
33
33
|
|
@@ -77,13 +77,6 @@ PATH
|
|
77
77
|
avm (~> 0.79)
|
78
78
|
eac_ruby_utils (~> 0.119, >= 0.119.1)
|
79
79
|
|
80
|
-
PATH
|
81
|
-
remote: sub/avm-eac_python_base0
|
82
|
-
specs:
|
83
|
-
avm-eac_python_base0 (0.2.2)
|
84
|
-
avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
|
85
|
-
eac_ruby_utils (~> 0.119, >= 0.119.2)
|
86
|
-
|
87
80
|
PATH
|
88
81
|
remote: sub/avm-eac_rails_base0
|
89
82
|
specs:
|
@@ -100,19 +93,6 @@ PATH
|
|
100
93
|
avm-eac_webapp_base0 (~> 0.18, >= 0.18.2)
|
101
94
|
eac_ruby_utils (~> 0.119, >= 0.119.2)
|
102
95
|
|
103
|
-
PATH
|
104
|
-
remote: sub/avm-eac_redmine_base0
|
105
|
-
specs:
|
106
|
-
avm-eac_redmine_base0 (0.22.0)
|
107
|
-
avm (~> 0.81)
|
108
|
-
avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
|
109
|
-
avm-eac_rails_base1 (~> 0.10)
|
110
|
-
avm-eac_ubuntu_base0 (~> 0.5)
|
111
|
-
curb (~> 0.9, >= 0.9.11)
|
112
|
-
eac_fs (~> 0.16)
|
113
|
-
eac_rest (~> 0.10)
|
114
|
-
eac_ruby_utils (~> 0.119, >= 0.119.2)
|
115
|
-
|
116
96
|
PATH
|
117
97
|
remote: sub/avm-eac_redmine_plugin_base0
|
118
98
|
specs:
|
@@ -120,16 +100,6 @@ PATH
|
|
120
100
|
avm-eac_ruby_base1 (~> 0.27, >= 0.27.1)
|
121
101
|
eac_ruby_utils (~> 0.107, >= 0.107.1)
|
122
102
|
|
123
|
-
PATH
|
124
|
-
remote: sub/avm-eac_ruby_base1
|
125
|
-
specs:
|
126
|
-
avm-eac_ruby_base1 (0.33.1)
|
127
|
-
aranha-parsers (~> 0.22)
|
128
|
-
avm (~> 0.84)
|
129
|
-
avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
|
130
|
-
eac_envs-http (~> 0.4, >= 0.4.1)
|
131
|
-
eac_ruby_utils (~> 0.119, >= 0.119.2)
|
132
|
-
|
133
103
|
PATH
|
134
104
|
remote: sub/avm-eac_ubuntu_base0
|
135
105
|
specs:
|
@@ -198,14 +168,14 @@ PATH
|
|
198
168
|
PATH
|
199
169
|
remote: sub/avm
|
200
170
|
specs:
|
201
|
-
avm (0.84.
|
202
|
-
aranha-parsers (~> 0.
|
203
|
-
eac_cli (~> 0.
|
171
|
+
avm (0.84.1)
|
172
|
+
aranha-parsers (~> 0.22)
|
173
|
+
eac_cli (~> 0.39)
|
204
174
|
eac_config (~> 0.14, >= 0.14.1)
|
205
175
|
eac_docker (~> 0.7)
|
206
176
|
eac_fs (~> 0.16)
|
207
177
|
eac_git (~> 0.14, >= 0.14.1)
|
208
|
-
eac_ruby_utils (~> 0.
|
178
|
+
eac_ruby_utils (~> 0.120)
|
209
179
|
eac_templates (~> 0.5)
|
210
180
|
filesize (~> 0.2)
|
211
181
|
htmlbeautifier (~> 1.4, >= 1.4.2)
|
@@ -238,6 +208,24 @@ GEM
|
|
238
208
|
ofx-parser (~> 1.1)
|
239
209
|
asciidoctor (2.0.20)
|
240
210
|
ast (2.4.2)
|
211
|
+
avm-eac_python_base0 (0.2.2)
|
212
|
+
avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
|
213
|
+
eac_ruby_utils (~> 0.119, >= 0.119.2)
|
214
|
+
avm-eac_redmine_base0 (0.22.0)
|
215
|
+
avm (~> 0.81)
|
216
|
+
avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
|
217
|
+
avm-eac_rails_base1 (~> 0.10)
|
218
|
+
avm-eac_ubuntu_base0 (~> 0.5)
|
219
|
+
curb (~> 0.9, >= 0.9.11)
|
220
|
+
eac_fs (~> 0.16)
|
221
|
+
eac_rest (~> 0.10)
|
222
|
+
eac_ruby_utils (~> 0.119, >= 0.119.2)
|
223
|
+
avm-eac_ruby_base1 (0.33.1)
|
224
|
+
aranha-parsers (~> 0.22)
|
225
|
+
avm (~> 0.84)
|
226
|
+
avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
|
227
|
+
eac_envs-http (~> 0.4, >= 0.4.1)
|
228
|
+
eac_ruby_utils (~> 0.119, >= 0.119.2)
|
241
229
|
base64 (0.2.0)
|
242
230
|
clipboard (1.3.6)
|
243
231
|
colorize (0.8.1)
|
@@ -284,7 +272,7 @@ GEM
|
|
284
272
|
rubocop (~> 1.57, >= 1.57.1)
|
285
273
|
rubocop-rails (~> 2.21, >= 2.21.2)
|
286
274
|
rubocop-rspec (~> 2.24, >= 2.24.1)
|
287
|
-
eac_ruby_utils (0.
|
275
|
+
eac_ruby_utils (0.120.0)
|
288
276
|
activesupport (>= 4, < 7)
|
289
277
|
addressable (~> 2.8, >= 2.8.5)
|
290
278
|
bundler
|
@@ -293,7 +281,7 @@ GEM
|
|
293
281
|
eac_templates (0.5.0)
|
294
282
|
eac_config (~> 0.12)
|
295
283
|
eac_ruby_utils (~> 0.112)
|
296
|
-
faraday (2.7.
|
284
|
+
faraday (2.7.12)
|
297
285
|
base64
|
298
286
|
faraday-net_http (>= 2.0, < 3.1)
|
299
287
|
ruby2_keywords (>= 0.0.4)
|
@@ -372,10 +360,11 @@ GEM
|
|
372
360
|
rubocop (~> 1.41)
|
373
361
|
rubocop-factory_bot (2.24.0)
|
374
362
|
rubocop (~> 1.33)
|
375
|
-
rubocop-rails (2.22.
|
363
|
+
rubocop-rails (2.22.2)
|
376
364
|
activesupport (>= 4.2.0)
|
377
365
|
rack (>= 1.1)
|
378
366
|
rubocop (>= 1.33.0, < 2.0)
|
367
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
379
368
|
rubocop-rspec (2.25.0)
|
380
369
|
rubocop (~> 1.40)
|
381
370
|
rubocop-capybara (~> 2.17)
|
@@ -413,12 +402,9 @@ DEPENDENCIES
|
|
413
402
|
avm-eac_latex_base0!
|
414
403
|
avm-eac_php_base0!
|
415
404
|
avm-eac_postgresql_base0!
|
416
|
-
avm-eac_python_base0!
|
417
405
|
avm-eac_rails_base0!
|
418
406
|
avm-eac_rails_base1!
|
419
|
-
avm-eac_redmine_base0!
|
420
407
|
avm-eac_redmine_plugin_base0!
|
421
|
-
avm-eac_ruby_base1!
|
422
408
|
avm-eac_ubuntu_base0!
|
423
409
|
avm-eac_webapp_base0!
|
424
410
|
avm-eac_wordpress_base0!
|
data/lib/eac_tools/version.rb
CHANGED
data/sub/avm/Gemfile
CHANGED
@@ -4,5 +4,5 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
gemspec
|
6
6
|
|
7
|
-
local_gemfile =
|
8
|
-
eval_gemfile local_gemfile if
|
7
|
+
local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local')
|
8
|
+
eval_gemfile local_gemfile if File.exist?(local_gemfile)
|
data/sub/avm/avm.gemspec
CHANGED
@@ -13,13 +13,13 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = Dir['{lib, locale}/**/*']
|
14
14
|
s.required_ruby_version = '>= 2.7'
|
15
15
|
|
16
|
-
s.add_dependency 'aranha-parsers', '~> 0.
|
17
|
-
s.add_dependency 'eac_cli', '~> 0.
|
16
|
+
s.add_dependency 'aranha-parsers', '~> 0.22'
|
17
|
+
s.add_dependency 'eac_cli', '~> 0.39'
|
18
18
|
s.add_dependency 'eac_config', '~> 0.14', '>= 0.14.1'
|
19
19
|
s.add_dependency 'eac_docker', '~> 0.7'
|
20
20
|
s.add_dependency 'eac_fs', '~> 0.16'
|
21
21
|
s.add_dependency 'eac_git', '~> 0.14', '>= 0.14.1'
|
22
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
22
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.120'
|
23
23
|
s.add_dependency 'eac_templates', '~> 0.5'
|
24
24
|
s.add_dependency 'filesize', '~> 0.2'
|
25
25
|
s.add_dependency 'htmlbeautifier', '~> 1.4', '>= 1.4.2'
|
@@ -26,7 +26,7 @@ module Avm
|
|
26
26
|
parse_publishable_value(entry(PUBLISHABLE_KEY).optional_value, false)
|
27
27
|
end
|
28
28
|
|
29
|
-
def parse_publishable_value(value, hash_to_true)
|
29
|
+
def parse_publishable_value(value, hash_to_true)
|
30
30
|
return value.with_indifferent_access if parse_publishable_value_hash?(value, hash_to_true)
|
31
31
|
return true if value.nil? || value == true
|
32
32
|
return false if value == false || value.is_a?(::EacRubyUtils::BlankNotBlank)
|
@@ -93,7 +93,7 @@ module Avm
|
|
93
93
|
return '_UNKNOWN_MTIME' unless ::File.exist?(source_path)
|
94
94
|
|
95
95
|
t = ::File.mtime(source_path)
|
96
|
-
t.strftime('_%Y-%m-%d_%H-%M-%S_') + t.strftime('%z').gsub(/\A\+/, 'P').gsub(/\A
|
96
|
+
t.strftime('_%Y-%m-%d_%H-%M-%S_') + t.strftime('%z').gsub(/\A\+/, 'P').gsub(/\A-/, 'N')
|
97
97
|
end
|
98
98
|
|
99
99
|
def file_extension(basename)
|
@@ -21,10 +21,10 @@ module Avm
|
|
21
21
|
end
|
22
22
|
|
23
23
|
attr_reader :registry
|
24
|
-
attr_accessor :snapshot
|
25
|
-
attr_accessor :version
|
24
|
+
attr_accessor :snapshot, :version
|
26
25
|
|
27
26
|
def initialize(registry = nil)
|
27
|
+
super()
|
28
28
|
@registry = registry || self.class.default_registry
|
29
29
|
self.snapshot = true
|
30
30
|
self.version = true
|
@@ -61,7 +61,7 @@ module Avm
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def tag_version
|
64
|
-
[tag_version_version, stereotype_tag].
|
64
|
+
[tag_version_version, stereotype_tag].compact_blank.join('_')
|
65
65
|
end
|
66
66
|
|
67
67
|
def tag_version_version
|
@@ -10,7 +10,7 @@ module Avm
|
|
10
10
|
class PathComponent < ::Avm::Entries::Base::UriComponentsEntriesValues::GenericComponent
|
11
11
|
def setup
|
12
12
|
super
|
13
|
-
define_inherited_value_proc_method { |value| value
|
13
|
+
define_inherited_value_proc_method { |value| "#{value}/#{id}" }
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -49,7 +49,7 @@ module Avm
|
|
49
49
|
# @return [String, nil]
|
50
50
|
def field_get(name)
|
51
51
|
v = data[name.to_sym]
|
52
|
-
v
|
52
|
+
v&.to_s
|
53
53
|
end
|
54
54
|
|
55
55
|
def field_set(field, value)
|
@@ -78,7 +78,7 @@ module Avm
|
|
78
78
|
|
79
79
|
# @return [Addressable::URI]
|
80
80
|
def to_required_uri
|
81
|
-
::Addressable::URI.new(FIELDS.
|
81
|
+
::Addressable::URI.new(FIELDS.to_h { |f| [f.to_sym, field_get(f)] })
|
82
82
|
end
|
83
83
|
|
84
84
|
private
|
@@ -6,7 +6,7 @@ module Avm
|
|
6
6
|
module Instances
|
7
7
|
module Ids
|
8
8
|
ID_PARTS_SEPARATOR = '_'
|
9
|
-
ID_PATTERN = /\A([a-z0-9]+(
|
9
|
+
ID_PATTERN = /\A([a-z0-9]+(?:-[a-z0-9]+)*)_(.+)\z/.freeze
|
10
10
|
ID_PARSER = ID_PATTERN.to_parser do |m|
|
11
11
|
::Struct.new(:application_id, :instance_suffix).new(m[1], m[2])
|
12
12
|
end
|
@@ -60,11 +60,11 @@ module Avm
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def included?
|
63
|
-
|
63
|
+
::Avm::Launcher::Context.current.settings.excluded_projects.exclude?(project_name)
|
64
64
|
end
|
65
65
|
|
66
66
|
def to_h
|
67
|
-
super.to_h.merge(parent: parent
|
67
|
+
super.to_h.merge(parent: parent&.logical)
|
68
68
|
end
|
69
69
|
|
70
70
|
private
|
@@ -28,7 +28,7 @@ module Avm
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def to_h
|
31
|
-
{ logical: logical, real: real.to_s, parent_path: parent_path
|
31
|
+
{ logical: logical, real: real.to_s, parent_path: parent_path&.to_h }
|
32
32
|
end
|
33
33
|
|
34
34
|
def project?
|
@@ -48,13 +48,13 @@ module Avm
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def included?
|
51
|
-
|
51
|
+
context.settings.excluded_paths.exclude?(logical)
|
52
52
|
end
|
53
53
|
|
54
54
|
private
|
55
55
|
|
56
56
|
def stereotypes_uncached
|
57
|
-
::Avm::Launcher::Stereotype.stereotypes.select { |s| s.match?(self) }
|
57
|
+
::Avm::Launcher::Stereotype.stereotypes.select { |s| s.match?(self) } # rubocop:disable Style/SelectByRegexp
|
58
58
|
end
|
59
59
|
|
60
60
|
def build_child(name)
|
@@ -13,11 +13,9 @@ module Avm
|
|
13
13
|
lists.add_string :status, :updated, :pending, :blocked, :outdated
|
14
14
|
|
15
15
|
lists.status.values.each do |status| # rubocop:disable Style/HashEachMethods
|
16
|
-
|
17
|
-
|
18
|
-
new('#{status}', message)
|
16
|
+
singleton_class.define_method status do |message|
|
17
|
+
new(status, message)
|
19
18
|
end
|
20
|
-
RUBY_EVAL
|
21
19
|
end
|
22
20
|
|
23
21
|
class << self
|
data/sub/avm/lib/avm/result.rb
CHANGED
@@ -11,11 +11,9 @@ module Avm
|
|
11
11
|
lists.add_string :type, :success, :error, :neutral, :pending, :outdated
|
12
12
|
|
13
13
|
lists.type.values.each do |type| # rubocop:disable Style/HashEachMethods
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
end
|
18
|
-
RUBY_EVAL
|
14
|
+
singleton_class.define_method type do |value|
|
15
|
+
new(value, type)
|
16
|
+
end
|
19
17
|
end
|
20
18
|
|
21
19
|
TYPE_SUCCESS_COLOR = 'green'
|
@@ -62,11 +60,9 @@ module Avm
|
|
62
60
|
end
|
63
61
|
|
64
62
|
lists.type.values.each do |type| # rubocop:disable Style/HashEachMethods
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
end
|
69
|
-
RUBY_EVAL
|
63
|
+
define_method "#{type}?" do
|
64
|
+
@type == type
|
65
|
+
end
|
70
66
|
end
|
71
67
|
|
72
68
|
private
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'eac_ruby_utils/core_ext'
|
4
4
|
|
5
|
-
|
5
|
+
RSpec.shared_examples 'avm_file_format_file_resource_name' do |input_expected|
|
6
6
|
describe '#file_resource_name' do
|
7
7
|
input_expected.each do |path, expected_resource_name|
|
8
8
|
context "when path is \"#{path}\"" do
|
@@ -3,11 +3,11 @@
|
|
3
3
|
require 'avm/file_formats/search_formatter'
|
4
4
|
require 'eac_ruby_utils/core_ext'
|
5
5
|
|
6
|
-
|
6
|
+
RSpec.shared_examples 'avm_file_formats_with_fixtures' do |the_spec_file|
|
7
7
|
include_examples 'source_target_fixtures', the_spec_file
|
8
8
|
|
9
9
|
def format_files_in_directory(target_dir)
|
10
|
-
|
10
|
+
Avm::FileFormats::SearchFormatter
|
11
11
|
.new([target_dir], recursive: true, apply: true, verbose: false)
|
12
12
|
.run
|
13
13
|
end
|
@@ -16,16 +16,16 @@ require 'eac_ruby_utils/core_ext'
|
|
16
16
|
dir = temp_dir
|
17
17
|
source_basename = source_file_basename_without_source_extname(source_file)
|
18
18
|
source_path = dir.join(source_basename)
|
19
|
-
|
19
|
+
FileUtils.cp(source_file, source_path)
|
20
20
|
format_files_in_directory(dir)
|
21
21
|
source_path.read
|
22
22
|
end
|
23
23
|
|
24
24
|
def source_file_basename_without_source_extname(source_file)
|
25
|
-
source_file.to_pathname.basename_sub { |b| b.to_path.gsub(
|
25
|
+
source_file.to_pathname.basename_sub { |b| b.to_path.gsub('.source', '') }.basename
|
26
26
|
end
|
27
27
|
|
28
28
|
def target_data(target_file)
|
29
|
-
|
29
|
+
File.read(target_file)
|
30
30
|
end
|
31
31
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
require 'eac_fs/comparator'
|
4
4
|
require 'eac_ruby_utils/core_ext'
|
5
5
|
|
6
|
-
|
7
|
-
fixtures_dir =
|
6
|
+
RSpec.shared_examples 'avm_source_generated' do |spec_file, stereotype, options = {}|
|
7
|
+
fixtures_dir = Pathname.new('base_spec_files').expand_path(File.dirname(spec_file))
|
8
8
|
|
9
9
|
fixtures_dir.children.select(&:directory?).each do |target_dir|
|
10
10
|
context "when target is \"#{target_dir.basename}\"" do
|
@@ -18,6 +18,6 @@ require 'eac_ruby_utils/core_ext'
|
|
18
18
|
|
19
19
|
# @return [EacFs::Comparato]
|
20
20
|
def fs_comparator
|
21
|
-
|
21
|
+
EacFs::Comparator.new.rename_file('.gitignore', '_gitignore')
|
22
22
|
end
|
23
23
|
end
|
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
require 'eac_ruby_utils/core_ext'
|
4
4
|
|
5
|
-
|
5
|
+
RSpec.shared_examples 'entries_values' do |spec_file, expected_values|
|
6
6
|
describe '#read_entry' do
|
7
7
|
config_path = spec_file.to_pathname
|
8
8
|
config_path = config_path.dirname.join("#{config_path.basename_noext}_files", 'config.yml')
|
9
|
-
|
9
|
+
EacRubyUtils::Rspec.default_setup.stub_eac_config_node(self, config_path)
|
10
10
|
|
11
11
|
expected_values.each do |instance_id, values|
|
12
12
|
values.each do |input, expected|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'avm/registry'
|
4
4
|
|
5
|
-
|
6
|
-
let(:avm_registry) {
|
5
|
+
RSpec.shared_examples 'in_avm_registry' do |registry_method|
|
6
|
+
let(:avm_registry) { Avm::Registry.send(registry_method) }
|
7
7
|
|
8
8
|
it 'is in the avm registry' do
|
9
9
|
expect(avm_registry.registered_modules).to include(described_class)
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'avm/registry'
|
4
4
|
|
5
|
-
|
6
|
-
registry_method.if_present(
|
5
|
+
RSpec.shared_examples 'not_in_avm_registry' do |registry_method = nil|
|
6
|
+
registry_method.if_present(Avm::Registry.registries) { |v| [Avm::Registry.send(v)] }
|
7
7
|
.each do |registry|
|
8
8
|
context "when registry is #{registry}" do
|
9
9
|
it 'is not in the avm registry' do
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'eac_ruby_utils/core_ext'
|
4
4
|
|
5
|
-
|
5
|
+
EacRubyUtils.require_sub __FILE__
|
6
6
|
|
7
7
|
module Avm
|
8
8
|
module Scms
|
@@ -26,8 +26,8 @@ module Avm
|
|
26
26
|
|
27
27
|
def rule_class_by_key(key)
|
28
28
|
RULES_CLASSES.find { |klass| klass.keys.include?(key) } ||
|
29
|
-
raise("Rule not find with key \"#{key}\" (Available: "
|
30
|
-
|
29
|
+
raise("Rule not find with key \"#{key}\" (Available: " \
|
30
|
+
"#{RULES_CLASSES.flat_map(&:keys).join(', ')})")
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
@@ -24,9 +24,15 @@ module Avm
|
|
24
24
|
immutable_accessor :path, type: :array
|
25
25
|
|
26
26
|
def to_s
|
27
|
-
self.class.name.demodulize
|
28
|
-
|
29
|
-
|
27
|
+
"#{self.class.name.demodulize}[#{attributes_to_s}]"
|
28
|
+
end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
# @return [String]
|
33
|
+
def attributes_to_s
|
34
|
+
%w[fixup message].map { |m| [m, send(m)] }.reject { |m| m[1].blank? }
|
35
|
+
.map { |m| m.join(': ') }.join(',')
|
30
36
|
end
|
31
37
|
end
|
32
38
|
end
|