avm-tools 0.118.0 → 0.120.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb +3 -3
  3. data/lib/avm/tools/app_src.rb +1 -5
  4. data/lib/avm/tools/runner/app_src/ruby.rb +0 -1
  5. data/lib/avm/tools/runner/app_src.rb +2 -0
  6. data/lib/avm/tools/version.rb +1 -1
  7. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb +2 -2
  8. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
  9. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +3 -3
  10. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  11. data/sub/{avm-eac_rails_base1 → avm-eac_redmine_plugin_base0}/Gemfile +0 -0
  12. data/sub/avm-eac_redmine_plugin_base0/avm-eac_redmine_plugin_base0.gemspec +19 -0
  13. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb +30 -0
  14. data/sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/version.rb +7 -0
  15. data/sub/{avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb → avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0.rb} +1 -1
  16. data/sub/{avm-eac_rails_base1 → avm-eac_redmine_plugin_base0}/spec/rubocop_spec.rb +0 -0
  17. data/sub/{avm-eac_rails_base1 → avm-eac_redmine_plugin_base0}/spec/spec_helper.rb +0 -0
  18. metadata +27 -223
  19. data/lib/avm/patches/eac_ruby_gems_utils/gem.rb +0 -29
  20. data/lib/avm/patches/eac_ruby_gems_utils.rb +0 -4
  21. data/lib/avm/ruby/bundler/incompatible_parser/depends_on.rb +0 -25
  22. data/lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb +0 -39
  23. data/lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb +0 -17
  24. data/lib/avm/ruby/bundler/incompatible_parser/line_buffer.rb +0 -73
  25. data/lib/avm/ruby/bundler/incompatible_parser/line_factory.rb +0 -31
  26. data/lib/avm/ruby/bundler/incompatible_parser/line_parser_base.rb +0 -19
  27. data/lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb +0 -26
  28. data/lib/avm/ruby/bundler/incompatible_parser.rb +0 -25
  29. data/lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb +0 -82
  30. data/sub/avm/Gemfile +0 -5
  31. data/sub/avm/avm.gemspec +0 -26
  32. data/sub/avm/lib/avm/data/instance/files_unit.rb +0 -40
  33. data/sub/avm/lib/avm/data/instance/package.rb +0 -18
  34. data/sub/avm/lib/avm/data/instance/unit.rb +0 -17
  35. data/sub/avm/lib/avm/data/instance.rb +0 -11
  36. data/sub/avm/lib/avm/data/package/dump.rb +0 -119
  37. data/sub/avm/lib/avm/data/package/load.rb +0 -48
  38. data/sub/avm/lib/avm/data/package.rb +0 -42
  39. data/sub/avm/lib/avm/data/rotate.rb +0 -107
  40. data/sub/avm/lib/avm/data/unit.rb +0 -94
  41. data/sub/avm/lib/avm/docker/container.rb +0 -50
  42. data/sub/avm/lib/avm/docker/image.rb +0 -71
  43. data/sub/avm/lib/avm/docker/runner.rb +0 -125
  44. data/sub/avm/lib/avm/docker.rb +0 -9
  45. data/sub/avm/lib/avm/executables.rb +0 -24
  46. data/sub/avm/lib/avm/instances/application.rb +0 -29
  47. data/sub/avm/lib/avm/instances/base/auto_values/access.rb +0 -40
  48. data/sub/avm/lib/avm/instances/base/auto_values/admin.rb +0 -19
  49. data/sub/avm/lib/avm/instances/base/auto_values/data.rb +0 -26
  50. data/sub/avm/lib/avm/instances/base/auto_values/database.rb +0 -76
  51. data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +0 -43
  52. data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +0 -34
  53. data/sub/avm/lib/avm/instances/base/auto_values/ruby.rb +0 -15
  54. data/sub/avm/lib/avm/instances/base/auto_values/source.rb +0 -15
  55. data/sub/avm/lib/avm/instances/base/auto_values/system.rb +0 -23
  56. data/sub/avm/lib/avm/instances/base/auto_values/web.rb +0 -46
  57. data/sub/avm/lib/avm/instances/base/auto_values.rb +0 -21
  58. data/sub/avm/lib/avm/instances/base/dockerizable.rb +0 -45
  59. data/sub/avm/lib/avm/instances/base/entry_keys.rb +0 -22
  60. data/sub/avm/lib/avm/instances/base.rb +0 -64
  61. data/sub/avm/lib/avm/instances/docker_image.rb +0 -15
  62. data/sub/avm/lib/avm/instances/entries.rb +0 -43
  63. data/sub/avm/lib/avm/instances/entry.rb +0 -60
  64. data/sub/avm/lib/avm/instances/entry_keys.rb +0 -60
  65. data/sub/avm/lib/avm/instances/runner.rb +0 -39
  66. data/sub/avm/lib/avm/instances.rb +0 -8
  67. data/sub/avm/lib/avm/jobs/base.rb +0 -63
  68. data/sub/avm/lib/avm/jobs/variables_source.rb +0 -22
  69. data/sub/avm/lib/avm/jobs.rb +0 -9
  70. data/sub/avm/lib/avm/launcher/errors/base.rb +0 -10
  71. data/sub/avm/lib/avm/launcher/errors/non_project.rb +0 -15
  72. data/sub/avm/lib/avm/launcher/paths/real.rb +0 -44
  73. data/sub/avm/lib/avm/launcher/publish/check_result.rb +0 -67
  74. data/sub/avm/lib/avm/path_string.rb +0 -27
  75. data/sub/avm/lib/avm/registry/base.rb +0 -67
  76. data/sub/avm/lib/avm/registry.rb +0 -29
  77. data/sub/avm/lib/avm/result.rb +0 -86
  78. data/sub/avm/lib/avm/rspec/setup.rb +0 -22
  79. data/sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb +0 -11
  80. data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +0 -14
  81. data/sub/avm/lib/avm/rspec.rb +0 -9
  82. data/sub/avm/lib/avm/runners/base.rb +0 -27
  83. data/sub/avm/lib/avm/scms/base.rb +0 -46
  84. data/sub/avm/lib/avm/scms/commit.rb +0 -43
  85. data/sub/avm/lib/avm/scms/inflector.rb +0 -22
  86. data/sub/avm/lib/avm/self/docker_image.rb +0 -14
  87. data/sub/avm/lib/avm/self/instance/entry_keys.rb +0 -12
  88. data/sub/avm/lib/avm/self/instance.rb +0 -31
  89. data/sub/avm/lib/avm/sources/base/configuration.rb +0 -45
  90. data/sub/avm/lib/avm/sources/base/instance.rb +0 -28
  91. data/sub/avm/lib/avm/sources/base/parent.rb +0 -31
  92. data/sub/avm/lib/avm/sources/base/subs.rb +0 -55
  93. data/sub/avm/lib/avm/sources/base/subs_paths.rb +0 -32
  94. data/sub/avm/lib/avm/sources/base/testing.rb +0 -21
  95. data/sub/avm/lib/avm/sources/base.rb +0 -44
  96. data/sub/avm/lib/avm/sources/configuration/locale.rb +0 -18
  97. data/sub/avm/lib/avm/sources/configuration/rubocop.rb +0 -26
  98. data/sub/avm/lib/avm/sources/configuration/tests.rb +0 -29
  99. data/sub/avm/lib/avm/sources/configuration.rb +0 -59
  100. data/sub/avm/lib/avm/sources/tester.rb +0 -24
  101. data/sub/avm/lib/avm/sources/tests/builder.rb +0 -83
  102. data/sub/avm/lib/avm/sources/tests/performer.rb +0 -35
  103. data/sub/avm/lib/avm/sources/tests/result.rb +0 -15
  104. data/sub/avm/lib/avm/sources/tests/single.rb +0 -56
  105. data/sub/avm/lib/avm/sources/tests.rb +0 -11
  106. data/sub/avm/lib/avm/sources.rb +0 -9
  107. data/sub/avm/lib/avm/sync.rb +0 -94
  108. data/sub/avm/lib/avm/version.rb +0 -5
  109. data/sub/avm/lib/avm/version_number.rb +0 -45
  110. data/sub/avm/lib/avm.rb +0 -7
  111. data/sub/avm/spec/lib/avm/scms/base_spec.rb +0 -7
  112. data/sub/avm/spec/lib/avm/sources/base_spec.rb +0 -7
  113. data/sub/avm/spec/rubocop_spec.rb +0 -3
  114. data/sub/avm/spec/spec_helper.rb +0 -4
  115. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +0 -21
  116. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb +0 -17
  117. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb +0 -24
  118. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb +0 -26
  119. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb +0 -26
  120. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb +0 -43
  121. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb +0 -26
  122. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb +0 -18
  123. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb +0 -32
  124. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb +0 -46
  125. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb +0 -17
  126. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb +0 -12
  127. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb +0 -27
  128. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb +0 -47
  129. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb +0 -27
  130. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb +0 -70
  131. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb +0 -29
  132. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb +0 -57
  133. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +0 -7
  134. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb +0 -9
  135. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service +0 -12
  136. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +0 -6
  137. data/sub/avm-eac_ruby_base1/Gemfile +0 -5
  138. data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +0 -21
  139. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb +0 -56
  140. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb +0 -19
  141. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb +0 -34
  142. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb +0 -11
  143. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb +0 -31
  144. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb +0 -17
  145. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb +0 -41
  146. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb +0 -55
  147. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb +0 -23
  148. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +0 -50
  149. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb +0 -38
  150. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb +0 -56
  151. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb +0 -52
  152. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb +0 -11
  153. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +0 -7
  154. data/sub/avm-eac_ruby_base1/locale/en.yaml +0 -8
  155. data/sub/avm-eac_ruby_base1/locale/pt-BR.yaml +0 -8
  156. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb +0 -7
  157. data/sub/avm-eac_ruby_base1/spec/rubocop_spec.rb +0 -3
  158. data/sub/avm-eac_ruby_base1/spec/spec_helper.rb +0 -4
  159. data/sub/eac_ruby_base0/Gemfile +0 -5
  160. data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +0 -21
  161. data/sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb +0 -87
  162. data/sub/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb +0 -34
  163. data/sub/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb +0 -5
  164. data/sub/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb +0 -31
  165. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb +0 -10
  166. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb +0 -4
  167. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb +0 -5
  168. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb +0 -5
  169. data/sub/eac_ruby_base0/lib/eac_ruby_base0/patches.rb +0 -4
  170. data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb +0 -14
  171. data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb +0 -9
  172. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +0 -92
  173. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb +0 -42
  174. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb +0 -52
  175. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb +0 -36
  176. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb +0 -58
  177. data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb +0 -9
  178. data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +0 -5
  179. data/sub/eac_ruby_base0/lib/eac_ruby_base0.rb +0 -7
  180. data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb +0 -42
  181. data/sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb +0 -81
  182. data/sub/eac_ruby_base0/spec/rubocop_spec.rb +0 -3
  183. data/sub/eac_ruby_base0/spec/spec_helper.rb +0 -4
  184. data/sub/eac_ruby_gems_utils/Gemfile +0 -5
  185. data/sub/eac_ruby_gems_utils/LICENCE +0 -16
  186. data/sub/eac_ruby_gems_utils/README.rdoc +0 -3
  187. data/sub/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +0 -31
  188. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb +0 -33
  189. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb +0 -41
  190. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb +0 -97
  191. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +0 -57
  192. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb +0 -25
  193. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb +0 -48
  194. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb +0 -25
  195. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +0 -84
  196. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb +0 -21
  197. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb +0 -9
  198. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +0 -5
  199. data/sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb +0 -7
  200. data/sub/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb +0 -3
  201. data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec.rb +0 -14
  202. data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec_files/a_version_file.rb +0 -7
  203. data/sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb +0 -20
  204. data/sub/eac_ruby_gems_utils/spec/spec_helper.rb +0 -4
  205. data/sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile +0 -5
  206. data/sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock +0 -19
  207. data/sub/eac_ruby_gems_utils/spec/support/mygem/Rakefile +0 -14
  208. data/sub/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner +0 -5
  209. data/sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb +0 -5
  210. data/sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb +0 -5
  211. data/sub/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec +0 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 934d4ed06e787c60b6d3bb79b2962290ab933e7dc4b75a0f2a7b767e346d8ed6
