eac_tools 0.57.0 → 0.59.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +20 -20
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm/lib/avm/launcher/publish/base.rb +6 -1
  5. data/sub/avm/lib/avm/version.rb +1 -1
  6. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/media.rb +28 -0
  7. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb +14 -10
  8. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document/media.rb +30 -0
  9. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document.rb +1 -0
  10. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
  11. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb +10 -20
  12. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/_media/a_media_file +1 -0
  13. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/_media/a_media_file +1 -0
  14. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/body.adoc +11 -0
  15. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/title +1 -0
  16. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/body.adoc +11 -0
  17. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/_media/a_media_file +1 -0
  18. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/body.adoc +11 -0
  19. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/title +1 -0
  20. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/title +1 -0
  21. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/_media/a_media_file +1 -0
  22. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc1/_media/a_media_file +1 -0
  23. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/doc2_1/_media/a_media_file +1 -0
  24. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +3 -3
  25. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  26. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +3 -3
  27. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/nodejs.rb +22 -0
  28. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  29. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/deploy/config/install.sh.template +4 -1
  30. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +2 -2
  31. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/instances/mixin.rb +1 -1
  32. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  33. metadata +39 -18
  34. /data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/{index.html → first.target/doc1/index.html} +0 -0
  35. /data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/{doc1.html → first.target/doc2/doc2_1/index.html} +0 -0
  36. /data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/{doc2.html → first.target/doc2/index.html} +0 -0
  37. /data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/{doc2/doc2_1.html → first.target/index.html} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a88a109b74daae9bda081b8b736f011d52a0a96ea8c1a1ee330e1b1e9559bbd0
4
- data.tar.gz: 7ddb4fc53c371c53cbc403df93f87ff89762e9f83cf9e414d5499d83a1ed5f2d
3
+ metadata.gz: 2cb19ed074ebe2b0a6b8d0695d83159c38744eccc80c3e361d3d6b2a60c99874
4
+ data.tar.gz: fe65562b50eea39849b5a7001ce3804ac19e0df8c6fcaec8678732719130fc8d
5
5
  SHA512:
6
- metadata.gz: 7295ff7568e29474205b29bcacb0e01e87b258a2b9dcebb3e9b493342c70cef68666c069520510c83e3922677425d7099234721de4168964c7ae6496f14d31bc
7
- data.tar.gz: 4c4db4f4870442e8761b5eefd060ace77db5ba6dd468c510fdbea114979c1a2e2c6e8d6e6e894d7efd91b4e0b4cbbfb32ed65ded65402e0ce855b6c3a54714a7
6
+ metadata.gz: 7ae8c3ac14a3bff264e300b79e19742c7254274dffbb8aa17cb4119b22b460cff527e5e971d499e6bd0adfad853fdc89c7ff418ba8af7360ca5ac1997166c401
7
+ data.tar.gz: 5d593fc1603967b5d2ad2231dad540cdd81db1c1f4f861fd12259afc0e60cfdd93f67f5248b7eef76013dc2fd57fa50dcf5628478641ff162d10da5d45f0960f
data/Gemfile.lock CHANGED
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eac_tools (0.57.0)
5
- avm (~> 0.66)
6
- avm-eac_asciidoctor_base0 (~> 0.16)
4
+ eac_tools (0.59.0)
5
+ avm (~> 0.66, >= 0.66.1)
6
+ avm-eac_asciidoctor_base0 (~> 0.17)
7
7
  avm-eac_generic_base0 (~> 0.12)
8
8
  avm-eac_latex_base0 (~> 0.3)
9
9
  avm-eac_php_base0 (~> 0.4, >= 0.4.1)
10
10
  avm-eac_postgresql_base0 (~> 0.2, >= 0.2.3)
11
11
  avm-eac_python_base0 (~> 0.2, >= 0.2.1)
12
12
  avm-eac_rails_base0 (~> 0.10)
