eac_tools 0.82.0 → 0.83.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +45 -40
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm/avm.gemspec +4 -3
  5. data/sub/avm/lib/avm/data/rotate.rb +1 -1
  6. data/sub/avm/lib/avm/launcher/instances/base/publishing.rb +1 -1
  7. data/sub/avm/lib/avm/registry/from_gems.rb +2 -2
  8. data/sub/avm/lib/avm/rspec/shared_examples/avm_file_formats_with_fixtures.rb +0 -1
  9. data/sub/avm/lib/avm/source_generators/base.rb +1 -0
  10. data/sub/avm/lib/avm/source_generators/runner.rb +6 -0
  11. data/sub/avm/lib/avm/sources/tests/builder.rb +1 -1
  12. data/sub/avm/lib/avm/version.rb +1 -1
  13. data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/avm-tools_stub/avm-tools.gemspec +1 -0
  14. data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/ruby_gem_stub/ruby_gem_stub.gemspec +1 -0
  15. data/sub/avm-eac_asciidoctor_base0/Gemfile +2 -2
  16. data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +6 -5
  17. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_lines.rb +5 -3
  18. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb +2 -2
  19. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document.rb +2 -2
  20. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +1 -3
  21. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
  22. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/file_formats/base_spec.rb +1 -1
  23. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec.rb +18 -18
  24. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec_files/pre_processed_root_body.adoc +1 -0
  25. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb +3 -3
  26. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec.rb +1 -1
  27. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb +2 -2
  28. data/sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +1 -1
  29. data/sub/avm-eac_asciidoctor_base0/spec/spec_helper/eac_asciidoctor_base0_stubs.rb +1 -1
  30. data/sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb +3 -3
  31. data/sub/avm-eac_python_base0/Gemfile +2 -2
  32. data/sub/avm-eac_python_base0/avm-eac_python_base0.gemspec +5 -4
  33. data/sub/avm-eac_python_base0/lib/avm/eac_python_base0/executables.rb +1 -1
  34. data/sub/avm-eac_python_base0/lib/avm/eac_python_base0/version.rb +1 -1
  35. data/sub/avm-eac_python_base0/spec/lib/avm/eac_python_base0/file_formats/base_spec.rb +1 -1
  36. data/sub/avm-eac_python_base0/spec/lib/avm/eac_python_base0/file_formats/base_spec_files/python_code.source +1 -1
  37. data/sub/avm-eac_python_base0/spec/lib/avm/eac_python_base0/file_formats/base_spec_files/python_code.target +1 -1
  38. data/sub/avm-eac_python_base0/spec/rubocop_spec.rb +1 -1
  39. data/sub/avm-eac_python_base0/spec/spec_helper.rb +1 -1
  40. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +2 -2
  41. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop_command.rb +2 -1
  42. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  43. metadata +14 -144
  44. data/sub/eac_cli/Gemfile +0 -8
  45. data/sub/eac_cli/eac_cli.gemspec +0 -22
  46. data/sub/eac_cli/lib/eac_cli/config/entry/options.rb +0 -58
  47. data/sub/eac_cli/lib/eac_cli/config/entry/undefined.rb +0 -31
  48. data/sub/eac_cli/lib/eac_cli/config/entry.rb +0 -60
  49. data/sub/eac_cli/lib/eac_cli/config.rb +0 -17
  50. data/sub/eac_cli/lib/eac_cli/core_ext.rb +0 -6
  51. data/sub/eac_cli/lib/eac_cli/default_runner.rb +0 -14
  52. data/sub/eac_cli/lib/eac_cli/definition/alternative.rb +0 -105
  53. data/sub/eac_cli/lib/eac_cli/definition/argument_option.rb +0 -21
  54. data/sub/eac_cli/lib/eac_cli/definition/boolean_option.rb +0 -27
  55. data/sub/eac_cli/lib/eac_cli/definition/error.rb +0 -8
  56. data/sub/eac_cli/lib/eac_cli/definition/option/initialize_args_parser.rb +0 -48
  57. data/sub/eac_cli/lib/eac_cli/definition/option.rb +0 -73
  58. data/sub/eac_cli/lib/eac_cli/definition/option_or_positional.rb +0 -43
  59. data/sub/eac_cli/lib/eac_cli/definition/positional.rb +0 -53
  60. data/sub/eac_cli/lib/eac_cli/definition.rb +0 -109
  61. data/sub/eac_cli/lib/eac_cli/enum.rb +0 -45
  62. data/sub/eac_cli/lib/eac_cli/old_configs/entry_reader.rb +0 -80
  63. data/sub/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb +0 -16
  64. data/sub/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb +0 -44
  65. data/sub/eac_cli/lib/eac_cli/old_configs/store_passwords_entry_reader.rb +0 -25
  66. data/sub/eac_cli/lib/eac_cli/old_configs.rb +0 -35
  67. data/sub/eac_cli/lib/eac_cli/parser/alternative/any_options.rb +0 -19
  68. data/sub/eac_cli/lib/eac_cli/parser/alternative/argv.rb +0 -19
  69. data/sub/eac_cli/lib/eac_cli/parser/alternative/double_dash.rb +0 -24
  70. data/sub/eac_cli/lib/eac_cli/parser/alternative/long_options.rb +0 -37
  71. data/sub/eac_cli/lib/eac_cli/parser/alternative/option_argument.rb +0 -29
  72. data/sub/eac_cli/lib/eac_cli/parser/alternative/options.rb +0 -29
  73. data/sub/eac_cli/lib/eac_cli/parser/alternative/positionals.rb +0 -30
  74. data/sub/eac_cli/lib/eac_cli/parser/alternative/short_options.rb +0 -54
  75. data/sub/eac_cli/lib/eac_cli/parser/alternative.rb +0 -103
  76. data/sub/eac_cli/lib/eac_cli/parser/collector.rb +0 -55
  77. data/sub/eac_cli/lib/eac_cli/parser/error.rb +0 -15
  78. data/sub/eac_cli/lib/eac_cli/parser.rb +0 -34
  79. data/sub/eac_cli/lib/eac_cli/patches/object/runner_with.rb +0 -26
  80. data/sub/eac_cli/lib/eac_cli/patches/object.rb +0 -5
  81. data/sub/eac_cli/lib/eac_cli/patches.rb +0 -4
  82. data/sub/eac_cli/lib/eac_cli/rspec/setup.rb +0 -42
  83. data/sub/eac_cli/lib/eac_cli/rspec.rb +0 -9
  84. data/sub/eac_cli/lib/eac_cli/runner/after_class_methods.rb +0 -38
  85. data/sub/eac_cli/lib/eac_cli/runner/class_runner.rb +0 -36
  86. data/sub/eac_cli/lib/eac_cli/runner/context.rb +0 -63
  87. data/sub/eac_cli/lib/eac_cli/runner/context_responders/base.rb +0 -24
  88. data/sub/eac_cli/lib/eac_cli/runner/context_responders/parent.rb +0 -27
  89. data/sub/eac_cli/lib/eac_cli/runner/context_responders/runner.rb +0 -20
  90. data/sub/eac_cli/lib/eac_cli/runner/context_responders/runner_missing_method.rb +0 -32
  91. data/sub/eac_cli/lib/eac_cli/runner/context_responders/set.rb +0 -44
  92. data/sub/eac_cli/lib/eac_cli/runner/context_responders.rb +0 -11
  93. data/sub/eac_cli/lib/eac_cli/runner/exit.rb +0 -14
  94. data/sub/eac_cli/lib/eac_cli/runner/for_context.rb +0 -40
  95. data/sub/eac_cli/lib/eac_cli/runner/instance_methods.rb +0 -45
  96. data/sub/eac_cli/lib/eac_cli/runner.rb +0 -50
  97. data/sub/eac_cli/lib/eac_cli/runner_with/confirmation.rb +0 -44
  98. data/sub/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb +0 -63
  99. data/sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb +0 -81
  100. data/sub/eac_cli/lib/eac_cli/runner_with/help/layout.rb +0 -40
  101. data/sub/eac_cli/lib/eac_cli/runner_with/help.rb +0 -53
  102. data/sub/eac_cli/lib/eac_cli/runner_with/input.rb +0 -36
  103. data/sub/eac_cli/lib/eac_cli/runner_with/output.rb +0 -58
  104. data/sub/eac_cli/lib/eac_cli/runner_with/output_item/base_formatter.rb +0 -15
  105. data/sub/eac_cli/lib/eac_cli/runner_with/output_item/csv_formatter.rb +0 -23
  106. data/sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb +0 -18
  107. data/sub/eac_cli/lib/eac_cli/runner_with/output_item.rb +0 -42
  108. data/sub/eac_cli/lib/eac_cli/runner_with/output_list/base_formatter.rb +0 -30
  109. data/sub/eac_cli/lib/eac_cli/runner_with/output_list/csv_formatter.rb +0 -26
  110. data/sub/eac_cli/lib/eac_cli/runner_with/output_list/yaml_formatter.rb +0 -23
  111. data/sub/eac_cli/lib/eac_cli/runner_with/output_list.rb +0 -42
  112. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands/definition_concern.rb +0 -10
  113. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +0 -129
  114. data/sub/eac_cli/lib/eac_cli/runner_with.rb +0 -9
  115. data/sub/eac_cli/lib/eac_cli/runner_with_set.rb +0 -56
  116. data/sub/eac_cli/lib/eac_cli/speaker/constants.rb +0 -13
  117. data/sub/eac_cli/lib/eac_cli/speaker/input_blocked.rb +0 -16
  118. data/sub/eac_cli/lib/eac_cli/speaker/input_requested.rb +0 -8
  119. data/sub/eac_cli/lib/eac_cli/speaker/list.rb +0 -61
  120. data/sub/eac_cli/lib/eac_cli/speaker/options.rb +0 -38
  121. data/sub/eac_cli/lib/eac_cli/speaker.rb +0 -127
  122. data/sub/eac_cli/lib/eac_cli/version.rb +0 -5
  123. data/sub/eac_cli/lib/eac_cli.rb +0 -7
  124. data/sub/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb +0 -18
  125. data/sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb +0 -14
  126. data/sub/eac_cli/spec/lib/eac_cli/parser/alternative/subcommands_spec.rb +0 -58
  127. data/sub/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb +0 -89
  128. data/sub/eac_cli/spec/lib/eac_cli/runner/for_context_spec.rb +0 -79
  129. data/sub/eac_cli/spec/lib/eac_cli/runner_spec.rb +0 -129
  130. data/sub/eac_cli/spec/lib/eac_cli/runner_with/confirmation_spec.rb +0 -42
  131. data/sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb +0 -21
  132. data/sub/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb +0 -51
  133. data/sub/eac_cli/spec/lib/eac_cli/runner_with/output_spec.rb +0 -81
  134. data/sub/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb +0 -98
  135. data/sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb +0 -32
  136. data/sub/eac_cli/spec/rubocop_spec.rb +0 -3
  137. data/sub/eac_cli/spec/spec_helper.rb +0 -4
  138. data/sub/eac_config/Gemfile +0 -8
  139. data/sub/eac_config/eac_config.gemspec +0 -19
  140. data/sub/eac_config/lib/eac_config/entries.rb +0 -35
  141. data/sub/eac_config/lib/eac_config/entry/not_found_error.rb +0 -13
  142. data/sub/eac_config/lib/eac_config/entry.rb +0 -64
  143. data/sub/eac_config/lib/eac_config/entry_path.rb +0 -89
  144. data/sub/eac_config/lib/eac_config/envvars_node/entry.rb +0 -54
  145. data/sub/eac_config/lib/eac_config/envvars_node.rb +0 -35
  146. data/sub/eac_config/lib/eac_config/load_nodes_search.rb +0 -39
  147. data/sub/eac_config/lib/eac_config/load_path.rb +0 -28
  148. data/sub/eac_config/lib/eac_config/node.rb +0 -81
  149. data/sub/eac_config/lib/eac_config/node_entry.rb +0 -28
  150. data/sub/eac_config/lib/eac_config/node_uri/instanciate_single.rb +0 -29
  151. data/sub/eac_config/lib/eac_config/node_uri.rb +0 -45
  152. data/sub/eac_config/lib/eac_config/old_configs/base.rb +0 -43
  153. data/sub/eac_config/lib/eac_config/old_configs/file.rb +0 -47
  154. data/sub/eac_config/lib/eac_config/old_configs.rb +0 -75
  155. data/sub/eac_config/lib/eac_config/paths_hash/entry_key_error.rb +0 -8
  156. data/sub/eac_config/lib/eac_config/paths_hash/node.rb +0 -67
  157. data/sub/eac_config/lib/eac_config/paths_hash/path_search.rb +0 -39
  158. data/sub/eac_config/lib/eac_config/paths_hash.rb +0 -63
  159. data/sub/eac_config/lib/eac_config/prefixed_path_node/entry.rb +0 -25
  160. data/sub/eac_config/lib/eac_config/prefixed_path_node.rb +0 -19
  161. data/sub/eac_config/lib/eac_config/rspec/setup.rb +0 -65
  162. data/sub/eac_config/lib/eac_config/rspec.rb +0 -9
  163. data/sub/eac_config/lib/eac_config/version.rb +0 -5
  164. data/sub/eac_config/lib/eac_config/yaml_file_node/entry.rb +0 -36
  165. data/sub/eac_config/lib/eac_config/yaml_file_node/self_entries.rb +0 -72
  166. data/sub/eac_config/lib/eac_config/yaml_file_node.rb +0 -54
  167. data/sub/eac_config/lib/eac_config.rb +0 -7
  168. data/sub/eac_config/spec/lib/eac_config/entry_path_spec.rb +0 -30
  169. data/sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb +0 -14
  170. data/sub/eac_config/spec/lib/eac_config/envvars_node_spec.rb +0 -51
  171. data/sub/eac_config/spec/lib/eac_config/old_configs_spec.rb +0 -46
  172. data/sub/eac_config/spec/lib/eac_config/paths_hash_spec.rb +0 -88
  173. data/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb +0 -88
  174. data/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml +0 -10
  175. data/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml +0 -4
  176. data/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml +0 -4
  177. data/sub/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml +0 -10
  178. data/sub/eac_config/spec/rubocop_spec.rb +0 -3
  179. data/sub/eac_config/spec/spec_helper.rb +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 708d42ba52d2d044676786c93ad0213f7ace3709a8c7463232283ed38fb65fd7
