eac_tools 0.85.0 → 0.86.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +27 -42
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm-tools/Gemfile +2 -2
  5. data/sub/avm-tools/lib/avm/tools/rspec/helpers/runner.rb +20 -0
  6. data/sub/{avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners.rb → avm-tools/lib/avm/tools/rspec/helpers.rb} +3 -3
  7. data/sub/avm-tools/lib/avm/tools/rspec/setup.rb +24 -0
  8. data/sub/{avm-files/lib/avm/files/runner_with.rb → avm-tools/lib/avm/tools/rspec.rb} +2 -2
  9. data/sub/avm-tools/lib/avm/tools/runner/git/dirty_files.rb +1 -1
  10. data/sub/avm-tools/lib/avm/tools/runner/git/subrepo/fix.rb +1 -1
  11. data/sub/avm-tools/lib/avm/tools/runner/source/auto_commit.rb +2 -2
  12. data/sub/avm-tools/lib/avm/tools/runner/source/issue/complete.rb +1 -1
  13. data/sub/avm-tools/lib/avm/tools/runner/source/subs.rb +1 -1
  14. data/sub/avm-tools/lib/avm/tools/runner.rb +1 -1
  15. data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
  16. data/sub/avm-tools/spec/dummy/avm-tools_stub/avm-tools.gemspec +1 -1
  17. data/sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec +1 -1
  18. data/sub/avm-tools/spec/lib/avm/{projects/stereotypes → git/launcher_stereotypes}/git_subrepo/publish_spec.rb +19 -19
  19. data/sub/avm-tools/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec.rb +49 -0
  20. data/sub/avm-tools/spec/lib/avm/launcher/context_spec.rb +22 -22
  21. data/sub/avm-tools/spec/lib/avm/tools/runner/files/rotate_spec.rb +14 -14
  22. data/sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec.rb +37 -37
  23. data/sub/avm-tools/spec/lib/avm/tools/runner/launcher_stereotypes/list_spec.rb +1 -1
  24. data/sub/avm-tools/spec/lib/avm/tools/runner/source/issue/complete_spec.rb +4 -4
  25. data/sub/avm-tools/spec/lib/avm/tools/runner_spec.rb +2 -2
  26. data/sub/avm-tools/spec/rubocop_spec.rb +1 -1
  27. data/sub/avm-tools/spec/spec_helper/eac_launcher.rb +14 -14
  28. data/sub/avm-tools/spec/spec_helper.rb +3 -3
  29. metadata +16 -142
  30. data/sub/avm-eac_asciidoctor_base0/Gemfile +0 -8
  31. data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +0 -24
  32. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/documents_owner.rb +0 -30
  33. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/file_formats/base/file_resource_name.rb +0 -37
  34. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/file_formats/base.rb +0 -17
  35. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/apache_host.rb +0 -19
  36. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/apache_path.rb +0 -12
  37. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/base.rb +0 -33
  38. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/body_target.rb +0 -37
  39. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_lines.rb +0 -83
  40. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/media.rb +0 -28
  41. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/pre_process_line.rb +0 -64
  42. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb +0 -101
  43. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build.rb +0 -51
  44. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/deploy.rb +0 -28
  45. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/base.rb +0 -21
  46. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/breadcrumbs.rb +0 -55
  47. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/child_docs/document_builder.rb +0 -63
  48. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/child_docs.rb +0 -35
  49. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/default_body.rb +0 -21
  50. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros.rb +0 -13
  51. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances.rb +0 -11
  52. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/source_generators/base.rb +0 -28
  53. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/source_generators.rb +0 -11
  54. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/instance_to_build.rb +0 -45
  55. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/theme.rb +0 -40
  56. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +0 -49
  57. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document/media.rb +0 -28
  58. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document/title.rb +0 -31
  59. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document.rb +0 -56
  60. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb +0 -54
  61. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/document/build.rb +0 -46
  62. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/document.rb +0 -30
  63. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/documents.rb +0 -28
  64. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners.rb +0 -13
  65. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb +0 -11
  66. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +0 -7
  67. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb +0 -9
  68. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/file_formats/base_spec.rb +0 -13
  69. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec.rb +0 -72
  70. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec_files/pre_processed_root_body.adoc +0 -25
  71. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb +0 -22
  72. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/_media/a_media_file +0 -1
  73. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/_media/a_media_file +0 -1
  74. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/body.adoc +0 -11
  75. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/title +0 -1
  76. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/body.adoc +0 -11
  77. 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 +0 -1
  78. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/body.adoc +0 -11
  79. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/title +0 -1
  80. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/title +0 -1
  81. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/_media/a_media_file +0 -1
  82. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc1/_media/a_media_file +0 -1
  83. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc1/index.html +0 -1
  84. 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 +0 -1
  85. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/doc2_1/index.html +0 -1
  86. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/index.html +0 -1
  87. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/index.html +0 -1
  88. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec.rb +0 -8
  89. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/content/body.adoc +0 -11
  90. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/content/title +0 -1
  91. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/theme/main.css +0 -1
  92. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb +0 -16
  93. data/sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +0 -3
  94. data/sub/avm-eac_asciidoctor_base0/spec/spec_helper/eac_asciidoctor_base0_stubs.rb +0 -55
  95. data/sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb +0 -8
  96. data/sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/content/body.adoc +0 -11
  97. data/sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/content/title +0 -1
  98. data/sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/theme/main.css +0 -1
  99. data/sub/avm-eac_latex_base0/Gemfile +0 -8
  100. data/sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec +0 -20
  101. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/executables.rb +0 -22
  102. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/apache_host.rb +0 -19
  103. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/base.rb +0 -12
  104. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/deploy.rb +0 -38
  105. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances.rb +0 -11
  106. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/base.rb +0 -44
  107. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/chapters_content.rb +0 -49
  108. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/commons.rb +0 -16
  109. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/copy_files.rb +0 -45
  110. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/base_stereotype.rb +0 -23
  111. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb +0 -27
  112. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/tex_source.rb +0 -37
  113. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file.rb +0 -49
  114. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build.rb +0 -121
  115. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/build_chapters.rb +0 -43
  116. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/build_single.rb +0 -33
  117. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/info.rb +0 -32
  118. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources.rb +0 -11
  119. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb +0 -7
  120. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0.rb +0 -9
  121. data/sub/avm-eac_latex_base0/spec/rubocop_spec.rb +0 -3
  122. data/sub/avm-eac_latex_base0/spec/spec_helper.rb +0 -4
  123. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/instances/deploy/index.html.template +0 -9
  124. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/all.tex +0 -5
  125. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/ebook.tex +0 -11
  126. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/images.tex +0 -11
  127. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/links.tex +0 -2
  128. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/portuguese.tex +0 -8
  129. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/source_code/java.tex +0 -15
  130. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/source_code.tex +0 -21
  131. data/sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/utils.tex +0 -6
  132. data/sub/avm-files/Gemfile +0 -8
  133. data/sub/avm-files/avm-files.gemspec +0 -23
  134. data/sub/avm-files/lib/avm/files/appendable/file_content.rb +0 -24
  135. data/sub/avm-files/lib/avm/files/appendable/plain_directory.rb +0 -25
  136. data/sub/avm-files/lib/avm/files/appendable/resource_base.rb +0 -13
  137. data/sub/avm-files/lib/avm/files/appendable/tar_output_command.rb +0 -26
  138. data/sub/avm-files/lib/avm/files/appendable/templatized_directory.rb +0 -29
  139. data/sub/avm-files/lib/avm/files/appendable.rb +0 -55
  140. data/sub/avm-files/lib/avm/files/appender.rb +0 -11
  141. data/sub/avm-files/lib/avm/files/deploy.rb +0 -71
  142. data/sub/avm-files/lib/avm/files/runner_with/file_replacer.rb +0 -34
  143. data/sub/avm-files/lib/avm/files/runner_with/filesystem_renamer.rb +0 -103
  144. data/sub/avm-files/lib/avm/files/runner_with/filesystem_traverser.rb +0 -54
  145. data/sub/avm-files/lib/avm/files/text_replacer/gsub.rb +0 -24
  146. data/sub/avm-files/lib/avm/files/text_replacer.rb +0 -32
  147. data/sub/avm-files/lib/avm/files/version.rb +0 -7
  148. data/sub/avm-files/lib/avm/files.rb +0 -9
  149. data/sub/avm-files/spec/rubocop_spec.rb +0 -3
  150. data/sub/avm-files/spec/spec_helper.rb +0 -4
  151. data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb +0 -49
  152. data/sub/avm-tools/spec/spec_helper/avm_tools_runner.rb +0 -11
  153. /data/sub/avm-tools/spec/lib/avm/{projects/stereotypes → git/launcher_stereotypes}/git_subrepo/publish_spec_settings.yml +0 -0
  154. /data/sub/avm-tools/spec/lib/avm/{projects/stereotypes → git/launcher_stereotypes}/git_subrepo/warp_spec_settings.yml +0 -0
