eac_tools 0.18.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +11 -11
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb +1 -1
  5. data/sub/{avm-tools/template/avm/eac_writings_base0 → avm-eac_latex_base0/template/avm/eac_latex_base0/instances}/deploy/index.html.template +0 -0
  6. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/preferred_version_requirements.rb +43 -0
  7. data/sub/{avm-tools/lib/avm/tools/runner/ruby → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base}/rubocop.rb +4 -4
  8. data/sub/{avm-tools/lib/avm/tools/runner/ruby.rb → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base.rb} +5 -4
  9. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners.rb +11 -0
  10. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +1 -1
  11. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_local.rb +84 -0
  12. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/update_dependencies_requirements.rb +48 -0
  13. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update_dependency_requirements.rb +51 -0
  14. data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
  15. data/sub/avm-eac_ruby_base1/locale/en.yml +2 -0
  16. data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +2 -0
  17. data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/preferred_version_requirements_spec.rb +23 -0
  18. data/sub/{avm-tools/spec/lib/avm/tools/runner/ruby → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base}/rubocop_spec.rb +6 -5
  19. data/sub/{avm-tools/spec/lib/avm/tools/runner/ruby → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base}/rubocop_spec_files/dir1/dir3/Gemfile +0 -0
  20. data/sub/{avm-tools/spec/lib/avm/tools/runner/ruby → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base}/rubocop_spec_files/dir2/empty.rb +0 -0
  21. data/sub/{avm-tools/spec/lib/avm/tools/runner/ruby → avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base}/rubocop_spec_files/dir4/false_command.rb +0 -0
  22. data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
  23. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +5 -1
  24. data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
  25. metadata +31 -14
  26. data/sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir1/dir3/Gemfile.lock +0 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: baba23c169953217d7ae8fb843f6e6ba92026ea05912703fbdaa96d928e26441
4
- data.tar.gz: ba6447143ad6a2549e67d876df792093af9de18a54ca960068e7ab066d5e261d
3
+ metadata.gz: 107915a05b1fbd0d59621404605a2f620b5e276cdd06decb8a57198e2beb901f
4
+ data.tar.gz: 654a27855b25bdf9174a24339f89e2d5a47d4e8b5651cce205f831cec4b6e3f1
5
5
  SHA512:
6
- metadata.gz: e4a52a8b9facf9631f73dce00eebdf34332096e7b69557d9421b5dbe24e349189f906ef5ac4bbaf3dd61d772a0f8aa095c579ef1e023af45c5616c504e865e92
7
- data.tar.gz: 28e74a110919a42cad8431eb7893c1e740768f9d4a0ef1a2a486a6cc867d6839a5907a6d122d7183c72b53e618d321f65eb331ca2bfd9810d15de15eaf2d81b1
6
+ metadata.gz: e02293121107031d6beb1017e9a7213063a784ea36b86f469bdf0ab4b57cdef7688cc0f387eea857d69b545a5e2b7906a695b99628ce625b1e2041bfcf01dc76
7
+ data.tar.gz: 262e1a80690e74215af7ba055fbf78773b3e2e007b90e741b9e2fab8fabcefec60b1cc386601e5937bce9511f88004fb8ed6066739f2418c86e849446a078073
data/Gemfile.lock CHANGED
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eac_tools (0.18.0)
4
+ eac_tools (0.21.0)
5
5
  avm (~> 0.35)
6
6
  avm-eac_asciidoctor_base0 (~> 0.4)
7
7
  avm-eac_generic_base0 (~> 0.5)
8
- avm-eac_latex_base0 (~> 0.1)
8
+ avm-eac_latex_base0 (~> 0.1, >= 0.1.1)
9
9
  avm-eac_rails_base0 (~> 0.6, >= 0.6.1)
10
10
  avm-eac_rails_base1 (~> 0.4, >= 0.4.2)
11
11
  avm-eac_redmine_base0 (~> 0.11)
12
12
  avm-eac_redmine_plugin_base0 (~> 0.3)
13
- avm-eac_ruby_base1 (~> 0.15)
13
+ avm-eac_ruby_base1 (~> 0.18)
14
14
  avm-eac_webapp_base0 (~> 0.3, >= 0.3.1)
