avm-tools 0.132.0 → 0.134.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: 9648969bee993364d2ece3102586eccf9eafcd7a8edfde0960cab80bf06f3fe3
4
- data.tar.gz: b0c806bebd2ae820c11874b4ae1e2e173dd013b25e462d85c39c8a93825dfa2a
3
+ metadata.gz: 24ac8192a6e41687a6db80ee391e430bab4216ac0fe2272dc24508324df87860
4
+ data.tar.gz: 65243e83ab4c2395761a53c68dddcf68969772a88f17b0ab92cd54c2f61f8a02
5
5
  SHA512:
6
- metadata.gz: 54ed3de6d9aa181c92aef0645dcc3b76949ca0d63b4d6d39abf5aa023566a8610c990ceaa34981a0967ac459c3c23fe819bdc3a33b45497a4be9bf88d8cd22f1
7
- data.tar.gz: 66e74ff1862a77c581c9196d42ebf4d9b082cf44b70424676995d309f990f5f02eb85b70dcef004036267b7dc04f7f2bb09da474f67d83c5b1f2cd42997af919
6
+ metadata.gz: 61a8adc2c197936183bb5dd28a6a95a50f1da54fb4b4f7c8a54d9ea7de4caf6a391a450551a6f2020c0cd2efbbdf0788304ea5d991ff8117174c72812e937c9d
7
+ data.tar.gz: c9016812474893745772ca6b4d55db41607180f2503e7f791118c49c843c2d9f279d194313c392b132a55e0ebc25a93a10e8f0a7a09adbd5a8c272fe20ee0fbd
@@ -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
@@ -86,7 +86,7 @@ module Avm
86
86
 
87
87
  def target_url
88
88
  parsed.target_url.if_present { |v| return v }
89
- instance.if_present { |v| return v.read_entry(::Avm::Instances::EntryKeys::FS_URL) }
89
+ instance.if_present { |v| return v.install_url }
90
90
  nil
91
91
  end
92
92
 
@@ -22,7 +22,9 @@ module Avm
22
22
  private
23
23
 
24
24
  def instance_uncached
25
- ::Avm::Registry.instances.detect(parsed.instance_id)
25
+ parsed.instance_id.if_present do |v|
26
+ ::Avm::Registry.instances.detect(v)
27
+ end
26
28
  end
27
29
  end
28
30
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.132.0'
5
+ VERSION = '0.134.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.0
4
+ version: 0.134.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-09 00:00:00.000000000 Z
11
+ date: 2022-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -16,42 +16,48 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.14'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.14.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '0.4'
29
+ version: '0.14'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.14.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: avm
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '0.34'
39
+ version: '0.40'
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '0.34'
46
+ version: '0.40'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: avm-eac_ruby_base1
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0.8'
53
+ version: '0.20'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0.8'
60
+ version: '0.20'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: avm-eac_ubuntu_base0
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -72,34 +78,34 @@ dependencies:
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '0.1'
81
+ version: '0.3'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 0.3.2
76
85
  type: :runtime
77
86
  prerelease: false
78
87
  version_requirements: !ruby/object:Gem::Requirement
79
88
  requirements:
80
89
  - - "~>"
81
90
  - !ruby/object:Gem::Version
82
- version: '0.1'
91
+ version: '0.3'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 0.3.2
83
95
  - !ruby/object:Gem::Dependency
84
96
  name: avm-git
85
97
  requirement: !ruby/object:Gem::Requirement
86
98
  requirements:
87
99
  - - "~>"
88
100
  - !ruby/object:Gem::Version
89
- version: '0.3'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 0.3.1
101
+ version: '0.4'
93
102
  type: :runtime
94
103
  prerelease: false
95
104
  version_requirements: !ruby/object:Gem::Requirement
96
105
  requirements:
97
106
  - - "~>"
98
107
  - !ruby/object:Gem::Version
99
- version: '0.3'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 0.3.1
108
+ version: '0.4'
103
109
  - !ruby/object:Gem::Dependency
104
110
  name: clipboard
105
111
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +115,7 @@ dependencies:
109
115
  version: '1.3'
110
116
  - - ">="
111
117
  - !ruby/object:Gem::Version