13
- avm-eac_rails_base1 (~> 0.8, >= 0.8.1)
14
- avm-eac_redmine_base0 (~> 0.18, >= 0.18.2)
13
+ avm-eac_rails_base1 (~> 0.8, >= 0.8.2)
14
+ avm-eac_redmine_base0 (~> 0.19)
15
15
  avm-eac_redmine_plugin_base0 (~> 0.4)
16
- avm-eac_ruby_base1 (~> 0.30)
16
+ avm-eac_ruby_base1 (~> 0.30, >= 0.30.1)
17
17
  avm-eac_webapp_base0 (~> 0.14)
18
18
  avm-eac_wordpress_base0 (~> 0.3)
19
19
  avm-git (~> 0.13, >= 0.13.1)
@@ -37,7 +37,7 @@ PATH
37
37
  PATH
38
38
  remote: sub/avm-eac_asciidoctor_base0
39
39
  specs:
40
- avm-eac_asciidoctor_base0 (0.16.0)
40
+ avm-eac_asciidoctor_base0 (0.17.0)
41
41
  asciidoctor (~> 2.0, >= 2.0.18)
42
42
  avm-eac_webapp_base0 (~> 0.14)
43
43
  eac_ruby_utils (~> 0.112)
@@ -91,19 +91,19 @@ PATH
91
91
  PATH
92
92
  remote: sub/avm-eac_rails_base1
93
93
  specs:
94
- avm-eac_rails_base1 (0.8.1)
95
- avm (~> 0.65)
96
- avm-eac_ruby_base1 (~> 0.30)
97
- avm-eac_webapp_base0 (~> 0.13, >= 0.13.1)
94
+ avm-eac_rails_base1 (0.8.2)
95
+ avm (~> 0.66, >= 0.66.1)
96
+ avm-eac_ruby_base1 (~> 0.30, >= 0.30.1)
97
+ avm-eac_webapp_base0 (~> 0.14)
98
98
  eac_ruby_utils (~> 0.112)
99
99
 
100
100
  PATH
101
101
  remote: sub/avm-eac_redmine_base0
102
102
  specs:
103
- avm-eac_redmine_base0 (0.18.2)
104
- avm (~> 0.65)
105
- avm-eac_generic_base0 (~> 0.11)
106
- avm-eac_rails_base1 (~> 0.8, >= 0.8.1)
103
+ avm-eac_redmine_base0 (0.19.0)
104
+ avm (~> 0.66, >= 0.66.1)
105
+ avm-eac_generic_base0 (~> 0.12)
106
+ avm-eac_rails_base1 (~> 0.8, >= 0.8.2)
107
107
  avm-eac_ubuntu_base0 (~> 0.4, >= 0.4.1)
108
108
  curb (~> 0.9, >= 0.9.11)
109
109
  eac_fs (~> 0.16)
@@ -120,10 +120,10 @@ PATH
120
120
  PATH
121
121
  remote: sub/avm-eac_ruby_base1
122
122
  specs:
123
- avm-eac_ruby_base1 (0.30.0)
123
+ avm-eac_ruby_base1 (0.30.1)
124
124
  aranha-parsers (~> 0.17)
125
- avm (~> 0.65)
126
- avm-eac_generic_base0 (~> 0.11)
125
+ avm (~> 0.66, >= 0.66.1)
126
+ avm-eac_generic_base0 (~> 0.12)
127
127
  eac_ruby_utils (~> 0.112)
128
128
 
129
129
  PATH
@@ -194,7 +194,7 @@ PATH
194
194
  PATH
195
195
  remote: sub/avm
196
196
  specs:
197
- avm (0.66.0)
197
+ avm (0.66.1)
198
198
  aranha-parsers (~> 0.17)
199
199
  eac_cli (~> 0.30, >= 0.30.1)
200
200
  eac_config (~> 0.12)
@@ -272,7 +272,7 @@ GEM
272
272
  minitest (>= 5.1)
273
273
  tzinfo (~> 2.0)
274
274
  zeitwerk (~> 2.3)
275
- addressable (2.8.2)
275
+ addressable (2.8.3)
276
276
  public_suffix (>= 2.0.2, < 6.0)