4
- data.tar.gz: 8258727a71e6eecb3f2bb4d9513381bec6303e405bfd35e49ddcd193d26d0a4b
3
+ metadata.gz: 833289c0854aa34e840b31da37d349d002d8d541cdc50ff14983852730bd80f6
4
+ data.tar.gz: d6f22ddba4381b075bc4c716155faaa5a086433ce7318609fc6651fce75b6bc4
5
5
  SHA512:
6
- metadata.gz: 01442d1e31829b644915a656db3c53c33643fff0706a2cc2848ef72abf95370049b6d98d5128739679b30fd8692cff897bf42c9fe164e2a088f5912343d9b48d
7
- data.tar.gz: 6a2bd15e0ce916d2f99d0cb71048efadda6961d373614df80b04fce683ff89b522e402683a8533c966fa7e2b0b6278eaed2b02af621c4c2877be8bdefc3ee02d
6
+ metadata.gz: c72425cd752eaba71ccfb13148f1918110ffd7360d9c156df18f87343f29f12c93c21e53a35ff9f3ee3efd09b3404e68f76f78523c67359c00187b7a7926217a
7
+ data.tar.gz: 844fb173354f08332c19f6118cfddb5f385ecccf6f9ed13c7895dcd2f1ba7c196261068ba292e3e18de1262dffdc3d77d5ef96806ac866433afc952923117d56
data/Gemfile.lock CHANGED
@@ -1,20 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eac_tools (0.82.0)
5
- avm (~> 0.83)
6
- avm-eac_asciidoctor_base0 (~> 0.19)
4
+ eac_tools (0.83.0)
5
+ avm (~> 0.84)
6
+ avm-eac_asciidoctor_base0 (~> 0.20)
7
7
  avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
