eac_tools 0.17.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +26 -14
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm/lib/avm/entries/auto_values/uri_entry.rb +24 -0
  5. data/sub/avm/lib/avm/entries/uri_builder.rb +85 -0
  6. data/sub/avm/lib/avm/instances/base/auto_values/install.rb +6 -9
  7. data/sub/avm/lib/avm/instances/base/auto_values.rb +2 -8
  8. data/sub/avm/lib/avm/instances/entry_keys.rb +1 -1
  9. data/sub/avm/lib/avm/version.rb +1 -1
  10. data/sub/avm/spec/lib/avm/instances/base_spec.rb +18 -1
  11. data/sub/avm/spec/lib/avm/instances/base_spec_configs_storage.yml +6 -0
  12. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/instances/base.rb +12 -0
  13. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/instances.rb +11 -0
  14. data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/version.rb +1 -1
  15. data/sub/avm-eac_latex_base0/Gemfile +8 -0
  16. data/sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec +20 -0
  17. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/apache_host.rb +19 -0
  18. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/base.rb +13 -0
  19. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/deploy.rb +38 -0
  20. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances.rb +11 -0
  21. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/base.rb +44 -0
  22. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/chapters_content.rb +49 -0
  23. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/commons.rb +16 -0
  24. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/copy_files.rb +45 -0
  25. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/base_stereotype.rb +23 -0
  26. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb +27 -0
  27. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/tex_source.rb +37 -0
  28. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file.rb +49 -0
  29. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build.rb +119 -0
  30. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/build_chapters.rb +43 -0
  31. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/build_single.rb +33 -0
  32. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/info.rb +32 -0
  33. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners.rb +13 -0
  34. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources.rb +11 -0
  35. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb +7 -0
  36. data/sub/{avm-tools/lib/avm/eac_writings_base0.rb → avm-eac_latex_base0/lib/avm/eac_latex_base0.rb} +1 -1
  37. data/sub/avm-eac_latex_base0/spec/rubocop_spec.rb +3 -0
  38. data/sub/avm-eac_latex_base0/spec/spec_helper.rb +4 -0
  39. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build}/commons/all.tex +0 -0
  40. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build}/commons/ebook.tex +0 -0
  41. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build}/commons/images.tex +0 -0
  42. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build}/commons/links.tex +0 -0
  43. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build}/commons/portuguese.tex +0 -0
  44. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build}/commons/source_code/java.tex +0 -0
  45. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build}/commons/source_code.tex +0 -0
  46. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build}/commons/utils.tex +0 -0
  47. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/preferred_version_requirements.rb +43 -0
  48. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +1 -1
  49. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_local.rb +84 -0
  50. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/update_dependencies_requirements.rb +48 -0
  51. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update_dependency_requirements.rb +51 -0
  52. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  53. data/sub/avm-eac_ruby_base1/locale/en.yml +2 -0
  54. data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +2 -0
  55. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/preferred_version_requirements_spec.rb +23 -0
  56. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile +3 -0
  57. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/mygem/Gemfile +3 -0
  58. data/sub/avm-eac_ruby_base1/template/avm/eac_ruby_base1/source_generators/base/static/Gemfile +3 -0
  59. data/sub/avm-eac_wordpress_base0/avm-eac_wordpress_base0.gemspec +1 -0
  60. data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb +2 -2
  61. data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/version.rb +1 -1
  62. data/sub/avm-eac_wordpress_base0/spec/lib/avm/eac_wordpress_base0/instances/apache_host_spec.rb +4 -3
  63. data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
  64. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +5 -1
  65. data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
  66. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/addressable/uri/query_value.rb +37 -0
  67. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/addressable/uri.rb +4 -0
  68. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/addressable.rb +4 -0
  69. data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  70. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/addressable/uri/query_value_spec.rb +25 -0
  71. metadata +89 -37
  72. data/sub/avm/lib/avm/instances/base/auto_values/system.rb +0 -23
  73. data/sub/avm-tools/lib/avm/eac_writings_base0/apache_host.rb +0 -17
  74. data/sub/avm-tools/lib/avm/eac_writings_base0/commons.rb +0 -12
  75. data/sub/avm-tools/lib/avm/eac_writings_base0/deploy.rb +0 -36
  76. data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/base_stereotype.rb +0 -19
  77. data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb +0 -23
  78. data/sub/avm-tools/lib/avm/eac_writings_base0/file_build/tex_source.rb +0 -33
  79. data/sub/avm-tools/lib/avm/eac_writings_base0/file_build.rb +0 -45
  80. data/sub/avm-tools/lib/avm/eac_writings_base0/instance.rb +0 -11
  81. data/sub/avm-tools/lib/avm/eac_writings_base0/project.rb +0 -33
  82. data/sub/avm-tools/lib/avm/eac_writings_base0/project_build/chapters_content.rb +0 -47
  83. data/sub/avm-tools/lib/avm/eac_writings_base0/project_build/copy_files.rb +0 -42
  84. data/sub/avm-tools/lib/avm/eac_writings_base0/project_build.rb +0 -117
  85. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_chapters.rb +0 -45
  86. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_single.rb +0 -35
  87. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb +0 -34
  88. data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0.rb +0 -33
  89. data/sub/avm-tools/lib/avm/tools/runner/eac_writings_base0.rb +0 -14
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRubyBase1
5
- VERSION = '0.13.0'
5
+ VERSION = '0.17.0'
6
6
  end