4
- data.tar.gz: ed4f80fe5ec3bac6ae64e6efc6c8bf95f47e228ecc6445f79f9ab9807239278e
3
+ metadata.gz: bfb8ef0054ce8246d1e5b5e4385cd4d5f8665ca84abd59ed193d9a78c7e8dc62
4
+ data.tar.gz: 96ab09bac1646ed985418fa451343686c10b8d599e9a492a35e65e7daa1f8f48
5
5
  SHA512:
6
- metadata.gz: c9fe3ccc4c3b9c5527405cf534c1ac481bacf9be50cadca02511a6a58311fde0132e1905ac466eb0a0d3b9529f36f2174b7100e4581a4842c4870f93952f2065
7
- data.tar.gz: 7f6e8a7c43bedeeb8bf8c28d3fbd0d6467c5ec41ab7914b46d978a6adba1babfbbe8c7809d86744165ac2edffa6bc58a2475ab57d84106360a76696793718e70
6
+ metadata.gz: 4906cc5cd77c4f9e3fb910c8774417396064779315506589a70ec3d07a1b6a3d5c0f397af5d97113abea0f4b14b2a5d6b6b35080d39616c0376159a3bc1c7576
7
+ data.tar.gz: e1246e388f5f5a8ff88871ab93c8e12283d279530c92e6d647cbb077f55ff9be5d80c8baad5c1f36c84a584bb65230d7c84b26f4106cbb95ef013ac1d8ba8ccf
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/patches/eac_ruby_gems_utils/gem'
3
+ require 'avm/eac_ruby_base1/sources/base'
4
4
  require 'avm/version_number'