277
277
  asciidoctor (2.0.18)
278
278
  ast (2.4.2)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacTools
4
- VERSION = '0.57.0'
4
+ VERSION = '0.59.0'
5
5
  end
@@ -34,7 +34,12 @@ module Avm
34
34
  def check_with_rescue
35
35
  internal_check
36
36
  rescue ::Avm::Launcher::Errors::Base => e
37
- ::Avm::Launcher::Publish::CheckResult.blocked("Error: #{e}")
37
+ ::Avm::Launcher::Publish::CheckResult.blocked("Error: #{error_message(e)}")
38
+ end
39
+
40
+ # @return [String]
41
+ def error_message(error)
42
+ error.to_s + error.cause.if_present('') { |v| " / Caused by: #{error_message(v)}" }
38
43
  end
39
44
  end
40
45
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Avm
4
- VERSION = '0.66.0'
4
+ VERSION = '0.66.1'
5
5
  end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'asciidoctor'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module EacAsciidoctorBase0
8
+ module Instances
9
+ class Build
10
+ class Document
11
+ module Media
12
+ def copy_media_directory
13
+ source_document.copy_media_directory_to(media_target_path)
14
+ end
15
+
16
+ # @return [Pathname]
17
+ def media_target_path
18
+ build.target_directory.join(
19
+ parent_document.present? ? source_document.subpath : '',
20
+ ::Avm::EacAsciidoctorBase0::Sources::Base::Document::Media::MEDIA_DIRECTORY_BASENAME
21
+ )
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -8,9 +8,9 @@ module Avm
8
8
  module Instances
9
9
  class Build
10
10
  class Document
11
- require_sub __FILE__
11
+ require_sub __FILE__, include_modules: true
12
12
 
13
- ROOT_BODY_TARGET_BASENAME = 'index'
13
+ BODY_TARGET_BASENAME = 'index.html'
14
14
 
15
15
  enable_simple_cache
16
16
  enable_speaker
@@ -20,9 +20,16 @@ module Avm
20
20
  #
21
21
  # @return [Pathname]
22
22
  def body_target_path
23
- build.target_directory.join(
24
- parent_document.present? ? source_document.subpath : ROOT_BODY_TARGET_BASENAME
25
- ).basename_sub('.*') { |b| "#{b}.html" }
23
+ build.target_directory.join(source_document.subpath).join(BODY_TARGET_BASENAME)
24
+ end
25
+
26
+ # @return [Asciidoctor::Document]
27
+ def build_body
28
+ ::Asciidoctor.convert(
29
+ pre_processed_body_source_content,
30
+ base_dir: convert_base_dir,
31
+ to_file: body_target_path.to_path, safe: :unsafe, mkdirs: true
32
+ )
26
33
  end
27
34
 
28
35
  # @return [Pathname]
@@ -37,11 +44,8 @@ module Avm
37
44
 
38
45
  def perform_self
39
46
  infov 'Building', source_document.subpath
40
- ::Asciidoctor.convert(
41
- pre_processed_body_source_content,
42
- base_dir: convert_base_dir,
43
- to_file: body_target_path.to_path, safe: :unsafe, mkdirs: true
44
- )
47
+ build_body
48
+ copy_media_directory
45
49
  end
46
50
 
47
51
  def perform_children
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'asciidoctor'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module EacAsciidoctorBase0
8
+ module Sources
9
+ class Base
10
+ class Document
11
+ module Media
12
+ MEDIA_DIRECTORY_BASENAME = '_media'
13
+
14
+ def copy_media_directory_to(target_directory_path)
15
+ return unless media_directory.directory?
16
+
17
+ target_directory_path.parent.mkpath
18
+ ::FileUtils.copy_entry(media_directory, target_directory_path)
19
+ end
20
+
21
+ # @return [Pathname]
22
+ def media_directory
23
+ root_path.join(MEDIA_DIRECTORY_BASENAME)
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -38,6 +38,7 @@ module Avm
38
38
 