7
7
  end
@@ -6,3 +6,5 @@ en:
6
6
  no_scm_update_commit_message: "Gem \"%{name}\" (Local): update to '%{version}'."
7
7
  scm_update_commit_message: '**/.gitrepo: fix/update.'
8
8
  update_gemfile_lock_commit_message: 'All gems: update.'
9
+ update_dependency_requirements:
10
+ commit_message: "Gem \"%{name}\": update to '%{requirements_list}'."
@@ -6,3 +6,5 @@ pt-BR:
6
6
  no_scm_update_commit_message: "Gem \"%{name}\" (Local): atualiza para '%{version}'."
7
7
  scm_update_commit_message: '**/.gitrepo: conserta/atualiza.'
8
8
  update_gemfile_lock_commit_message: 'Todas as gems: atualiza.'
9
+ update_dependency_requirements:
10
+ commit_message: "Gem \"%{name}\": atualiza para to '%{requirements_list}'."
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/eac_ruby_base1/preferred_version_requirements'
4
+
5
+ ::RSpec.describe ::Avm::EacRubyBase1::PreferredVersionRequirements do
6
+ describe '#to_requirements_list' do
7
+ {
8
+ '0.1.0' => ['~> 0.1'],
9
+ '0.1.1' => ['~> 0.1', '>= 0.1.1'],
10
+ '0.5' => ['~> 0.5'],
11
+ '4.2.11.3' => ['~> 4.2.11', '>= 4.2.11.3'],
12
+ '1' => ['~> 1.0']
13
+ }.each do |source, expected|
14
+ context "when version is \"#{source}\"" do
15
+ subject(:instance) { described_class.new(source) }
16
+
17
+ it do
18
+ expect(instance.to_requirements_list).to eq(expected)
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -3,3 +3,6 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -3,3 +3,6 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -3,3 +3,6 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
12
12
 
13
13
  s.files = Dir['{lib,template}/**/*']
14
14
 
15
+ s.add_dependency 'avm', '~> 0.35'
15
16
  s.add_dependency 'avm-eac_webapp_base0', '~> 0.3', '>= 0.3.1'
16
17
  s.add_dependency 'eac_ruby_utils', '~> 0.97'
17
18
 
@@ -15,11 +15,11 @@ module Avm
15
15
  end
16
16
 
17
17
  def system_user
18
- instance.read_entry('system.username')
18
+ instance.install_username
19
19
  end
20
20
 
21
21
  def system_group
22
- instance.read_entry('system.groupname')
22
+ instance.install_groupname
23
23
  end
24
24
  end
25
25
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacWordpressBase0
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'avm/instances/entry_keys'
3
4
  require 'avm/eac_wordpress_base0/instances/apache_host'
4
5
  require 'avm/eac_wordpress_base0/instances/base'
5
6
 
@@ -12,9 +13,9 @@ RSpec.describe ::Avm::EacWordpressBase0::Instances::ApacheHost do
12
13
  end
13
14
 
14
15
  before do
15
- instance.entry('fs_path').write('/path/to/stub-app_0')
16
- instance.entry('web.url').write('http://stubapp.net')
17
- instance.entry('system.username').write('myuser')
16
+ instance.entry(::Avm::Instances::EntryKeys::FS_PATH).write('/path/to/stub-app_0')
17
+ instance.entry(::Avm::Instances::EntryKeys::WEB_URL).write('http://stubapp.net')
18
+ instance.entry(::Avm::Instances::EntryKeys::INSTALL_USERNAME).write('myuser')
18
19
  end