5
5
  require 'eac_ruby_utils/core_ext'
6
6
 
@@ -9,9 +9,9 @@ module Avm
9
9
  module Stereotypes
10
10
  class RubyGem
11
11
  module LocalProjectMixin
12
- # @return [EacRubyGemsUtils::Gem]
12
+ # @return [Avm::EacRubyBase1::Sources::Base]
13
13
  def ruby_gem
14
- @ruby_gem ||= ::EacRubyGemsUtils::Gem.new(path)
14
+ @ruby_gem ||= ::Avm::EacRubyBase1::Sources::Base.new(path)
15
15
  end
16
16
 
17
17
  def version
@@ -17,6 +17,7 @@ module Avm
17
17
  source_stereotypes_mixins
18
18
  end
19
19
 
20
+ delegate :configuration, to: :avm_instance
20
21
  delegate :to_s, to: :path
21
22
 
22
23
  def locale
@@ -39,11 +40,6 @@ module Avm
39
40
  ::Avm::Registry.sources.detect(path)
40
41
  end
41
42
 
42
- # @return [Avm::Sources::Configuration]
43
- def configuration_uncached
44
- ::Avm::Sources::Configuration.find_in_path(path)
45
- end
46
-
47
43
  def stereotypes_jobs(job, job_args)
48
44
  job_class_method = "#{job}_class"
