avm-tools 0.132.1 → 0.133.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: '08a81b50cd1bf5c55111bec548c8583f3e8a1ddfacab08cc983707f8f8380bb0'
4
- data.tar.gz: c4c7ddfe8a508964adeb2e5256cf085d16feb3da88b5a47945db4e6df17948ea
3
+ metadata.gz: 46de4f5a41abb4eb674f4326a0757800170ad415ee9a93403fb15079a78070d6
4
+ data.tar.gz: e6af85c9d1951e75df3e2ebbf5f5b33dfa4ed6a0ac29e313104b3d3412ed0777
5
5
  SHA512:
6
- metadata.gz: 62054f4e9e66b8306bf0bf24bc4682ac16e934b3f9da98745932fa8ee9ffa7b545cdb2813fd241370f37362b08e0882131eca8a55d7a537cc9b98dd7f95f2487
7
- data.tar.gz: f49941554972dfe9fa7b0de0a6e8b6c6a60d4b8a3cf6c85b548ad7f594885c7596d9928371904dfbe9391e705498d80b79b4b97148c0a6300c134c59ef4b1791
6
+ metadata.gz: 98357969b089398fdc785ba44920cb79abf232049a72037cfc049ae8f1b6941184ecec0ccf477b8a112245ea54d67bb42bd1ac8c4c1dc79e64e53e56e8a960bc
7
+ data.tar.gz: c5776ff8b13933d20e16d46f4033ec7f49446710e30360f1444935f51d8bbe66bb18b7ee822bd7934b42d45d5c79ec071a9cabb5c7dde23b1e9feb0429bbfc35
@@ -7,6 +7,13 @@ module Avm
7
7
  class Runner
8
8
  class AppSrc
9
9
  class Info
10
+ SOURCE_PROPERTIES = {
11
+ path: 'Path',
12
+ application: 'Application',
13
+ class: 'Stereotype',
14
+ scm: 'SCM'
15
+ }.freeze
16
+
10
17
  runner_with :help do
11
18
  desc 'Show information about local project instance.'
12
19
  bool_opt '-p', '--parent', 'Show the parent source.'
@@ -14,7 +21,6 @@ module Avm
14
21
  end
15
22
 
16
23
  def run
17
- show_instance
18
24
  show_source
19
25
  show_parent
20
26
  show_test_commands
@@ -22,11 +28,6 @@ module Avm
22
28
 
23
29
  private
24
30
 
25
- def show_instance
26
- infov 'Path', instance.path
27
- infov 'Launcher stereotypes', instance.stereotypes.map(&:label).join(', ')
28
- end
29
-
30
31
  def show_parent
31
32
  return unless parsed.parent?
32
33
 
@@ -34,8 +35,9 @@ module Avm
34
35
  end
35
36
 
36
37
  def show_source
37
- infov 'Stereotype', runner_context.call(:subject).class
38
- infov 'SCM', runner_context.call(:subject).scm
38
+ SOURCE_PROPERTIES.each do |property, label|
39
+ infov label, runner_context.call(:subject).send(property)
40
+ end
39
41
  end
40
42
 
41
43
  def show_test_commands
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.132.1'
5
+ VERSION = '0.133.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.132.1
4
+ version: 0.133.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: 2022-08-11 00:00:00.000000000 Z
11
+ date: 2022-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -36,20 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.35'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 0.35.1
39
+ version: '0.37'
43
40
  type: :runtime
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
44
  - - "~>"
48
45
  - !ruby/object:Gem::Version
49
- version: '0.35'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 0.35.1
46
+ version: '0.37'
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: avm-eac_ruby_base1
55
49
  requirement: !ruby/object:Gem::Requirement
@@ -57,6 +51,9 @@ dependencies:
57
51
  - - "~>"
58
52
  - !ruby/object:Gem::Version
59
53
  version: '0.19'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.19.1
60
57
  type: :runtime
61
58
  prerelease: false
62
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -64,6 +61,9 @@ dependencies:
64
61
  - - "~>"
65
62
  - !ruby/object:Gem::Version
66
63
  version: '0.19'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.19.1
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: avm-eac_ubuntu_base0
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -161,7 +161,7 @@ dependencies:
161
161
  version: '0.12'
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
- version: 0.12.1
164
+ version: 0.12.2
165
165
  type: :runtime
166
166
  prerelease: false
167
167
  version_requirements: !ruby/object:Gem::Requirement
@@ -171,7 +171,7 @@ dependencies:
171
171
  version: '0.12'
172
172
  - - ">="
173
173
  - !ruby/object:Gem::Version
174
- version: 0.12.1
174
+ version: 0.12.2
175
175
  - !ruby/object:Gem::Dependency
176
176
  name: eac_ruby_base0
177
177
  requirement: !ruby/object:Gem::Requirement