8
8
  avm-eac_github_base0 (~> 0.3)
9
9
  avm-eac_latex_base0 (~> 0.3, >= 0.3.1)
10
10
  avm-eac_php_base0 (~> 0.4, >= 0.4.2)
11
11
  avm-eac_postgresql_base0 (~> 0.5, >= 0.5.2)
12
- avm-eac_python_base0 (~> 0.2, >= 0.2.1)
12
+ avm-eac_python_base0 (~> 0.2, >= 0.2.2)
13
13
  avm-eac_rails_base0 (~> 0.11)
14
14
  avm-eac_rails_base1 (~> 0.10)
15
15
  avm-eac_redmine_base0 (~> 0.22)
16
16
  avm-eac_redmine_plugin_base0 (~> 0.4)
17
- avm-eac_ruby_base1 (~> 0.33)
17
+ avm-eac_ruby_base1 (~> 0.33, >= 0.33.1)
18
18
  avm-eac_webapp_base0 (~> 0.18, >= 0.18.2)
19
19
  avm-eac_wordpress_base0 (~> 0.3, >= 0.3.1)
20
20
  avm-git (~> 0.14)
@@ -24,10 +24,10 @@ PATH
24
24
  PATH
25
25
  remote: sub/avm-eac_asciidoctor_base0