19
20
 
20
21
  it do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.130.0'
5
+ VERSION = '0.131.0'
6
6
  end
7
7
  end
@@ -47,6 +47,10 @@ module EacCli
47
47
  end
48
48
  end
49
49
 
50
+ def available_subcommands_to_s
51
+ available_subcommands.keys.sort.join(', ')
52
+ end
53
+
50
54
  def help_extra_text
51
55
  (['Subcommands:'] + available_subcommands.keys.sort.map { |s| " #{s}" })
52
56
  .map { |v| "#{v}\n" }.join
@@ -101,7 +105,7 @@ module EacCli
101
105
  raise(::EacCli::Parser::Error.new(
102
106
  self.class.runner_definition, runner_context.argv,
103
107
  "Subcommand \"#{subcommand_name}\" not found " \
104
- "(Available: #{available_subcommands.keys})"
108
+ "(Available: #{available_subcommands_to_s})"
105
109
  ))
106
110
  end
107
111
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacCli
4
- VERSION = '0.27.7'
4
+ VERSION = '0.27.8'
5
5
  end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'addressable'
4
+
5
+ module Addressable
6
+ class URI
7
+ # @return [ActiveSupport:HashWithIndifferentAccess]
8
+ def hash_query_values
9
+ (query_values || {}).with_indifferent_access
10
+ end
11
+
12
+ def query_value(*args)
13
+ if args.count == 1
14
+ query_value_get(*args)
15
+ elsif args.count == 2
16
+ query_value_set(*args)
17
+ else
18
+ raise ::ArgumentError, "#{object.class}.#{__method__}: wrong number of arguments" \
19
+ " (given #{args.count}, expected 1..2)"
20
+ end
21
+ end
22
+
23
+ private
24
+
25
+ def query_value_get(name)
26
+ hash_query_values[name]
27
+ end
28
+
29
+ def query_value_set(name, value)
30
+ new_query_values = hash_query_values
31
+ new_query_values[name] = value
32
+ self.query_values = new_query_values
33
+
34
+ self
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/require_sub'
4
+ ::EacRubyUtils.require_sub __FILE__
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/require_sub'
4
+ ::EacRubyUtils.require_sub __FILE__
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.97.0'
4
+ VERSION = '0.98.0'
5
5
  end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/patches/addressable/uri/query_value'
4
+
5
+ RSpec.describe ::Addressable::URI do
6
+ subject(:instance) { described_class.parse('http://example.net') }
7
+
8
+ it { expect(instance.query_values).to be_nil }
9
+ it { expect(instance.hash_query_values).to eq({}) }
10
+
11
+ it { expect(instance.query_value('param1')).to be_nil }
12
+ it { expect(instance.query_value(:param1)).to be_nil }
13
+
14
+ context 'when param is set' do
15
+ let(:set_result) { instance.query_value(:param1, :value1) }
16
+
17
+ before { set_result }
18
+
19
+ it { expect(set_result).to eq(instance) }
20
+ it { expect(instance.query_values).to eq({ 'param1' => 'value1' }) }
21
+ it { expect(instance.hash_query_values).to eq({ 'param1' => 'value1' }) }
22
+ it { expect(instance.query_value('param1')).to eq('value1') }
23
+ it { expect(instance.query_value(:param1)).to eq('value1') }
24
+ end
25
+ end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.20.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: 2022-08-05 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: avm
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.35'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.35'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: avm-eac_asciidoctor_base0
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -30,14 +44,28 @@ dependencies:
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '0.4'
47
+ version: '0.5'
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '0.4'
54
+ version: '0.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: avm-eac_latex_base0
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.1'
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: avm-eac_rails_base0
43
71
  requirement: !ruby/object:Gem::Requirement
@@ -112,14 +140,14 @@ dependencies:
112
140
  requirements:
113
141
  - - "~>"
114
142
  - !ruby/object:Gem::Version
115
- version: '0.13'
143
+ version: '0.17'
116
144
  type: :runtime
117
145
  prerelease: false
118
146
  version_requirements: !ruby/object:Gem::Requirement
119
147
  requirements:
120
148
  - - "~>"
121
149
  - !ruby/object:Gem::Version
122
- version: '0.13'
150
+ version: '0.17'
123
151
  - !ruby/object:Gem::Dependency
124
152
  name: avm-eac_webapp_base0