15
- avm-eac_wordpress_base0 (~> 0.1)
16
- avm-tools (~> 0.131)
15
+ avm-eac_wordpress_base0 (~> 0.1, >= 0.1.1)
16
+ avm-tools (~> 0.132)
17
17
  eac_ruby_utils (~> 0.98)
18
18
 
19
19
  PATH
@@ -36,7 +36,7 @@ PATH
36
36
  PATH
37
37
  remote: sub/avm-eac_latex_base0
38
38
  specs:
39
- avm-eac_latex_base0 (0.1.0)
39
+ avm-eac_latex_base0 (0.1.1)
40
40
  avm (~> 0.34)
41
41
  avm-eac_webapp_base0 (~> 0.3, >= 0.3.1)
42
42
  eac_ruby_utils (~> 0.97)
@@ -80,7 +80,7 @@ PATH
80
80
  PATH
81
81
  remote: sub/avm-eac_ruby_base1
82
82
  specs:
83
- avm-eac_ruby_base1 (0.15.0)
83
+ avm-eac_ruby_base1 (0.18.0)
84
84
  avm (~> 0.34)
85
85
  avm-eac_generic_base0 (~> 0.2)
86
86
  eac_ruby_utils (~> 0.95, >= 0.95.1)
@@ -106,7 +106,7 @@ PATH
106
106
  PATH
107
107
  remote: sub/avm-tools
108
108
  specs:
109
- avm-tools (0.131.0)
109
+ avm-tools (0.132.0)
110
110
  aranha-parsers (~> 0.4)
111
111
  avm (~> 0.34)
112
112
  avm-eac_ruby_base1 (~> 0.8)
@@ -138,7 +138,7 @@ PATH
138
138
  PATH
139
139
  remote: sub/eac_cli
140
140
  specs:
141
- eac_cli (0.27.7)
141
+ eac_cli (0.27.8)
142
142
  colorize (~> 0.8.1)
143
143
  eac_config (~> 0.8)
144
144
  eac_ruby_utils (~> 0.95)
@@ -243,7 +243,7 @@ GEM
243
243
  eac_templates (0.3.1)
244
244
  eac_config (~> 0.5)
245
245
  eac_ruby_utils (~> 0.64)
246
- faraday (1.10.0)
246
+ faraday (1.10.1)
247
247
  faraday-em_http (~> 1.0)
248
248
  faraday-em_synchrony (~> 1.0)
249
249
  faraday-excon (~> 1.1)
@@ -290,7 +290,7 @@ GEM
290
290
  os (1.1.4)
291
291
  parallel (1.22.1)
292
292
  parseconfig (1.1.2)
293
- parser (3.1.2.0)
293
+ parser (3.1.2.1)
294
294
  ast (~> 2.4.1)
295
295
  parslet (2.0.0)
296
296
  public_suffix (4.0.7)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacTools
4
- VERSION = '0.18.0'
4
+ VERSION = '0.21.0'
5
5
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacLatexBase0
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/version_number'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module EacRubyBase1
8
+ class PreferredVersionRequirements
9
+ enable_simple_cache
10
+ common_constructor :version do
11
+ self.version = ::Avm::VersionNumber.new(version)
12
+ end
13
+
14
+ # @return [Avm::VersionNumber]
15
+ def prefix_version
16
+ ::Avm::VersionNumber.new(
17
+ normalized_version.segments[0..normalized_version.segments.count - 2]
18
+ )
19
+ end
20
+
21
+ # @return [Gem::Requirement]
22
+ def to_requirement
23
+ r = ["~> #{prefix_version}"]
24
+ r << ">= #{normalized_version}" unless normalized_version.segments[-1].zero?
25
+ ::Gem::Requirement.new(r)
26
+ end
27
+
28
+ # @return [Array<String>]
29
+ def to_requirements_list
30
+ to_requirement.requirements.map { |r| "#{r[0]} #{r[1]}" }
31
+ end
32
+
33
+ private
34
+
35
+ # @return [Avm::VersionNumber]
36
+ def normalized_version_uncached
37
+ r = version
38
+ r = ::Avm::VersionNumber.new(r.segments + [0]) while r.segments.count < 3
39
+ r
40
+ end
41
+ end
42
+ end
43
+ end
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/tools/core_ext'
4
3
  require 'avm/eac_ruby_base1/rubocop'