@@ -17,33 +17,33 @@ class StubClock
17
17
  end
18
18
  end
19
19
 
20
- ::RSpec.describe ::Avm::Tools::Runner::Files::Rotate do
21
- let(:workdir) { ::Dir.mktmpdir }
20
+ RSpec.describe Avm::Tools::Runner::Files::Rotate do
21
+ let(:workdir) { Dir.mktmpdir }
22
22
  let(:source_basename) { 'myfile.tar.gz' }
23
- let(:source_path) { ::File.join(workdir, source_basename) }
23
+ let(:source_path) { File.join(workdir, source_basename) }
24
24
 
25
25
  before do
26
- ::FileUtils.touch(source_path)
26
+ FileUtils.touch(source_path)
27
27
  end
28
28
 
29
- it { expect(::File.exist?(source_path)).to be(true) }
29
+ it { expect(File.exist?(source_path)).to be(true) }
30
30
 
31
31
  context 'when run' do
32
- let(:files_with_prefix) { ::Dir["#{workdir}/myfile_*.tar.gz"] }
32
+ let(:files_with_prefix) { Dir["#{workdir}/myfile_*.tar.gz"] }
33
33
 
34
34
  before do
35
- ::Avm::Tools::Runner.run(argv: ['files', 'rotate', source_path])
35
+ Avm::Tools::Runner.run(argv: ['files', 'rotate', source_path])
36
36
  end