26
26
  specs:
27
- avm-eac_asciidoctor_base0 (0.19.0)
28
- asciidoctor (~> 2.0, >= 2.0.18)
29
- avm-eac_webapp_base0 (~> 0.15)
30
- eac_ruby_utils (~> 0.112)
27
+ avm-eac_asciidoctor_base0 (0.20.0)
28
+ asciidoctor (~> 2.0, >= 2.0.20)
29
+ avm-eac_webapp_base0 (~> 0.18, >= 0.18.2)
30
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
31
31
  os (~> 1.1, >= 1.1.4)
32
32
  rouge (~> 3.30)
33
33
 
@@ -80,9 +80,9 @@ PATH
80
80
  PATH
81
81
  remote: sub/avm-eac_python_base0
82
82
  specs:
83
- avm-eac_python_base0 (0.2.1)
84
- avm-eac_generic_base0 (~> 0.8)
85
- eac_ruby_utils (~> 0.109)
83
+ avm-eac_python_base0 (0.2.2)
84
+ avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
85
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
86
86
 
87
87
  PATH
88
88
  remote: sub/avm-eac_rails_base0
@@ -123,9 +123,9 @@ PATH
123
123
  PATH
124
124
  remote: sub/avm-eac_ruby_base1
125
125
  specs:
126
- avm-eac_ruby_base1 (0.33.0)
127
- aranha-parsers (~> 0.21)
128
- avm (~> 0.81)
126
+ avm-eac_ruby_base1 (0.33.1)
127
+ aranha-parsers (~> 0.22)
128
+ avm (~> 0.84)
129
129
  avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
130
130
  eac_envs-http (~> 0.4, >= 0.4.1)
131
131
  eac_ruby_utils (~> 0.119, >= 0.119.2)
@@ -198,7 +198,7 @@ PATH
198
198
  PATH
199
199
  remote: sub/avm
200
200
  specs:
201
- avm (0.83.0)
201
+ avm (0.84.0)
202
202
  aranha-parsers (~> 0.21)
203
203
  eac_cli (~> 0.38, >= 0.38.1)
204
204
  eac_config (~> 0.14, >= 0.14.1)
@@ -211,21 +211,6 @@ PATH
211
211
  htmlbeautifier (~> 1.4, >= 1.4.2)
212
212
  minitar (~> 0.9)
213
213
 
214
- PATH
215
- remote: sub/eac_cli
216
- specs:
217
- eac_cli (0.38.1)
218
- colorize (~> 0.8, >= 0.8.1)
219
- eac_config (~> 0.14, >= 0.14.1)
220
- eac_ruby_utils (~> 0.119, >= 0.119.2)
221
-
222
- PATH
223
- remote: sub/eac_config
224
- specs:
225
- eac_config (0.14.1)
226
- addressable (~> 2.8, >= 2.8.5)
227
- eac_ruby_utils (~> 0.119, >= 0.119.2)
228
-
229
214
  PATH
230
215
  remote: sub/eac_git
231
216
  specs:
@@ -244,12 +229,12 @@ GEM
244
229
  zeitwerk (~> 2.3)
245
230
  addressable (2.8.5)
246
231
  public_suffix (>= 2.0.2, < 6.0)
247
- aranha-parsers (0.21.0)
232
+ aranha-parsers (0.22.0)
248
233
  activesupport (>= 4.0.0)
249
- addressable (~> 2.8, >= 2.8.4)
250
- eac_envs-http (~> 0.4)
251
- eac_ruby_utils (~> 0.117, >= 0.117.1)
252
- nokogiri (~> 1.15, >= 1.15.2)
234
+ addressable (~> 2.8, >= 2.8.5)
235
+ eac_envs-http (~> 0.4, >= 0.4.1)
236
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
237
+ nokogiri (~> 1.15, >= 1.15.4)
253
238
  ofx-parser (~> 1.1)
254
239
  asciidoctor (2.0.20)
255
240
  ast (2.4.2)
@@ -261,6 +246,14 @@ GEM
261
246
  parslet (~> 2.0)
262
247
  curb (0.9.11)
263
248
  diff-lcs (1.5.0)
249
+ eac_cli (0.39.0)
250
+ colorize (~> 0.8, >= 0.8.1)
251
+ eac_config (~> 0.14, >= 0.14.1)
252
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
253
+ tty-table (~> 0.12)
254
+ eac_config (0.14.1)
255
+ addressable (~> 2.8, >= 2.8.5)
256
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
264
257
  eac_docker (0.7.0)