49
45
  r = []
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/patches/eac_ruby_gems_utils/gem'
4
3
  require 'eac_cli/core_ext'
5
4
 
6
5
  module Avm
@@ -23,6 +23,8 @@ module Avm
23
23
  instance.avm_instance
24
24
  end
25
25
 
26
+ delegate :extra_available_subcommands, to: :subject
27
+
26
28
  private
27
29
 
28
30
  def instance_uncached
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.118.0'
5
+ VERSION = '0.120.1'
6
6
  end
7
7
  end
@@ -8,13 +8,13 @@ module Avm
8
8
  module Sources
9
9
  class Base < ::Avm::EacRailsBase1::Sources::Base
10
10
  CONFIG_RU_SUBPATH = 'config.ru'
11
- SUBS_PATHS_DEFAULT = ['sub/*/*'].freeze
11
+ SUBS_INCLUDE_PATHS_DEFAULT = ['sub/*/*'].freeze
12
12
 
13
13
  def config_ru_path
14
14
  path.join(CONFIG_RU_SUBPATH)
15
15
  end
16
16
 
17
- def subs_paths_default
17
+ def subs_include_paths_default
18
18
  SUBS_PATHS_DEFAULT
19
19
  end
20
20
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRailsBase0
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
@@ -8,14 +8,14 @@ module Avm
8
8
  module Sources
9
9
  class Base < ::Avm::EacRailsBase1::Sources::Base
10
10
  REDMINE_LIB_SUBPATH = 'lib/redmine.rb'
11
- SUBS_PATHS_DEFAULT = ['plugins/*'].freeze
11
+ SUBS_INCLUDE_PATHS_DEFAULT = ['plugins/*'].freeze
12
12
 
13
13
  def redmine_lib_path
14
14
  path.join(REDMINE_LIB_SUBPATH)
15
15
  end
16
16
 
17
- def subs_paths_default
18
- SUBS_PATHS_DEFAULT
17
+ def subs_include_paths_default
18
+ SUBS_INCLUDE_PATHS_DEFAULT
19
19
  end
20
20
 
21
21
  def valid?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRedmineBase0
5
- VERSION = '0.6.0'
5
+ VERSION = '0.6.1'
6
6
  end
7
7
  end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