37
37
 
38
- it { expect(::File.exist?(source_path)).to be(false) }
38
+ it { expect(File.exist?(source_path)).to be(false) }
39
39
  it { expect(files_with_prefix.count).to eq(1) }
40
40
  end
41
41
 
42
42
  describe 'space limit' do
43
- let(:tempdir) { ::Dir.mktmpdir }
44
- let(:clock) { ::StubClock.new(2000, 1, 1) }
43
+ let(:tempdir) { Dir.mktmpdir }
44
+ let(:clock) { StubClock.new(2000, 1, 1) }
45
45
 
46
- it 'limit space used by rotated files' do
46
+ it 'limit space used by rotated files' do # rubocop:disable RSpec/NoExpectationExample
47
47
  file1 = create_and_rotate_stub_file([], [])
48
48
  file2 = create_and_rotate_stub_file([file1], [])
49
49
  file3 = create_and_rotate_stub_file([file2], [file1])
@@ -63,9 +63,9 @@ end
63
63
  end
64
64
 
65
65
  def create_stub_file
66
- stub_path = ::File.join(tempdir, 'stub.ext')
67
- ::File.write(stub_path, 'A' * 16)
68
- ::FileUtils.touch(stub_path, mtime: clock.tick)
66
+ stub_path = File.join(tempdir, 'stub.ext')
67
+ File.write(stub_path, 'A' * 16)
68
+ FileUtils.touch(stub_path, mtime: clock.tick)
69
69
  stub_path
70
70
  end
71
71
  end
@@ -4,25 +4,25 @@ require 'avm/eac_ubuntu_base0/rspec/ssh_docker_server'
4
4
  require 'avm/tools/runner'
5
5
  require 'tmpdir'
6
6
 
7
- ::RSpec.describe ::Avm::Tools::Runner::Git::Deploy, git: true do
7
+ RSpec.describe Avm::Tools::Runner::Git::Deploy, :git do # rubocop:disable RSpec/MultipleMemoizedHelpers
8
8
  let(:git) { stubbed_git_local_repo }
9
9
  let(:reference) { git.current_branch }
10
- let(:stub_file1) { 'stub1.txt' }
11
- let(:stub_content1) { 'CONTENT 111' }
12
- let(:stub_file2) { 'stub2.txt' }
13
- let(:stub_content2) { 'CONTENT 222' }
14
- let(:commit_sha1) do
10
+ let(:stub_file1) { 'stub1.txt' } # rubocop:disable RSpec/IndexedLet
11
+ let(:stub_content1) { 'CONTENT 111' } # rubocop:disable RSpec/IndexedLet
12
+ let(:stub_file2) { 'stub2.txt' } # rubocop:disable RSpec/IndexedLet
13
+ let(:stub_content2) { 'CONTENT 222' } # rubocop:disable RSpec/IndexedLet
14
+ let(:commit_sha1) do # rubocop:disable RSpec/IndexedLet
15
15
  git.file(stub_file1).write(stub_content1)
16
16
  git.command('add', stub_file1).execute!
17
17
  git.command('commit', '-m', 'First commit.').execute!
18
18
  git.rev_parse('HEAD')
19
19
  end
20
20
  let(:append_dirs) do
21
- [1, 2].map { |n| ::File.join(__dir__, 'deploy_spec_files', "append#{n}") }.join(':')
21
+ [1, 2].map { |n| File.join(__dir__, 'deploy_spec_files', "append#{n}") }.join(':')
22
22
  end
23
- let(:target_dir) { ::File.join(::Dir.mktmpdir, 'target') }
23
+ let(:target_dir) { File.join(Dir.mktmpdir, 'target') }
24
24
 
25
- let(:commit_sha2) do
25
+ let(:commit_sha2) do # rubocop:disable RSpec/IndexedLet
26
26
  git.command('checkout', commit_sha1).execute!
27
27
  git.file(stub_file1).delete
28
28
  git.file(stub_file2).write(stub_content2)
@@ -31,66 +31,66 @@ require 'tmpdir'
31
31
  git.rev_parse('HEAD')
32
32
  end
33
33
 