265
258
  eac_ruby_utils (~> 0.112)
266
259
  eac_templates (~> 0.3, >= 0.3.2)
@@ -328,7 +321,7 @@ GEM
328
321
  minitest (5.20.0)
329
322
  multipart-post (2.3.0)
330
323
  net-ssh (4.2.0)
331
- nokogiri (1.15.4-x86_64-linux)
324
+ nokogiri (1.15.5-x86_64-linux)
332
325
  racc (~> 1.4)
333
326
  ofx-parser (1.1.0)
334
327
  hpricot (>= 0.6)
@@ -339,7 +332,9 @@ GEM
339
332
  ast (~> 2.4.1)
340
333
  racc
341
334
  parslet (2.0.0)
342
- public_suffix (5.0.3)
335
+ pastel (0.8.0)
336
+ tty-color (~> 0.5)
337
+ public_suffix (5.0.4)
343
338
  racc (1.7.3)
344
339
  rack (3.0.8)
345
340
  rainbow (3.1.1)
@@ -388,9 +383,21 @@ GEM
388
383
  ruby-filemagic (0.7.3)
389
384
  ruby-progressbar (1.13.0)
390
385
  ruby2_keywords (0.0.5)
386
+ strings (0.2.1)
387
+ strings-ansi (~> 0.2)
388
+ unicode-display_width (>= 1.5, < 3.0)
389
+ unicode_utils (~> 1.4)
390
+ strings-ansi (0.2.0)
391
+ tty-color (0.6.0)
392
+ tty-screen (0.8.1)
393
+ tty-table (0.12.0)
394
+ pastel (~> 0.8)
395
+ strings (~> 0.2.0)
396
+ tty-screen (~> 0.8)
391
397
  tzinfo (2.0.6)
392
398
  concurrent-ruby (~> 1.0)
393
399
  unicode-display_width (2.5.0)
400
+ unicode_utils (1.4.0)
394
401
  zeitwerk (2.6.12)
395
402
  zlib (2.1.1)
396
403
 
@@ -418,8 +425,6 @@ DEPENDENCIES
418
425
  avm-files!
419
426
  avm-git!
420
427
  avm-tools!
421
- eac_cli!
422
- eac_config!
423
428
  eac_git!
424
429
  eac_ruby_gem_support (~> 0.8.0)
425
430
  eac_tools!
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacTools
4
- VERSION = '0.82.0'
4
+ VERSION = '0.83.0'
5
5
  end
data/sub/avm/avm.gemspec CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.summary = 'Ruby base library for Agora Vai! Methodology (https://avm.esquiloazul.tech).'
12
12
 
13
13
  s.files = Dir['{lib, locale}/**/*']
14
+ s.required_ruby_version = '>= 2.7'
14
15
 
15
16
  s.add_dependency 'aranha-parsers', '~> 0.21'
16
17
  s.add_dependency 'eac_cli', '~> 0.38', '>= 0.38.1'
@@ -24,7 +25,7 @@ Gem::Specification.new do |s|
24
25
  s.add_dependency 'htmlbeautifier', '~> 1.4', '>= 1.4.2'
25
26
  s.add_dependency 'minitar', '~> 0.9'
26
27
 
27
- s.add_development_dependency 'avm-eac_ruby_base1', '~> 0.24'
28
- s.add_development_dependency 'avm-git', '~> 0.7'
29
- s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
28
+ s.add_development_dependency 'avm-eac_ruby_base1', '~> 0.33'
29
+ s.add_development_dependency 'avm-git', '~> 0.14'
30
+ s.add_development_dependency 'eac_ruby_gem_support', '~> 0.9'
30
31
  end
@@ -52,7 +52,7 @@ module Avm
52
52
  file = oldest_rotated_file
53
53
  unless file
54
54
  raise 'oldest_rotated_file returned nil ' \
55
- "(Limit: #{space_limit}, used: #{space_used})"
55
+ "(Limit: #{space_limit}, used: #{space_used})"
56
56
  end
57
57
  ::File.delete(file)
58
58
  end
@@ -34,7 +34,7 @@ module Avm
34
34
  next unless publish?(s)
35
35
 
36
36
  puts "#{name.to_s.cyan}|#{s.label}|" \
37
- "#{s.publish_class.new(self).check}"
37
+ "#{s.publish_class.new(self).check}"
38
38
  end
39
39
  end
40
40
 
@@ -47,8 +47,8 @@ module Avm
47
47
  private
48
48
 
49
49
  def raise_not_found(*args)
50
- raise("No registered module valid for #{args}" \
51
- " (Module suffix: #{module_suffix}, Available: #{available.join(', ')})")
50
+ raise("No registered module valid for #{args} " \
51
+ "(Module suffix: #{module_suffix}, Available: #{available.join(', ')})")
52
52
  end
53
53
 
54
54
  def registered_modules_uncached
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'aranha/parsers/source_target_fixtures'
4
3
  require 'avm/file_formats/search_formatter'
5
4
  require 'eac_ruby_utils/core_ext'
6
5
 
@@ -7,6 +7,7 @@ require 'eac_ruby_utils/core_ext'
7
7
  module Avm
8
8
  module SourceGenerators
9
9
  class Base
10
+ acts_as_abstract
10
11
  include ::Avm::With::ApplicationStereotype
11
12
 
12
13
  class << self