39
39
  def children_uncached
40
40
  root_path.children.select(&:directory?)
41
+ .reject { |path| path.basename.to_path == MEDIA_DIRECTORY_BASENAME }
41
42
  .map { |path| self.class.new(source, self, path.basename) }
42
43
  end
43
44
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacAsciidoctorBase0
5
- VERSION = '0.16.0'
5
+ VERSION = '0.17.0'
6
6
  end
7
7
  end
@@ -10,14 +10,9 @@ require 'eac_fs/comparator'
10
10
  ::Avm::EacAsciidoctorBase0::Instances::Base
11
11
  .new(application, 'stub')
12
12
  end
13
- let(:fixtures_dir) { __dir__.to_pathname.join('build_spec_files') }
14
13
  let(:fs_comparator) { ::EacFs::Comparator.new.truncate_file('*.html') }
15
14
  let(:instance) { described_class.new(application_instance) }
16
15
  let(:source) { avm_source('EacAsciidoctorBase0', target_basename: application.id) }
17
- let(:target_dir) { fixtures_dir }
18
- let(:main_document) do
19
- source.path.join(::Avm::EacAsciidoctorBase0::Sources::Base::MAIN_FILE_SUBPATH)
20
- end
21
16
 
22
17
  before do
23
18
  application.entry('stereotype').write('EacAsciidoctorBase0')
@@ -27,22 +22,17 @@ require 'eac_fs/comparator'
27
22
  application_instance.entry('install.name_initials').write('T.A.')
28
23
  application_instance.entry('install.email').write('theauthor@example.net')
29
24
  application_instance.entry('web.url').write('https://www.example.net')
30
- %w[doc1 doc2 doc2/doc2_1].each do |subpath|
31
- target_dir = source.content_directory.join(subpath)
32
- target_dir.mkpath
33
- ::FileUtils.cp(
34
- main_document,
35
- target_dir.join(::Avm::EacAsciidoctorBase0::Sources::Base::CONTENT_DOCUMENT_BASENAME)
36
- )
37
- ::FileUtils.cp(
38
- source.root_document.title_path,
39
- target_dir.join(::Avm::EacAsciidoctorBase0::Sources::Base::Document::TITLE_BASENAME)
40
- )
41
- end
42
- instance.perform
43
25
  end
44
26
 
45
- it do
46
- expect(fs_comparator.build(instance.target_directory)).to eq(fs_comparator.build(target_dir))
27
+ include_examples 'source_target_fixtures', __FILE__ do
28
+ def source_data(source_file)
29
+ ::FileUtils.copy_entry(source_file, source.path)
30
+ instance.perform
31
+ fs_comparator.build(instance.target_directory)
32
+ end
33
+
34
+ def target_data(target_file)
35
+ fs_comparator.build(target_file.to_pathname)
36
+ end
47
37
  end
48
38
  end
@@ -0,0 +1,11 @@
1
+ == Child Documents
2
+
3
+ //#child_docs
4
+
5
+ == First Section
6
+
7
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sapien.
8
+
9
+ == Second Section
10
+
11
+ Nam faucibus quis dui at laoreet. Pellentesque ut sapien est.
@@ -0,0 +1,11 @@
1
+ == Child Documents
2
+
3
+ //#child_docs
4
+
5
+ == First Section
6
+
7
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sapien.
8
+
9
+ == Second Section
10
+
11
+ Nam faucibus quis dui at laoreet. Pellentesque ut sapien est.
@@ -0,0 +1,11 @@
1
+ == Child Documents
2
+
3
+ //#child_docs
4
+
5
+ == First Section
6
+
7
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sapien.
8
+
9
+ == Second Section
10
+
11
+ Nam faucibus quis dui at laoreet. Pellentesque ut sapien est.
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
12
12
 
13
13
  s.files = Dir['{lib,template}/**/*']
14
14
 