34
- let(:target_stub_file1) { ::File.join(target_dir, stub_file1) }
35
- let(:target_stub_file2) { ::File.join(target_dir, stub_file2) }
34
+ let(:target_stub_file1) { File.join(target_dir, stub_file1) } # rubocop:disable RSpec/IndexedLet
35
+ let(:target_stub_file2) { File.join(target_dir, stub_file2) } # rubocop:disable RSpec/IndexedLet
36
36
 
37
- context 'with local target' do
37
+ context 'with local target' do # rubocop:disable RSpec/MultipleMemoizedHelpers
38
38
  before do
39
39
  commit_sha1
40
40
  avm_tools_runner_run(target_dir)
41
41
  end
42
42
 
43
- it { expect(::File.read(target_stub_file1)).to eq(stub_content1) }
44
- it { expect(::File.exist?(target_stub_file2)).to be(false) }
43
+ it { expect(File.read(target_stub_file1)).to eq(stub_content1) }
44
+ it { expect(File.exist?(target_stub_file2)).to be(false) }
45
45
 
46
- context 'with second commit' do
46
+ context 'with second commit' do # rubocop:disable RSpec/MultipleMemoizedHelpers
47
47
  before do
48
48
  commit_sha2
49
49
  avm_tools_runner_run(target_dir)
50
50
  end
51
51
 
52
- it { expect(::File.exist?(target_stub_file1)).to be(false) }
53
- it { expect(::File.read(target_stub_file2)).to eq(stub_content2) }
52
+ it { expect(File.exist?(target_stub_file1)).to be(false) }
53
+ it { expect(File.read(target_stub_file2)).to eq(stub_content2) }
54
54
  end
55
55
  end
56
56
 
57
- context 'with append directories' do
58
- let(:target_stub_file3) { ::File.join(target_dir, 'stub3.txt') }
59
- let(:target_stub_file4) { ::File.join(target_dir, 'stub4.txt') }
57
+ context 'with append directories' do # rubocop:disable RSpec/MultipleMemoizedHelpers
58
+ let(:target_stub_file3) { File.join(target_dir, 'stub3.txt') } # rubocop:disable RSpec/IndexedLet
59
+ let(:target_stub_file4) { File.join(target_dir, 'stub4.txt') } # rubocop:disable RSpec/IndexedLet
60
60
 
61
61
  before do
62
- ::EacConfig::Node.context.current.entry('my_value').value = '123'
62
+ EacConfig::Node.context.current.entry('my_value').value = '123'
63
63
  commit_sha1
64
64
  avm_tools_runner_run('--append-dirs', append_dirs, target_dir)
65
65
  end
66
66
 
67
- it { expect(::File.read(target_stub_file1)).to eq(stub_content1) }
68
- it { expect(::File.exist?(target_stub_file2)).to be(false) }
69
- it { expect(::File.read(target_stub_file3)).to eq("MyValue: 123\n") }
70
- it { expect(::File.read(target_stub_file4)).to eq("MyValue: %%MY_VALUE%%\n") }
67
+ it { expect(File.read(target_stub_file1)).to eq(stub_content1) }
68
+ it { expect(File.exist?(target_stub_file2)).to be(false) }
69
+ it { expect(File.read(target_stub_file3)).to eq("MyValue: 123\n") }
70
+ it { expect(File.read(target_stub_file4)).to eq("MyValue: %%MY_VALUE%%\n") }
71
71
  end
72
72
 
73
- context 'with instance' do
74
- let(:target_stub_file3) { ::File.join(target_dir, 'stub3.txt') }
75
- let(:target_stub_file4) { ::File.join(target_dir, 'stub4.txt') }
73
+ context 'with instance' do # rubocop:disable RSpec/MultipleMemoizedHelpers
74
+ let(:target_stub_file3) { File.join(target_dir, 'stub3.txt') } # rubocop:disable RSpec/IndexedLet
75
+ let(:target_stub_file4) { File.join(target_dir, 'stub4.txt') } # rubocop:disable RSpec/IndexedLet
76
76
 
77
77
  before do
78
- ::EacConfig::Node.context.current.entry('my-instance_dev.my_value').value = '123'
78
+ EacConfig::Node.context.current.entry('my-instance_dev.my_value').value = '123'
79
79
  commit_sha1
80
80
  avm_tools_runner_run('-i', 'my-instance_dev', '--append-dirs', append_dirs, target_dir)
81
81
  end
82
82
 
83
- it { expect(::File.read(target_stub_file1)).to eq(stub_content1) }
84
- it { expect(::File.exist?(target_stub_file2)).to be(false) }
85
- it { expect(::File.read(target_stub_file3)).to eq("MyValue: 123\n") }
86
- it { expect(::File.read(target_stub_file4)).to eq("MyValue: %%MY_VALUE%%\n") }
83
+ it { expect(File.read(target_stub_file1)).to eq(stub_content1) }
84
+ it { expect(File.exist?(target_stub_file2)).to be(false) }
85
+ it { expect(File.read(target_stub_file3)).to eq("MyValue: 123\n") }
86
+ it { expect(File.read(target_stub_file4)).to eq("MyValue: %%MY_VALUE%%\n") }
87
87
  end