@@ -25,6 +25,12 @@ module Avm
25
25
  success "Source generated in \"#{generator.target_path}\""
26
26
  end
27
27
 
28
+ # @return [String]
29
+ def help_extra_text
30
+ help_list_section('Stereotypes', ::Avm::Registry.source_generators.available
31
+ .map(&:application_stereotype_name))
32
+ end
33
+
28
34
  def start_banner
29
35
  infov 'Stereotype', stereotype_name
30
36
  infov 'Target path', target_path
@@ -73,7 +73,7 @@ module Avm
73
73
  return r if r.any?
74
74
 
75
75
  raise ::ArgumentError, "Source not found with ID=#{source_id}" \
76
- "(Available: #{available_units.map(&:id).join(', ')})"
76
+ "(Available: #{available_units.map(&:id).join(', ')})"
77
77
  end
78
78
 
79
79
  # @return [Array<Avm::Sources::Tests::Single>]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Avm
4
- VERSION = '0.83.0'
4
+ VERSION = '0.84.0'
5
5
  end
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.files = Dir['{exe,lib}/**/*', 'Gemfile', 'MIT-LICENSE', 'README.rdoc']
17
17
  s.bindir = 'exe'
18
18
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ s.required_ruby_version = '>= 2.7'
19
20
 
20
21
  s.add_dependency 'activesupport', '~> 4.2', '>= 4.2.10'
21
22
  s.add_dependency 'colorize', '~> 0.8.1'
@@ -12,4 +12,5 @@ Gem::Specification.new do |s|
12
12
  s.authors = ['Esquilo Azul Company']
13
13
  s.summary = 'Ruby gem stub for tests.'
14
14
  s.files = Dir['{lib}/**/*']
15
+ s.required_ruby_version = '>= 2.7'
15
16
  end
@@ -4,5 +4,5 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
- eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
7
+ local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if File.exist?(local_gemfile)
@@ -11,13 +11,14 @@ Gem::Specification.new do |s|
11
11
  s.summary = 'Put here de description.'
12
12
 
13
13
  s.files = Dir['{lib,template}/**/*']
14
+ s.required_ruby_version = '>= 2.7'
14
15
 
15
- s.add_dependency 'asciidoctor', '~> 2.0', '>= 2.0.18'
16
- s.add_dependency 'avm-eac_webapp_base0', '~> 0.15'
17
- s.add_dependency 'eac_ruby_utils', '~> 0.112'
16
+ s.add_dependency 'asciidoctor', '~> 2.0', '>= 2.0.20'
17
+ s.add_dependency 'avm-eac_webapp_base0', '~> 0.18', '>= 0.18.2'
18
+ s.add_dependency 'eac_ruby_utils', '~> 0.119', '>= 0.119.2'
18
19
  s.add_dependency 'os', '~> 1.1', '>= 1.1.4'
19
20
  s.add_dependency 'rouge', '~> 3.30'
20
21
 
21
- s.add_development_dependency 'eac_fs', '~> 0.14'
22
- s.add_development_dependency 'eac_ruby_gem_support', '~> 0.2'
22
+ s.add_development_dependency 'eac_fs', '~> 0.16'
23
+ s.add_development_dependency 'eac_ruby_gem_support', '~> 0.9'
23
24
  end
@@ -17,14 +17,16 @@ module Avm
17
17
  delegate :instance, to: :build
18
18
  delegate :author_email, :author_name, to: :instance
19
19
 
20
- ATTRIBUTES = ['Author Initials', 'toc', 'icons', 'numbered', 'website'].freeze
20
+ ATTRIBUTES = ['Author Initials', 'toc', 'icons', 'numbered', 'source-highlighter',
21
+ 'website'].freeze
21
22
  TOC = 'left'
22
23
  ICONS = ''
23
24
  NUMBERED = ''
25
+ SOURCE_HIGHLIGHTER = 'rouge'
24
26
 
25
27
  # @return [String]
26
28
  def attribute_line(name, value)
27
- [":#{name}:", value].reject(&:blank?).join(' ')
29
+ [":#{name}:", value].compact_blank.join(' ')
28
30
  end
29
31
 
30
32
  def attributes_lines
@@ -62,7 +64,7 @@ module Avm
62
64
  # @return [Pathname]
63
65
  def stylesheet_path
64
66
  source_document.source.theme_stylesheet_path
65
- .relative_path_from(document.convert_base_dir)
67
+ .relative_path_from(document.convert_base_dir)
66
68
  end
67
69
 
68
70
  # @return [String]
@@ -75,7 +75,7 @@ module Avm
75
75
  # @return [Array<String>]
76
76
  def macro_lines(name, arguments = [])
77
77
  ::Avm::EacAsciidoctorBase0::Instances::Macros.const_get(name.to_s.camelize)
78
- .new(self, arguments).result
78
+ .new(self, arguments).result
79
79
  end
80
80
 
81
81
  def perform
@@ -109,7 +109,7 @@ module Avm
109
109
 
110
110
  def children_uncached
111
111
  source_document.children
112
- .map { |source_child| self.class.new(build, self, source_child) }
112
+ .map { |source_child| self.class.new(build, self, source_child) }
113
113
  end
114
114
  end
115
115
  end
@@ -38,8 +38,8 @@ 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 }
42
- .map { |path| self.class.new(source, self, path.basename) }
41
+ .reject { |path| path.basename.to_path == MEDIA_DIRECTORY_BASENAME }
42
+ .map { |path| self.class.new(source, self, path.basename) }
43
43
  end
44
44
  end
45
45
  end