125
153
  requirement: !ruby/object:Gem::Requirement
@@ -147,6 +175,9 @@ dependencies:
147
175
  - - "~>"
148
176
  - !ruby/object:Gem::Version
149
177
  version: '0.1'
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: 0.1.1
150
181
  type: :runtime
151
182
  prerelease: false
152
183
  version_requirements: !ruby/object:Gem::Requirement
@@ -154,34 +185,37 @@ dependencies:
154
185
  - - "~>"
155
186
  - !ruby/object:Gem::Version
156
187
  version: '0.1'
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: 0.1.1
157
191
  - !ruby/object:Gem::Dependency
158
192
  name: avm-tools
159
193
  requirement: !ruby/object:Gem::Requirement
160
194
  requirements:
161
195
  - - "~>"
162
196
  - !ruby/object:Gem::Version
163
- version: '0.130'
197
+ version: '0.131'
164
198
  type: :runtime
165
199
  prerelease: false
166
200
  version_requirements: !ruby/object:Gem::Requirement
167
201
  requirements:
168
202
  - - "~>"
169
203
  - !ruby/object:Gem::Version
170
- version: '0.130'
204
+ version: '0.131'
171
205
  - !ruby/object:Gem::Dependency
172
206
  name: eac_ruby_utils
173
207
  requirement: !ruby/object:Gem::Requirement
174
208
  requirements:
175
209
  - - "~>"
176
210
  - !ruby/object:Gem::Version
177
- version: '0.97'
211
+ version: '0.98'
178
212
  type: :runtime
179
213
  prerelease: false
180
214
  version_requirements: !ruby/object:Gem::Requirement
181
215
  requirements:
182
216
  - - "~>"
183
217
  - !ruby/object:Gem::Version
184
- version: '0.97'
218
+ version: '0.98'
185
219
  - !ruby/object:Gem::Dependency
186
220
  name: eac_ruby_gem_support
187
221
  requirement: !ruby/object:Gem::Requirement
@@ -230,6 +264,8 @@ files:
230
264
  - sub/avm-eac_generic_base0/Gemfile
231
265
  - sub/avm-eac_generic_base0/avm-eac_generic_base0.gemspec
232
266
  - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0.rb
267
+ - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/instances.rb
268
+ - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/instances/base.rb
233
269
  - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources.rb
234
270
  - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base.rb
235
271
  - sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base/version_bump.rb
@@ -241,6 +277,38 @@ files:
241
277
  - sub/avm-eac_generic_base0/spec/lib/avm/eac_generic_base0/sources/base_spec.rb
242
278
  - sub/avm-eac_generic_base0/spec/rubocop_spec.rb
243
279
  - sub/avm-eac_generic_base0/spec/spec_helper.rb
280
+ - sub/avm-eac_latex_base0/Gemfile
281
+ - sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec
282
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0.rb
283
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances.rb
284
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/apache_host.rb
285
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/base.rb
286
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/deploy.rb
287
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources.rb
288
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/base.rb
289
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build.rb
290
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/chapters_content.rb
291
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/commons.rb
292
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/copy_files.rb
293
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file.rb
294
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/base_stereotype.rb
295
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
296
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/tex_source.rb
297
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners.rb
298
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/build_chapters.rb
299
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/build_single.rb
300
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/runners/info.rb
301
+ - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb
302
+ - sub/avm-eac_latex_base0/spec/rubocop_spec.rb
303
+ - sub/avm-eac_latex_base0/spec/spec_helper.rb
304
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/all.tex
305
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/ebook.tex
306
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/images.tex
307
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/links.tex
308
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/portuguese.tex
309
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/source_code.tex
310
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/source_code/java.tex
311
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/utils.tex
244
312
  - sub/avm-eac_rails_base0/Gemfile
245
313
  - sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec
246
314
  - sub/avm-eac_rails_base0/lib/avm/eac_rails_base0.rb
@@ -368,6 +436,7 @@ files:
368
436
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb
369
437
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb
370
438
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb
439
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/preferred_version_requirements.rb
371
440
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb
372
441
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb
373
442
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
@@ -388,7 +457,9 @@ files:
388
457
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb
389
458
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb
390
459
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb
460
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_local.rb
391
461
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb
462
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/update_dependencies_requirements.rb
392
463
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests.rb
393
464
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/base.rb
394
465
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/minitest.rb
@@ -398,6 +469,7 @@ files:
398
469
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/rspec.rb
399
470
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb
400
471
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb
472
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update_dependency_requirements.rb
401
473
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb
402
474
  - sub/avm-eac_ruby_base1/locale/en.yml