15
- s.add_dependency 'avm', '~> 0.65'
16
- s.add_dependency 'avm-eac_ruby_base1', '~> 0.30'
17
- s.add_dependency 'avm-eac_webapp_base0', '~> 0.13', '>= 0.13.1'
15
+ s.add_dependency 'avm', '~> 0.66', '>= 0.66.1'
16
+ s.add_dependency 'avm-eac_ruby_base1', '~> 0.30', '>= 0.30.1'
17
+ s.add_dependency 'avm-eac_webapp_base0', '~> 0.14'
18
18
  s.add_dependency 'eac_ruby_utils', '~> 0.112'
19
19
 
20
20
  s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRailsBase1
5
- VERSION = '0.8.1'
5
+ VERSION = '0.8.2'
6
6
  end
7
7
  end
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
12
12
 
13
13
  s.files = Dir['{lib,locale,template}/**/*']
14
14
 
15
- s.add_dependency 'avm', '~> 0.65'
16
- s.add_dependency 'avm-eac_generic_base0', '~> 0.11'
17
- s.add_dependency 'avm-eac_rails_base1', '~> 0.8', '>= 0.8.1'
15
+ s.add_dependency 'avm', '~> 0.66', '>= 0.66.1'
16
+ s.add_dependency 'avm-eac_generic_base0', '~> 0.12'
17
+ s.add_dependency 'avm-eac_rails_base1', '~> 0.8', '>= 0.8.2'
18
18
  s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.4', '>= 0.4.1'
19
19
  s.add_dependency 'curb', '~> 0.9', '>= 0.9.11'
20
20
  s.add_dependency 'eac_fs', '~> 0.16'
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/eac_rails_base1/instances/base'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module EacRedmineBase0
8
+ module Instances
9
+ class Base < ::Avm::EacRailsBase1::Instances::Base
10
+ module Nodejs
11
+ DEFAULT_NODEJS_VERSION = '19.8.1'
12
+ NODEJS_VERSION_KEY = 'nodejs.version'
13
+
14
+ def auto_install_nodejs_version
15
+ inherited_entry_value(::Avm::Instances::EntryKeys::INSTALL_ID, NODEJS_VERSION_KEY) ||
16
+ DEFAULT_NODEJS_VERSION
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRedmineBase0
5
- VERSION = '0.18.2'
5
+ VERSION = '0.19.0'
6
6
  end
7
7
  end
@@ -1,5 +1,8 @@
1
1
  # Ruby
2
- export rvm_ruby='ruby-%%RUBY.VERSION%%'
2
+ export ruby_version='%%INSTALL.RUBY.VERSION%%'
3
+
4
+ # NodeJs
5
+ export nodejs_version='%%INSTALL.NODEJS.VERSION%%'
3
6
 
4
7
  # Database
5
8
  export postgresql_internal='%%DATABASE_INTERNAL%%'
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  s.files = Dir['{lib,locale,template}/**/*']
14
14
 
15
15
  s.add_dependency 'aranha-parsers', '~> 0.17'
16
- s.add_dependency 'avm', '~> 0.65'
17
- s.add_dependency 'avm-eac_generic_base0', '~> 0.11'
16
+ s.add_dependency 'avm', '~> 0.66', '>= 0.66.1'
17
+ s.add_dependency 'avm-eac_generic_base0', '~> 0.12'
18
18
  s.add_dependency 'eac_ruby_utils', '~> 0.112'
19
19
 
20
20
  s.add_development_dependency 'aranha-parsers', '~> 0.14', '>= 0.14.1'
@@ -9,7 +9,7 @@ module Avm
9
9
  DEFAULT_RUBY_VERSION = '2.7.7'
10
10
  RUBY_VERSION_KEY = 'ruby.version'
11
11
 
12
- def auto_ruby_version
12
+ def auto_install_ruby_version
13
13
  inherited_entry_value(::Avm::Instances::EntryKeys::INSTALL_ID, RUBY_VERSION_KEY) ||
14
14
  DEFAULT_RUBY_VERSION