@@ -8,7 +8,7 @@ module Avm
8
8
  module EacAsciidoctorBase0
9
9
  module Sources
10
10
  class Base < ::Avm::EacWebappBase0::Sources::Base
11
- require_sub __FILE__
11
+ require_sub __FILE__, include_modules: true
12
12
 
13
13
  CONTENT_DIRECTORY_SUBPATH = ::Pathname.new('content')
14
14
  CONTENT_DOCUMENT_BASENAME = ::Pathname.new('body.adoc')
@@ -16,8 +16,6 @@ module Avm
16
16
  ::Avm::EacAsciidoctorBase0::Sources::Base::Document::TITLE_BASENAME
17
17
  )
18
18
 
19
- require_sub __FILE__, include_modules: true
20
-
21
19
  def content_directory
22
20
  path.join(CONTENT_DIRECTORY_SUBPATH)
23
21
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacAsciidoctorBase0
5
- VERSION = '0.19.0'
5
+ VERSION = '0.20.0'
6
6
  end
7
7
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'avm/eac_asciidoctor_base0/file_formats/base'
4
4
 
5
- ::RSpec.describe ::Avm::EacAsciidoctorBase0::FileFormats::Base do
5
+ RSpec.describe Avm::EacAsciidoctorBase0::FileFormats::Base do
6
6
  include_examples 'avm_file_format_file_resource_name', {
7
7
  'content/title' => 'Content[/]',
8
8
  'content/body.adoc' => 'Content[/]',
@@ -2,16 +2,16 @@
2
2
 
3
3
  require 'avm/eac_asciidoctor_base0/instances/build'
4
4
 
5
- ::RSpec.describe ::Avm::EacAsciidoctorBase0::Instances::Build::Document do # rubocop:disable Metrics/BlockLength
5
+ RSpec.describe Avm::EacAsciidoctorBase0::Instances::Build::Document do
6
6
  let(:app_director) { eac_asciidoctor_base0_stubs }
7
- let(:build) { ::Avm::EacAsciidoctorBase0::Instances::Build.new(app_director.instance) }
7
+ let(:build) { Avm::EacAsciidoctorBase0::Instances::Build.new(app_director.instance) }
8
8
  let(:fixtures_dir) { __dir__.to_pathname.join('document_spec_files') }
9
- let(:instance) { build_doc_child(build.root_document, :c1, :c1_1, :c1_1_1) }
9
+ let(:instance) { build_doc_child(build.root_document, :c1, :c1_1, :c1_1_1) } # rubocop:disable Naming/VariableNumber
10
10
  let(:target_file) { fixtures_dir.join('pre_processed_root_body.adoc') }
11
11
  let(:source) { app_director.source }
12
12
  let(:doc_template) do
13
13
  r = temp_dir
14
- ::FileUtils.copy_entry(source.root_document.root_path, r)
14
+ FileUtils.copy_entry(source.root_document.root_path, r)
15
15
  r
16
16
  end
17
17
 
@@ -19,19 +19,19 @@ require 'avm/eac_asciidoctor_base0/instances/build'
19
19
  copy_template_hash(
20
20
  source.root_document,
21
21
  c1: {
22
- c1_1: {
23
- c1_1_1: {
24
- c1_1_1_1: {},
25
- c1_1_1_2: {}
22
+ c1_1: { # rubocop:disable Naming/VariableNumber
23
+ c1_1_1: { # rubocop:disable Naming/VariableNumber
24
+ c1_1_1_1: {}, # rubocop:disable Naming/VariableNumber
25
+ c1_1_1_2: {} # rubocop:disable Naming/VariableNumber
26
26
  },
27
- c1_1_2: {
28
- c1_1_2_1: {},
29
- c1_1_2_2: {}
27
+ c1_1_2: { # rubocop:disable Naming/VariableNumber
28
+ c1_1_2_1: {}, # rubocop:disable Naming/VariableNumber
29
+ c1_1_2_2: {} # rubocop:disable Naming/VariableNumber
30
30
  }
31
31
  }
32
32
  },
33
33
  c2: {
34
- c2_1: {}
34
+ c2_1: {} # rubocop:disable Naming/VariableNumber
35
35
  }
36
36
  )
37
37
  end
@@ -42,19 +42,19 @@ require 'avm/eac_asciidoctor_base0/instances/build'
42
42
 
43
43
  # @return [Avm::EacAsciidoctorBase0::Sources::Base::Document]
44
44
  def copy_template_doc(parent, basename)
45
- parent.assert_argument(::Avm::EacAsciidoctorBase0::Sources::Base::Document, 'parent')
45
+ parent.assert_argument(Avm::EacAsciidoctorBase0::Sources::Base::Document, 'parent')
46
46
 
47
47
  root_target = parent.root_path.join(basename.to_s)
48
- ::FileUtils.copy_entry(doc_template, root_target)
48
+ FileUtils.copy_entry(doc_template, root_target)
49
49
  root_target.join('title').write(root_target.basename.to_path)
50
- ::Avm::EacAsciidoctorBase0::Sources::Base::Document.new(parent.source, parent,
51
- root_target.basename)
50
+ Avm::EacAsciidoctorBase0::Sources::Base::Document.new(parent.source, parent,
51
+ root_target.basename)
52
52
  end
53
53
 
54
54
  # @return [Array<Avm::EacAsciidoctorBase0::Sources::Base::Document>]
55
55
  def copy_template_hash(parent, hash)
56
- parent.assert_argument(::Avm::EacAsciidoctorBase0::Sources::Base::Document, 'parent')
57
- hash.assert_argument(::Hash, 'hash')
56
+ parent.assert_argument(Avm::EacAsciidoctorBase0::Sources::Base::Document, 'parent')
57
+ hash.assert_argument(Hash, 'hash')
58
58
 
59
59
  hash.map do |k, v|
60
60
  r = copy_template_doc(parent, k)
@@ -5,6 +5,7 @@ The Author <theauthor@example.net>
5
5
  :toc: left
6
6
  :icons:
7
7
  :numbered:
8
+ :source-highlighter: rouge
8
9
  :website: https://www.example.net
9
10
 
10
11
  [.normal]
@@ -3,14 +3,14 @@
3
3
  require 'avm/eac_asciidoctor_base0/instances/build'
4
4
  require 'eac_fs/comparator'
5
5
 
6
- ::RSpec.describe ::Avm::EacAsciidoctorBase0::Instances::Build do
6
+ RSpec.describe Avm::EacAsciidoctorBase0::Instances::Build do
7
7
  let(:app_director) { eac_asciidoctor_base0_stubs }
8
- let(:fs_comparator) { ::EacFs::Comparator.new.truncate_file('*.html') }
8
+ let(:fs_comparator) { EacFs::Comparator.new.truncate_file('*.html') }
9
9
  let(:instance) { described_class.new(app_director.instance) }
10
10
 
11
11
  include_examples 'source_target_fixtures', __FILE__ do
12
12
  def source_data(source_file)
13
- ::FileUtils.copy_entry(source_file, app_director.source.path)
13
+ FileUtils.copy_entry(source_file, app_director.source.path)
14
14
  instance.perform
15
15
  fs_comparator.build(instance.target_directory)
16
16
  end
@@ -3,6 +3,6 @@
3
3
  require 'avm/eac_asciidoctor_base0/source_generators/base'
4
4
  require 'avm/source_generators/runner'
5
5
 
6
- RSpec.describe ::Avm::EacAsciidoctorBase0::SourceGenerators::Base do
6
+ RSpec.describe Avm::EacAsciidoctorBase0::SourceGenerators::Base do
7
7
  include_examples 'avm_source_generated', __FILE__, 'EacAsciidoctorBase0'
8
8
  end
@@ -3,14 +3,14 @@
3
3
  require 'avm/eac_asciidoctor_base0/instances/base'
4
4
  require 'avm/eac_asciidoctor_base0/sources/base'
5
5
 
6
- ::RSpec.describe ::Avm::EacAsciidoctorBase0::Sources::Base do
6
+ RSpec.describe Avm::EacAsciidoctorBase0::Sources::Base do
7
7
  include_examples 'in_avm_registry', 'sources'
8
8
 
9
9
  describe '#instance' do
10
10
  let(:source) { eac_asciidoctor_base0_stubs.source }
11
11
 
12
12
  it do
13
- expect(source.instance).to be_a(::Avm::EacAsciidoctorBase0::Instances::Base)
13
+ expect(source.instance).to be_a(Avm::EacAsciidoctorBase0::Instances::Base)
14
14
  end
15
15
  end
16
16
  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
@@ -52,4 +52,4 @@ module EacAsciidoctorBase0Stubs
52
52
  end
53
53
  end
54
54
 
55
- ::EacRubyUtils::Rspec.default_setup.rspec_config.include(::EacAsciidoctorBase0Stubs)
55
+ EacRubyUtils::Rspec.default_setup.rspec_config.include(EacAsciidoctorBase0Stubs)
@@ -1,8 +1,8 @@
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__))
5
- .stub_avm_contexts
4
+ EacRubyUtils::Rspec.default_setup_create(File.expand_path('..', __dir__))
5
+ .stub_avm_contexts
6
6
 
7
7
  require 'eac_ruby_utils/require_sub'
8
- ::EacRubyUtils.require_sub __FILE__
8
+ EacRubyUtils.require_sub __FILE__
@@ -4,5 +4,5 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
- eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
7
+ local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if File.exist?(local_gemfile)
@@ -8,12 +8,13 @@ Gem::Specification.new do |s|
8
8
  s.name = 'avm-eac_python_base0'
9
9
  s.version = Avm::EacPythonBase0::VERSION
10
10
  s.authors = ['Eduardo H. Bogoni']
11
- s.summary = 'AVM stereotype for Python applications.'
11
+ s.summary = 'AVM stereotype for Python applications.'
12
12
 
13
13
  s.files = Dir['{lib,locale,template}/**/*']
14
+ s.required_ruby_version = '>= 2.7'
14
15
 
15
- s.add_dependency 'avm-eac_generic_base0', '~> 0.8'
16
- s.add_dependency 'eac_ruby_utils', '~> 0.109'
16
+ s.add_dependency 'avm-eac_generic_base0', '~> 0.12', '>= 0.12.1'
17
+ s.add_dependency 'eac_ruby_utils', '~> 0.119', '>= 0.119.2'
17
18
 
18
- s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5', '>= 0.5.1'
19
+ s.add_development_dependency 'eac_ruby_gem_support', '~> 0.9'
19
20
  end
@@ -12,7 +12,7 @@ module Avm
12
12
  private
13
13
 
14
14
  %w[yapf].each do |program|
15
- define_method(program.underscore + '_uncached') do
15
+ define_method("#{program.underscore}_uncached") do
16
16
  ::EacRubyUtils::Envs.local.executable(program, '--version')
17
17
  end
18
18
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacPythonBase0
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
7
7
  end