403
475
  - sub/avm-eac_ruby_base1/locale/pt-BR.yml
@@ -406,6 +478,7 @@ files:
406
478
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml
407
479
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out
408
480
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml
481
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/preferred_version_requirements_spec.rb
409
482
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb
410
483
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec_files/a_version_file.rb
411
484
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec.rb
@@ -486,19 +559,6 @@ files:
486
559
  - sub/avm-tools/avm-tools.gemspec
487
560
  - sub/avm-tools/exe/avm
488
561
  - sub/avm-tools/lib/avm.rb
489
- - sub/avm-tools/lib/avm/eac_writings_base0.rb
490
- - sub/avm-tools/lib/avm/eac_writings_base0/apache_host.rb
491
- - sub/avm-tools/lib/avm/eac_writings_base0/commons.rb
492
- - sub/avm-tools/lib/avm/eac_writings_base0/deploy.rb
493
- - sub/avm-tools/lib/avm/eac_writings_base0/file_build.rb
494
- - sub/avm-tools/lib/avm/eac_writings_base0/file_build/base_stereotype.rb
495
- - sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
496
- - sub/avm-tools/lib/avm/eac_writings_base0/file_build/tex_source.rb
497
- - sub/avm-tools/lib/avm/eac_writings_base0/instance.rb
498
- - sub/avm-tools/lib/avm/eac_writings_base0/project.rb
499
- - sub/avm-tools/lib/avm/eac_writings_base0/project_build.rb
500
- - sub/avm-tools/lib/avm/eac_writings_base0/project_build/chapters_content.rb
501
- - sub/avm-tools/lib/avm/eac_writings_base0/project_build/copy_files.rb
502
562
  - sub/avm-tools/lib/avm/launcher/context.rb
503
563
  - sub/avm-tools/lib/avm/launcher/context/instance_collector.rb
504
564
  - sub/avm-tools/lib/avm/launcher/context/instance_discovery.rb
@@ -564,10 +624,6 @@ files:
564
624
  - sub/avm-tools/lib/avm/tools/core_ext.rb
565
625
  - sub/avm-tools/lib/avm/tools/runner.rb
566
626
  - sub/avm-tools/lib/avm/tools/runner/app_src.rb
567
- - sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0.rb
568
- - sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_chapters.rb
569
- - sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_single.rb
570
- - sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
571
627
  - sub/avm-tools/lib/avm/tools/runner/app_src/info.rb
572
628
  - sub/avm-tools/lib/avm/tools/runner/app_src/issue.rb
573
629
  - sub/avm-tools/lib/avm/tools/runner/app_src/issue/complete.rb
@@ -585,7 +641,6 @@ files:
585
641
  - sub/avm-tools/lib/avm/tools/runner/config.rb
586
642
  - sub/avm-tools/lib/avm/tools/runner/config/load_path.rb
587
643
  - sub/avm-tools/lib/avm/tools/runner/eac_webapp_base0.rb
588
- - sub/avm-tools/lib/avm/tools/runner/eac_writings_base0.rb
589
644
  - sub/avm-tools/lib/avm/tools/runner/files.rb
590
645
  - sub/avm-tools/lib/avm/tools/runner/files/format.rb
591
646
  - sub/avm-tools/lib/avm/tools/runner/files/rotate.rb
@@ -683,14 +738,6 @@ files:
683
738
  - sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/id_rsa.pub
684
739
  - sub/avm-tools/spec/spec_helper/stubbed_docker_server.rb
685
740
  - sub/avm-tools/spec/spec_helper/templates.rb
686
- - sub/avm-tools/template/avm/eac_writings_base0/commons/all.tex
687
- - sub/avm-tools/template/avm/eac_writings_base0/commons/ebook.tex
688
- - sub/avm-tools/template/avm/eac_writings_base0/commons/images.tex
689
- - sub/avm-tools/template/avm/eac_writings_base0/commons/links.tex
690
- - sub/avm-tools/template/avm/eac_writings_base0/commons/portuguese.tex
691
- - sub/avm-tools/template/avm/eac_writings_base0/commons/source_code.tex
692
- - sub/avm-tools/template/avm/eac_writings_base0/commons/source_code/java.tex
693
- - sub/avm-tools/template/avm/eac_writings_base0/commons/utils.tex
694
741
  - sub/avm-tools/template/avm/eac_writings_base0/deploy/index.html.template
