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
@@ -1,46 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'active_support/core_ext/object'
|
4
|
-
require 'avm/eac_ruby_base1/launcher/gem/build'
|
5
|
-
|
6
|
-
RSpec.describe Avm::EacRubyBase1::Launcher::Gem::Build do
|
7
|
-
describe '#output_file' do
|
8
|
-
let(:gem_dir) do
|
9
|
-
avm_eac_ruby_base1_source(target_path: temp_dir.join('ruby_gem_stub'))
|
10
|
-
.path.to_path
|
11
|
-
end
|
12
|
-
|
13
|
-
it 'builds .gem file' do # rubocop:disable RSpec/ExampleLength
|
14
|
-
expect(File.directory?(gem_dir)).to be true
|
15
|
-
build = described_class.new(gem_dir)
|
16
|
-
|
17
|
-
# Open/close
|
18
|
-
assert_closed(build)
|
19
|
-
build.build
|
20
|
-
assert_open(build)
|
21
|
-
build.close
|
22
|
-
assert_closed(build)
|
23
|
-
|
24
|
-
# Reopen/reclose
|
25
|
-
build.build
|
26
|
-
assert_open(build)
|
27
|
-
build.close
|
28
|
-
assert_closed(build)
|
29
|
-
end
|
30
|
-
|
31
|
-
private
|
32
|
-
|
33
|
-
def assert_closed(build)
|
34
|
-
expect(build.output_file.blank?).to be true
|
35
|
-
expect(build.builded?).to be false
|
36
|
-
end
|
37
|
-
|
38
|
-
def assert_open(build) # rubocop:disable Metrics/AbcSize
|
39
|
-
expect(build.output_file.present?).to be true
|
40
|
-
expect(build.builded?).to be true
|
41
|
-
expect(File.exist?(build.output_file)).to be true
|
42
|
-
expect(File.size(build.output_file)).to be_positive
|
43
|
-
expect(File.basename(build.output_file)).to eq('ruby_gem_stub-0.0.0.gem')
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/launcher/gem/specification'
|
4
|
-
|
5
|
-
RSpec.describe Avm::EacRubyBase1::Launcher::Gem::Specification do
|
6
|
-
let(:source_version) { '1.0.0.pre.stub' }
|
7
|
-
let(:source) do
|
8
|
-
r = avm_eac_ruby_base1_source(target_path: temp_dir.join('ruby_gem_stub'))
|
9
|
-
r.version = source_version
|
10
|
-
r
|
11
|
-
end
|
12
|
-
let(:gemspec_file) { source.gemspec_path.to_path }
|
13
|
-
let(:version_file) { source.version_file.path.to_path }
|
14
|
-
let(:instance) { described_class.new(gemspec_file) }
|
15
|
-
|
16
|
-
describe '#parse_version_file' do
|
17
|
-
it 'parses valid version file' do # rubocop:disable RSpec/MultipleExpectations
|
18
|
-
file = version_file
|
19
|
-
expect(File.exist?(file)).to be true
|
20
|
-
version = described_class.parse_version_file(file)
|
21
|
-
expect(version).to eq('1.0.0.pre.stub')
|
22
|
-
end
|
23
|
-
|
24
|
-
it 'does not parse invalid version file' do # rubocop:disable RSpec/MultipleExpectations
|
25
|
-
file = __FILE__
|
26
|
-
expect(File.exist?(file)).to be true
|
27
|
-
version = described_class.parse_version_file(file)
|
28
|
-
expect(version).to be_nil
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
describe '#name' do
|
33
|
-
it 'returns gemspec name' do
|
34
|
-
expect(instance.name).to eq('ruby_gem_stub')
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
|
-
describe '#version' do
|
39
|
-
it 'returns gemspec version' do
|
40
|
-
expect(instance.version).to eq('1.0.0.pre.stub')
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
describe '#full_name' do
|
45
|
-
it 'returns gem full name' do
|
46
|
-
expect(instance.full_name).to eq('ruby_gem_stub-1.0.0.pre.stub')
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish_spec.rb
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/launcher/context'
|
4
|
-
require 'avm/launcher/instances/base'
|
5
|
-
require 'avm/eac_ruby_base1/launcher_stereotypes/base/publish'
|
6
|
-
|
7
|
-
RSpec.describe Avm::EacRubyBase1::LauncherStereotypes::Base::Publish do
|
8
|
-
let(:context) do
|
9
|
-
r = temp_launcher_context
|
10
|
-
avm_eac_ruby_base1_source(target_path: r.root.real.to_pathname.join('ruby_gem_stub'))
|
11
|
-
r
|
12
|
-
end
|
13
|
-
|
14
|
-
describe '#publish' do
|
15
|
-
let(:instance) { context.instance('/ruby_gem_stub') }
|
16
|
-
|
17
|
-
it 'dries run publish for Ruby Gems' do
|
18
|
-
allow_any_instance_of(described_class).to receive(:gem_versions_uncached).and_return([]) # rubocop:disable RSpec/AnyInstance
|
19
|
-
expect(instance).to be_a Avm::Launcher::Instances::Base
|
20
|
-
context.publish_options = { confirm: false, new: true, stereotype: 'RubyGem' }
|
21
|
-
described_class.new(instance).run
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/launcher_stereotypes/base'
|
4
|
-
|
5
|
-
RSpec.describe Avm::EacRubyBase1::LauncherStereotypes::Base do
|
6
|
-
describe '#load_gemspec' do
|
7
|
-
let(:dummy_dir) { avm_eac_ruby_base1_source(target_path: temp_dir.join(gemname)).path }
|
8
|
-
let(:gemname) { 'avm-eac_ruby_base1' }
|
9
|
-
let(:self_gemspec) { File.join(app_root_path, "#{gemname}.gemspec") }
|
10
|
-
let(:stub_gemspec) { File.join(dummy_dir, "#{gemname}.gemspec") }
|
11
|
-
let(:stub_expected_version) { '0.0.0' }
|
12
|
-
|
13
|
-
it 'does not return same version for different gemspecs with same name' do # rubocop:disable RSpec/ExampleLength, RSpec/MultipleExpectations
|
14
|
-
stub_spec = described_class.load_gemspec(stub_gemspec)
|
15
|
-
expect(stub_spec.version).to eq(stub_expected_version)
|
16
|
-
expect(stub_spec.name).to eq(gemname)
|
17
|
-
|
18
|
-
self_spec = described_class.load_gemspec(self_gemspec)
|
19
|
-
expect(self_spec.version).not_to eq(stub_expected_version)
|
20
|
-
expect(self_spec.name).to eq(gemname)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/preferred_version_requirements_spec.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/preferred_version_requirements'
|
4
|
-
|
5
|
-
RSpec.describe Avm::EacRubyBase1::PreferredVersionRequirements do
|
6
|
-
describe '#to_requirements_list' do
|
7
|
-
{
|
8
|
-
'0.1.0' => ['~> 0.1'],
|
9
|
-
'0.1.1' => ['~> 0.1', '>= 0.1.1'],
|
10
|
-
'0.5' => ['~> 0.5'],
|
11
|
-
'4.2.11.3' => ['~> 4.2.11', '>= 4.2.11.3'],
|
12
|
-
'1' => ['~> 1.0']
|
13
|
-
}.each do |source, expected|
|
14
|
-
context "when version is \"#{source}\"" do
|
15
|
-
subject(:instance) { described_class.new(source) }
|
16
|
-
|
17
|
-
it do
|
18
|
-
expect(instance.to_requirements_list).to eq(expected)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/rubygems/version_file'
|
4
|
-
|
5
|
-
RSpec.describe Avm::EacRubyBase1::Rubygems::VersionFile do
|
6
|
-
let(:stubs_dir) { Pathname.new(__dir__).join('version_file_spec_files') }
|
7
|
-
let(:stub_file) { stubs_dir.join('a_version_file.rb') }
|
8
|
-
let(:instance) { described_class.new(stub_file) }
|
9
|
-
let(:target_version) { Gem::Version.new('0.69.1') }
|
10
|
-
|
11
|
-
describe '#value' do
|
12
|
-
it { expect(instance.value).to eq(target_version) }
|
13
|
-
end
|
14
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/runners/base/rubocop'
|
4
|
-
require 'avm/eac_ruby_base1/sources/base'
|
5
|
-
|
6
|
-
RSpec.describe Avm::EacRubyBase1::Runners::Base::Rubocop do
|
7
|
-
let(:fixtures_root) { Pathname.new(__dir__).expand_path.join('rubocop_spec_files') }
|
8
|
-
let(:dir1) { fixtures_root.join('dir1') } # rubocop:disable RSpec/IndexedLet
|
9
|
-
let(:dir2) { fixtures_root.join('dir2') } # rubocop:disable RSpec/IndexedLet
|
10
|
-
let(:dir3) { dir1.join('dir3') } # rubocop:disable RSpec/IndexedLet
|
11
|
-
let(:dir4) { fixtures_root.join('dir4') } # rubocop:disable RSpec/IndexedLet
|
12
|
-
|
13
|
-
before do
|
14
|
-
Avm::EacRubyBase1::Sources::Base.new(dir3).bundle.execute!
|
15
|
-
end
|
16
|
-
|
17
|
-
{
|
18
|
-
dir1: '0.48.1',
|
19
|
-
dir2: Avm::EacRubyBase1::Sources::Base.new(File.expand_path('../../../../../..', __dir__))
|
20
|
-
.gemfile_lock_gem_version('rubocop').to_s,
|
21
|
-
dir3: '0.48.1',
|
22
|
-
dir4: '33.33.33'
|
23
|
-
}.each do |dir_name, rubocop_version|
|
24
|
-
context "when dir is #{dir_name}" do
|
25
|
-
let(:dir) { send(dir_name) }
|
26
|
-
let(:thegem) { Avm::EacRubyBase1::Sources::Base.new(dir) }
|
27
|
-
|
28
|
-
it "return #{rubocop_version} as Rubocop version" do
|
29
|
-
argv = ['-C', dir.to_s, '--', '--version']
|
30
|
-
expect { described_class.run(argv: argv) }.to(
|
31
|
-
output("#{rubocop_version}\n").to_stdout_from_any_process
|
32
|
-
)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
ast (2.4.2)
|
5
|
-
parser (2.7.2.0)
|
6
|
-
ast (~> 2.4.1)
|
7
|
-
powerpack (0.1.3)
|
8
|
-
rainbow (2.2.2)
|
9
|
-
rake
|
10
|
-
rake (13.0.6)
|
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.11.0)
|
18
|
-
unicode-display_width (1.8.0)
|
19
|
-
|
20
|
-
PLATFORMS
|
21
|
-
x86_64-linux
|
22
|
-
|
23
|
-
DEPENDENCIES
|
24
|
-
rubocop (= 0.48.1)
|
25
|
-
|
26
|
-
BUNDLED WITH
|
27
|
-
2.3.26
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/source_generators/base'
|
4
|
-
require 'avm/source_generators/runner'
|
5
|
-
|
6
|
-
RSpec.describe Avm::EacRubyBase1::SourceGenerators::Base do
|
7
|
-
include_examples 'avm_source_generated', __FILE__, 'EacRubyBase1',
|
8
|
-
{
|
9
|
-
'eac-ruby-utils-version' => '0.35.0',
|
10
|
-
'eac-ruby-gem-support-version' => '0.2.0',
|
11
|
-
'gemfile-lock' => true
|
12
|
-
}
|
13
|
-
|
14
|
-
alias_method :fs_comparator_super, :fs_comparator
|
15
|
-
|
16
|
-
def fs_comparator
|
17
|
-
fs_comparator_super.truncate_file('Gemfile.lock')
|
18
|
-
end
|
19
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
Is expected that this content be replaced by "TRUNCATED\n".
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
-
|
5
|
-
require 'dashed/mygem/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |s|
|
8
|
-
s.name = 'dashed-mygem'
|
9
|
-
s.version = Dashed::Mygem::VERSION
|
10
|
-
s.authors = ['Put here the authors']
|
11
|
-
s.summary = 'Put here de description.'
|
12
|
-
|
13
|
-
s.files = Dir['{lib}/**/*']
|
14
|
-
s.required_ruby_version = '>= 2.7'
|
15
|
-
|
16
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.35'
|
17
|
-
|
18
|
-
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.2'
|
19
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
Is expected that this content be replaced by "TRUNCATED\n".
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
-
|
5
|
-
require 'mygem/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |s|
|
8
|
-
s.name = 'mygem'
|
9
|
-
s.version = Mygem::VERSION
|
10
|
-
s.authors = ['Put here the authors']
|
11
|
-
s.summary = 'Put here de description.'
|
12
|
-
|
13
|
-
s.files = Dir['{lib}/**/*']
|
14
|
-
s.required_ruby_version = '>= 2.7'
|
15
|
-
|
16
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.35'
|
17
|
-
|
18
|
-
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.2'
|
19
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/sources/base'
|
4
|
-
|
5
|
-
RSpec.describe Avm::EacRubyBase1::Sources::Base, '#bundler' do
|
6
|
-
let(:mygem_path) { Pathname.new(__dir__).join('bundler_spec_files', 'mygem') }
|
7
|
-
let(:mygem) { described_class.new(mygem_path) }
|
8
|
-
|
9
|
-
before do
|
10
|
-
mygem.bundle.execute!
|
11
|
-
end
|
12
|
-
|
13
|
-
describe '#bundle' do
|
14
|
-
specify do
|
15
|
-
expect(mygem.bundle('exec', 'myrunner').execute!).to include('My Runner')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
describe '#gemfile_source' do
|
20
|
-
it do
|
21
|
-
expect(mygem.gemfile_source).to eq(Addressable::URI.parse('https://rubygems.org'))
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
describe '#rake' do
|
26
|
-
specify do
|
27
|
-
expect(mygem.rake('mygem:stub').execute!).to include('Stub!')
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
begin
|
4
|
-
require 'bundler/setup'
|
5
|
-
rescue LoadError
|
6
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
7
|
-
end
|
8
|
-
|
9
|
-
namespace :mygem do
|
10
|
-
desc 'A stub task.'
|
11
|
-
task :stub do # rubocop:disable Rails/RakeEnvironment
|
12
|
-
puts 'Stub!'
|
13
|
-
end
|
14
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = 'mygem'
|
7
|
-
s.version = '1.0.0'
|
8
|
-
s.authors = ['Esquilo Azul Company']
|
9
|
-
s.summary = 'Stub gem.'
|
10
|
-
|
11
|
-
s.files = Dir['{exe,lib}/**/*', 'Gemfile', 'Rakefile']
|
12
|
-
s.bindir = 'exe'
|
13
|
-
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
14
|
-
s.required_ruby_version = '>= 2.7'
|
15
|
-
|
16
|
-
s.add_dependency 'rake'
|
17
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_ruby_base1/sources/base'
|
4
|
-
require 'avm/version_number'
|
5
|
-
|
6
|
-
RSpec.describe Avm::EacRubyBase1::Sources::Base do
|
7
|
-
let(:instance) { avm_eac_ruby_base1_source }
|
8
|
-
|
9
|
-
include_examples 'in_avm_registry', 'sources'
|
10
|
-
|
11
|
-
it { expect(instance).to be_a(described_class) }
|
12
|
-
|
13
|
-
it do
|
14
|
-
expect(instance.version).to eq(Avm::VersionNumber.new('0.0.0'))
|
15
|
-
end
|
16
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/rspec/default_setup'
|
4
|
-
EacRubyUtils::Rspec.default_setup_create(File.expand_path('..', __dir__))
|
5
|
-
|
6
|
-
require 'eac_ruby_utils/speaker'
|
7
|
-
require 'eac_ruby_utils/rspec/stub_speaker'
|
8
|
-
EacRubyUtils::Speaker.context.push(EacRubyUtils::Rspec::StubSpeaker.new)
|
data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/gemspec.template
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
-
|
5
|
-
require '%%LIB_PATH%%/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |s|
|
8
|
-
s.name = '%%NAME%%'
|
9
|
-
s.version = %%ROOT_MODULE%%::VERSION
|
10
|
-
s.authors = ['Put here the authors']
|
11
|
-
s.summary = 'Put here de description.'
|
12
|
-
|
13
|
-
s.files = Dir['{lib}/**/*']
|
14
|
-
s.required_ruby_version = '>= 2.7'
|
15
|
-
|
16
|
-
s.add_dependency 'eac_ruby_utils', %%EAC_RUBY_UTILS_VERSION%%
|
17
|
-
|
18
|
-
s.add_development_dependency 'eac_ruby_gem_support', %%EAC_RUBY_GEM_SUPPORT_VERSION%%
|
19
|
-
end
|