+
5
+ require 'avm/eac_redmine_plugin_base0/version'
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = 'avm-eac_redmine_plugin_base0'
9
+ s.version = Avm::EacRedminePluginBase0::VERSION
10
+ s.authors = ['Eduardo H. Bogoni']
11
+ s.summary = 'E.A.C.\'s AVM base for Redmine plugins.'
12
+
13
+ s.files = Dir['{lib}/**/*']
14
+
15
+ s.add_dependency 'avm-eac_ruby_base1', '~> 0.7'
16
+ s.add_dependency 'eac_ruby_utils', '~> 0.95', '>= 0.95.1'
17
+
18
+ s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5', '>= 0.5.1'
19
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/eac_rails_base1/sources/base'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module EacRedminePluginBase0
8
+ module Sources
9
+ class Base < ::Avm::EacRailsBase1::Sources::Base
10
+ DEFAULT_GEMFILE_PATH = 'PluginGemfile'
11
+ INIT_SUBPATH = 'init.rb'
12
+
13
+ # @return [String]
14
+ def default_gemfile_path
15
+ DEFAULT_GEMFILE_PATH
16
+ end
17
+
18
+ # @return [String]
19
+ def init_path
20
+ path.join(INIT_SUBPATH)
21
+ end
22
+
23
+ # @return [Boolean]
24
+ def valid?
25
+ init_path.exist?
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module EacRedminePluginBase0
5
+ VERSION = '0.1.0'
6
+ end
7
+ end
@@ -3,7 +3,7 @@
3
3
  require 'eac_ruby_utils/core_ext'
4
4
 
5
5
  module Avm
6
- module EacRubyBase1
6
+ module EacRedminePluginBase0
7
7
  require_sub __FILE__
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.118.0
4
+ version: 0.120.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-25 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.18'
33
+ version: '0.22'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.18'
40
+ version: '0.22'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: avm-eac_asciidoctor_base0
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -92,20 +92,34 @@ dependencies:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
94
  version: 0.5.2
95
+ - !ruby/object:Gem::Dependency
96
+ name: avm-eac_redmine_plugin_base0
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '0.1'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '0.1'
95
109
  - !ruby/object:Gem::Dependency
96
110
  name: avm-eac_ruby_base1
97
111
  requirement: !ruby/object:Gem::Requirement
98
112
  requirements:
99
113
  - - "~>"
100
114
  - !ruby/object:Gem::Version
101
- version: '0.2'
115
+ version: '0.8'
102
116
  type: :runtime
103
117
  prerelease: false
104
118
  version_requirements: !ruby/object:Gem::Requirement
105
119
  requirements:
106
120
  - - "~>"
107
121
  - !ruby/object:Gem::Version
108
- version: '0.2'
122
+ version: '0.8'
109
123
  - !ruby/object:Gem::Dependency
110
124
  name: avm-eac_ubuntu_base0
111
125
  requirement: !ruby/object:Gem::Requirement
@@ -208,26 +222,6 @@ dependencies:
208
222
  - - ">="
209
223
  - !ruby/object:Gem::Version
210
224
  version: 0.16.4
211
- - !ruby/object:Gem::Dependency
212
- name: eac_ruby_gems_utils
213
- requirement: !ruby/object:Gem::Requirement
214
- requirements:
215
- - - "~>"
216
- - !ruby/object:Gem::Version
217
- version: '0.6'
218
- - - ">="
219
- - !ruby/object:Gem::Version
220
- version: 0.6.1
221
- type: :runtime
222
- prerelease: false
223
- version_requirements: !ruby/object:Gem::Requirement
224
- requirements:
225
- - - "~>"
226
- - !ruby/object:Gem::Version
227
- version: '0.6'
228
- - - ">="
229
- - !ruby/object:Gem::Version
230
- version: 0.6.1
231
225
  - !ruby/object:Gem::Dependency
232
226
  name: git
233
227
  requirement: !ruby/object:Gem::Requirement
@@ -341,8 +335,6 @@ files:
341
335
  - lib/avm/launcher/vendor.rb
342
336
  - lib/avm/launcher/vendor/github.rb
343
337
  - lib/avm/patches.rb
344
- - lib/avm/patches/eac_ruby_gems_utils.rb
345
- - lib/avm/patches/eac_ruby_gems_utils/gem.rb
346
338
  - lib/avm/patches/i18n.rb
347
339
  - lib/avm/projects.rb
348
340
  - lib/avm/projects/stereotype.rb