695
742
  - sub/avm-tools/template/avm/self/docker_image/Dockerfile
696
743
  - sub/avm-tools/template/avm/self/docker_image/entrypoint.sh
@@ -718,8 +765,10 @@ files:
718
765
  - sub/avm/lib/avm/entries.rb
719
766
  - sub/avm/lib/avm/entries/auto_values.rb
720
767
  - sub/avm/lib/avm/entries/auto_values/entry.rb
768
+ - sub/avm/lib/avm/entries/auto_values/uri_entry.rb
721
769
  - sub/avm/lib/avm/entries/base.rb
722
770
  - sub/avm/lib/avm/entries/entry.rb
771
+ - sub/avm/lib/avm/entries/uri_builder.rb
723
772
  - sub/avm/lib/avm/executables.rb
724
773
  - sub/avm/lib/avm/instances.rb
725
774
  - sub/avm/lib/avm/instances/base.rb
@@ -732,7 +781,6 @@ files:
732
781
  - sub/avm/lib/avm/instances/base/auto_values/mailer.rb
733
782
  - sub/avm/lib/avm/instances/base/auto_values/ruby.rb
734
783
  - sub/avm/lib/avm/instances/base/auto_values/source.rb
735
- - sub/avm/lib/avm/instances/base/auto_values/system.rb
736
784
  - sub/avm/lib/avm/instances/base/auto_values/web.rb
737
785
  - sub/avm/lib/avm/instances/base/dockerizable.rb
738
786
  - sub/avm/lib/avm/instances/base/entry_keys.rb
@@ -1059,6 +1107,9 @@ files:
1059
1107
  - sub/eac_ruby_utils/lib/eac_ruby_utils/options_consumer.rb
1060
1108
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patch.rb
1061
1109
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches.rb
1110
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/addressable.rb
1111
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/addressable/uri.rb
1112
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/addressable/uri/query_value.rb
1062
1113
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class.rb
1063
1114
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/abstract.rb
1064
1115
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/common_constructor.rb
@@ -1161,6 +1212,7 @@ files:
1161
1212
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/local_time_zone_spec.rb
1162
1213
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/method_class_spec.rb
1163
1214
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb
1215
+ - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/addressable/uri/query_value_spec.rb
1164
1216
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
1165
1217
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/self_included_modules_spec.rb
1166
1218
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'addressable'
4
-
5
- module Avm
6
- module Instances
7
- class Base
8
- module AutoValues
9
- module System
10
- def auto_system_username
11
- inherited_entry_value(::Avm::Instances::EntryKeys::INSTALL_ID, 'system.username') ||
12
- read_entry_optional(::Avm::Instances::EntryKeys::INSTALL_USERNAME)
13
- end
14
-
15
- def auto_system_groupname
16
- inherited_entry_value(::Avm::Instances::EntryKeys::INSTALL_ID, 'system.groupname') ||
17
- read_entry_optional('system.username')
18
- end
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/eac_webapp_base0/apache_host'
4
-
5
- module Avm
6
- module EacWritingsBase0
7
- class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
8
- def document_root
9
- instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
10
- end
11
-
12
- def extra_content
13
- ''
14
- end
15
- end
16
- end
17
- end
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_templates/core_ext'
4
- require 'singleton'
5
-
6
- module Avm
7
- module EacWritingsBase0
8
- class Commons
9
- include ::Singleton
10
- end
11
- end
12
- end
@@ -1,36 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/eac_webapp_base0/deploy'
4
- require 'avm/eac_writings_base0/project'
5
- require 'avm/eac_writings_base0/project_build'
6
-
7
- module Avm
8
- module EacWritingsBase0
9
- class Deploy < ::Avm::EacWebappBase0::Deploy
10
- def build_content
11
- ::Avm::EacWritingsBase0::ProjectBuild.new(project, output_file:
12
- build_dir.join(pdf_path))
13
- end
14
-
15
- def title
16
- instance.id.humanize
17
- end
18
-
19
- def pdf_path
20
- "#{instance.id.underscore}.pdf"
21
- end
22
-
23
- def variables_source
24
- self
25
- end
26
-
27
- private
28
-
29
- def project_uncached
30
- ::Avm::EacWritingsBase0::Project.new(
31
- instance.source_instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
32
- )
33
- end
34
- end
35
- end
36
- end