15
15
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRubyBase1
5
- VERSION = '0.30.0'
5
+ VERSION = '0.30.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.57.0
4
+ version: 0.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Put here the authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.66'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.66.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,20 +27,23 @@ dependencies:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0.66'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.66.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: avm-eac_asciidoctor_base0
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '0.16'
39
+ version: '0.17'
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '0.16'
46
+ version: '0.17'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: avm-eac_generic_base0
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -149,7 +155,7 @@ dependencies:
149
155
  version: '0.8'
150
156
  - - ">="
151
157
  - !ruby/object:Gem::Version
152
- version: 0.8.1
158
+ version: 0.8.2
153
159
  type: :runtime
154
160
  prerelease: false
155
161
  version_requirements: !ruby/object:Gem::Requirement
@@ -159,27 +165,21 @@ dependencies:
159
165
  version: '0.8'
160
166
  - - ">="
161
167
  - !ruby/object:Gem::Version
162
- version: 0.8.1
168
+ version: 0.8.2
163
169
  - !ruby/object:Gem::Dependency
164
170
  name: avm-eac_redmine_base0
165
171
  requirement: !ruby/object:Gem::Requirement
166
172
  requirements:
167
173
  - - "~>"
168
174
  - !ruby/object:Gem::Version
169
- version: '0.18'
170
- - - ">="
171
- - !ruby/object:Gem::Version
172
- version: 0.18.2
175
+ version: '0.19'
173
176
  type: :runtime
174
177
  prerelease: false
175
178
  version_requirements: !ruby/object:Gem::Requirement
176
179
  requirements:
177
180
  - - "~>"
178
181
  - !ruby/object:Gem::Version
179
- version: '0.18'
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- version: 0.18.2
182
+ version: '0.19'
183
183
  - !ruby/object:Gem::Dependency
184
184
  name: avm-eac_redmine_plugin_base0
185
185
  requirement: !ruby/object:Gem::Requirement
@@ -201,6 +201,9 @@ dependencies:
201
201
  - - "~>"
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0.30'
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: 0.30.1
204
207
  type: :runtime
205
208
  prerelease: false
206
209
  version_requirements: !ruby/object:Gem::Requirement
@@ -208,6 +211,9 @@ dependencies:
208
211
  - - "~>"
209
212
  - !ruby/object:Gem::Version
210
213
  version: '0.30'
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: 0.30.1
211
217
  - !ruby/object:Gem::Dependency
212
218
  name: avm-eac_webapp_base0
213
219
  requirement: !ruby/object:Gem::Requirement
@@ -371,6 +377,7 @@ files:
371
377
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb
372
378
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/child_docs_macro_value.rb
373
379
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_lines.rb
380
+ - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/media.rb
374
381
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/pre_process_line.rb
375
382
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/deploy.rb
376
383
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/source_generators.rb
@@ -378,6 +385,7 @@ files:
378
385
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb
379
386
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
380
387
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document.rb
388
+ - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document/media.rb
381
389
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document/title.rb
382
390
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/instance_to_build.rb
383
391
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/theme.rb
@@ -388,10 +396,22 @@ files:
388
396
  - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec.rb
389
397
  - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec_files/pre_processed_root_body.adoc
390
398
  - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
391
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/doc1.html
392
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/doc2.html
393
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/doc2/doc2_1.html
394
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/index.html
399
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/_media/a_media_file
400
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/_media/a_media_file
401
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/body.adoc
402
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/title
403
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/body.adoc
404
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/_media/a_media_file
405
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/body.adoc
406
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/title
407
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/title
408
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/_media/a_media_file
409
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc1/_media/a_media_file
410
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc1/index.html
411
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/doc2_1/_media/a_media_file
412
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/doc2_1/index.html
413
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/index.html
414
+ - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/index.html
395
415
  - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec.rb
396
416
  - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/content/body.adoc
397
417
  - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/content/title
@@ -592,6 +612,7 @@ files:
592
612
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/files.rb
593
613
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/gitolite.rb
594
614
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/install.rb
615
+ - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/nodejs.rb
595
616
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/web.rb
596
617
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/data_package.rb
597
618
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/deploy.rb