4
+ require 'eac_cli/core_ext'
5
5
 
6
6
  module Avm
7
- module Tools
8
- class Runner
9
- class Ruby
7
+ module EacRubyBase1
8
+ module Runners
9
+ class Base
10
10
  class Rubocop
11
11
  runner_with :help do
12
12
  desc 'Runs Rubocop (https://rubygems.org/gems/rubocop).'
@@ -1,12 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'eac_cli/core_ext'
3
+ require 'avm/runners/base'
4
4
 
5
5
  module Avm
6
- module Tools
7
- class Runner
8
- class Ruby
6
+ module EacRubyBase1
7
+ module Runners
8
+ class Base < ::Avm::Runners::Base
9
9
  require_sub __FILE__
10
+
10
11
  runner_with :help, :subcommands do
11
12
  desc 'Ruby utilities for AVM.'
12
13
  subcommands
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module Avm
6
+ module EacRubyBase1
7
+ module Runners
8
+ require_sub __FILE__
9
+ end
10
+ end
11
+ end
@@ -2,8 +2,8 @@
2
2
 
3
3
  require 'avm/eac_generic_base0/sources/base'
4
4
  require 'avm/eac_ruby_base1/rubygems/version_file'
5
+ require 'avm/eac_ruby_base1/sources/runners'
5
6
  require 'avm/eac_ruby_base1/sources/update'
6
- require 'avm/eac_ruby_base1/sources/runners/bundler'
7
7
  require 'avm/version_number'
8
8
  require 'eac_ruby_utils/core_ext'
9
9
 