@@ -367,14 +359,6 @@ files:
367
359
  - lib/avm/rails.rb
368
360
  - lib/avm/ruby.rb
369
361
  - lib/avm/ruby/bundler.rb
370
- - lib/avm/ruby/bundler/incompatible_parser.rb
371
- - lib/avm/ruby/bundler/incompatible_parser/depends_on.rb
372
- - lib/avm/ruby/bundler/incompatible_parser/gem_conflict.rb
373
- - lib/avm/ruby/bundler/incompatible_parser/in_gemfile.rb
374
- - lib/avm/ruby/bundler/incompatible_parser/line_buffer.rb
375
- - lib/avm/ruby/bundler/incompatible_parser/line_factory.rb
376
- - lib/avm/ruby/bundler/incompatible_parser/line_parser_base.rb
377
- - lib/avm/ruby/bundler/incompatible_parser/version_requirement.rb
378
362
  - lib/avm/ruby/gems.rb
379
363
  - lib/avm/ruby/gems/generator.rb
380
364
  - lib/avm/stereotypes.rb
@@ -397,7 +381,6 @@ files:
397
381
  - lib/avm/tools/runner/app_src/ruby/bundler.rb
398
382
  - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb
399
383
  - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb
400
- - lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb
401
384
  - lib/avm/tools/runner/app_src/subs.rb
402
385
  - lib/avm/tools/runner/app_src/test.rb
403
386
  - lib/avm/tools/runner/app_src/update.rb
@@ -502,31 +485,6 @@ files:
502
485
  - sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf
503
486
  - sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template
504
487
  - sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
505
- - sub/avm-eac_rails_base1/Gemfile
506
- - sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec
507
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb
508
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb
509
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb
510
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb
511
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb
512
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb
513
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb
514
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb
515
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb
516
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb
517
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb
518
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb
519
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
520
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb
521
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb
522
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb
523
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb
524
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb
525
- - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb
526
- - sub/avm-eac_rails_base1/spec/rubocop_spec.rb
527
- - sub/avm-eac_rails_base1/spec/spec_helper.rb
528
- - sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service
529
- - sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh
530
488
  - sub/avm-eac_redmine_base0/Gemfile
531
489
  - sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec
532
490
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb
@@ -549,29 +507,13 @@ files:
549
507
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template
550
508
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/install_settings.sh.template
551
509
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
552
- - sub/avm-eac_ruby_base1/Gemfile
553
- - sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec
554
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1.rb
555
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler.rb
556
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile.rb
557
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/add_or_replace_gem_line.rb
558
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/gemfile/dependency.rb
559
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb
560
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb
561
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
562
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb
563
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb
564
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb
565
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb
566
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb
567
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb
568
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb
569
- - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb
570
- - sub/avm-eac_ruby_base1/locale/en.yaml
571
- - sub/avm-eac_ruby_base1/locale/pt-BR.yaml
572
- - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb
573
- - sub/avm-eac_ruby_base1/spec/rubocop_spec.rb
574
- - sub/avm-eac_ruby_base1/spec/spec_helper.rb
510
+ - sub/avm-eac_redmine_plugin_base0/Gemfile
511
+ - sub/avm-eac_redmine_plugin_base0/avm-eac_redmine_plugin_base0.gemspec
512
+ - sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0.rb
513
+ - sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
514
+ - sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/version.rb
515
+ - sub/avm-eac_redmine_plugin_base0/spec/rubocop_spec.rb
516
+ - sub/avm-eac_redmine_plugin_base0/spec/spec_helper.rb
575
517
  - sub/avm-eac_ubuntu_base0/Gemfile
576
518
  - sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec
577
519
  - sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb
@@ -712,91 +654,6 @@ files:
712
654
  - sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
713
655
  - sub/avm-git/spec/rubocop_spec.rb
714
656
  - sub/avm-git/spec/spec_helper.rb
