avm-tools 0.119.0 → 0.120.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb +3 -3
- data/lib/avm/tools/app_src.rb +1 -5
- data/lib/avm/tools/runner/app_src/ruby.rb +0 -1
- data/lib/avm/tools/version.rb +1 -1
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb +2 -2
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +3 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
- metadata +6 -232
- data/lib/avm/patches/eac_ruby_gems_utils/gem.rb +0 -29
- data/lib/avm/patches/eac_ruby_gems_utils.rb +0 -4
- data/sub/avm/Gemfile +0 -5
- data/sub/avm/avm.gemspec +0 -26
- data/sub/avm/lib/avm/data/instance/files_unit.rb +0 -40
- data/sub/avm/lib/avm/data/instance/package.rb +0 -18
- data/sub/avm/lib/avm/data/instance/unit.rb +0 -17
- data/sub/avm/lib/avm/data/instance.rb +0 -11
- data/sub/avm/lib/avm/data/package/dump.rb +0 -119
- data/sub/avm/lib/avm/data/package/load.rb +0 -48
- data/sub/avm/lib/avm/data/package.rb +0 -42
- data/sub/avm/lib/avm/data/rotate.rb +0 -107
- data/sub/avm/lib/avm/data/unit.rb +0 -94
- data/sub/avm/lib/avm/docker/container.rb +0 -50
- data/sub/avm/lib/avm/docker/image.rb +0 -71
- data/sub/avm/lib/avm/docker/runner.rb +0 -125
- data/sub/avm/lib/avm/docker.rb +0 -9
- data/sub/avm/lib/avm/executables.rb +0 -24
- data/sub/avm/lib/avm/instances/application.rb +0 -29
- data/sub/avm/lib/avm/instances/base/auto_values/access.rb +0 -40
- data/sub/avm/lib/avm/instances/base/auto_values/admin.rb +0 -19
- data/sub/avm/lib/avm/instances/base/auto_values/data.rb +0 -26
- data/sub/avm/lib/avm/instances/base/auto_values/database.rb +0 -76
- data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +0 -43
- data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +0 -34
- data/sub/avm/lib/avm/instances/base/auto_values/ruby.rb +0 -15
- data/sub/avm/lib/avm/instances/base/auto_values/source.rb +0 -15
- data/sub/avm/lib/avm/instances/base/auto_values/system.rb +0 -23
- data/sub/avm/lib/avm/instances/base/auto_values/web.rb +0 -46
- data/sub/avm/lib/avm/instances/base/auto_values.rb +0 -21
- data/sub/avm/lib/avm/instances/base/dockerizable.rb +0 -45
- data/sub/avm/lib/avm/instances/base/entry_keys.rb +0 -22
- data/sub/avm/lib/avm/instances/base.rb +0 -64
- data/sub/avm/lib/avm/instances/docker_image.rb +0 -15
- data/sub/avm/lib/avm/instances/entries.rb +0 -43
- data/sub/avm/lib/avm/instances/entry.rb +0 -60
- data/sub/avm/lib/avm/instances/entry_keys.rb +0 -60
- data/sub/avm/lib/avm/instances/runner.rb +0 -39
- data/sub/avm/lib/avm/instances.rb +0 -8
- data/sub/avm/lib/avm/jobs/base.rb +0 -63
- data/sub/avm/lib/avm/jobs/variables_source.rb +0 -22
- data/sub/avm/lib/avm/jobs.rb +0 -9
- 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/paths/real.rb +0 -44
- data/sub/avm/lib/avm/launcher/publish/check_result.rb +0 -67
- data/sub/avm/lib/avm/path_string.rb +0 -27
- data/sub/avm/lib/avm/registry/base.rb +0 -67
- data/sub/avm/lib/avm/registry.rb +0 -29
- data/sub/avm/lib/avm/result.rb +0 -86
- data/sub/avm/lib/avm/rspec/setup.rb +0 -22
- 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.rb +0 -9
- data/sub/avm/lib/avm/runners/base.rb +0 -27
- data/sub/avm/lib/avm/scms/base.rb +0 -46
- data/sub/avm/lib/avm/scms/commit.rb +0 -43
- data/sub/avm/lib/avm/scms/inflector.rb +0 -22
- 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/sources/base/configuration.rb +0 -45
- data/sub/avm/lib/avm/sources/base/instance.rb +0 -28
- data/sub/avm/lib/avm/sources/base/parent.rb +0 -31
- data/sub/avm/lib/avm/sources/base/subs.rb +0 -55
- data/sub/avm/lib/avm/sources/base/subs_paths.rb +0 -32
- data/sub/avm/lib/avm/sources/base/testing.rb +0 -21
- data/sub/avm/lib/avm/sources/base.rb +0 -54
- data/sub/avm/lib/avm/sources/configuration/locale.rb +0 -18
- data/sub/avm/lib/avm/sources/configuration/rubocop.rb +0 -26
- data/sub/avm/lib/avm/sources/configuration/tests.rb +0 -29
- data/sub/avm/lib/avm/sources/configuration.rb +0 -59
- data/sub/avm/lib/avm/sources/tester.rb +0 -24
- data/sub/avm/lib/avm/sources/tests/builder.rb +0 -83
- 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 -56
- data/sub/avm/lib/avm/sources/tests.rb +0 -11
- data/sub/avm/lib/avm/sources.rb +0 -9
- data/sub/avm/lib/avm/sync.rb +0 -94
- data/sub/avm/lib/avm/version.rb +0 -5
- data/sub/avm/lib/avm/version_number.rb +0 -45
- data/sub/avm/lib/avm.rb +0 -7
- 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/rubocop_spec.rb +0 -3
- data/sub/avm/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_rails_base1/Gemfile +0 -5
- data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +0 -21
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb +0 -17
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb +0 -24
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb +0 -26
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb +0 -26
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb +0 -43
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb +0 -26
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb +0 -18
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb +0 -32
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb +0 -46
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb +0 -17
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb +0 -12
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb +0 -27
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb +0 -47
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb +0 -27
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb +0 -70
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb +0 -29
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb +0 -57
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +0 -7
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb +0 -9
- data/sub/avm-eac_rails_base1/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_rails_base1/spec/spec_helper.rb +0 -4
- data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service +0 -12
- data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +0 -6
- data/sub/avm-eac_ruby_base1/Gemfile +0 -5
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +0 -22
- 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 -73
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb +0 -31
- 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/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/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 -41
- 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/sources/base/bundle_command.rb +0 -39
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb +0 -39
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +0 -23
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +0 -55
- 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.rb +0 -13
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb +0 -38
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb +0 -56
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb +0 -52
- 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 -8
- data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +0 -8
- 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/sources/base_spec.rb +0 -7
- data/sub/avm-eac_ruby_base1/spec/rubocop_spec.rb +0 -3
- data/sub/avm-eac_ruby_base1/spec/spec_helper.rb +0 -4
- data/sub/eac_ruby_base0/Gemfile +0 -5
- data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +0 -21
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb +0 -87
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb +0 -34
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb +0 -5
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb +0 -31
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb +0 -10
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb +0 -4
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb +0 -5
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb +0 -5
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches.rb +0 -4
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb +0 -14
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb +0 -9
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +0 -92
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb +0 -42
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb +0 -52
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb +0 -36
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb +0 -58
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb +0 -9
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +0 -5
- data/sub/eac_ruby_base0/lib/eac_ruby_base0.rb +0 -7
- data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb +0 -42
- data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb +0 -81
- data/sub/eac_ruby_base0/spec/rubocop_spec.rb +0 -3
- data/sub/eac_ruby_base0/spec/spec_helper.rb +0 -4
- data/sub/eac_ruby_gems_utils/Gemfile +0 -5
- data/sub/eac_ruby_gems_utils/LICENCE +0 -16
- data/sub/eac_ruby_gems_utils/README.rdoc +0 -3
- data/sub/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +0 -31
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb +0 -33
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb +0 -41
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb +0 -97
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +0 -57
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb +0 -25
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb +0 -48
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb +0 -25
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +0 -84
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb +0 -21
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb +0 -9
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +0 -5
- data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb +0 -7
- data/sub/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb +0 -3
- data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec.rb +0 -14
- data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec_files/a_version_file.rb +0 -7
- data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb +0 -20
- data/sub/eac_ruby_gems_utils/spec/spec_helper.rb +0 -4
- data/sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile +0 -5
- data/sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock +0 -19
- data/sub/eac_ruby_gems_utils/spec/support/mygem/Rakefile +0 -14
- data/sub/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner +0 -5
- data/sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb +0 -5
- data/sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb +0 -5
- data/sub/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 738323cf2a82a2d4eb3c24f16c2645af50d8b36fa29290e7f1d8d8dc588255cf
|
4
|
+
data.tar.gz: 4b67b1ecb449f6210aad9e7f8dad83221f0e4b298dec204e895a8f2bce7e895a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9435e918ba1739bf1febf343648f42245ac1dda5abb668ef7f7bd6dbf013a8ff21417d07ca60d6af6fa0a25f08ecd80b74b7004880777cb493459b64f07a1a07
|
7
|
+
data.tar.gz: 83dbb7fd2d22fa19c05b5bec45a5902767f20df712d8d5266152dadcf5dfe37447a8c7ffce5ad9a2c4e0e664b9344655a839f7efcd20d331334ec7f1b4f137d9
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/
|
3
|
+
require 'avm/eac_ruby_base1/sources/base'
|
4
4
|
require 'avm/version_number'
|
5
5
|
require 'eac_ruby_utils/core_ext'
|
6
6
|
|
@@ -9,9 +9,9 @@ module Avm
|
|
9
9
|
module Stereotypes
|
10
10
|
class RubyGem
|
11
11
|
module LocalProjectMixin
|
12
|
-
# @return [
|
12
|
+
# @return [Avm::EacRubyBase1::Sources::Base]
|
13
13
|
def ruby_gem
|
14
|
-
@ruby_gem ||= ::
|
14
|
+
@ruby_gem ||= ::Avm::EacRubyBase1::Sources::Base.new(path)
|
15
15
|
end
|
16
16
|
|
17
17
|
def version
|
data/lib/avm/tools/app_src.rb
CHANGED
@@ -17,6 +17,7 @@ module Avm
|
|
17
17
|
source_stereotypes_mixins
|
18
18
|
end
|
19
19
|
|
20
|
+
delegate :configuration, to: :avm_instance
|
20
21
|
delegate :to_s, to: :path
|
21
22
|
|
22
23
|
def locale
|
@@ -39,11 +40,6 @@ module Avm
|
|
39
40
|
::Avm::Registry.sources.detect(path)
|
40
41
|
end
|
41
42
|
|
42
|
-
# @return [Avm::Sources::Configuration]
|
43
|
-
def configuration_uncached
|
44
|
-
::Avm::Sources::Configuration.find_in_path(path)
|
45
|
-
end
|
46
|
-
|
47
43
|
def stereotypes_jobs(job, job_args)
|
48
44
|
job_class_method = "#{job}_class"
|
49
45
|
r = []
|
data/lib/avm/tools/version.rb
CHANGED
@@ -8,13 +8,13 @@ module Avm
|
|
8
8
|
module Sources
|
9
9
|
class Base < ::Avm::EacRailsBase1::Sources::Base
|
10
10
|
CONFIG_RU_SUBPATH = 'config.ru'
|
11
|
-
|
11
|
+
SUBS_INCLUDE_PATHS_DEFAULT = ['sub/*/*'].freeze
|
12
12
|
|
13
13
|
def config_ru_path
|
14
14
|
path.join(CONFIG_RU_SUBPATH)
|
15
15
|
end
|
16
16
|
|
17
|
-
def
|
17
|
+
def subs_include_paths_default
|
18
18
|
SUBS_PATHS_DEFAULT
|
19
19
|
end
|
20
20
|
|
@@ -8,14 +8,14 @@ module Avm
|
|
8
8
|
module Sources
|
9
9
|
class Base < ::Avm::EacRailsBase1::Sources::Base
|
10
10
|
REDMINE_LIB_SUBPATH = 'lib/redmine.rb'
|
11
|
-
|
11
|
+
SUBS_INCLUDE_PATHS_DEFAULT = ['plugins/*'].freeze
|
12
12
|
|
13
13
|
def redmine_lib_path
|
14
14
|
path.join(REDMINE_LIB_SUBPATH)
|
15
15
|
end
|
16
16
|
|
17
|
-
def
|
18
|
-
|
17
|
+
def subs_include_paths_default
|
18
|
+
SUBS_INCLUDE_PATHS_DEFAULT
|
19
19
|
end
|
20
20
|
|
21
21
|
def valid?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.120.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.22'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.22'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: avm-eac_asciidoctor_base0
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,14 +98,14 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '0.
|
101
|
+
version: '0.8'
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: '0.
|
108
|
+
version: '0.8'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: avm-eac_ubuntu_base0
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -208,26 +208,6 @@ dependencies:
|
|
208
208
|
- - ">="
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: 0.16.4
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
|
-
name: eac_ruby_gems_utils
|
213
|
-
requirement: !ruby/object:Gem::Requirement
|
214
|
-
requirements:
|
215
|
-
- - "~>"
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
version: '0.6'
|
218
|
-
- - ">="
|
219
|
-
- !ruby/object:Gem::Version
|
220
|
-
version: 0.6.1
|
221
|
-
type: :runtime
|
222
|
-
prerelease: false
|
223
|
-
version_requirements: !ruby/object:Gem::Requirement
|
224
|
-
requirements:
|
225
|
-
- - "~>"
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
version: '0.6'
|
228
|
-
- - ">="
|
229
|
-
- !ruby/object:Gem::Version
|
230
|
-
version: 0.6.1
|
231
211
|
- !ruby/object:Gem::Dependency
|
232
212
|
name: git
|
233
213
|
requirement: !ruby/object:Gem::Requirement
|
@@ -341,8 +321,6 @@ files:
|
|
341
321
|
- lib/avm/launcher/vendor.rb
|
342
322
|
- lib/avm/launcher/vendor/github.rb
|
343
323
|
- lib/avm/patches.rb
|
344
|
-
- lib/avm/patches/eac_ruby_gems_utils.rb
|
345
|
-
- lib/avm/patches/eac_ruby_gems_utils/gem.rb
|
346
324
|
- lib/avm/patches/i18n.rb
|
347
325
|
- lib/avm/projects.rb
|
348
326
|
- lib/avm/projects/stereotype.rb
|
@@ -493,31 +471,6 @@ files:
|
|
493
471
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf
|
494
472
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template
|
495
473
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
|
496
|
-
- sub/avm-eac_rails_base1/Gemfile
|
497
|
-
- sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec
|
498
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb
|
499
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb
|
500
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb
|
501
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb
|
502
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb
|
503
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb
|
504
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb
|
505
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb
|
506
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb
|
507
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb
|
508
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb
|
509
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb
|
510
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
|
511
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb
|
512
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb
|
513
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb
|
514
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb
|
515
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb
|
516
|
-
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb
|
517
|
-
- sub/avm-eac_rails_base1/spec/rubocop_spec.rb
|
518
|
-
- sub/avm-eac_rails_base1/spec/spec_helper.rb
|
519
|
-
- sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service
|
520
|
-
- sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh
|
521
474
|
- sub/avm-eac_redmine_base0/Gemfile
|
522
475
|
- sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec
|
523
476
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb
|
@@ -540,47 +493,6 @@ files:
|
|
540
493
|
- sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template
|
541
494
|
- sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/install_settings.sh.template
|
542
495
|
- sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
|
543
|
-
- sub/avm-eac_ruby_base1/Gemfile
|
544
|
-
- sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec
|
545
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb
|
546
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb
|
547
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb
|
548
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb
|
549
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb
|
550
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser.rb
|
551
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/depends_on.rb
|
552
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/gem_conflict.rb
|
553
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/in_gemfile.rb
|
554
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_buffer.rb
|
555
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb
|
556
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb
|
557
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb
|
558
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb
|
559
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb
|
560
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
|
561
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb
|
562
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb
|
563
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb
|
564
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundle_command.rb
|
565
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/bundler.rb
|
566
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb
|
567
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb
|
568
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb
|
569
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb
|
570
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb
|
571
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb
|
572
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb
|
573
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb
|
574
|
-
- sub/avm-eac_ruby_base1/locale/en.yml
|
575
|
-
- sub/avm-eac_ruby_base1/locale/pt-BR.yml
|
576
|
-
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec.rb
|
577
|
-
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.source.out
|
578
|
-
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml
|
579
|
-
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out
|
580
|
-
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml
|
581
|
-
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb
|
582
|
-
- sub/avm-eac_ruby_base1/spec/rubocop_spec.rb
|
583
|
-
- sub/avm-eac_ruby_base1/spec/spec_helper.rb
|
584
496
|
- sub/avm-eac_ubuntu_base0/Gemfile
|
585
497
|
- sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec
|
586
498
|
- sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb
|
@@ -721,91 +633,6 @@ files:
|
|
721
633
|
- sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
|
722
634
|
- sub/avm-git/spec/rubocop_spec.rb
|
723
635
|
- sub/avm-git/spec/spec_helper.rb
|
724
|
-
- sub/avm/Gemfile
|
725
|
-
- sub/avm/avm.gemspec
|
726
|
-
- sub/avm/lib/avm.rb
|
727
|
-
- sub/avm/lib/avm/data/instance.rb
|
728
|
-
- sub/avm/lib/avm/data/instance/files_unit.rb
|
729
|
-
- sub/avm/lib/avm/data/instance/package.rb
|
730
|
-
- sub/avm/lib/avm/data/instance/unit.rb
|
731
|
-
- sub/avm/lib/avm/data/package.rb
|
732
|
-
- sub/avm/lib/avm/data/package/dump.rb
|
733
|
-
- sub/avm/lib/avm/data/package/load.rb
|
734
|
-
- sub/avm/lib/avm/data/rotate.rb
|
735
|
-
- sub/avm/lib/avm/data/unit.rb
|
736
|
-
- sub/avm/lib/avm/docker.rb
|
737
|
-
- sub/avm/lib/avm/docker/container.rb
|
738
|
-
- sub/avm/lib/avm/docker/image.rb
|
739
|
-
- sub/avm/lib/avm/docker/runner.rb
|
740
|
-
- sub/avm/lib/avm/executables.rb
|
741
|
-
- sub/avm/lib/avm/instances.rb
|
742
|
-
- sub/avm/lib/avm/instances/application.rb
|
743
|
-
- sub/avm/lib/avm/instances/base.rb
|
744
|
-
- sub/avm/lib/avm/instances/base/auto_values.rb
|
745
|
-
- sub/avm/lib/avm/instances/base/auto_values/access.rb
|
746
|
-
- sub/avm/lib/avm/instances/base/auto_values/admin.rb
|
747
|
-
- sub/avm/lib/avm/instances/base/auto_values/data.rb
|
748
|
-
- sub/avm/lib/avm/instances/base/auto_values/database.rb
|
749
|
-
- sub/avm/lib/avm/instances/base/auto_values/filesystem.rb
|
750
|
-
- sub/avm/lib/avm/instances/base/auto_values/mailer.rb
|
751
|
-
- sub/avm/lib/avm/instances/base/auto_values/ruby.rb
|
752
|
-
- sub/avm/lib/avm/instances/base/auto_values/source.rb
|
753
|
-
- sub/avm/lib/avm/instances/base/auto_values/system.rb
|
754
|
-
- sub/avm/lib/avm/instances/base/auto_values/web.rb
|
755
|
-
- sub/avm/lib/avm/instances/base/dockerizable.rb
|
756
|
-
- sub/avm/lib/avm/instances/base/entry_keys.rb
|
757
|
-
- sub/avm/lib/avm/instances/docker_image.rb
|
758
|
-
- sub/avm/lib/avm/instances/entries.rb
|
759
|
-
- sub/avm/lib/avm/instances/entry.rb
|
760
|
-
- sub/avm/lib/avm/instances/entry_keys.rb
|
761
|
-
- sub/avm/lib/avm/instances/runner.rb
|
762
|
-
- sub/avm/lib/avm/jobs.rb
|
763
|
-
- sub/avm/lib/avm/jobs/base.rb
|
764
|
-
- sub/avm/lib/avm/jobs/variables_source.rb
|
765
|
-
- sub/avm/lib/avm/launcher/errors/base.rb
|
766
|
-
- sub/avm/lib/avm/launcher/errors/non_project.rb
|
767
|
-
- sub/avm/lib/avm/launcher/paths/real.rb
|
768
|
-
- sub/avm/lib/avm/launcher/publish/check_result.rb
|
769
|
-
- sub/avm/lib/avm/path_string.rb
|
770
|
-
- sub/avm/lib/avm/registry.rb
|
771
|
-
- sub/avm/lib/avm/registry/base.rb
|
772
|
-
- sub/avm/lib/avm/result.rb
|
773
|
-
- sub/avm/lib/avm/rspec.rb
|
774
|
-
- sub/avm/lib/avm/rspec/setup.rb
|
775
|
-
- sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
|
776
|
-
- sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
|
777
|
-
- sub/avm/lib/avm/runners/base.rb
|
778
|
-
- sub/avm/lib/avm/scms/base.rb
|
779
|
-
- sub/avm/lib/avm/scms/commit.rb
|
780
|
-
- sub/avm/lib/avm/scms/inflector.rb
|
781
|
-
- sub/avm/lib/avm/self/docker_image.rb
|
782
|
-
- sub/avm/lib/avm/self/instance.rb
|
783
|
-
- sub/avm/lib/avm/self/instance/entry_keys.rb
|
784
|
-
- sub/avm/lib/avm/sources.rb
|
785
|
-
- sub/avm/lib/avm/sources/base.rb
|
786
|
-
- sub/avm/lib/avm/sources/base/configuration.rb
|
787
|
-
- sub/avm/lib/avm/sources/base/instance.rb
|
788
|
-
- sub/avm/lib/avm/sources/base/parent.rb
|
789
|
-
- sub/avm/lib/avm/sources/base/subs.rb
|
790
|
-
- sub/avm/lib/avm/sources/base/subs_paths.rb
|
791
|
-
- sub/avm/lib/avm/sources/base/testing.rb
|
792
|
-
- sub/avm/lib/avm/sources/configuration.rb
|
793
|
-
- sub/avm/lib/avm/sources/configuration/locale.rb
|
794
|
-
- sub/avm/lib/avm/sources/configuration/rubocop.rb
|
795
|
-
- sub/avm/lib/avm/sources/configuration/tests.rb
|
796
|
-
- sub/avm/lib/avm/sources/tester.rb
|
797
|
-
- sub/avm/lib/avm/sources/tests.rb
|
798
|
-
- sub/avm/lib/avm/sources/tests/builder.rb
|
799
|
-
- sub/avm/lib/avm/sources/tests/performer.rb
|
800
|
-
- sub/avm/lib/avm/sources/tests/result.rb
|
801
|
-
- sub/avm/lib/avm/sources/tests/single.rb
|
802
|
-
- sub/avm/lib/avm/sync.rb
|
803
|
-
- sub/avm/lib/avm/version.rb
|
804
|
-
- sub/avm/lib/avm/version_number.rb
|
805
|
-
- sub/avm/spec/lib/avm/scms/base_spec.rb
|
806
|
-
- sub/avm/spec/lib/avm/sources/base_spec.rb
|
807
|
-
- sub/avm/spec/rubocop_spec.rb
|
808
|
-
- sub/avm/spec/spec_helper.rb
|
809
636
|
- sub/eac_cli/Gemfile
|
810
637
|
- sub/eac_cli/eac_cli.gemspec
|
811
638
|
- sub/eac_cli/lib/eac_cli.rb
|
@@ -1183,59 +1010,6 @@ files:
|
|
1183
1010
|
- sub/eac_rest/lib/eac_rest/version.rb
|
1184
1011
|
- sub/eac_rest/spec/rubocop_spec.rb
|
1185
1012
|
- sub/eac_rest/spec/spec_helper.rb
|
1186
|
-
- sub/eac_ruby_base0/Gemfile
|
1187
|
-
- sub/eac_ruby_base0/eac_ruby_base0.gemspec
|
1188
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0.rb
|
1189
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb
|
1190
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb
|
1191
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb
|
1192
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb
|
1193
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/patches.rb
|
1194
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb
|
1195
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb
|
1196
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb
|
1197
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb
|
1198
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb
|
1199
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb
|
1200
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb
|
1201
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb
|
1202
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb
|
1203
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb
|
1204
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb
|
1205
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb
|
1206
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb
|
1207
|
-
- sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb
|
1208
|
-
- sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb
|
1209
|
-
- sub/eac_ruby_base0/spec/rubocop_spec.rb
|
1210
|
-
- sub/eac_ruby_base0/spec/spec_helper.rb
|
1211
|
-
- sub/eac_ruby_gems_utils/Gemfile
|
1212
|
-
- sub/eac_ruby_gems_utils/LICENCE
|
1213
|
-
- sub/eac_ruby_gems_utils/README.rdoc
|
1214
|
-
- sub/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec
|
1215
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb
|
1216
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb
|
1217
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb
|
1218
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb
|
1219
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb
|
1220
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb
|
1221
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb
|
1222
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb
|
1223
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb
|
1224
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb
|
1225
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb
|
1226
|
-
- sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb
|
1227
|
-
- sub/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb
|
1228
|
-
- sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec.rb
|
1229
|
-
- sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec_files/a_version_file.rb
|
1230
|
-
- sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
|
1231
|
-
- sub/eac_ruby_gems_utils/spec/spec_helper.rb
|
1232
|
-
- sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile
|
1233
|
-
- sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock
|
1234
|
-
- sub/eac_ruby_gems_utils/spec/support/mygem/Rakefile
|
1235
|
-
- sub/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner
|
1236
|
-
- sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb
|
1237
|
-
- sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb
|
1238
|
-
- sub/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec
|
1239
1013
|
- sub/eac_ruby_utils/Gemfile
|
1240
1014
|
- sub/eac_ruby_utils/MIT-LICENCE
|
1241
1015
|
- sub/eac_ruby_utils/README.rdoc
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/sources/configuration'
|
4
|
-
require 'eac_ruby_gems_utils/gem'
|
5
|
-
require 'eac_ruby_utils/core_ext'
|
6
|
-
|
7
|
-
module Avm
|
8
|
-
module Patches
|
9
|
-
module EacRubyGemsUtils
|
10
|
-
module Gem
|
11
|
-
enable_simple_cache
|
12
|
-
|
13
|
-
private
|
14
|
-
|
15
|
-
def configuration_uncached
|
16
|
-
::Avm::Sources::Configuration.find_in_path(root)
|
17
|
-
end
|
18
|
-
|
19
|
-
def gemfile_path_uncached
|
20
|
-
return super unless configuration.present? && configuration.rubocop_gemfile.present?
|
21
|
-
|
22
|
-
configuration.rubocop_gemfile
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
::EacRubyGemsUtils::Gem.prepend(::Avm::Patches::EacRubyGemsUtils::Gem)
|
data/sub/avm/Gemfile
DELETED
data/sub/avm/avm.gemspec
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
-
|
5
|
-
require 'avm/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |s|
|
8
|
-
s.name = 'avm'
|
9
|
-
s.version = Avm::VERSION
|
10
|
-
s.authors = ['Eduardo H. Bogoni']
|
11
|
-
s.summary = 'Ruby base library for Agora Vai! Methodology (https://avm.esquiloazul.tech).'
|
12
|
-
|
13
|
-
s.files = Dir['{lib}/**/*']
|
14
|
-
|
15
|
-
s.add_dependency 'eac_cli', '~> 0.23', '>= 0.23.1'
|
16
|
-
s.add_dependency 'eac_docker', '~> 0.3'
|
17
|
-
s.add_dependency 'eac_git', '~> 0.6'
|
18
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.95'
|
19
|
-
s.add_dependency 'eac_templates', '~> 0.1', '>= 0.1.1'
|
20
|
-
s.add_dependency 'filesize', '~> 0.2'
|
21
|
-
s.add_dependency 'htmlbeautifier', '~> 1.3', '>= 1.3.1'
|
22
|
-
s.add_dependency 'minitar', '~> 0.9'
|
23
|
-
|
24
|
-
s.add_development_dependency 'aranha-parsers', '~> 0.14', '~> 0.14.1'
|
25
|
-
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
26
|
-
end
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/data/instance/unit'
|
4
|
-
|
5
|
-
module Avm
|
6
|
-
module Data
|
7
|
-
module Instance
|
8
|
-
class FilesUnit < ::Avm::Data::Instance::Unit
|
9
|
-
EXTENSION = '.tar.gz'
|
10
|
-
|
11
|
-
attr_reader :fs_path_subpath
|
12
|
-
|
13
|
-
def initialize(instance, fs_path_subpath)
|
14
|
-
super(instance)
|
15
|
-
@fs_path_subpath = fs_path_subpath
|
16
|
-
end
|
17
|
-
|
18
|
-
before_load :clear_files
|
19
|
-
|
20
|
-
def files_path
|
21
|
-
::File.join(instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH), fs_path_subpath)
|
22
|
-
end
|
23
|
-
|
24
|
-
def dump_command
|
25
|
-
instance.host_env.command('tar', '-czf', '-', '-C', files_path, '.')
|
26
|
-
end
|
27
|
-
|
28
|
-
def load_command
|
29
|
-
instance.host_env.command('tar', '-xzf', '-', '-C', files_path)
|
30
|
-
end
|
31
|
-
|
32
|
-
def clear_files
|
33
|
-
infom "Removing all files under #{files_path}..."
|
34
|
-
instance.host_env.command('mkdir', '-p', files_path).execute!
|
35
|
-
instance.host_env.command('find', files_path, '-mindepth', 1, '-delete').execute!
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/data/package'
|
4
|
-
|
5
|
-
module Avm
|
6
|
-
module Data
|
7
|
-
module Instance
|
8
|
-
class Package < ::Avm::Data::Package
|
9
|
-
attr_reader :instance
|
10
|
-
|
11
|
-
def initialize(instance, options = {})
|
12
|
-
@instance = instance
|
13
|
-
super options
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/data/unit'
|
4
|
-
|
5
|
-
module Avm
|
6
|
-
module Data
|
7
|
-
module Instance
|
8
|
-
class Unit < ::Avm::Data::Unit
|
9
|
-
attr_reader :instance
|
10
|
-
|
11
|
-
def initialize(instance)
|
12
|
-
@instance = instance
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|