avm-tools 0.151.0 → 0.152.0
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/applications/list.rb +31 -0
- data/lib/avm/tools/runner/applications.rb +16 -0
- data/lib/avm/tools/runner/instance/data/load.rb +5 -0
- data/lib/avm/tools/runner/instance/data/unit/load.rb +5 -0
- data/lib/avm/tools/runner/instance/info.rb +1 -5
- data/lib/avm/tools/runner_with/instance_data_load.rb +1 -1
- data/lib/avm/tools/version.rb +1 -1
- metadata +10 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c3e4f132b4dc06b40e68473f774ccac26e4465e7ec786341cec7343217df546
|
4
|
+
data.tar.gz: bb960d0332e0403c2e256e59e0ec75093181be97ece5d1eb5217030ca03af9a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c2d30fe14255eeeaeb42cc4137acdc63bc4adba1ffac7a16f6c6c214efe2984e5c449ad040ea9ee2ede8ad3bb96777901e2fa05684b151efb0f688be52a5da2
|
7
|
+
data.tar.gz: 812f9b4e0a76f14c7d977d932148c2871f84b46c3e5c12661a0cbf35248eae81f633965ba0350b7a8aa7f55ad1c46a1242ed6a72a896d12f9a410573fd5ba24b
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/tools/core_ext'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module Tools
|
7
|
+
class Runner
|
8
|
+
class Applications
|
9
|
+
class List
|
10
|
+
runner_with :help, :output
|
11
|
+
|
12
|
+
def run
|
13
|
+
infov 'Found', applications.count
|
14
|
+
run_output
|
15
|
+
end
|
16
|
+
|
17
|
+
def output_content
|
18
|
+
applications.map { |s| "#{s}\n" }.join
|
19
|
+
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def applications_uncached
|
24
|
+
::Avm::Registry.applications.available
|
25
|
+
.sort_by { |s| [s.id] }
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -12,6 +12,11 @@ module Avm
|
|
12
12
|
runner_with :help, :include_exclude, :instance_data_load do
|
13
13
|
desc 'Load utility for instance.'
|
14
14
|
end
|
15
|
+
|
16
|
+
# @return [Avm::Instances::Data::Package]
|
17
|
+
def source_instance_data_owner
|
18
|
+
source_instance.data_package
|
19
|
+
end
|
15
20
|
end
|
16
21
|
end
|
17
22
|
end
|
@@ -28,14 +28,10 @@ module Avm
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def entry_keys_banner
|
31
|
-
|
31
|
+
instance.entry_keys.each do |key|
|
32
32
|
infov key, instance.read_entry_optional(key)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
|
36
|
-
def instance
|
37
|
-
runner_context.call(:instance)
|
38
|
-
end
|
39
35
|
end
|
40
36
|
end
|
41
37
|
end
|
@@ -53,7 +53,7 @@ module Avm
|
|
53
53
|
# @return [Avm::Data::Dumper]
|
54
54
|
def source_instance_dumper
|
55
55
|
data_performer_set_includes_excludes(
|
56
|
-
::Avm::Data::Dumper.new(
|
56
|
+
::Avm::Data::Dumper.new(source_instance_data_owner).overwrite(parsed.rewrite?)
|
57
57
|
)
|
58
58
|
end
|
59
59
|
|
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.152.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: 2023-
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.21'
|
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.21'
|
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.78'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.78'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: avm-eac_ruby_base1
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,20 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
68
|
-
- - ">="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 0.4.3
|
67
|
+
version: '0.5'
|
71
68
|
type: :runtime
|
72
69
|
prerelease: false
|
73
70
|
version_requirements: !ruby/object:Gem::Requirement
|
74
71
|
requirements:
|
75
72
|
- - "~>"
|
76
73
|
- !ruby/object:Gem::Version
|
77
|
-
version: '0.
|
78
|
-
- - ">="
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 0.4.3
|
74
|
+
version: '0.5'
|
81
75
|
- !ruby/object:Gem::Dependency
|
82
76
|
name: avm-files
|
83
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -263,6 +257,8 @@ files:
|
|
263
257
|
- lib/avm/tools/runner.rb
|
264
258
|
- lib/avm/tools/runner/application_stereotypes.rb
|
265
259
|
- lib/avm/tools/runner/application_stereotypes/list.rb
|
260
|
+
- lib/avm/tools/runner/applications.rb
|
261
|
+
- lib/avm/tools/runner/applications/list.rb
|
266
262
|
- lib/avm/tools/runner/config.rb
|
267
263
|
- lib/avm/tools/runner/config/load_path.rb
|
268
264
|
- lib/avm/tools/runner/files.rb
|