@@ -0,0 +1,84 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_cli/core_ext'
4
+
5
+ module Avm
6
+ module EacRubyBase1
7
+ module Sources
8
+ module Runners
9
+ class Bundler
10
+ class GemfileLocal
11
+ runner_with :help do
12
+ bool_opt '-w', '--write', 'Write the Gemfile.local file.'
13
+ end
14
+
15
+ def run
16
+ start_banner
17
+ run_bundle
18
+ siblings_banner
19
+ write_gemfile_local
20
+ end
21
+
22
+ private
23
+
24
+ def gemfile_local_path
25
+ the_source.path.join('Gemfile.local')
26
+ end
27
+
28
+ def gemfile_local_content
29
+ siblings.map { |s| sibling_gemfile_local_line(s) }.join
30
+ end
31
+
32
+ def run_bundle
33
+ the_source.bundle.execute!
34
+ rescue ::RuntimeError
35
+ the_source.bundle('update').execute!
36
+ end
37
+
38
+ def sibling_gemfile_local_line(sibling)
39
+ ["gem '#{sibling.gem_name}'",
40
+ "path: ::File.expand_path('" +
41
+ sibling.path.relative_path_from(the_source.path).to_path +
42
+ "', __dir__)"].join(', ') + "\n"
43
+ end
44
+
45
+ def start_banner
46
+ runner_context.call(:source_banner)
47
+ infov 'Parent', the_source.parent
48
+ end
49
+
50
+ def siblings_banner
51
+ infov 'Siblings', siblings.count
52
+ siblings.each do |sibling|
53
+ infov ' * ', sibling.relative_path
54
+ end
55
+ end
56
+
57
+ def write_gemfile_local
58
+ return unless parsed.write?
59
+
60
+ infom "Writing #{gemfile_local_path}..."
61
+ gemfile_local_path.write(gemfile_local_content)
62
+ end
63
+
64
+ def siblings_uncached
65
+ the_source.parent.if_present([]) do |v|
66
+ v.subs.select { |sub| dependency_sub?(sub) }
67
+ end
68
+ end
69
+
70
+ def the_source
71
+ runner_context.call(:source)
72
+ end
73
+
74
+ def dependency_sub?(sub)
75
+ sub.is_a?(::Avm::EacRubyBase1::Sources::Base) &&
76
+ sub.gem_name != the_source.gem_name &&
77
+ the_source.gemfile_lock_gem_version(sub.gem_name).present?
78
+ end
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/eac_ruby_base1/rubygems/gemspec'
4
+ require 'avm/eac_ruby_base1/sources/update_dependency_requirements'
5
+ require 'eac_cli/core_ext'
6
+
7
+ module Avm
8
+ module EacRubyBase1
9
+ module Sources
10
+ module Runners
11
+ class UpdateDependenciesRequirements
12
+ runner_with :help, :subcommands do
13
+ bool_opt '-a', '--all'
14
+ pos_arg :gem_name, repeat: true, optional: true
15
+ end
16
+
17
+ def run
18
+ runner_context.call(:source_banner)
19
+ infov 'Gems to update', gem_names.count
20
+ gem_names.each do |gem_name|
21
+ infov 'Gem to update', gem_name
22
+ ::Avm::EacRubyBase1::Sources::UpdateDependencyRequirements
23
+ .new(runner_context.call(:source), gem_name).perform
24
+ end
25
+ end
26
+
27
+ def gemspec
28
+ ::Avm::EacRubyBase1::Rubygems::Gemspec.from_file(
29
+ runner_context.call(:source).gemspec_path
30
+ )
31
+ end
32
+
33
+ private
34
+
35
+ def gem_names_uncached
36
+ ::Set.new(parsed.gem_name + gem_names_from_all).sort
37
+ end
38
+
39
+ def gem_names_from_all
40
+ return [] unless parsed.all?
41
+
42
+ gemspec.dependencies.map(&:gem_name)
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/eac_ruby_base1/preferred_version_requirements'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module EacRubyBase1
8
+ module Sources
9
+ class UpdateDependencyRequirements
10
+ enable_simple_cache
11
+ common_constructor :source, :gem_name
12
+
13
+ def perform
14
+ source.scm.commit_if_change(commit_message) { update_code }
15
+ end
16
+
17
+ private
18
+
19
+ # @return [String]
20
+ def commit_message
21
+ i18n_translate(__method__,
22
+ name: gem_name,
23
+ requirements_list: requirements_list.join(', '),
24
+ __locale: source.locale)
25
+ end
26
+
27
+ # @return [Array<String>]
28
+ def requirements_list_uncached
29
+ ::Avm::EacRubyBase1::PreferredVersionRequirements.new(
30
+ source.gemfile_lock_gem_version(gem_name)
31
+ ).to_requirements_list
32
+ end
33
+
34
+ def gemspec_uncached
35
+ ::Avm::EacRubyBase1::Rubygems::Gemspec.from_file(source.gemspec_path)
36
+ end
37
+
38
+ def update_code
39
+ update_gemspec
40
+ source.bundle.system!
41
+ end
42
+
43
+ def update_gemspec
44
+ gemspec.dependency(gem_name).version_specs = requirements_list
45
+ gemspec.write(source.gemspec_path)
46
+ source.bundle('exec', 'rubocop', source.gemspec_path).system!
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRubyBase1
5
- VERSION = '0.15.0'
5
+ VERSION = '0.18.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
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'avm/eac_ruby_base1/runners/base/rubocop'
3
4
  require 'avm/eac_ruby_base1/sources/base'
4
- require 'avm/tools/runner'
5
5
 
6
- ::RSpec.describe ::Avm::Tools::Runner::Ruby::Rubocop do
6
+ ::RSpec.describe ::Avm::EacRubyBase1::Runners::Base::Rubocop do
7
7
  let(:fixtures_root) { ::Pathname.new(__dir__).expand_path.join('rubocop_spec_files') }
8
8
  let(:dir1) { fixtures_root.join('dir1') }
9
9
  let(:dir2) { fixtures_root.join('dir2') }
@@ -12,7 +12,8 @@ require 'avm/tools/runner'
12
12
 
13
13
  {
14
14
  dir1: '0.48.1',
15
- dir2: ::Avm::EacRubyBase1::Sources::Base.new(APP_ROOT).gemfile_lock_gem_version('rubocop').to_s,
15
+ dir2: ::Avm::EacRubyBase1::Sources::Base.new(::File.expand_path('../../../../../..', __dir__))
16
+ .gemfile_lock_gem_version('rubocop').to_s,
16
17
  dir3: '0.48.1',
17
18
  dir4: '33.33.33'
18
19
  }.each do |dir_name, rubocop_version|
