avm-tools 0.158.0 → 0.159.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/tools/runner/source/sub/remove.rb +22 -0
- data/lib/avm/tools/runner/source/sub.rb +29 -0
- data/lib/avm/tools/version.rb +1 -1
- metadata +38 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9edfdcd1258e425e119ae912a5f43b477ea1fb9c34398c0150aa3e3befa5a78
|
4
|
+
data.tar.gz: 72d3b722fc6573c4ef4cd989eee94027aa479621612081d7c37e70db1eef12f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58550ca398581ea2a88a69d32a98c734b810bf861e0fff1c8026a61ece3175f653bf32163bc8707c43a25a835e0d99730119b2548b0b77d6e3990d9eb6f1bd79
|
7
|
+
data.tar.gz: 42d80e76b17d01f475a5a900f2881ae55065f9a57578680517cc6b33554dcbfafb1ed2d5303a77accfc226faf7734d0ece140078dfef3fe7dfff018040222467
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/tools/core_ext'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module Tools
|
7
|
+
class Runner
|
8
|
+
class Source < ::Avm::Sources::Runner
|
9
|
+
class Sub
|
10
|
+
class Remove
|
11
|
+
runner_with :help
|
12
|
+
|
13
|
+
def run
|
14
|
+
source_sub.remove
|
15
|
+
success "Sub[#{source_sub.sub_path}] removed"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/tools/core_ext'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module Tools
|
7
|
+
class Runner
|
8
|
+
class Source < ::Avm::Sources::Runner
|
9
|
+
class Sub
|
10
|
+
runner_with :help, :subcommands do
|
11
|
+
pos_arg :sub_path
|
12
|
+
subcommands
|
13
|
+
end
|
14
|
+
for_context :source_sub
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
# !method source_sub
|
19
|
+
# @return [Avm::Sources::Base::Sub]
|
20
|
+
def source_sub_uncached
|
21
|
+
source.sub(parsed.sub_path)
|
22
|
+
end
|
23
|
+
|
24
|
+
require_sub __FILE__
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/lib/avm/tools/version.rb
CHANGED
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.
|
4
|
+
version: 0.159.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:
|
11
|
+
date: 2024-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -16,28 +16,34 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.22'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.22'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: avm
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.84'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.84.2
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - "~>"
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
43
|
+
version: '0.84'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.84.2
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: avm-eac_ruby_base1
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,6 +51,9 @@ dependencies:
|
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0.33'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 0.33.1
|
48
57
|
type: :runtime
|
49
58
|
prerelease: false
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,6 +61,9 @@ dependencies:
|
|
52
61
|
- - "~>"
|
53
62
|
- !ruby/object:Gem::Version
|
54
63
|
version: '0.33'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 0.33.1
|
55
67
|
- !ruby/object:Gem::Dependency
|
56
68
|
name: avm-eac_ubuntu_base0
|
57
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,20 +84,14 @@ dependencies:
|
|
72
84
|
requirements:
|
73
85
|
- - "~>"
|
74
86
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
76
|
-
- - ">="
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: 0.6.2
|
87
|
+
version: '0.7'
|
79
88
|
type: :runtime
|
80
89
|
prerelease: false
|
81
90
|
version_requirements: !ruby/object:Gem::Requirement
|
82
91
|
requirements:
|
83
92
|
- - "~>"
|
84
93
|
- !ruby/object:Gem::Version
|
85
|
-
version: '0.
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: 0.6.2
|
94
|
+
version: '0.7'
|
89
95
|
- !ruby/object:Gem::Dependency
|
90
96
|
name: avm-git
|
91
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,20 +152,14 @@ dependencies:
|
|
146
152
|
requirements:
|
147
153
|
- - "~>"
|
148
154
|
- !ruby/object:Gem::Version
|
149
|
-
version: '0.
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 0.14.1
|
155
|
+
version: '0.15'
|
153
156
|
type: :runtime
|
154
157
|
prerelease: false
|
155
158
|
version_requirements: !ruby/object:Gem::Requirement
|
156
159
|
requirements:
|
157
160
|
- - "~>"
|
158
161
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0.
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: 0.14.1
|
162
|
+
version: '0.15'
|
163
163
|
- !ruby/object:Gem::Dependency
|
164
164
|
name: eac_ruby_base0
|
165
165
|
requirement: !ruby/object:Gem::Requirement
|
@@ -181,6 +181,9 @@ dependencies:
|
|
181
181
|
- - "~>"
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: '0.5'
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 0.5.1
|
184
187
|
type: :runtime
|
185
188
|
prerelease: false
|
186
189
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -188,20 +191,29 @@ dependencies:
|
|
188
191
|
- - "~>"
|
189
192
|
- !ruby/object:Gem::Version
|
190
193
|
version: '0.5'
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: 0.5.1
|
191
197
|
- !ruby/object:Gem::Dependency
|
192
198
|
name: git
|
193
199
|
requirement: !ruby/object:Gem::Requirement
|
194
200
|
requirements:
|
195
201
|
- - "~>"
|
196
202
|
- !ruby/object:Gem::Version
|
197
|
-
version: '1.
|
203
|
+
version: '1.19'
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 1.19.1
|
198
207
|
type: :runtime
|
199
208
|
prerelease: false
|
200
209
|
version_requirements: !ruby/object:Gem::Requirement
|
201
210
|
requirements:
|
202
211
|
- - "~>"
|
203
212
|
- !ruby/object:Gem::Version
|
204
|
-
version: '1.
|
213
|
+
version: '1.19'
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: 1.19.1
|
205
217
|
- !ruby/object:Gem::Dependency
|
206
218
|
name: ruby-progressbar
|
207
219
|
requirement: !ruby/object:Gem::Requirement
|
@@ -291,6 +303,8 @@ files:
|
|
291
303
|
- lib/avm/tools/runner/source/issue.rb
|
292
304
|
- lib/avm/tools/runner/source/issue/complete.rb
|
293
305
|
- lib/avm/tools/runner/source/issue/deliver.rb
|
306
|
+
- lib/avm/tools/runner/source/sub.rb
|
307
|
+
- lib/avm/tools/runner/source/sub/remove.rb
|
294
308
|
- lib/avm/tools/runner/source/subs.rb
|
295
309
|
- lib/avm/tools/runner/source/test.rb
|
296
310
|
- lib/avm/tools/runner/source/update.rb
|