avm-tools 0.112.0 → 0.113.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b66b870dd3773fc0d1b9f01af2b1071c16dd477b97f11fdf97f2635bebadf8c
4
- data.tar.gz: 1c7d80182eee3d3d144e324c4d189e1252d7b47284f03cc8404d3b01793159c8
3
+ metadata.gz: f7642f9fd9543534ec7490a32324374c952d44110da9e5c38c6f5973ff5ed8f5
4
+ data.tar.gz: ac643aa66ac264c0e8514bfacb404e505446de10594576b48629a0d60d6a0bd8
5
5
  SHA512:
6
- metadata.gz: 6fc387867645488cfa6be38135087ff5ff9cd9b8785b6c09d38562faecc0e3c995d0415d36f70c1ff61765c0f3ea094f9007af3a9a4434c70d242a47e1ad852c
7
- data.tar.gz: 64cd91c8f706d397354e1900028dc504863c6dedc7182da287d864e19e6ab00caf52e0754867d9c393001dd5486e80db5451e63440fe5db359152302a816cd44
6
+ metadata.gz: dc325311695260d082a5352dfc3d079a2bc1d04a57c3f9e2c7e3784d8402208c32599833b73a7b1c17852b9c47f8d3a3304f9ffcb797047ad156f131500105f3
7
+ data.tar.gz: 3c0172dee6c96bf0cbfd70ada021e78f7dd6251671c0e84a7c2e8ff7f5e9b27f6fb8e60578f02589f3b0539e0c77734537526ed20bc8b6c28f6241eed58d94aa
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/sources/base'
3
+ require 'avm/registry'
4
4
  require 'avm/sources/configuration'
5
5
  require 'avm/launcher/paths/real'
6
6
  require 'avm/projects/stereotype/job_comparator'
@@ -36,7 +36,7 @@ module Avm
36
36
  private
37
37
 
38
38
  def avm_instance_uncached
39
- ::Avm::Sources::Base.new(path)
39
+ ::Avm::Registry.sources.detect(path)
40
40
  end
41
41
 
42
42
  # @return [Avm::Sources::Configuration]
@@ -25,14 +25,14 @@ module Avm
25
25
  end
26
26
 
27
27
  def show_source
28
- infov 'Stereotype', runner_context.call(:subject).stereotype
28
+ infov 'Stereotype', runner_context.call(:subject).class
29
29
  infov 'SCM', runner_context.call(:subject).scm
30
30
  end
31
31
 
32
32
  def show_subs
33
33
  infov 'Sub applications', instance.avm_instance.subs.count
34
34
  instance.avm_instance.subs.each do |subapp|
35
- infov ' * ', subapp.relative_path
35
+ infov ' * ', "#{subapp.relative_path} [#{subapp.class}]"
36
36
  end
37
37
  end
38
38
 
@@ -6,7 +6,7 @@ require 'avm/git/issue/complete'
6
6
  module Avm
7
7
  module Tools
8
8
  class Runner
9
- class Git
9
+ class AppSrc
10
10
  class Issue
11
11
  class Complete
12
12
  runner_with :confirmation, :help do
@@ -52,7 +52,8 @@ module Avm
52
52
  end
53
53
 
54
54
  def git_complete_issue_options
55
- { dir: runner_context.call(:repository_path), skip_validations: skip_validations }
55
+ { dir: runner_context.call(:subject).path.to_path,
56
+ skip_validations: skip_validations }
56
57
  end
57
58
 
58
59
  def doc_validations_list
@@ -6,7 +6,7 @@ require 'avm/git/issue/deliver'
6
6
  module Avm
7
7
  module Tools
8
8
  class Runner
9
- class Git
9
+ class AppSrc
10
10
  class Issue
11
11
  class Deliver
12
12
  runner_with :confirmation, :help do
@@ -25,7 +25,7 @@ module Avm
25
25
  private
26
26
 
27
27
  def deliver_uncached
28
- ::Avm::Git::Issue::Deliver.new(runner_context.call(:git_repo))
28
+ ::Avm::Git::Issue::Deliver.new(runner_context.call(:subject).scm.git_repo)
29
29
  end
30
30
  end
31
31
  end
@@ -1,12 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'avm/tools/core_ext'
4
- require 'avm/git/issue/complete'
5
4
 
6
5
  module Avm
7
6
  module Tools
8
7
  class Runner
9
- class Git
8
+ class AppSrc
10
9
  class Issue
11
10
  require_sub __FILE__
12
11
  runner_with :help, :subcommands do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.112.0'
5
+ VERSION = '0.113.0'
6
6
  end
7
7
  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.112.0
4
+ version: 0.113.0
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: 2021-11-21 00:00:00.000000000 Z
11
+ date: 2021-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -381,6 +381,9 @@ files:
381
381
  - lib/avm/tools/runner/app_src/eac_writings_base0/build_single.rb
382
382
  - lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
383
383
  - lib/avm/tools/runner/app_src/info.rb
384
+ - lib/avm/tools/runner/app_src/issue.rb
385
+ - lib/avm/tools/runner/app_src/issue/complete.rb
386
+ - lib/avm/tools/runner/app_src/issue/deliver.rb
384
387
  - lib/avm/tools/runner/app_src/ruby.rb
385
388
  - lib/avm/tools/runner/app_src/ruby/bundler.rb
386
389
  - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb
@@ -409,9 +412,6 @@ files:
409
412
  - lib/avm/tools/runner/git/commit.rb
410
413
  - lib/avm/tools/runner/git/deploy.rb
411
414
  - lib/avm/tools/runner/git/dirty_files.rb
412
- - lib/avm/tools/runner/git/issue.rb
413
- - lib/avm/tools/runner/git/issue/complete.rb
414
- - lib/avm/tools/runner/git/issue/deliver.rb
415
415
  - lib/avm/tools/runner/git/organize.rb
416
416
  - lib/avm/tools/runner/git/revisions_test.rb
417
417
  - lib/avm/tools/runner/git/subrepo.rb