715
- - sub/avm/Gemfile
716
- - sub/avm/avm.gemspec
717
- - sub/avm/lib/avm.rb
718
- - sub/avm/lib/avm/data/instance.rb
719
- - sub/avm/lib/avm/data/instance/files_unit.rb
720
- - sub/avm/lib/avm/data/instance/package.rb
721
- - sub/avm/lib/avm/data/instance/unit.rb
722
- - sub/avm/lib/avm/data/package.rb
723
- - sub/avm/lib/avm/data/package/dump.rb
724
- - sub/avm/lib/avm/data/package/load.rb
725
- - sub/avm/lib/avm/data/rotate.rb
726
- - sub/avm/lib/avm/data/unit.rb
727
- - sub/avm/lib/avm/docker.rb
728
- - sub/avm/lib/avm/docker/container.rb
729
- - sub/avm/lib/avm/docker/image.rb
730
- - sub/avm/lib/avm/docker/runner.rb
731
- - sub/avm/lib/avm/executables.rb
732
- - sub/avm/lib/avm/instances.rb
733
- - sub/avm/lib/avm/instances/application.rb
734
- - sub/avm/lib/avm/instances/base.rb
735
- - sub/avm/lib/avm/instances/base/auto_values.rb
736
- - sub/avm/lib/avm/instances/base/auto_values/access.rb
737
- - sub/avm/lib/avm/instances/base/auto_values/admin.rb
738
- - sub/avm/lib/avm/instances/base/auto_values/data.rb
739
- - sub/avm/lib/avm/instances/base/auto_values/database.rb
740
- - sub/avm/lib/avm/instances/base/auto_values/filesystem.rb
741
- - sub/avm/lib/avm/instances/base/auto_values/mailer.rb
742
- - sub/avm/lib/avm/instances/base/auto_values/ruby.rb
743
- - sub/avm/lib/avm/instances/base/auto_values/source.rb
744
- - sub/avm/lib/avm/instances/base/auto_values/system.rb
745
- - sub/avm/lib/avm/instances/base/auto_values/web.rb
746
- - sub/avm/lib/avm/instances/base/dockerizable.rb
747
- - sub/avm/lib/avm/instances/base/entry_keys.rb
748
- - sub/avm/lib/avm/instances/docker_image.rb
749
- - sub/avm/lib/avm/instances/entries.rb
750
- - sub/avm/lib/avm/instances/entry.rb
751
- - sub/avm/lib/avm/instances/entry_keys.rb
752
- - sub/avm/lib/avm/instances/runner.rb
753
- - sub/avm/lib/avm/jobs.rb
754
- - sub/avm/lib/avm/jobs/base.rb
755
- - sub/avm/lib/avm/jobs/variables_source.rb
756
- - sub/avm/lib/avm/launcher/errors/base.rb
757
- - sub/avm/lib/avm/launcher/errors/non_project.rb
758
- - sub/avm/lib/avm/launcher/paths/real.rb
759
- - sub/avm/lib/avm/launcher/publish/check_result.rb
760
- - sub/avm/lib/avm/path_string.rb
761
- - sub/avm/lib/avm/registry.rb
762
- - sub/avm/lib/avm/registry/base.rb
763
- - sub/avm/lib/avm/result.rb
764
- - sub/avm/lib/avm/rspec.rb
765
- - sub/avm/lib/avm/rspec/setup.rb
766
- - sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
767
- - sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
768
- - sub/avm/lib/avm/runners/base.rb
769
- - sub/avm/lib/avm/scms/base.rb
770
- - sub/avm/lib/avm/scms/commit.rb
771
- - sub/avm/lib/avm/scms/inflector.rb
772
- - sub/avm/lib/avm/self/docker_image.rb
773
- - sub/avm/lib/avm/self/instance.rb
774
- - sub/avm/lib/avm/self/instance/entry_keys.rb
775
- - sub/avm/lib/avm/sources.rb
776
- - sub/avm/lib/avm/sources/base.rb
777
- - sub/avm/lib/avm/sources/base/configuration.rb
778
- - sub/avm/lib/avm/sources/base/instance.rb
779
- - sub/avm/lib/avm/sources/base/parent.rb
780
- - sub/avm/lib/avm/sources/base/subs.rb
781
- - sub/avm/lib/avm/sources/base/subs_paths.rb
782
- - sub/avm/lib/avm/sources/base/testing.rb
783
- - sub/avm/lib/avm/sources/configuration.rb
784
- - sub/avm/lib/avm/sources/configuration/locale.rb
785
- - sub/avm/lib/avm/sources/configuration/rubocop.rb
786
- - sub/avm/lib/avm/sources/configuration/tests.rb
787
- - sub/avm/lib/avm/sources/tester.rb
788
- - sub/avm/lib/avm/sources/tests.rb
789
- - sub/avm/lib/avm/sources/tests/builder.rb
790
- - sub/avm/lib/avm/sources/tests/performer.rb
791
- - sub/avm/lib/avm/sources/tests/result.rb
792
- - sub/avm/lib/avm/sources/tests/single.rb
793
- - sub/avm/lib/avm/sync.rb
794
- - sub/avm/lib/avm/version.rb
795
- - sub/avm/lib/avm/version_number.rb
796
- - sub/avm/spec/lib/avm/scms/base_spec.rb
797
- - sub/avm/spec/lib/avm/sources/base_spec.rb
798
- - sub/avm/spec/rubocop_spec.rb
799
- - sub/avm/spec/spec_helper.rb
800
657
  - sub/eac_cli/Gemfile