88
88
 
89
- context 'with ssh target', docker: true do
90
- let(:ssh_server) { ::Avm::EacUbuntuBase0::Rspec::SshDockerServer.new }
89
+ context 'with ssh target', :docker do # rubocop:disable RSpec/MultipleMemoizedHelpers
90
+ let(:ssh_server) { Avm::EacUbuntuBase0::Rspec::SshDockerServer.new }
91
91
  let(:env) { ssh_server.env }
92
92
  let(:tmpdir) { env.command('mktemp', '-d').execute! }
93
- let(:target_dir) { ::File.join(tmpdir, 'target') }
93
+ let(:target_dir) { File.join(tmpdir, 'target') }
94
94
  let(:target_url) do
95
95
  r = env.uri.dup
96
96
  r.path = target_dir
@@ -109,7 +109,7 @@ require 'tmpdir'
109
109
  it { expect(env.file(target_stub_file1).read).to eq(stub_content1) }
110
110
  it { expect(env.file(target_stub_file2).exist?).to be(false) }
111
111
 
112
- context 'with second commit' do
112
+ context 'with second commit' do # rubocop:disable RSpec/MultipleMemoizedHelpers
113
113
  before do
114
114
  commit_sha2
115
115
  avm_tools_runner_run(target_url)
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'avm/tools/runner'
4
4
 
5
- ::RSpec.describe ::Avm::Tools::Runner::LauncherStereotypes::List do
5
+ RSpec.describe Avm::Tools::Runner::LauncherStereotypes::List do
6
6
  def avm_tools_runner_args_prefix
7
7
  %w[launcher-stereotypes list]
8
8
  end
@@ -5,19 +5,19 @@ require 'avm/tools/runner'
5
5
  require 'tmpdir'
6
6
  require 'fileutils'
7
7
 
8
- ::RSpec.describe ::Avm::Tools::Runner::Source::Issue::Complete, git: true do
8
+ RSpec.describe Avm::Tools::Runner::Source::Issue::Complete, :git do
9
9
  let(:remote_name) { 'origin' }
10
10
  let(:issue_ref) { 'issue_123' }
11
11
  let(:remote_repos) { stubbed_git_local_repo(true) }
12
12
  let(:local_repos) { stubbed_git_local_repo }
13
- let(:eac_local_repos) { ::Avm::Git::Launcher::Base.new(local_repos.root_path.to_path) }
13
+ let(:eac_local_repos) { Avm::Git::Launcher::Base.new(local_repos.root_path.to_path) }
14
14
 
15
15
  context 'when branch is pushed' do
16
16
  before do
17
17
  eac_local_repos.assert_remote_url(remote_name, remote_repos.root_path.to_path)
18
18
  local_repos.command('checkout', '-b', issue_ref).execute!
19
19
  local_repos.file('myfile1.txt').touch
20
- local_repos.file(::Avm::Sources::Base::Configuration::CONFIGURATION_FILENAMES.first).touch
20
+ local_repos.file(Avm::Sources::Base::Configuration::CONFIGURATION_FILENAMES.first).touch
21
21
  local_repos.command('add', '.').execute!
22
22
  local_repos.command('commit', '-m', 'myfile1.txt').execute!
23
23
  local_repos.command('push', 'origin', issue_ref).execute!
@@ -33,7 +33,7 @@ require 'fileutils'
33
33
 
34
34
  context 'when "git issue complete" is called' do
35
35
  before do
