eac_tools 0.89.0 → 0.90.1
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 -43
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +22 -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 +77 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb +33 -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/ruby_requirement.rb +16 -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/lib/avm/entries/jobs.rb → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb} +2 -2
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats/base/file_resource_name.rb +47 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats/base.rb +22 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/file_formats.rb +11 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/instances/mixin.rb +19 -0
- data/sub/{avm/lib/avm/launcher → avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/instances.rb +1 -1
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem/build.rb +126 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem/specification.rb +63 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem.rb +13 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher.rb +11 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb +28 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish.rb +130 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base.rb +37 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes.rb +11 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/preferred_version_requirements.rb +43 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec/setup.rb +16 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec/source_generator.rb +22 -0
- data/sub/{avm/lib/avm/entries/auto_values.rb → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rspec.rb} +2 -2
- 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 +42 -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/gemspec/add_or_replace_gem_line.rb +62 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/dependency.rb +19 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec.rb +42 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/version_file.rb +45 -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/runners/base/lib_rename.rb +77 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base/rubocop.rb +30 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base.rb +18 -0
- data/sub/{avm/lib/avm/instances/data.rb → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners.rb} +2 -2
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/dependencies.rb +27 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/gemfile_lock.rb +27 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/options.rb +30 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base/version_builder.rb +52 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base.rb +111 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators.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 +68 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rake.rb +42 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb +28 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop_command.rb +73 -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/update.rb +25 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version.rb +31 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +19 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +61 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/bundle_update.rb +23 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/gemfile_local/sibling.rb +53 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/gemfile_local.rb +69 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/namespace_replacer.rb +55 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb +29 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_local.rb +58 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_lock/git.rb +60 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_lock.rb +89 -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/update_dependencies_requirements.rb +68 -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/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_dependency_requirements.rb +64 -0
- data/sub/{avm/lib/avm/launcher/errors.rb → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb} +2 -2
- data/sub/{avm/spec/dummy/avm-tools_stub/lib/avm/tools → avm-eac_ruby_base1/lib/avm/eac_ruby_base1}/version.rb +2 -2
- data/sub/{avm/lib/avm/applications.rb → avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb} +1 -1
- data/sub/avm-eac_ruby_base1/locale/en.yml +9 -0
- data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +9 -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/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 +305 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec.rb +15 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/Gemfile.source +6 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/Gemfile.target +3 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/ruby_code.rb.source +6 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/file_formats/base_spec_files/ruby_code.rb.target +5 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher/gem/build_spec.rb +46 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher/gem/specification_spec.rb +49 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish_spec.rb +29 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base_spec.rb +23 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/preferred_version_requirements_spec.rb +23 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb +14 -0
- data/sub/{avm/spec/dummy/avm-tools_stub/lib/avm/tools.rb → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec_files/a_version_file.rb} +1 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec.rb +36 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir1/dir3/Gemfile +5 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir1/dir3/Gemfile.lock +27 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir2/empty.rb +1 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir4/false_command.rb +4 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec.rb +19 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile +8 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile.lock +1 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/_gitignore +2 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/dashed-mygem.gemspec +19 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/lib/dashed/mygem/version.rb +7 -0
- data/sub/{avm/lib/avm/rspec.rb → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/lib/dashed/mygem.rb} +2 -2
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile +8 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile.lock +1 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/_gitignore +2 -0
- data/sub/{avm/lib/avm → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/lib/mygem}/version.rb +2 -2
- data/sub/{avm/lib/avm.rb → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/lib/mygem.rb} +1 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/mygem.gemspec +19 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base/bundler_spec.rb +30 -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/Gemfile.lock +19 -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 +17 -0
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb +16 -0
- data/sub/avm-eac_ruby_base1/spec/rubocop_spec.rb +3 -0
- data/sub/{avm → avm-eac_ruby_base1}/spec/spec_helper.rb +0 -1
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/gemspec.template +19 -0
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/root_lib.template +7 -0
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/Gemfile +8 -0
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/version.template +5 -0
- metadata +151 -255
- data/sub/avm/avm.gemspec +0 -28
- data/sub/avm/lib/avm/application_scms/base.rb +0 -39
- data/sub/avm/lib/avm/application_scms.rb +0 -9
- data/sub/avm/lib/avm/application_stereotypes/base.rb +0 -31
- data/sub/avm/lib/avm/application_stereotypes.rb +0 -9
- data/sub/avm/lib/avm/applications/base/auto_local_source_path.rb +0 -24
- data/sub/avm/lib/avm/applications/base/local_instance.rb +0 -31
- data/sub/avm/lib/avm/applications/base/local_source.rb +0 -35
- data/sub/avm/lib/avm/applications/base/naming.rb +0 -28
- data/sub/avm/lib/avm/applications/base/organization.rb +0 -29
- data/sub/avm/lib/avm/applications/base/publishing.rb +0 -43
- data/sub/avm/lib/avm/applications/base/scm.rb +0 -27
- data/sub/avm/lib/avm/applications/base/stereotype.rb +0 -31
- data/sub/avm/lib/avm/applications/base.rb +0 -37
- data/sub/avm/lib/avm/data/callbacks.rb +0 -37
- data/sub/avm/lib/avm/data/clearer.rb +0 -20
- data/sub/avm/lib/avm/data/dumper.rb +0 -142
- data/sub/avm/lib/avm/data/loader.rb +0 -28
- data/sub/avm/lib/avm/data/package/base_performer.rb +0 -38
- data/sub/avm/lib/avm/data/package/build_directory.rb +0 -28
- data/sub/avm/lib/avm/data/package/clear.rb +0 -22
- data/sub/avm/lib/avm/data/package/dump.rb +0 -45
- data/sub/avm/lib/avm/data/package/load.rb +0 -36
- data/sub/avm/lib/avm/data/package.rb +0 -67
- data/sub/avm/lib/avm/data/performer.rb +0 -49
- data/sub/avm/lib/avm/data/rotate.rb +0 -107
- data/sub/avm/lib/avm/data/unit.rb +0 -49
- data/sub/avm/lib/avm/data/unit_with_commands.rb +0 -52
- data/sub/avm/lib/avm/docker/container.rb +0 -50
- data/sub/avm/lib/avm/docker/image.rb +0 -76
- data/sub/avm/lib/avm/docker/runner.rb +0 -121
- data/sub/avm/lib/avm/docker.rb +0 -9
- data/sub/avm/lib/avm/entries/auto_values/entry.rb +0 -39
- data/sub/avm/lib/avm/entries/auto_values/uri_entry.rb +0 -24
- data/sub/avm/lib/avm/entries/base/inherited_entry_value.rb +0 -46
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value/default_value.rb +0 -28
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value/inherited_value.rb +0 -39
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value/url_entry_value.rb +0 -31
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value.rb +0 -44
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values/component_factory.rb +0 -42
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values/generic_component.rb +0 -63
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values/path_component.rb +0 -19
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values/url_component.rb +0 -28
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values.rb +0 -25
- data/sub/avm/lib/avm/entries/base.rb +0 -57
- data/sub/avm/lib/avm/entries/entry/no_context_entry.rb +0 -23
- data/sub/avm/lib/avm/entries/entry.rb +0 -70
- data/sub/avm/lib/avm/entries/jobs/base.rb +0 -62
- data/sub/avm/lib/avm/entries/jobs/variables_source/read_entry.rb +0 -50
- data/sub/avm/lib/avm/entries/jobs/variables_source.rb +0 -15
- data/sub/avm/lib/avm/entries/jobs/with_variables_source.rb +0 -15
- data/sub/avm/lib/avm/entries/keys_constants_set.rb +0 -43
- data/sub/avm/lib/avm/entries/uri_builder.rb +0 -91
- data/sub/avm/lib/avm/entries.rb +0 -9
- data/sub/avm/lib/avm/executables.rb +0 -24
- data/sub/avm/lib/avm/file_formats/base.rb +0 -35
- data/sub/avm/lib/avm/file_formats/file_result.rb +0 -13
- data/sub/avm/lib/avm/file_formats/search_formatter.rb +0 -87
- data/sub/avm/lib/avm/file_formats/unknown.rb +0 -18
- data/sub/avm/lib/avm/file_formats/utf8_assert.rb +0 -72
- data/sub/avm/lib/avm/file_formats.rb +0 -9
- data/sub/avm/lib/avm/instances/base/auto_values/data.rb +0 -25
- data/sub/avm/lib/avm/instances/base/auto_values/database.rb +0 -62
- data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +0 -35
- data/sub/avm/lib/avm/instances/base/auto_values/source.rb +0 -15
- data/sub/avm/lib/avm/instances/base/auto_values.rb +0 -14
- data/sub/avm/lib/avm/instances/base/dockerizable.rb +0 -45
- data/sub/avm/lib/avm/instances/base/entry_keys.rb +0 -27
- data/sub/avm/lib/avm/instances/base/install.rb +0 -31
- data/sub/avm/lib/avm/instances/base/processes.rb +0 -27
- data/sub/avm/lib/avm/instances/base/subcommand_parent.rb +0 -25
- data/sub/avm/lib/avm/instances/base/web.rb +0 -16
- data/sub/avm/lib/avm/instances/base.rb +0 -71
- data/sub/avm/lib/avm/instances/data/files_unit.rb +0 -59
- data/sub/avm/lib/avm/instances/data/package.rb +0 -27
- data/sub/avm/lib/avm/instances/data/unit.rb +0 -30
- data/sub/avm/lib/avm/instances/docker_image.rb +0 -15
- data/sub/avm/lib/avm/instances/entry_keys.rb +0 -43
- data/sub/avm/lib/avm/instances/ids.rb +0 -30
- data/sub/avm/lib/avm/instances/process.rb +0 -31
- data/sub/avm/lib/avm/instances/runner.rb +0 -37
- data/sub/avm/lib/avm/instances.rb +0 -9
- data/sub/avm/lib/avm/launcher/context/instance_collector.rb +0 -46
- data/sub/avm/lib/avm/launcher/context/instance_discovery/root_instance_paths.rb +0 -53
- data/sub/avm/lib/avm/launcher/context/instance_discovery.rb +0 -75
- data/sub/avm/lib/avm/launcher/context/instance_manager/cached_instance.rb +0 -37
- data/sub/avm/lib/avm/launcher/context/instance_manager/cached_instances.rb +0 -35
- data/sub/avm/lib/avm/launcher/context/instance_manager.rb +0 -77
- data/sub/avm/lib/avm/launcher/context/settings.rb +0 -53
- data/sub/avm/lib/avm/launcher/context.rb +0 -100
- data/sub/avm/lib/avm/launcher/errors/base.rb +0 -10
- data/sub/avm/lib/avm/launcher/errors/non_project.rb +0 -15
- data/sub/avm/lib/avm/launcher/instances/base/cache.rb +0 -43
- data/sub/avm/lib/avm/launcher/instances/base/publishing.rb +0 -53
- data/sub/avm/lib/avm/launcher/instances/base.rb +0 -78
- data/sub/avm/lib/avm/launcher/instances/error.rb +0 -10
- data/sub/avm/lib/avm/launcher/instances/runner_helper.rb +0 -47
- data/sub/avm/lib/avm/launcher/instances/settings.rb +0 -26
- data/sub/avm/lib/avm/launcher/paths/logical.rb +0 -80
- data/sub/avm/lib/avm/launcher/paths/real.rb +0 -44
- data/sub/avm/lib/avm/launcher/paths.rb +0 -11
- data/sub/avm/lib/avm/launcher/project.rb +0 -17
- data/sub/avm/lib/avm/launcher/publish/base.rb +0 -47
- data/sub/avm/lib/avm/launcher/publish/check_result.rb +0 -65
- data/sub/avm/lib/avm/launcher/publish.rb +0 -11
- data/sub/avm/lib/avm/launcher/stereotype.rb +0 -63
- data/sub/avm/lib/avm/launcher.rb +0 -9
- data/sub/avm/lib/avm/launcher_stereotypes.rb +0 -9
- data/sub/avm/lib/avm/patches/eac_config/entry_path.rb +0 -46
- data/sub/avm/lib/avm/path_string.rb +0 -27
- data/sub/avm/lib/avm/registry/application_scms.rb +0 -15
- data/sub/avm/lib/avm/registry/application_stereotypes/build_available.rb +0 -49
- data/sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb +0 -33
- data/sub/avm/lib/avm/registry/application_stereotypes.rb +0 -52
- data/sub/avm/lib/avm/registry/applications.rb +0 -38
- data/sub/avm/lib/avm/registry/config_objects.rb +0 -18
- data/sub/avm/lib/avm/registry/file_formats.rb +0 -20
- data/sub/avm/lib/avm/registry/from_gems.rb +0 -80
- data/sub/avm/lib/avm/registry/instances.rb +0 -16
- data/sub/avm/lib/avm/registry/launcher_stereotypes.rb +0 -11
- data/sub/avm/lib/avm/registry/runners.rb +0 -10
- data/sub/avm/lib/avm/registry/scms.rb +0 -10
- data/sub/avm/lib/avm/registry/source_generators.rb +0 -17
- data/sub/avm/lib/avm/registry/sources.rb +0 -40
- data/sub/avm/lib/avm/registry/with_path/cache.rb +0 -31
- data/sub/avm/lib/avm/registry/with_path.rb +0 -49
- data/sub/avm/lib/avm/registry.rb +0 -35
- data/sub/avm/lib/avm/result.rb +0 -82
- data/sub/avm/lib/avm/rspec/setup/launcher.rb +0 -20
- data/sub/avm/lib/avm/rspec/setup/source_generator.rb +0 -22
- data/sub/avm/lib/avm/rspec/setup.rb +0 -36
- data/sub/avm/lib/avm/rspec/shared_examples/avm_file_format_file_resource_name.rb +0 -15
- data/sub/avm/lib/avm/rspec/shared_examples/avm_file_formats_with_fixtures.rb +0 -31
- data/sub/avm/lib/avm/rspec/shared_examples/avm_source_generated.rb +0 -23
- data/sub/avm/lib/avm/rspec/shared_examples/entries_values.rb +0 -21
- data/sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb +0 -11
- data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +0 -14
- data/sub/avm/lib/avm/rspec/shared_examples/with_config.rb +0 -11
- data/sub/avm/lib/avm/runners/base.rb +0 -27
- data/sub/avm/lib/avm/scms/auto_commit/file_resource_name.rb +0 -39
- data/sub/avm/lib/avm/scms/auto_commit/for_file.rb +0 -82
- data/sub/avm/lib/avm/scms/auto_commit/rules/base.rb +0 -40
- data/sub/avm/lib/avm/scms/auto_commit/rules/last.rb +0 -19
- data/sub/avm/lib/avm/scms/auto_commit/rules/manual.rb +0 -40
- data/sub/avm/lib/avm/scms/auto_commit/rules/new.rb +0 -24
- data/sub/avm/lib/avm/scms/auto_commit/rules/nth.rb +0 -31
- data/sub/avm/lib/avm/scms/auto_commit/rules/unique.rb +0 -21
- data/sub/avm/lib/avm/scms/auto_commit/rules.rb +0 -36
- data/sub/avm/lib/avm/scms/auto_commit.rb +0 -11
- data/sub/avm/lib/avm/scms/base/branches.rb +0 -22
- data/sub/avm/lib/avm/scms/base/commits.rb +0 -34
- data/sub/avm/lib/avm/scms/base/milestones.rb +0 -21
- data/sub/avm/lib/avm/scms/base/remotes.rb +0 -22
- data/sub/avm/lib/avm/scms/base.rb +0 -61
- data/sub/avm/lib/avm/scms/branch.rb +0 -26
- data/sub/avm/lib/avm/scms/changed_file.rb +0 -26
- data/sub/avm/lib/avm/scms/commit.rb +0 -66
- data/sub/avm/lib/avm/scms/commit_info.rb +0 -39
- data/sub/avm/lib/avm/scms/inflector.rb +0 -22
- data/sub/avm/lib/avm/scms/interval.rb +0 -18
- data/sub/avm/lib/avm/scms/null/commit.rb +0 -15
- data/sub/avm/lib/avm/scms/null.rb +0 -21
- data/sub/avm/lib/avm/scms/remote.rb +0 -11
- data/sub/avm/lib/avm/scms.rb +0 -9
- data/sub/avm/lib/avm/self/docker_image.rb +0 -14
- data/sub/avm/lib/avm/self/instance/entry_keys.rb +0 -12
- data/sub/avm/lib/avm/self/instance.rb +0 -31
- data/sub/avm/lib/avm/source_generators/base.rb +0 -45
- data/sub/avm/lib/avm/source_generators/option.rb +0 -11
- data/sub/avm/lib/avm/source_generators/option_list.rb +0 -32
- data/sub/avm/lib/avm/source_generators/runner.rb +0 -58
- data/sub/avm/lib/avm/source_generators.rb +0 -9
- data/sub/avm/lib/avm/sources/auto_commit/for_file.rb +0 -31
- data/sub/avm/lib/avm/sources/auto_commit.rb +0 -11
- data/sub/avm/lib/avm/sources/base/application.rb +0 -36
- data/sub/avm/lib/avm/sources/base/configuration.rb +0 -92
- data/sub/avm/lib/avm/sources/base/instance.rb +0 -16
- data/sub/avm/lib/avm/sources/base/locale.rb +0 -33
- data/sub/avm/lib/avm/sources/base/organizational.rb +0 -32
- data/sub/avm/lib/avm/sources/base/parent.rb +0 -28
- data/sub/avm/lib/avm/sources/base/stereotype.rb +0 -18
- data/sub/avm/lib/avm/sources/base/sub/remove.rb +0 -38
- data/sub/avm/lib/avm/sources/base/sub.rb +0 -26
- data/sub/avm/lib/avm/sources/base/subs.rb +0 -67
- data/sub/avm/lib/avm/sources/base/subs_paths.rb +0 -32
- data/sub/avm/lib/avm/sources/base/testing.rb +0 -70
- data/sub/avm/lib/avm/sources/base/update.rb +0 -39
- data/sub/avm/lib/avm/sources/base/update_sub.rb +0 -57
- data/sub/avm/lib/avm/sources/base/update_subs.rb +0 -19
- data/sub/avm/lib/avm/sources/base/version_bump.rb +0 -29
- data/sub/avm/lib/avm/sources/base.rb +0 -61
- data/sub/avm/lib/avm/sources/configuration/rubocop.rb +0 -26
- data/sub/avm/lib/avm/sources/configuration.rb +0 -59
- data/sub/avm/lib/avm/sources/issues/deliver.rb +0 -52
- data/sub/avm/lib/avm/sources/issues.rb +0 -11
- data/sub/avm/lib/avm/sources/runner.rb +0 -40
- data/sub/avm/lib/avm/sources/tests/builder.rb +0 -96
- data/sub/avm/lib/avm/sources/tests/performer.rb +0 -35
- data/sub/avm/lib/avm/sources/tests/result.rb +0 -15
- data/sub/avm/lib/avm/sources/tests/single.rb +0 -75
- data/sub/avm/lib/avm/sources/tests.rb +0 -11
- data/sub/avm/lib/avm/sources/update_error.rb +0 -8
- data/sub/avm/lib/avm/sources.rb +0 -9
- data/sub/avm/lib/avm/sync.rb +0 -92
- data/sub/avm/lib/avm/version_number.rb +0 -45
- data/sub/avm/lib/avm/with/application_stereotype.rb +0 -33
- data/sub/avm/lib/avm/with/extra_subcommands.rb +0 -44
- data/sub/avm/locale/en.yml +0 -6
- data/sub/avm/locale/pt-BR.yml +0 -6
- data/sub/avm/spec/dummy/avm-tools_stub/avm-tools.gemspec +0 -29
- data/sub/avm/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb +0 -5
- data/sub/avm/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb +0 -3
- data/sub/avm/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec +0 -16
- data/sub/avm/spec/lib/avm/applications/base/entries_spec.rb +0 -31
- data/sub/avm/spec/lib/avm/applications/base/entries_spec_files/config.yml +0 -12
- data/sub/avm/spec/lib/avm/applications/base_spec.rb +0 -23
- data/sub/avm/spec/lib/avm/applications/base_spec_fixture.yml +0 -3
- data/sub/avm/spec/lib/avm/file_formats/base_spec.rb +0 -11
- data/sub/avm/spec/lib/avm/instances/base_spec.rb +0 -107
- data/sub/avm/spec/lib/avm/instances/base_spec_files/config.yml +0 -50
- data/sub/avm/spec/lib/avm/launcher/context_spec.rb +0 -139
- data/sub/avm/spec/lib/avm/launcher/context_spec.yml +0 -5
- data/sub/avm/spec/lib/avm/launcher/context_spec_files/config.yml +0 -9
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec.rb +0 -42
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/config.yml +0 -5
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/settings.yaml +0 -5
- data/sub/avm/spec/lib/avm/patches/eac_config/entry_path_spec.rb +0 -28
- data/sub/avm/spec/lib/avm/scms/auto_commit/file_resource_name_spec.rb +0 -21
- data/sub/avm/spec/lib/avm/scms/base_spec.rb +0 -7
- data/sub/avm/spec/lib/avm/sources/base_spec.rb +0 -7
- data/sub/avm/spec/lib/avm/sources/runner_spec.rb +0 -9
- data/sub/avm/spec/spec_helper/launcher_context/settings.yml +0 -6
- data/sub/avm/spec/spec_helper/launcher_context.rb +0 -75
- data/sub/avm/template/avm/self/docker_image/Dockerfile +0 -17
- data/sub/avm/template/avm/self/docker_image/entrypoint.sh +0 -12
- /data/sub/{avm → avm-eac_ruby_base1}/Gemfile +0 -0
- /data/sub/{avm → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem}/spec/rubocop_spec.rb +0 -0
@@ -0,0 +1,305 @@
|
|
1
|
+
---
|
2
|
+
- :gem_name: actionpack
|
3
|
+
:versions_requirements:
|
4
|
+
- :requirements_source: ">= 5.0"
|
5
|
+
:stack:
|
6
|
+
- :gem_name: actionpack-xml_parser
|
7
|
+
:version: &9 !ruby/object:Gem::Version
|
8
|
+
version: 2.0.1
|
9
|
+
- :requirements_source: "= 5.2.8.1"
|
10
|
+
:stack:
|
11
|
+
- :gem_name: rails (= 5.2.8.1)
|
12
|
+
:version: &1 !ruby/object:Gem::Version
|
13
|
+
version: 5.2.8.1
|
14
|
+
- :requirements_source: ">= 5.0.1.rc1"
|
15
|
+
:stack:
|
16
|
+
- :gem_name: rails-controller-testing
|
17
|
+
:version: &2 !ruby/object:Gem::Version
|
18
|
+
version: 1.0.5
|
19
|
+
- :requirements_source: ">= 3.0"
|
20
|
+
:stack:
|
21
|
+
- :gem_name: rspec-rails (~> 3.5, >= 3.5.2)
|
22
|
+
:version: &4 !ruby/object:Gem::Version
|
23
|
+
version: 3.9.1
|
24
|
+
- :requirements_source: ">= 3.1"
|
25
|
+
:stack:
|
26
|
+
- :gem_name: slim-rails
|
27
|
+
:version: &14 !ruby/object:Gem::Version
|
28
|
+
version: 3.6.2
|
29
|
+
- :gem_name: actionview
|
30
|
+
:versions_requirements:
|
31
|
+
- :requirements_source: "= 5.2.8.1"
|
32
|
+
:stack:
|
33
|
+
- :gem_name: rails (= 5.2.8.1)
|
34
|
+
:version: *1
|
35
|
+
- :requirements_source: ">= 5.0.1.rc1"
|
36
|
+
:stack:
|
37
|
+
- :gem_name: rails-controller-testing
|
38
|
+
:version: *2
|
39
|
+
- :gem_name: activerecord
|
40
|
+
:versions_requirements:
|
41
|
+
- :requirements_source: "< 6, >= 4.1"
|
42
|
+
:stack:
|
43
|
+
- :gem_name: activemodel-associations
|
44
|
+
:version: &3 !ruby/object:Gem::Version
|
45
|
+
version: 0.2.0
|
46
|
+
- :requirements_source: ">= 4.0.0, < 7.1"
|
47
|
+
:stack:
|
48
|
+
- :gem_name: awesome_nested_set
|
49
|
+
:version: &15 !ruby/object:Gem::Version
|
50
|
+
version: 3.5.0
|
51
|
+
- :requirements_source: "= 5.2.8.1"
|
52
|
+
:stack:
|
53
|
+
- :gem_name: rails (= 5.2.8.1)
|
54
|
+
:version: *1
|
55
|
+
- :gem_name: activesupport
|
56
|
+
:versions_requirements:
|
57
|
+
- :requirements_source: "< 6, >= 4.1"
|
58
|
+
:stack:
|
59
|
+
- :gem_name: activemodel-associations
|
60
|
+
:version: *3
|
61
|
+
- :requirements_source: ">= 4, < 7"
|
62
|
+
:stack:
|
63
|
+
- :gem_name: redmine_with_git
|
64
|
+
:version: &5 !ruby/object:Gem::Version
|
65
|
+
version: 0.7.9
|
66
|
+
- :gem_name: eac_ruby_utils (~> 0.119)
|
67
|
+
:version: !ruby/object:Gem::Version
|
68
|
+
version: 0.119.1
|
69
|
+
- :requirements_source: ">= 2"
|
70
|
+
:stack:
|
71
|
+
- :gem_name: html-pipeline
|
72
|
+
:version: !ruby/object:Gem::Version
|
73
|
+
version: 2.14.3
|
74
|
+
- :requirements_source: "= 5.2.8.1"
|
75
|
+
:stack:
|
76
|
+
- :gem_name: rails (= 5.2.8.1)
|
77
|
+
:version: *1
|
78
|
+
- :requirements_source: ">= 5.0.1.rc1"
|
79
|
+
:stack:
|
80
|
+
- :gem_name: rails-controller-testing
|
81
|
+
:version: *2
|
82
|
+
- :requirements_source: ">= 5.0.0"
|
83
|
+
:stack:
|
84
|
+
- :gem_name: rails-dom-testing
|
85
|
+
:version: &11 !ruby/object:Gem::Version
|
86
|
+
version: 2.2.0
|
87
|
+
- :requirements_source: ">= 3.0"
|
88
|
+
:stack:
|
89
|
+
- :gem_name: rspec-rails (~> 3.5, >= 3.5.2)
|
90
|
+
:version: *4
|
91
|
+
- :requirements_source: ">= 4.2.0"
|
92
|
+
:stack:
|
93
|
+
- :gem_name: rubocop-rails (~> 2.9.0)
|
94
|
+
:version: &7 !ruby/object:Gem::Version
|
95
|
+
version: 2.9.1
|
96
|
+
- :gem_name: i18n
|
97
|
+
:versions_requirements:
|
98
|
+
- :requirements_source: "~> 1.8.2"
|
99
|
+
:stack: []
|
100
|
+
- :requirements_source: ">= 0.7, < 2"
|
101
|
+
:stack:
|
102
|
+
- :gem_name: rails (= 5.2.8.1)
|
103
|
+
:version: *1
|
104
|
+
- :gem_name: activesupport (= 5.2.8.1)
|
105
|
+
:version: *1
|
106
|
+
- :gem_name: mail
|
107
|
+
:versions_requirements:
|
108
|
+
- :requirements_source: "~> 2.7.1"
|
109
|
+
:stack: []
|
110
|
+
- :requirements_source: "~> 2.5, >= 2.5.4"
|
111
|
+
:stack:
|
112
|
+
- :gem_name: rails (= 5.2.8.1)
|
113
|
+
:version: *1
|
114
|
+
- :gem_name: actionmailer (= 5.2.8.1)
|
115
|
+
:version: *1
|
116
|
+
- :gem_name: mini_mime
|
117
|
+
:versions_requirements:
|
118
|
+
- :requirements_source: "~> 1.0.1"
|
119
|
+
:stack: []
|
120
|
+
- :requirements_source: ">= 0.1.3"
|
121
|
+
:stack:
|
122
|
+
- :gem_name: capybara (~> 3.31.0)
|
123
|
+
:version: &6 !ruby/object:Gem::Version
|
124
|
+
version: 3.31.0
|
125
|
+
- :requirements_source: ">= 0.1.1"
|
126
|
+
:stack:
|
127
|
+
- :gem_name: mail (~> 2.7.1)
|
128
|
+
:version: !ruby/object:Gem::Version
|
129
|
+
version: 2.7.1
|
130
|
+
- :gem_name: nokogiri
|
131
|
+
:versions_requirements:
|
132
|
+
- :requirements_source: "~> 1.13.10"
|
133
|
+
:stack: []
|
134
|
+
- :requirements_source: "~> 1.15, >= 1.15.2"
|
135
|
+
:stack:
|
136
|
+
- :gem_name: redmine_with_git
|
137
|
+
:version: *5
|
138
|
+
- :gem_name: avm (~> 0.78)
|
139
|
+
:version: !ruby/object:Gem::Version
|
140
|
+
version: 0.78.0
|
141
|
+
- :gem_name: aranha-parsers (~> 0.20)
|
142
|
+
:version: &8 !ruby/object:Gem::Version
|
143
|
+
version: 0.21.0
|
144
|
+
- :gem_name: rack
|
145
|
+
:versions_requirements:
|
146
|
+
- :requirements_source: "~> 2.0, >= 2.0.8"
|
147
|
+
:stack:
|
148
|
+
- :gem_name: rails (= 5.2.8.1)
|
149
|
+
:version: *1
|
150
|
+
- :gem_name: actionpack (= 5.2.8.1)
|
151
|
+
:version: *1
|
152
|
+
- :requirements_source: ">= 1.6.0"
|
153
|
+
:stack:
|
154
|
+
- :gem_name: capybara (~> 3.31.0)
|
155
|
+
:version: *6
|
156
|
+
- :requirements_source: ">= 1.5.1"
|
157
|
+
:stack:
|
158
|
+
- :gem_name: gitlab-grack (~> 2.0.0)
|
159
|
+
:version: !ruby/object:Gem::Version
|
160
|
+
version: 2.0.2
|
161
|
+
- :requirements_source:
|
162
|
+
:stack:
|
163
|
+
- :gem_name: rack-parser
|
164
|
+
:version: !ruby/object:Gem::Version
|
165
|
+
version: 0.7.0
|
166
|
+
- :requirements_source: ">= 1.4"
|
167
|
+
:stack:
|
168
|
+
- :gem_name: request_store (~> 1.5.0)
|
169
|
+
:version: !ruby/object:Gem::Version
|
170
|
+
version: 1.5.1
|
171
|
+
- :requirements_source: ">= 1.1"
|
172
|
+
:stack:
|
173
|
+
- :gem_name: rubocop-rails (~> 2.9.0)
|
174
|
+
:version: *7
|
175
|
+
- :requirements_source: ">= 2.2.4"
|
176
|
+
:stack:
|
177
|
+
- :gem_name: sidekiq
|
178
|
+
:version: !ruby/object:Gem::Version
|
179
|
+
version: 7.1.2
|
180
|
+
- :requirements_source: "> 1, < 3"
|
181
|
+
:stack:
|
182
|
+
- :gem_name: redmine_plugins_helper
|
183
|
+
:version: &12 !ruby/object:Gem::Version
|
184
|
+
version: 0.12.2
|
185
|
+
- :gem_name: sass-rails (~> 5.0)
|
186
|
+
:version: &13 !ruby/object:Gem::Version
|
187
|
+
version: 5.1.0
|
188
|
+
- :gem_name: sprockets (>= 2.8, < 4.0)
|
189
|
+
:version: !ruby/object:Gem::Version
|
190
|
+
version: 3.7.2
|
191
|
+
- :gem_name: rails
|
192
|
+
:versions_requirements:
|
193
|
+
- :requirements_source: "= 5.2.8.1"
|
194
|
+
:stack: []
|
195
|
+
- :requirements_source: "< 6.2, >= 4.2.0"
|
196
|
+
:stack:
|
197
|
+
- :gem_name: active_scaffold
|
198
|
+
:version: !ruby/object:Gem::Version
|
199
|
+
version: 3.6.20
|
200
|
+
- :requirements_source: ">= 4.1"
|
201
|
+
:stack:
|
202
|
+
- :gem_name: deface (= 1.5.3)
|
203
|
+
:version: !ruby/object:Gem::Version
|
204
|
+
version: 1.5.3
|
205
|
+
- :requirements_source: ">= 4.2.11"
|
206
|
+
:stack:
|
207
|
+
- :gem_name: redmine_nonproject_modules
|
208
|
+
:version: &10 !ruby/object:Gem::Version
|
209
|
+
version: 0.3.12
|
210
|
+
- :gem_name: eac_rails_utils (~> 0.15)
|
211
|
+
:version: *8
|
212
|
+
- :requirements_source: ">= 5.2"
|
213
|
+
:stack:
|
214
|
+
- :gem_name: invisible_captcha
|
215
|
+
:version: !ruby/object:Gem::Version
|
216
|
+
version: 2.1.0
|
217
|
+
- :gem_name: railties
|
218
|
+
:versions_requirements:
|
219
|
+
- :requirements_source: ">= 5.0"
|
220
|
+
:stack:
|
221
|
+
- :gem_name: actionpack-xml_parser
|
222
|
+
:version: *9
|
223
|
+
- :requirements_source: ">= 4.2.0"
|
224
|
+
:stack:
|
225
|
+
- :gem_name: redmine_nonproject_modules
|
226
|
+
:version: *10
|
227
|
+
- :gem_name: jquery-rails (~> 4.5)
|
228
|
+
:version: !ruby/object:Gem::Version
|
229
|
+
version: 4.6.0
|
230
|
+
- :requirements_source: ">= 3.2.16"
|
231
|
+
:stack:
|
232
|
+
- :gem_name: jquery-ui-rails (~> 5.0.5)
|
233
|
+
:version: !ruby/object:Gem::Version
|
234
|
+
version: 5.0.5
|
235
|
+
- :requirements_source: "= 5.2.8.1"
|
236
|
+
:stack:
|
237
|
+
- :gem_name: rails (= 5.2.8.1)
|
238
|
+
:version: *1
|
239
|
+
- :requirements_source: ">= 5.1, < 6.2"
|
240
|
+
:stack:
|
241
|
+
- :gem_name: roadie-rails (~> 2.2.0)
|
242
|
+
:version: *11
|
243
|
+
- :requirements_source: ">= 3.0"
|
244
|
+
:stack:
|
245
|
+
- :gem_name: rspec-rails (~> 3.5, >= 3.5.2)
|
246
|
+
:version: *4
|
247
|
+
- :requirements_source: ">= 5.2.0"
|
248
|
+
:stack:
|
249
|
+
- :gem_name: redmine_plugins_helper
|
250
|
+
:version: *12
|
251
|
+
- :gem_name: sass-rails (~> 5.0)
|
252
|
+
:version: *13
|
253
|
+
- :requirements_source: ">= 3.1"
|
254
|
+
:stack:
|
255
|
+
- :gem_name: slim-rails
|
256
|
+
:version: *14
|
257
|
+
- :gem_name: rspec-rails
|
258
|
+
:versions_requirements:
|
259
|
+
- :requirements_source: "~> 3.5, >= 3.5.2"
|
260
|
+
:stack: []
|
261
|
+
- :requirements_source:
|
262
|
+
:stack:
|
263
|
+
- :gem_name: redmine_plugins_helper
|
264
|
+
:version: *12
|
265
|
+
- :gem_name: rubocop
|
266
|
+
:versions_requirements:
|
267
|
+
- :requirements_source: "~> 1.12.0"
|
268
|
+
:stack: []
|
269
|
+
- :requirements_source: ">= 0.90.0, < 2.0"
|
270
|
+
:stack:
|
271
|
+
- :gem_name: rubocop-rails (~> 2.9.0)
|
272
|
+
:version: *7
|
273
|
+
- :requirements_source: "~> 1.0"
|
274
|
+
:stack:
|
275
|
+
- :gem_name: rubocop-rspec
|
276
|
+
:version: !ruby/object:Gem::Version
|
277
|
+
version: 2.4.0
|
278
|
+
- :gem_name: "ruby\0"
|
279
|
+
:versions_requirements: []
|
280
|
+
- :gem_name: selenium-webdriver
|
281
|
+
:versions_requirements:
|
282
|
+
- :requirements_source: "~> 3.142.7"
|
283
|
+
:stack: []
|
284
|
+
- :requirements_source: "> 3.141, < 5.0"
|
285
|
+
:stack:
|
286
|
+
- :gem_name: webdrivers (~> 4.4)
|
287
|
+
:version: !ruby/object:Gem::Version
|
288
|
+
version: 4.7.0
|
289
|
+
- :gem_name: shoulda-matchers
|
290
|
+
:versions_requirements:
|
291
|
+
- :requirements_source: "~> 2.7.0"
|
292
|
+
:stack: []
|
293
|
+
- :requirements_source: ">= 1.4.1, < 3.0"
|
294
|
+
:stack:
|
295
|
+
- :gem_name: shoulda (~> 3.5.0)
|
296
|
+
:version: *15
|
297
|
+
- :gem_name: simplecov
|
298
|
+
:versions_requirements:
|
299
|
+
- :requirements_source: "~> 0.18.5"
|
300
|
+
:stack: []
|
301
|
+
- :requirements_source:
|
302
|
+
:stack:
|
303
|
+
- :gem_name: codeclimate-test-reporter
|
304
|
+
:version: !ruby/object:Gem::Version
|
305
|
+
version: 1.0.7
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_ruby_base1/file_formats/base'
|
4
|
+
|
5
|
+
RSpec.describe Avm::EacRubyBase1::FileFormats::Base do
|
6
|
+
include_examples 'avm_file_formats_with_fixtures', __FILE__
|
7
|
+
include_examples 'avm_file_format_file_resource_name', {
|
8
|
+
'app/models/mynamespace/the_class.rb' => 'Mynamespace::TheClass',
|
9
|
+
'lib/ruby/lib/cliutils/eac_redmine_base0/activity.rb' => 'Cliutils::EacRedmineBase0::Activity',
|
10
|
+
'a_non_library_file.rb' => 'a_non_library_file.rb',
|
11
|
+
'spec/lib/my_lib_spec.rb' => 'RSpec.describe(MyLib)',
|
12
|
+
'spec/lib/sub/my_lib_spec.rb' => 'RSpec.describe(Sub::MyLib)',
|
13
|
+
'spec/spec_helper.rb' => 'spec/spec_helper.rb'
|
14
|
+
}
|
15
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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
|
@@ -0,0 +1,49 @@
|
|
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
ADDED
@@ -0,0 +1,29 @@
|
|
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) { temp_launcher_context }
|
9
|
+
let(:application_id) { 'ruby_gem_stub' }
|
10
|
+
let(:source_path) { temp_dir.join(application_id) }
|
11
|
+
|
12
|
+
before do
|
13
|
+
EacConfig::Node.context.current.entry("#{application_id}.avm_type").value = 'Application'
|
14
|
+
EacConfig::Node.context.current.entry("#{application_id}_dev.install.path").value =
|
15
|
+
source_path.to_path
|
16
|
+
avm_eac_ruby_base1_source(target_path: source_path)
|
17
|
+
end
|
18
|
+
|
19
|
+
describe '#publish' do
|
20
|
+
let(:instance) { context.instance('/ruby_gem_stub') }
|
21
|
+
|
22
|
+
it 'dries run publish for Ruby Gems' do
|
23
|
+
allow_any_instance_of(described_class).to receive(:gem_versions_uncached).and_return([]) # rubocop:disable RSpec/AnyInstance
|
24
|
+
expect(instance).to be_a Avm::Launcher::Instances::Base
|
25
|
+
context.publish_options = { confirm: false, new: true, stereotype: 'RubyGem' }
|
26
|
+
described_class.new(instance).run
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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
ADDED
@@ -0,0 +1,23 @@
|
|
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
|
@@ -0,0 +1,14 @@
|
|
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
|
@@ -0,0 +1,36 @@
|
|
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
|
@@ -0,0 +1,27 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1,19 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
Is expected that this content be replaced by "TRUNCATED\n".
|