@@ -25,8 +26,8 @@ require 'avm/tools/runner'
25
26
  end
26
27
 
27
28
  it "return #{rubocop_version} as Rubocop version" do
28
- argv = ['--quiet', 'ruby', 'rubocop', '-C', dir.to_s, '--', '--version']
29
- expect { ::Avm::Tools::Runner.run(argv: argv) }.to(
29
+ argv = ['-C', dir.to_s, '--', '--version']
30
+ expect { described_class.run(argv: argv) }.to(
30
31
  output("#{rubocop_version}\n").to_stdout_from_any_process
31
32
  )
32
33
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.131.0'
5
+ VERSION = '0.132.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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.21.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-06 00:00:00.000000000 Z
11
+ date: 2022-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -59,6 +59,9 @@ dependencies:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.1'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 0.1.1
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,6 +69,9 @@ dependencies:
66
69
  - - "~>"
67
70
  - !ruby/object:Gem::Version
68
71
  version: '0.1'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 0.1.1
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: avm-eac_rails_base0
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -140,14 +146,14 @@ dependencies:
140
146
  requirements:
141
147
  - - "~>"
142
148
  - !ruby/object:Gem::Version
143
- version: '0.15'
149
+ version: '0.18'
144
150
  type: :runtime
145
151
  prerelease: false
146
152
  version_requirements: !ruby/object:Gem::Requirement
147
153
  requirements:
148
154
  - - "~>"
149
155
  - !ruby/object:Gem::Version
150
- version: '0.15'
156
+ version: '0.18'
151
157
  - !ruby/object:Gem::Dependency
152
158
  name: avm-eac_webapp_base0
153
159
  requirement: !ruby/object:Gem::Requirement
@@ -175,6 +181,9 @@ dependencies:
175
181
  - - "~>"
176
182
  - !ruby/object:Gem::Version
177
183
  version: '0.1'
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 0.1.1
178
187
  type: :runtime
179
188
  prerelease: false
180
189
  version_requirements: !ruby/object:Gem::Requirement
@@ -182,20 +191,23 @@ dependencies:
182
191
  - - "~>"
183
192
  - !ruby/object:Gem::Version
184
193
  version: '0.1'
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: 0.1.1
185
197
  - !ruby/object:Gem::Dependency
186
198
  name: avm-tools
187
199
  requirement: !ruby/object:Gem::Requirement
188
200
  requirements:
189
201
  - - "~>"
190
202
  - !ruby/object:Gem::Version
191
- version: '0.131'
203
+ version: '0.132'
192
204
  type: :runtime
193
205
  prerelease: false
194
206
  version_requirements: !ruby/object:Gem::Requirement
195
207
  requirements:
196
208
  - - "~>"
197
209
  - !ruby/object:Gem::Version
198
- version: '0.131'
210
+ version: '0.132'
199
211
  - !ruby/object:Gem::Dependency
200
212
  name: eac_ruby_utils
201
213
  requirement: !ruby/object:Gem::Requirement
@@ -295,6 +307,7 @@ files:
295
307
  - sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb
296
308
  - sub/avm-eac_latex_base0/spec/rubocop_spec.rb
297
309
  - sub/avm-eac_latex_base0/spec/spec_helper.rb
310
+ - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/instances/deploy/index.html.template
298
311
  - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/all.tex
299
312
  - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/ebook.tex
300
313
  - sub/avm-eac_latex_base0/template/avm/eac_latex_base0/sources/build/commons/images.tex
@@ -430,6 +443,7 @@ files:
430
443
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_factory.rb
431
444
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base.rb
432
445
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/bundler/incompatible_parser/version_requirement.rb
446
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/preferred_version_requirements.rb
433
447
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb
434
448
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb
435
449
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
@@ -439,6 +453,9 @@ files:
439
453
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/add_or_replace_gem_line.rb
440
454
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/dependency.rb
441
455
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/version_file.rb
456
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners.rb
457
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base.rb
458
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/runners/base/rubocop.rb
442
459
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators.rb
443
460
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/source_generators/base.rb
444
461
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb
@@ -450,7 +467,9 @@ files:
450
467
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/version_bump.rb
451
468
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb
452
469
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb
470
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/gemfile_local.rb
453
471
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb
472
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/update_dependencies_requirements.rb
454
473
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests.rb
455
474
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/base.rb
456
475
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/minitest.rb
@@ -460,6 +479,7 @@ files:
460
479
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/rspec.rb
461
480
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update.rb
462
481
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update/sub_update.rb
482
+ - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/update_dependency_requirements.rb
463
483
  - sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb
464
484
  - sub/avm-eac_ruby_base1/locale/en.yml
465
485
  - sub/avm-eac_ruby_base1/locale/pt-BR.yml
@@ -468,8 +488,13 @@ files:
468
488
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/1.target.yaml
469
489
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.source.out
470
490
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/bundler/incompatible_parser_spec_files/2.target.yaml
491
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/preferred_version_requirements_spec.rb
471
492
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb
472
493
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec_files/a_version_file.rb
494
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec.rb
495
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir1/dir3/Gemfile
496
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir2/empty.rb
497
+ - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/runners/base/rubocop_spec_files/dir4/false_command.rb
473
498
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec.rb
474
499
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/Gemfile
475
500
  - sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/source_generators/base_spec_files/dashed-mygem/dashed-mygem.gemspec
@@ -650,8 +675,6 @@ files:
650
675
  - sub/avm-tools/lib/avm/tools/runner/launcher/instances.rb
651
676
  - sub/avm-tools/lib/avm/tools/runner/launcher/projects.rb
652
677
  - sub/avm-tools/lib/avm/tools/runner/launcher/publish.rb
653
- - sub/avm-tools/lib/avm/tools/runner/ruby.rb
654
- - sub/avm-tools/lib/avm/tools/runner/ruby/rubocop.rb
655
678
  - sub/avm-tools/lib/avm/tools/runner/self.rb
656
679
  - sub/avm-tools/lib/avm/tools/runner/self/docker.rb
657
680
  - sub/avm-tools/lib/avm/tools/runner/self/registry.rb
@@ -711,11 +734,6 @@ files:
711
734
  - sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec.rb
712
735
  - sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append1/stub3.txt.template
713
736
  - sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append2/stub4.txt
714
- - sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec.rb
715
- - sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir1/dir3/Gemfile
716
- - sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir1/dir3/Gemfile.lock
717
- - sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir2/empty.rb
718
- - sub/avm-tools/spec/lib/avm/tools/runner/ruby/rubocop_spec_files/dir4/false_command.rb
719
737
  - sub/avm-tools/spec/lib/avm/tools/runner_spec.rb
720
738
  - sub/avm-tools/spec/rubocop_spec.rb
721
739
  - sub/avm-tools/spec/spec_helper.rb
@@ -727,7 +745,6 @@ files:
727
745
  - sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/id_rsa.pub
728
746
  - sub/avm-tools/spec/spec_helper/stubbed_docker_server.rb
729
747
  - sub/avm-tools/spec/spec_helper/templates.rb
730
- - sub/avm-tools/template/avm/eac_writings_base0/deploy/index.html.template
731
748
  - sub/avm-tools/template/avm/self/docker_image/Dockerfile
732
749
  - sub/avm-tools/template/avm/self/docker_image/entrypoint.sh
733
750
  - sub/avm/Gemfile
@@ -1,27 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- ast (2.4.0)
5
- parser (2.7.0.4)
6
- ast (~> 2.4.0)
7
- powerpack (0.1.2)
8
- rainbow (2.2.2)
9
- rake
10
- rake (13.0.1)
11
- rubocop (0.48.1)
12
- parser (>= 2.3.3.1, < 3.0)
13
- powerpack (~> 0.1)
14
- rainbow (>= 1.99.1, < 3.0)
15
- ruby-progressbar (~> 1.7)
16
- unicode-display_width (~> 1.0, >= 1.0.1)
17
- ruby-progressbar (1.10.1)
18
- unicode-display_width (1.7.0)
19
-
20
- PLATFORMS
21
- ruby
22
-
23
- DEPENDENCIES
24
- rubocop (= 0.48.1)
25
-
26
- BUNDLED WITH
27
- 2.3.17