36
- ::Avm::Tools::Runner.run(argv: ['source', '-C', eac_local_repos] +
36
+ Avm::Tools::Runner.run(argv: ['source', '-C', eac_local_repos] +
37
37
  %w[issue complete --yes])
38
38
  end
39
39
 
@@ -3,13 +3,13 @@
3
3
  require 'avm/tools/runner'
4
4
  require 'avm/tools/version'
5
5
 
6
- ::RSpec.describe ::Avm::Tools::Runner do
6
+ RSpec.describe Avm::Tools::Runner do
7
7
  let(:argv) { %w[--version] }
8
8
  let(:instance) { described_class.create(argv: argv) }
9
9
 
10
10
  it 'runs' do
11
11
  expect { instance.run }.to(
12
- output("#{::Avm::Tools::VERSION}\n").to_stdout_from_any_process
12
+ output("#{Avm::Tools::VERSION}\n").to_stdout_from_any_process
13
13
  )
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- ::EacRubyUtils::Rspec.default_setup.describe_rubocop
3
+ EacRubyUtils::Rspec.default_setup.describe_rubocop
@@ -1,41 +1,41 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- DUMMY_DIR = ::File.expand_path('../dummy', __dir__)
4
- ROOT_DIR = ::File.expand_path('../..', __dir__)
3
+ DUMMY_DIR = File.expand_path('../dummy', __dir__)
4
+ ROOT_DIR = File.expand_path('../..', __dir__)
5
5
 
6
6
  require 'avm/launcher/context'
7
7
 
8
8
  RSpec.configure do |config|
9
9
  config.before do
10
10
  require 'avm/launcher/context'
11
- ::Avm::Launcher::Context.current = ::Avm::Launcher::Context.new(
11
+ Avm::Launcher::Context.current = Avm::Launcher::Context.new(
12
12
  projects_root: DUMMY_DIR,
13
- settings_file: ::File.join(__dir__, 'eac_launcher', 'settings.yml'),
14
- cache_root: ::Dir.mktmpdir
13
+ settings_file: File.join(__dir__, 'eac_launcher', 'settings.yml'),
14
+ cache_root: Dir.mktmpdir
15
15
  )
16
- @remotes_dir = ::Dir.mktmpdir
17
- allow(::ProgressBar).to receive(:create).and_return(double.as_null_object)
16
+ @remotes_dir = Dir.mktmpdir
17
+ allow(ProgressBar).to receive(:create).and_return(double.as_null_object)
18
18
  end
19
19
 
20
20
  def temp_context(settings_path)
21
21
  require 'avm/launcher/context'
22
22
  require 'tmpdir'
23
- ::Avm::Launcher::Context.current = ::Avm::Launcher::Context.new(
24
- projects_root: ::Dir.mktmpdir, settings_file: settings_path, cache_root: ::Dir.mktmpdir
23
+ Avm::Launcher::Context.current = Avm::Launcher::Context.new(
24
+ projects_root: Dir.mktmpdir, settings_file: settings_path, cache_root: Dir.mktmpdir
25
25
  )
26
26
  end
27
27
 
28
28
  def init_remote(name)
29
29
  require 'avm/git/launcher/base'
30
- r = ::Avm::Git::Launcher::Base.new(::File.join(@remotes_dir, name))
30
+ r = Avm::Git::Launcher::Base.new(File.join(@remotes_dir, name))
31
31
  r.init_bare
32
32
  r
33
33
  end
34
34
 
35
35
  def init_git(subdir)
36
36
  require 'avm/git/launcher/base'
37
- r = ::Avm::Git::Launcher::Base.new(::File.join(::Avm::Launcher::Context.current.root.real,
38
- subdir))
37
+ r = Avm::Git::Launcher::Base.new(File.join(Avm::Launcher::Context.current.root.real,
38
+ subdir))
39
39
  r.git
40
40
  r.execute!('config', 'user.email', 'theuser@example.net')
41
41
  r.execute!('config', 'user.name', 'The User')
@@ -44,8 +44,8 @@ RSpec.configure do |config|
44
44
 
45
45
  def touch_commit(repos, subpath)
46
46
  require 'fileutils'
47
- ::FileUtils.mkdir_p(::File.dirname(repos.subpath(subpath)))
48
- ::FileUtils.touch(repos.subpath(subpath))
47
+ FileUtils.mkdir_p(File.dirname(repos.subpath(subpath)))
48
+ FileUtils.touch(repos.subpath(subpath))
49
49
  repos.execute!('add', repos.subpath(subpath))
50
50
  repos.execute!('commit', '-m', subpath)
51
51
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_ruby_utils/rspec/default_setup'
4
- ::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__))
4
+ EacRubyUtils::Rspec.default_setup_create(File.expand_path('..', __dir__))
5
5
 
6
- APP_ROOT = ::File.expand_path('..', __dir__)
7
- ::EacRubyUtils.require_sub(__FILE__)
6
+ APP_ROOT = File.expand_path('..', __dir__)
7
+ EacRubyUtils.require_sub(__FILE__)
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.85.0
4
+ version: 0.86.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: 2024-02-13 00:00:00.000000000 Z
11
+ date: 2024-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -101,7 +101,7 @@ dependencies:
101
101
  version: '0.3'
102
102
  - - ">="
103
103
  - !ruby/object:Gem::Version
104
- version: 0.3.1
104
+ version: 0.3.2
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
@@ -111,7 +111,7 @@ dependencies:
111
111
  version: '0.3'
112
112
  - - ">="
113
113
  - !ruby/object:Gem::Version
114
- version: 0.3.1
114
+ version: 0.3.2
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: avm-eac_php_base0
117
117
  requirement: !ruby/object:Gem::Requirement
@@ -308,20 +308,14 @@ dependencies:
308
308
  requirements:
309
309
  - - "~>"
310
310
  - !ruby/object:Gem::Version
311
- version: '0.159'
312
- - - ">="
313
- - !ruby/object:Gem::Version
314
- version: 0.159.1
311
+ version: '0.160'
315
312
  type: :runtime
316
313
  prerelease: false
317
314
  version_requirements: !ruby/object:Gem::Requirement
318
315
  requirements:
319
316
  - - "~>"
320
317
  - !ruby/object:Gem::Version
321
- version: '0.159'
322
- - - ">="
323
- - !ruby/object:Gem::Version
324
- version: 0.159.1
318
+ version: '0.160'
325
319
  - !ruby/object:Gem::Dependency
326
320
  name: eac_ruby_utils
327
321
  requirement: !ruby/object:Gem::Requirement
@@ -342,14 +336,14 @@ dependencies:
342
336
  requirements:
343
337
  - - "~>"
344
338
  - !ruby/object:Gem::Version
345
- version: 0.8.0
339
+ version: '0.10'
346
340
  type: :development
347
341
  prerelease: false
348
342
  version_requirements: !ruby/object:Gem::Requirement
349
343
  requirements:
350
344
  - - "~>"
351
345
  - !ruby/object:Gem::Version
352
- version: 0.8.0
346
+ version: '0.10'
353
347
  description:
354
348
  email:
355
349
  executables: []
@@ -360,109 +354,6 @@ files:
360
354
  - Gemfile.lock
361
355
  - lib/eac_tools.rb
362
356
  - lib/eac_tools/version.rb
363
- - sub/avm-eac_asciidoctor_base0/Gemfile
364
- - sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec
365
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb
366
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/documents_owner.rb
367
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/file_formats/base.rb
368
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/file_formats/base/file_resource_name.rb
369
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances.rb
370
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/apache_host.rb
371
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/apache_path.rb
372
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/base.rb
373
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build.rb
374
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb
375
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/body_target.rb
376
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_lines.rb
377
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/media.rb
378
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/pre_process_line.rb
379
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/deploy.rb
380
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros.rb
381
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/base.rb
382
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/breadcrumbs.rb
383
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/child_docs.rb
384
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/child_docs/document_builder.rb
385
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/macros/default_body.rb
386
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/source_generators.rb
387
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/source_generators/base.rb
388
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb
389
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
390
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/instance_to_build.rb
391
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/theme.rb
392
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document.rb
393
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document/media.rb
394
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/document/title.rb
395
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners.rb
396
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb
397
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/document.rb
398
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/document/build.rb
399
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/documents.rb
400
- - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb
401
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/file_formats/base_spec.rb
402
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec.rb
403
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec_files/pre_processed_root_body.adoc
404
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb
405
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/_media/a_media_file
406
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/_media/a_media_file
407
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/body.adoc
408
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc1/title
409
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/body.adoc
410
- - 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
411
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/body.adoc
412
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/doc2_1/title
413
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.source/content/doc2/title
414
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/_media/a_media_file
415
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc1/_media/a_media_file
416
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc1/index.html
417
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/doc2_1/_media/a_media_file
418
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/doc2_1/index.html
419
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/doc2/index.html
420
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec_files/first.target/index.html
421
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec.rb
422
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/content/body.adoc
423
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/content/title
424
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/theme/main.css
425
- - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb
426
- - sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb
427
- - sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb
428
- - sub/avm-eac_asciidoctor_base0/spec/spec_helper/eac_asciidoctor_base0_stubs.rb
429
- - sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/content/body.adoc
430
- - sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/content/title
431
- - sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/theme/main.css
432
- - sub/avm-eac_latex_base0/Gemfile
433
- - sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec
434
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0.rb
435
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/executables.rb
436
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances.rb
437
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/apache_host.rb
438
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/base.rb
439
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/deploy.rb
440
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources.rb
441
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/base.rb
442
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build.rb
443
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/chapters_content.rb
444
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/commons.rb
445
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/copy_files.rb
446
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file.rb
447
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/base_stereotype.rb
448
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
449
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/tex_source.rb
450
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners.rb
451
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/build_chapters.rb
452
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/build_single.rb
453
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/info.rb
454
- - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb
455
- - sub/avm-eac_latex_base0/spec/rubocop_spec.rb
456
- - sub/avm-eac_latex_base0/spec/spec_helper.rb
457
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/instances/deploy/index.html.template
458
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/all.tex
459
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/ebook.tex
460
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/images.tex
461
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/links.tex
462
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/portuguese.tex
463
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/source_code.tex
464
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/source_code/java.tex
465
- - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/utils.tex
466
357
  - sub/avm-eac_php_base0/Gemfile
467
358
  - sub/avm-eac_php_base0/avm-eac_php_base0.gemspec
468
359
  - sub/avm-eac_php_base0/lib/avm/eac_php_base0.rb
@@ -551,26 +442,6 @@ files:
551
442
  - sub/avm-eac_wordpress_base0/spec/rubocop_spec.rb
552
443
  - sub/avm-eac_wordpress_base0/spec/spec_helper.rb
553
444
  - sub/avm-eac_wordpress_base0/template/avm/eac_wordpress_base0/deploy/wp-config.php.template
554
- - sub/avm-files/Gemfile
555
- - sub/avm-files/avm-files.gemspec
556
- - sub/avm-files/lib/avm/files.rb
557
- - sub/avm-files/lib/avm/files/appendable.rb
558
- - sub/avm-files/lib/avm/files/appendable/file_content.rb
559
- - sub/avm-files/lib/avm/files/appendable/plain_directory.rb
560
- - sub/avm-files/lib/avm/files/appendable/resource_base.rb
561
- - sub/avm-files/lib/avm/files/appendable/tar_output_command.rb
562
- - sub/avm-files/lib/avm/files/appendable/templatized_directory.rb
563
- - sub/avm-files/lib/avm/files/appender.rb
564
- - sub/avm-files/lib/avm/files/deploy.rb
565
- - sub/avm-files/lib/avm/files/runner_with.rb
566
- - sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
567
- - sub/avm-files/lib/avm/files/runner_with/filesystem_renamer.rb
568
- - sub/avm-files/lib/avm/files/runner_with/filesystem_traverser.rb
569
- - sub/avm-files/lib/avm/files/text_replacer.rb
570
- - sub/avm-files/lib/avm/files/text_replacer/gsub.rb
571
- - sub/avm-files/lib/avm/files/version.rb
572
- - sub/avm-files/spec/rubocop_spec.rb
573
- - sub/avm-files/spec/spec_helper.rb
574
445
  - sub/avm-tools/Gemfile
575
446
  - sub/avm-tools/README.textile
576
447
  - sub/avm-tools/avm-tools.gemspec
@@ -578,6 +449,10 @@ files:
578
449
  - sub/avm-tools/lib/avm.rb
579
450
  - sub/avm-tools/lib/avm/tools.rb
580
451
  - sub/avm-tools/lib/avm/tools/core_ext.rb
452
+ - sub/avm-tools/lib/avm/tools/rspec.rb
453
+ - sub/avm-tools/lib/avm/tools/rspec/helpers.rb
454
+ - sub/avm-tools/lib/avm/tools/rspec/helpers/runner.rb
455
+ - sub/avm-tools/lib/avm/tools/rspec/setup.rb
581
456
  - sub/avm-tools/lib/avm/tools/runner.rb
582
457
  - sub/avm-tools/lib/avm/tools/runner/application.rb
583
458
  - sub/avm-tools/lib/avm/tools/runner/application/info.rb
@@ -648,12 +523,12 @@ files:
648
523
  - sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb
649
524
  - sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb
650
525
  - sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
526
+ - sub/avm-tools/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec.rb
527
+ - sub/avm-tools/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_settings.yml
528
+ - sub/avm-tools/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec.rb
529
+ - sub/avm-tools/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_settings.yml
651
530
  - sub/avm-tools/spec/lib/avm/launcher/context_spec.rb
652
531
  - sub/avm-tools/spec/lib/avm/launcher/context_spec.yml
653
- - sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec.rb
654
- - sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec_settings.yml
655
- - sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb
656
- - sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec_settings.yml
657
532
  - sub/avm-tools/spec/lib/avm/tools/runner/files/rotate_spec.rb
658
533
  - sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec.rb
659
534
  - sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append1/stub3.txt.template
@@ -663,7 +538,6 @@ files:
663
538
  - sub/avm-tools/spec/lib/avm/tools/runner_spec.rb
664
539
  - sub/avm-tools/spec/rubocop_spec.rb
665
540
  - sub/avm-tools/spec/spec_helper.rb
666
- - sub/avm-tools/spec/spec_helper/avm_tools_runner.rb
667
541
  - sub/avm-tools/spec/spec_helper/eac_launcher.rb
668
542
  - sub/avm-tools/spec/spec_helper/eac_launcher/settings.yml
669
543
  - sub/avm-tools/template/avm/self/docker_image/Dockerfile
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gemspec
6
-
7
- local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local')
8
- eval_gemfile local_gemfile if File.exist?(local_gemfile)
@@ -1,24 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- $LOAD_PATH.push File.expand_path('lib', __dir__)
4
-
5
- require 'avm/eac_asciidoctor_base0/version'
6
-
7
- Gem::Specification.new do |s|
8
- s.name = 'avm-eac_asciidoctor_base0'
9
- s.version = Avm::EacAsciidoctorBase0::VERSION
10
- s.authors = ['Put here the authors']
11
- s.summary = 'Put here de description.'
12
-
13
- s.files = Dir['{lib,template}/**/*']
14
- s.required_ruby_version = '>= 2.7'
15
-
16
- s.add_dependency 'asciidoctor', '~> 2.0', '>= 2.0.20'
17
- s.add_dependency 'avm-eac_webapp_base0', '~> 0.18', '>= 0.18.3'
18
- s.add_dependency 'eac_ruby_utils', '~> 0.121'
19
- s.add_dependency 'os', '~> 1.1', '>= 1.1.4'
20
- s.add_dependency 'rouge', '~> 3.30'
21
-
22
- s.add_development_dependency 'eac_fs', '~> 0.16'
23
- s.add_development_dependency 'eac_ruby_gem_support', '~> 0.9'
24
- end