801
658
  - sub/eac_cli/eac_cli.gemspec
802
659
  - sub/eac_cli/lib/eac_cli.rb
@@ -1174,59 +1031,6 @@ files:
1174
1031
  - sub/eac_rest/lib/eac_rest/version.rb
1175
1032
  - sub/eac_rest/spec/rubocop_spec.rb
1176
1033
  - sub/eac_rest/spec/spec_helper.rb
1177
- - sub/eac_ruby_base0/Gemfile
1178
- - sub/eac_ruby_base0/eac_ruby_base0.gemspec
1179
- - sub/eac_ruby_base0/lib/eac_ruby_base0.rb
1180
- - sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb
1181
- - sub/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb
1182
- - sub/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb
1183
- - sub/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb
1184
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches.rb
1185
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb
1186
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb
1187
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb
1188
- - sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb
1189
- - sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb
1190
- - sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb
1191
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb
1192
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb
1193
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb
1194
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb
1195
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb
1196
- - sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb
1197
- - sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb
1198
- - sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb
1199
- - sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb
1200
- - sub/eac_ruby_base0/spec/rubocop_spec.rb
1201
- - sub/eac_ruby_base0/spec/spec_helper.rb
1202
- - sub/eac_ruby_gems_utils/Gemfile
1203
- - sub/eac_ruby_gems_utils/LICENCE
1204
- - sub/eac_ruby_gems_utils/README.rdoc
1205
- - sub/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec
1206
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb
1207
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb
1208
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb
1209
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb
1210
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb
1211
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb
1212
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb
1213
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb
1214
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb
1215
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb
1216
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb
1217
- - sub/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb
1218
- - sub/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb
1219
- - sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec.rb
1220
- - sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec_files/a_version_file.rb
1221
- - sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
1222
- - sub/eac_ruby_gems_utils/spec/spec_helper.rb
1223
- - sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile
1224
- - sub/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock
1225
- - sub/eac_ruby_gems_utils/spec/support/mygem/Rakefile
1226
- - sub/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner
1227
- - sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb
1228
- - sub/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb
1229
- - sub/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec
1230
1034
  - sub/eac_ruby_utils/Gemfile
1231
1035
  - sub/eac_ruby_utils/MIT-LICENCE
1232
1036
  - sub/eac_ruby_utils/README.rdoc
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/sources/configuration'
4
- require 'eac_ruby_gems_utils/gem'
5
- require 'eac_ruby_utils/core_ext'
6
-
7
- module Avm
8
- module Patches
9
- module EacRubyGemsUtils
10
- module Gem
11
- enable_simple_cache
12
-
13
- private
14
-
15
- def configuration_uncached
16
- ::Avm::Sources::Configuration.find_in_path(root)
17
- end
18
-
19
- def gemfile_path_uncached
20
- return super unless configuration.present? && configuration.rubocop_gemfile.present?
21
-
22
- configuration.rubocop_gemfile
23
- end
24
- end
25
- end
26
- end
27
- end
28
-
29
- ::EacRubyGemsUtils::Gem.prepend(::Avm::Patches::EacRubyGemsUtils::Gem)
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/require_sub'
4
- ::EacRubyUtils.require_sub(__FILE__)
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/core_ext'
4
- require 'avm/ruby/bundler/incompatible_parser/line_parser_base'
5
-
6
- module Avm
7
- module Ruby
8
- module Bundler
9
- class IncompatibleParser
10
- class DependsOn < ::Avm::Ruby::Bundler::IncompatibleParser::LineParserBase
11
- LINE_PARSER = /(.+) was resolved to (.+), which depends on/
12
- .to_parser { |m| new(m[1], m[2]) }
13
-
14
- common_constructor :gem_name, :version do
15
- self.version = ::Gem::Version.new(version)
16
- end
17
-
18
- def data
19
- { gem_name: gem_name, version: version }
20
- end
21
- end
22
- end
23
- end
24
- end
25
- end