112
- version: 1.3.3
118
+ version: 1.3.6
113
119
  type: :runtime
114
120
  prerelease: false
115
121
  version_requirements: !ruby/object:Gem::Requirement
@@ -119,21 +125,27 @@ dependencies:
119
125
  version: '1.3'
120
126
  - - ">="
121
127
  - !ruby/object:Gem::Version
122
- version: 1.3.3
128
+ version: 1.3.6
123
129
  - !ruby/object:Gem::Dependency
124
130
  name: curb
125
131
  requirement: !ruby/object:Gem::Requirement
126
132
  requirements:
127
133
  - - "~>"
128
134
  - !ruby/object:Gem::Version
129
- version: 0.9.10
135
+ version: '0.9'
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 0.9.11
130
139
  type: :runtime
131
140
  prerelease: false
132
141
  version_requirements: !ruby/object:Gem::Requirement
133
142
  requirements:
134
143
  - - "~>"
135
144
  - !ruby/object:Gem::Version
136
- version: 0.9.10
145
+ version: '0.9'
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: 0.9.11
137
149
  - !ruby/object:Gem::Dependency
138
150
  name: eac_git
139
151
  requirement: !ruby/object:Gem::Requirement
@@ -143,7 +155,7 @@ dependencies:
143
155
  version: '0.12'
144
156
  - - ">="
145
157
  - !ruby/object:Gem::Version
146
- version: 0.12.1
158
+ version: 0.12.2
147
159
  type: :runtime
148
160
  prerelease: false
149
161
  version_requirements: !ruby/object:Gem::Requirement
@@ -153,7 +165,7 @@ dependencies:
153
165
  version: '0.12'
154
166
  - - ">="
155
167
  - !ruby/object:Gem::Version
156
- version: 0.12.1
168
+ version: 0.12.2
157
169
  - !ruby/object:Gem::Dependency
158
170
  name: eac_ruby_base0
159
171
  requirement: !ruby/object:Gem::Requirement
@@ -163,7 +175,7 @@ dependencies:
163
175
  version: '0.16'
164
176
  - - ">="
165
177
  - !ruby/object:Gem::Version
166
- version: 0.16.4
178
+ version: 0.16.6
167
179
  type: :runtime
168
180
  prerelease: false
169
181
  version_requirements: !ruby/object:Gem::Requirement
@@ -173,7 +185,7 @@ dependencies:
173
185
  version: '0.16'
174
186
  - - ">="
175
187
  - !ruby/object:Gem::Version
176
- version: 0.16.4
188
+ version: 0.16.6
177
189
  - !ruby/object:Gem::Dependency
178
190
  name: eac_templates
179
191
  requirement: !ruby/object:Gem::Requirement
@@ -200,34 +212,28 @@ dependencies:
200
212
  requirements:
201
213
  - - "~>"
202
214
  - !ruby/object:Gem::Version
203
- version: '1.7'
215
+ version: '1.11'
204
216
  type: :runtime
205
217
  prerelease: false
206
218
  version_requirements: !ruby/object:Gem::Requirement
207
219
  requirements:
208
220
  - - "~>"
209
221
  - !ruby/object:Gem::Version
210
- version: '1.7'
222
+ version: '1.11'
211
223
  - !ruby/object:Gem::Dependency
212
224
  name: ruby-progressbar
213
225
  requirement: !ruby/object:Gem::Requirement
214
226
  requirements:
215
227
  - - "~>"
216
228
  - !ruby/object:Gem::Version
217
- version: '1.10'
218
- - - ">="
219
- - !ruby/object:Gem::Version
220
- version: 1.10.1
229
+ version: '1.11'
221
230
  type: :runtime
222
231
  prerelease: false
223
232
  version_requirements: !ruby/object:Gem::Requirement
224
233
  requirements:
225
234
  - - "~>"
226
235
  - !ruby/object:Gem::Version
227
- version: '1.10'
228
- - - ">="
229
- - !ruby/object:Gem::Version
230
- version: 1.10.1
236
+ version: '1.11'
231
237
  - !ruby/object:Gem::Dependency
232
238
  name: eac_ruby_gem_support
233
239
  requirement: !ruby/object:Gem::Requirement