avm-tools 0.94.2 → 0.98.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/app_src.rb +60 -0
- data/lib/avm/core_ext.rb +4 -0
- data/lib/avm/docker/runner.rb +22 -30
- data/lib/avm/eac_asciidoctor_base0/deploy.rb +5 -5
- data/lib/avm/eac_rails_base1/runner/bundle.rb +0 -1
- data/lib/avm/eac_rails_base1/runner/code_runner.rb +0 -1
- data/lib/avm/eac_rails_base1/runner/rails_server.rb +0 -1
- data/lib/avm/eac_webapp_base0/instance.rb +5 -2
- data/lib/avm/eac_webapp_base0/instance/subcommand_parent.rb +24 -0
- data/lib/avm/eac_webapp_base0/runner/data.rb +1 -0
- data/lib/avm/eac_webapp_base0/runner/data/dump.rb +1 -1
- data/lib/avm/eac_webapp_base0/runner/data/load.rb +1 -1
- data/lib/avm/git/issue/complete/_test.rb +2 -2
- data/lib/avm/instances/base.rb +6 -12
- data/lib/avm/instances/base/entry_keys.rb +17 -0
- data/lib/{eac_launcher → avm/launcher}/instances/error.rb +0 -0
- data/lib/avm/launcher/instances/runner_helper.rb +41 -0
- data/lib/avm/patches/class.rb +4 -0
- data/lib/avm/patches/eac_ruby_gems_utils.rb +4 -0
- data/lib/avm/patches/eac_ruby_gems_utils/gem.rb +2 -2
- data/lib/avm/patches/object.rb +4 -0
- data/lib/avm/patches/object/fs_cache.rb +16 -0
- data/lib/avm/ruby/bundler.rb +11 -0
- data/lib/avm/ruby/bundler/incompatible_parser.rb +25 -0
- data/lib/avm/ruby/bundler/incompatible_parser/depends_on.rb +25 -0
- data/lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb +39 -0
- data/lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb +19 -0
- data/lib/avm/ruby/bundler/incompatible_parser/line_buffer.rb +73 -0
- data/lib/avm/ruby/bundler/incompatible_parser/line_factory.rb +31 -0
- data/lib/avm/ruby/bundler/incompatible_parser/line_parser_base.rb +19 -0
- data/lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb +26 -0
- data/lib/avm/ruby/gems/generator.rb +1 -5
- data/lib/avm/ruby/rubocop/_configured.rb +2 -2
- data/lib/avm/tools/runner/{local_project.rb → app_src.rb} +3 -3
- data/lib/avm/tools/runner/app_src/eac_asciidoctor_base0.rb +14 -0
- data/lib/avm/tools/runner/{local_project → app_src}/eac_asciidoctor_base0/build.rb +19 -7
- data/lib/avm/tools/runner/{local_project → app_src}/eac_writings_base0.rb +1 -2
- data/lib/avm/tools/runner/{local_project → app_src}/eac_writings_base0/build_chapters.rb +1 -2
- data/lib/avm/tools/runner/{local_project → app_src}/eac_writings_base0/build_single.rb +1 -2
- data/lib/avm/tools/runner/{local_project → app_src}/eac_writings_base0/info.rb +1 -2
- data/lib/avm/tools/runner/app_src/info.rb +22 -0
- data/lib/avm/tools/runner/{local_project → app_src}/ruby.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/ruby/bundler.rb +1 -1
- data/lib/avm/tools/runner/{local_project → app_src}/ruby/bundler/gemfile_lock.rb +1 -1
- data/lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb +84 -0
- data/lib/avm/tools/runner/{local_project → app_src}/test.rb +6 -9
- data/lib/avm/tools/runner/app_src/update.rb +22 -0
- data/lib/avm/tools/runner/{local_project → app_src}/version_bump.rb +1 -1
- data/lib/avm/tools/runner/eac_asciidoctor_base0.rb +0 -1
- data/lib/avm/tools/runner/eac_rails_base0.rb +0 -1
- data/lib/avm/tools/runner/eac_redmine_base0.rb +0 -1
- data/lib/avm/tools/runner/eac_wordpress_base0.rb +0 -1
- data/lib/avm/tools/runner/eac_writings_base0.rb +0 -1
- data/lib/avm/tools/runner/git.rb +0 -1
- data/lib/avm/tools/runner/git/commit.rb +0 -1
- data/lib/avm/tools/runner/git/dirty_files.rb +17 -22
- data/lib/avm/tools/runner/git/issue.rb +21 -36
- data/lib/avm/tools/runner/git/organize.rb +6 -9
- data/lib/avm/tools/runner/git/revisions_test.rb +14 -25
- data/lib/avm/tools/runner/git/subrepo.rb +3 -6
- data/lib/avm/tools/runner/git/subrepo/check.rb +10 -13
- data/lib/avm/tools/runner/git/subrepo/clone.rb +2 -3
- data/lib/avm/tools/runner/git/subrepo/fix.rb +2 -3
- data/lib/avm/tools/runner/launcher.rb +3 -6
- data/lib/avm/tools/runner/launcher/instances.rb +10 -21
- data/lib/avm/tools/runner/launcher/projects.rb +10 -18
- data/lib/avm/tools/runner/launcher/publish.rb +18 -26
- data/lib/avm/tools/runner/ruby/rubocop.rb +9 -25
- data/lib/avm/tools/runner/self.rb +7 -15
- data/lib/avm/tools/runner/self/docker.rb +1 -1
- data/lib/avm/tools/version.rb +1 -1
- data/lib/eac_launcher/instances.rb +1 -1
- data/template/avm/ruby/gems/generator/static/spec/rubocop_spec.rb +1 -5
- data/template/avm/ruby/gems/generator/static/spec/spec_helper.rb +2 -0
- data/vendor/avm-apps/avm-apps.gemspec +1 -1
- data/vendor/avm-apps/lib/avm/apps/sources/configuration.rb +57 -0
- data/vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb +18 -0
- data/vendor/avm-apps/lib/avm/apps/sources/configuration/_rubocop.rb +26 -0
- data/vendor/avm-apps/lib/avm/apps/sources/configuration/_tests.rb +29 -0
- data/vendor/avm-apps/lib/avm/apps/version.rb +1 -1
- data/vendor/avm-apps/spec/rubocop_spec.rb +1 -5
- data/vendor/avm-apps/spec/spec_helper.rb +3 -0
- data/vendor/avm-eac_asciidoctor_base0/Gemfile +5 -0
- data/vendor/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +20 -0
- data/{lib/avm/local_projects.rb → vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb} +1 -1
- data/{lib/avm/eac_asciidoctor_base0/project.rb → vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb} +2 -4
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +19 -0
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb +49 -0
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb +30 -0
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb +30 -0
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb +54 -0
- data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +7 -0
- data/vendor/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +3 -0
- data/vendor/avm-eac_asciidoctor_base0/spec/spec_helper.rb +102 -0
- data/vendor/eac_cli/eac_cli.gemspec +1 -1
- data/vendor/eac_cli/lib/eac_cli/definition/base_option.rb +5 -1
- data/vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb +3 -1
- data/vendor/eac_cli/lib/eac_cli/runner/context.rb +2 -1
- data/vendor/eac_cli/lib/eac_cli/runner/instance_methods.rb +8 -1
- data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
- data/vendor/eac_cli/spec/rubocop_spec.rb +1 -5
- data/vendor/eac_cli/spec/spec_helper.rb +3 -0
- data/vendor/eac_docker/eac_docker.gemspec +1 -1
- data/vendor/eac_docker/lib/eac_docker/version.rb +1 -1
- data/vendor/eac_docker/spec/rubocop_spec.rb +1 -5
- data/vendor/eac_docker/spec/spec_helper.rb +3 -0
- data/vendor/eac_git/eac_git.gemspec +2 -1
- data/vendor/eac_git/lib/eac_git/local.rb +4 -0
- data/vendor/eac_git/lib/eac_git/local/commit.rb +53 -0
- data/vendor/eac_git/lib/eac_git/local/commit/changed_file.rb +46 -0
- data/vendor/eac_git/lib/eac_git/local/commit/diff_tree_line.rb +32 -0
- data/vendor/eac_git/lib/eac_git/rspec.rb +6 -1
- data/{lib/avm/git/spec_helper.rb → vendor/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb} +16 -13
- data/vendor/eac_git/lib/eac_git/version.rb +1 -1
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb +13 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out +1 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out +1 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out +1 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out +2 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
- data/vendor/eac_git/spec/lib/eac_git/local/commit_spec.rb +58 -0
- data/vendor/eac_git/spec/rubocop_spec.rb +1 -5
- data/vendor/eac_git/spec/spec_helper.rb +3 -0
- data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +4 -4
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb +36 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb +58 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
- data/vendor/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb +81 -0
- data/vendor/eac_ruby_base0/spec/rubocop_spec.rb +1 -5
- data/vendor/eac_ruby_base0/spec/spec_helper.rb +3 -0
- data/vendor/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +4 -3
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +7 -10
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +9 -2
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +1 -1
- data/vendor/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb +1 -5
- data/vendor/eac_ruby_gems_utils/spec/spec_helper.rb +3 -0
- data/vendor/eac_ruby_utils/eac_ruby_utils.gemspec +2 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/filesystem_cache.rb +6 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/logs.rb +63 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb +9 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb +3 -2
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel/nyi.rb +4 -2
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb +10 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb +4 -2
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb +34 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb +10 -29
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb +69 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb +18 -5
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb +8 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb +9 -0
- data/vendor/eac_ruby_utils/spec/rubocop_check_spec.rb +1 -5
- data/vendor/eac_ruby_utils/spec/spec_helper.rb +3 -0
- metadata +120 -39
- data/lib/avm/eac_asciidoctor_base0/build.rb +0 -47
- data/lib/avm/eac_asciidoctor_base0/build/file.rb +0 -28
- data/lib/avm/instances/configuration.rb +0 -55
- data/lib/avm/instances/configuration/_locale.rb +0 -16
- data/lib/avm/instances/configuration/_rubocop.rb +0 -24
- data/lib/avm/instances/configuration/_tests.rb +0 -27
- data/lib/avm/local_projects/instance.rb +0 -62
- data/lib/avm/tools/runner/local_project/eac_asciidoctor_base0.rb +0 -32
- data/lib/avm/tools/runner/local_project/info.rb +0 -25
- data/lib/avm/tools/runner/local_project/update.rb +0 -25
- data/lib/eac_launcher/instances/runner_helper.rb +0 -42
- data/vendor/eac_cli/lib/eac_cli/runner_with/output_file.rb +0 -30
- data/vendor/eac_cli/spec/lib/eac_cli/runner_with/output_file_spec.rb +0 -53
@@ -42,5 +42,13 @@ RSpec.describe ::EacRubyUtils::SettingsProvider do
|
|
42
42
|
it do
|
43
43
|
expect(stub.setting_value('key_e', required: false)).to eq(nil)
|
44
44
|
end
|
45
|
+
|
46
|
+
it do
|
47
|
+
expect(stub.setting_value('key_e', default: nil)).to eq(nil)
|
48
|
+
end
|
49
|
+
|
50
|
+
it do
|
51
|
+
expect(stub.setting_value('key_e', default: 'default_e')).to eq('default_e')
|
52
|
+
end
|
45
53
|
end
|
46
54
|
end
|
@@ -16,6 +16,11 @@ class CacheableObject
|
|
16
16
|
"#{arg1}/#{@counter2}"
|
17
17
|
end
|
18
18
|
|
19
|
+
def method_with_reset_uncached
|
20
|
+
reset_cache
|
21
|
+
'result'
|
22
|
+
end
|
23
|
+
|
19
24
|
private
|
20
25
|
|
21
26
|
def private_method_uncached
|
@@ -39,6 +44,10 @@ RSpec.describe ::EacRubyUtils::SimpleCache do
|
|
39
44
|
it 'is able to call private uncached as cached' do
|
40
45
|
expect(instance.private_method).to eq(instance.private_method)
|
41
46
|
end
|
47
|
+
|
48
|
+
it 'return value even if reset cache' do
|
49
|
+
expect(instance.method_with_reset).to eq('result')
|
50
|
+
end
|
42
51
|
end
|
43
52
|
|
44
53
|
describe 'cache value with args' do
|
@@ -5,6 +5,9 @@ require 'tmpdir'
|
|
5
5
|
|
6
6
|
RSpec.configure do |config|
|
7
7
|
config.example_status_persistence_file_path = ::File.join(::Dir.tmpdir, 'eac_ruby_utils_rspec')
|
8
|
+
|
9
|
+
require 'eac_ruby_gem_support/rspec'
|
10
|
+
::EacRubyGemSupport::Rspec.setup(::File.expand_path('..', __dir__), config)
|
8
11
|
end
|
9
12
|
|
10
13
|
require 'i18n'
|
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.98.0
|
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: 2021-
|
11
|
+
date: 2021-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -44,6 +44,34 @@ dependencies:
|
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 2.0.12
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: avm-apps
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.2'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.2'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: avm-eac_asciidoctor_base0
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
47
75
|
- !ruby/object:Gem::Dependency
|
48
76
|
name: clipboard
|
49
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,20 +126,14 @@ dependencies:
|
|
98
126
|
requirements:
|
99
127
|
- - "~>"
|
100
128
|
- !ruby/object:Gem::Version
|
101
|
-
version: '0.
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 0.1.2
|
129
|
+
version: '0.2'
|
105
130
|
type: :development
|
106
131
|
prerelease: false
|
107
132
|
version_requirements: !ruby/object:Gem::Requirement
|
108
133
|
requirements:
|
109
134
|
- - "~>"
|
110
135
|
- !ruby/object:Gem::Version
|
111
|
-
version: '0.
|
112
|
-
- - ">="
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: 0.1.2
|
136
|
+
version: '0.2'
|
115
137
|
- !ruby/object:Gem::Dependency
|
116
138
|
name: eac_cli
|
117
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -264,6 +286,20 @@ dependencies:
|
|
264
286
|
- - ">="
|
265
287
|
- !ruby/object:Gem::Version
|
266
288
|
version: '0'
|
289
|
+
- !ruby/object:Gem::Dependency
|
290
|
+
name: os
|
291
|
+
requirement: !ruby/object:Gem::Requirement
|
292
|
+
requirements:
|
293
|
+
- - ">="
|
294
|
+
- !ruby/object:Gem::Version
|
295
|
+
version: '0'
|
296
|
+
type: :runtime
|
297
|
+
prerelease: false
|
298
|
+
version_requirements: !ruby/object:Gem::Requirement
|
299
|
+
requirements:
|
300
|
+
- - ">="
|
301
|
+
- !ruby/object:Gem::Version
|
302
|
+
version: '0'
|
267
303
|
- !ruby/object:Gem::Dependency
|
268
304
|
name: ruby-progressbar
|
269
305
|
requirement: !ruby/object:Gem::Requirement
|
@@ -294,8 +330,10 @@ files:
|
|
294
330
|
- Gemfile
|
295
331
|
- exe/avm
|
296
332
|
- lib/avm.rb
|
333
|
+
- lib/avm/app_src.rb
|
297
334
|
- lib/avm/cached_download.rb
|
298
335
|
- lib/avm/configs.rb
|
336
|
+
- lib/avm/core_ext.rb
|
299
337
|
- lib/avm/data.rb
|
300
338
|
- lib/avm/data/instance.rb
|
301
339
|
- lib/avm/data/instance/files_unit.rb
|
@@ -313,11 +351,8 @@ files:
|
|
313
351
|
- lib/avm/eac_asciidoctor_base0.rb
|
314
352
|
- lib/avm/eac_asciidoctor_base0/apache_host.rb
|
315
353
|
- lib/avm/eac_asciidoctor_base0/apache_path.rb
|
316
|
-
- lib/avm/eac_asciidoctor_base0/build.rb
|
317
|
-
- lib/avm/eac_asciidoctor_base0/build/file.rb
|
318
354
|
- lib/avm/eac_asciidoctor_base0/deploy.rb
|
319
355
|
- lib/avm/eac_asciidoctor_base0/instance.rb
|
320
|
-
- lib/avm/eac_asciidoctor_base0/project.rb
|
321
356
|
- lib/avm/eac_rails_base0.rb
|
322
357
|
- lib/avm/eac_rails_base0/apache_host.rb
|
323
358
|
- lib/avm/eac_rails_base0/apache_path.rb
|
@@ -354,6 +389,7 @@ files:
|
|
354
389
|
- lib/avm/eac_webapp_base0/deploy/version.rb
|
355
390
|
- lib/avm/eac_webapp_base0/deploy/write_on_target.rb
|
356
391
|
- lib/avm/eac_webapp_base0/instance.rb
|
392
|
+
- lib/avm/eac_webapp_base0/instance/subcommand_parent.rb
|
357
393
|
- lib/avm/eac_webapp_base0/runner.rb
|
358
394
|
- lib/avm/eac_webapp_base0/runner/apache_host.rb
|
359
395
|
- lib/avm/eac_webapp_base0/runner/apache_path.rb
|
@@ -437,7 +473,6 @@ files:
|
|
437
473
|
- lib/avm/git/organize/reference_update.rb
|
438
474
|
- lib/avm/git/organize/repository.rb
|
439
475
|
- lib/avm/git/revision_test.rb
|
440
|
-
- lib/avm/git/spec_helper.rb
|
441
476
|
- lib/avm/git/subrepo_check.rb
|
442
477
|
- lib/avm/git/subrepo_check/parent.rb
|
443
478
|
- lib/avm/git/subrepo_check/remote.rb
|
@@ -458,10 +493,7 @@ files:
|
|
458
493
|
- lib/avm/instances/base/auto_values/system.rb
|
459
494
|
- lib/avm/instances/base/auto_values/web.rb
|
460
495
|
- lib/avm/instances/base/dockerizable.rb
|
461
|
-
- lib/avm/instances/
|
462
|
-
- lib/avm/instances/configuration/_locale.rb
|
463
|
-
- lib/avm/instances/configuration/_rubocop.rb
|
464
|
-
- lib/avm/instances/configuration/_tests.rb
|
496
|
+
- lib/avm/instances/base/entry_keys.rb
|
465
497
|
- lib/avm/instances/entries.rb
|
466
498
|
- lib/avm/instances/entry.rb
|
467
499
|
- lib/avm/instances/entry_keys.rb
|
@@ -473,13 +505,17 @@ files:
|
|
473
505
|
- lib/avm/launcher/errors/non_project.rb
|
474
506
|
- lib/avm/launcher/instances/base.rb
|
475
507
|
- lib/avm/launcher/instances/base/cache.rb
|
508
|
+
- lib/avm/launcher/instances/error.rb
|
509
|
+
- lib/avm/launcher/instances/runner_helper.rb
|
476
510
|
- lib/avm/launcher/instances/settings.rb
|
477
|
-
- lib/avm/local_projects.rb
|
478
|
-
- lib/avm/local_projects/instance.rb
|
479
511
|
- lib/avm/patches.rb
|
512
|
+
- lib/avm/patches/class.rb
|
480
513
|
- lib/avm/patches/class/i18n.rb
|
514
|
+
- lib/avm/patches/eac_ruby_gems_utils.rb
|
481
515
|
- lib/avm/patches/eac_ruby_gems_utils/gem.rb
|
482
516
|
- lib/avm/patches/i18n.rb
|
517
|
+
- lib/avm/patches/object.rb
|
518
|
+
- lib/avm/patches/object/fs_cache.rb
|
483
519
|
- lib/avm/patches/object/i18n.rb
|
484
520
|
- lib/avm/patches/object/template.rb
|
485
521
|
- lib/avm/path_string.rb
|
@@ -514,6 +550,15 @@ files:
|
|
514
550
|
- lib/avm/rails.rb
|
515
551
|
- lib/avm/result.rb
|
516
552
|
- lib/avm/ruby.rb
|
553
|
+
- lib/avm/ruby/bundler.rb
|
554
|
+
- lib/avm/ruby/bundler/incompatible_parser.rb
|
555
|
+
- lib/avm/ruby/bundler/incompatible_parser/depends_on.rb
|
556
|
+
- lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb
|
557
|
+
- lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb
|
558
|
+
- lib/avm/ruby/bundler/incompatible_parser/line_buffer.rb
|
559
|
+
- lib/avm/ruby/bundler/incompatible_parser/line_factory.rb
|
560
|
+
- lib/avm/ruby/bundler/incompatible_parser/line_parser_base.rb
|
561
|
+
- lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb
|
517
562
|
- lib/avm/ruby/gems.rb
|
518
563
|
- lib/avm/ruby/gems/generator.rb
|
519
564
|
- lib/avm/ruby/rubocop.rb
|
@@ -529,6 +574,21 @@ files:
|
|
529
574
|
- lib/avm/sync.rb
|
530
575
|
- lib/avm/tools.rb
|
531
576
|
- lib/avm/tools/runner.rb
|
577
|
+
- lib/avm/tools/runner/app_src.rb
|
578
|
+
- lib/avm/tools/runner/app_src/eac_asciidoctor_base0.rb
|
579
|
+
- lib/avm/tools/runner/app_src/eac_asciidoctor_base0/build.rb
|
580
|
+
- lib/avm/tools/runner/app_src/eac_writings_base0.rb
|
581
|
+
- lib/avm/tools/runner/app_src/eac_writings_base0/build_chapters.rb
|
582
|
+
- lib/avm/tools/runner/app_src/eac_writings_base0/build_single.rb
|
583
|
+
- lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
|
584
|
+
- lib/avm/tools/runner/app_src/info.rb
|
585
|
+
- lib/avm/tools/runner/app_src/ruby.rb
|
586
|
+
- lib/avm/tools/runner/app_src/ruby/bundler.rb
|
587
|
+
- lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb
|
588
|
+
- lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb
|
589
|
+
- lib/avm/tools/runner/app_src/test.rb
|
590
|
+
- lib/avm/tools/runner/app_src/update.rb
|
591
|
+
- lib/avm/tools/runner/app_src/version_bump.rb
|
532
592
|
- lib/avm/tools/runner/eac_asciidoctor_base0.rb
|
533
593
|
- lib/avm/tools/runner/eac_rails_base0.rb
|
534
594
|
- lib/avm/tools/runner/eac_redmine_base0.rb
|
@@ -559,20 +619,6 @@ files:
|
|
559
619
|
- lib/avm/tools/runner/launcher/instances.rb
|
560
620
|
- lib/avm/tools/runner/launcher/projects.rb
|
561
621
|
- lib/avm/tools/runner/launcher/publish.rb
|
562
|
-
- lib/avm/tools/runner/local_project.rb
|
563
|
-
- lib/avm/tools/runner/local_project/eac_asciidoctor_base0.rb
|
564
|
-
- lib/avm/tools/runner/local_project/eac_asciidoctor_base0/build.rb
|
565
|
-
- lib/avm/tools/runner/local_project/eac_writings_base0.rb
|
566
|
-
- lib/avm/tools/runner/local_project/eac_writings_base0/build_chapters.rb
|
567
|
-
- lib/avm/tools/runner/local_project/eac_writings_base0/build_single.rb
|
568
|
-
- lib/avm/tools/runner/local_project/eac_writings_base0/info.rb
|
569
|
-
- lib/avm/tools/runner/local_project/info.rb
|
570
|
-
- lib/avm/tools/runner/local_project/ruby.rb
|
571
|
-
- lib/avm/tools/runner/local_project/ruby/bundler.rb
|
572
|
-
- lib/avm/tools/runner/local_project/ruby/bundler/gemfile_lock.rb
|
573
|
-
- lib/avm/tools/runner/local_project/test.rb
|
574
|
-
- lib/avm/tools/runner/local_project/update.rb
|
575
|
-
- lib/avm/tools/runner/local_project/version_bump.rb
|
576
622
|
- lib/avm/tools/runner/ruby.rb
|
577
623
|
- lib/avm/tools/runner/ruby/gems.rb
|
578
624
|
- lib/avm/tools/runner/ruby/gems/generate.rb
|
@@ -599,8 +645,6 @@ files:
|
|
599
645
|
- lib/eac_launcher/git/sub_warp_base.rb
|
600
646
|
- lib/eac_launcher/git/warp_base.rb
|
601
647
|
- lib/eac_launcher/instances.rb
|
602
|
-
- lib/eac_launcher/instances/error.rb
|
603
|
-
- lib/eac_launcher/instances/runner_helper.rb
|
604
648
|
- lib/eac_launcher/paths.rb
|
605
649
|
- lib/eac_launcher/paths/logical.rb
|
606
650
|
- lib/eac_launcher/paths/real.rb
|
@@ -647,9 +691,25 @@ files:
|
|
647
691
|
- vendor/avm-apps/lib/avm/apps/jobs.rb
|
648
692
|
- vendor/avm-apps/lib/avm/apps/jobs/base.rb
|
649
693
|
- vendor/avm-apps/lib/avm/apps/jobs/variables_source.rb
|
694
|
+
- vendor/avm-apps/lib/avm/apps/sources/configuration.rb
|
695
|
+
- vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
|
696
|
+
- vendor/avm-apps/lib/avm/apps/sources/configuration/_rubocop.rb
|
697
|
+
- vendor/avm-apps/lib/avm/apps/sources/configuration/_tests.rb
|
650
698
|
- vendor/avm-apps/lib/avm/apps/version.rb
|
651
699
|
- vendor/avm-apps/spec/rubocop_spec.rb
|
652
700
|
- vendor/avm-apps/spec/spec_helper.rb
|
701
|
+
- vendor/avm-eac_asciidoctor_base0/Gemfile
|
702
|
+
- vendor/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec
|
703
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb
|
704
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb
|
705
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
|
706
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb
|
707
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb
|
708
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb
|
709
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb
|
710
|
+
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb
|
711
|
+
- vendor/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb
|
712
|
+
- vendor/avm-eac_asciidoctor_base0/spec/spec_helper.rb
|
653
713
|
- vendor/eac_cli/Gemfile
|
654
714
|
- vendor/eac_cli/eac_cli.gemspec
|
655
715
|
- vendor/eac_cli/lib/eac_cli.rb
|
@@ -688,7 +748,6 @@ files:
|
|
688
748
|
- vendor/eac_cli/lib/eac_cli/runner/instance_methods.rb
|
689
749
|
- vendor/eac_cli/lib/eac_cli/runner_with.rb
|
690
750
|
- vendor/eac_cli/lib/eac_cli/runner_with/help.rb
|
691
|
-
- vendor/eac_cli/lib/eac_cli/runner_with/output_file.rb
|
692
751
|
- vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb
|
693
752
|
- vendor/eac_cli/lib/eac_cli/runner_with_set.rb
|
694
753
|
- vendor/eac_cli/lib/eac_cli/version.rb
|
@@ -697,7 +756,6 @@ files:
|
|
697
756
|
- vendor/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb
|
698
757
|
- vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb
|
699
758
|
- vendor/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb
|
700
|
-
- vendor/eac_cli/spec/lib/eac_cli/runner_with/output_file_spec.rb
|
701
759
|
- vendor/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb
|
702
760
|
- vendor/eac_cli/spec/rubocop_spec.rb
|
703
761
|
- vendor/eac_cli/spec/spec_helper.rb
|
@@ -726,14 +784,30 @@ files:
|
|
726
784
|
- vendor/eac_git/lib/eac_git.rb
|
727
785
|
- vendor/eac_git/lib/eac_git/executables.rb
|
728
786
|
- vendor/eac_git/lib/eac_git/local.rb
|
787
|
+
- vendor/eac_git/lib/eac_git/local/commit.rb
|
788
|
+
- vendor/eac_git/lib/eac_git/local/commit/changed_file.rb
|
789
|
+
- vendor/eac_git/lib/eac_git/local/commit/diff_tree_line.rb
|
729
790
|
- vendor/eac_git/lib/eac_git/local/dirty_files.rb
|
730
791
|
- vendor/eac_git/lib/eac_git/local/subrepo.rb
|
731
792
|
- vendor/eac_git/lib/eac_git/local/subrepo/config.rb
|
732
793
|
- vendor/eac_git/lib/eac_git/remote.rb
|
733
794
|
- vendor/eac_git/lib/eac_git/remote/ls_result.rb
|
734
795
|
- vendor/eac_git/lib/eac_git/rspec.rb
|
796
|
+
- vendor/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb
|
735
797
|
- vendor/eac_git/lib/eac_git/version.rb
|
736
798
|
- vendor/eac_git/spec/lib/eac_git/executables_spec.rb
|
799
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb
|
800
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out
|
801
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml
|
802
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out
|
803
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml
|
804
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out
|
805
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml
|
806
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out
|
807
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml
|
808
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out
|
809
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml
|
810
|
+
- vendor/eac_git/spec/lib/eac_git/local/commit_spec.rb
|
737
811
|
- vendor/eac_git/spec/rubocop_spec.rb
|
738
812
|
- vendor/eac_git/spec/spec_helper.rb
|
739
813
|
- vendor/eac_git/vendor/git-subrepo/Changes
|
@@ -937,8 +1011,11 @@ files:
|
|
937
1011
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb
|
938
1012
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb
|
939
1013
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb
|
1014
|
+
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb
|
1015
|
+
- vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb
|
940
1016
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb
|
941
1017
|
- vendor/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb
|
1018
|
+
- vendor/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb
|
942
1019
|
- vendor/eac_ruby_base0/spec/rubocop_spec.rb
|
943
1020
|
- vendor/eac_ruby_base0/spec/spec_helper.rb
|
944
1021
|
- vendor/eac_ruby_gems_utils/Gemfile
|
@@ -1028,6 +1105,7 @@ files:
|
|
1028
1105
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs.rb
|
1029
1106
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb
|
1030
1107
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb
|
1108
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/logs.rb
|
1031
1109
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp.rb
|
1032
1110
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/directory.rb
|
1033
1111
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/file.rb
|
@@ -1092,6 +1170,7 @@ files:
|
|
1092
1170
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb
|
1093
1171
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb
|
1094
1172
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
|
1173
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb
|
1095
1174
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb
|
1096
1175
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb
|
1097
1176
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb
|
@@ -1100,6 +1179,7 @@ files:
|
|
1100
1179
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/entry_key_error.rb
|
1101
1180
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/node.rb
|
1102
1181
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/path_search.rb
|
1182
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb
|
1103
1183
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb
|
1104
1184
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb
|
1105
1185
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/conditional.rb
|
@@ -1108,6 +1188,7 @@ files:
|
|
1108
1188
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb
|
1109
1189
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb
|
1110
1190
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb
|
1191
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb
|
1111
1192
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb
|
1112
1193
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb
|
1113
1194
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/templates.rb
|
@@ -1191,7 +1272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1191
1272
|
- !ruby/object:Gem::Version
|
1192
1273
|
version: '0'
|
1193
1274
|
requirements: []
|
1194
|
-
rubygems_version: 3.0.
|
1275
|
+
rubygems_version: 3.0.9
|
1195
1276
|
signing_key:
|
1196
1277
|
specification_version: 4
|
1197
1278
|
summary: Tools for AVM.
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/core_ext'
|
4
|
-
require 'eac_ruby_utils/fs/clearable_directory'
|
5
|
-
|
6
|
-
module Avm
|
7
|
-
module EacAsciidoctorBase0
|
8
|
-
class Build
|
9
|
-
require_sub __FILE__
|
10
|
-
enable_console_speaker
|
11
|
-
enable_simple_cache
|
12
|
-
enable_listable
|
13
|
-
lists.add_symbol :option, :target_directory
|
14
|
-
common_constructor :project, :options, default: [{}] do
|
15
|
-
self.options = self.class.lists.option.hash_keys_validate!(options.symbolize_keys)
|
16
|
-
end
|
17
|
-
|
18
|
-
SOURCE_EXTNAMES = %w[.adoc .asc].freeze
|
19
|
-
|
20
|
-
def run
|
21
|
-
infov 'Files to build', source_files.count
|
22
|
-
target_directory.clear
|
23
|
-
source_files.each(&:run)
|
24
|
-
end
|
25
|
-
|
26
|
-
def default_target_directory
|
27
|
-
project.root.join('build')
|
28
|
-
end
|
29
|
-
|
30
|
-
def target_directory
|
31
|
-
::EacRubyUtils::Fs::ClearableDirectory.new(
|
32
|
-
options[OPTION_TARGET_DIRECTORY] || default_target_directory
|
33
|
-
)
|
34
|
-
end
|
35
|
-
|
36
|
-
def source_files_uncached
|
37
|
-
r = []
|
38
|
-
project.root.children.each do |child|
|
39
|
-
next unless SOURCE_EXTNAMES.include?(child.extname)
|
40
|
-
|
41
|
-
r << ::Avm::EacAsciidoctorBase0::Build::File.new(self, child.basename)
|
42
|
-
end
|
43
|
-
r
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|