avm-tools 0.135.0 → 0.136.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: 1716cf31b63e76f9f79f00d2bc981ba9f288710cd34c5e06662b2cfeac936450
4
- data.tar.gz: 1de18f50ea2eea414ad1a52ae59d289004ecb875e8df0332400fe0524c9ba71c
3
+ metadata.gz: cde87fdfd1a8656b87de17116fbb5909d9af4fdad12c17a22bfb1fb5489d1c86
4
+ data.tar.gz: ca59663cbbbc79a9b8f3c76767b2b2d95ed48bb90e9ee697500bf14fd63961ac
5
5
  SHA512:
6
- metadata.gz: 4cf88d5fd90e67a2551ed95ff8d45cbc301b47fe20ac0c3b365e6a5e63e1bd3b2bd81d18618934251a586c0393fd6676b60667fff1288352d145d3d4d64db869
7
- data.tar.gz: 340cb672f4a8f4f6bab98adc06db57bd64ca854ee4b492ac30056ac975cddf2278e0f62aae4cef4f693c351499ac141c8238408773f99a83fea98a7b1b7ab797
6
+ metadata.gz: 4acdd3802fdeb6079f77112a4ea4fe77c54c1ad908bb98174c9b3040f22930370c6aa00949c1a841891e8605f694aed61e17b62e99bc79fd0e05701023573b65
7
+ data.tar.gz: 2f4afd8ff179fca308721896daca551d2d24610d63c75322f9022c772b24ed563302f6393a09513af1d34e8ae2603610d6d224d473a83410868d4555603d63e5
@@ -1,12 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'avm/instances/entry_keys'
4
+ require 'avm/instances/runner'
4
5
  require 'eac_cli/core_ext'
5
6
 
6
7
  module Avm
7
8
  module Tools
8
9
  class Runner
9
- class Instance
10
+ class Instance < ::Avm::Instances::Runner
10
11
  class Info
11
12
  runner_with :help do
12
13
  desc 'Show info about a instance.'
@@ -1,31 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'avm/instances/base'
4
+ require 'avm/instances/runner'
4
5
  require 'avm/registry'
5
6
  require 'eac_cli/core_ext'
6
7
 
7
8
  module Avm
8
9
  module Tools
9
10
  class Runner
10
- class Instance
11
+ class Instance < ::Avm::Instances::Runner
11
12
  require_sub __FILE__
12
- runner_with :help, :subcommands do
13
- desc 'Utilities for generic instances.'
14
- pos_arg :instance_id
15
- subcommands
16
- end
17
-
18
- def extra_available_subcommands
19
- instance.if_present({}, &:extra_available_subcommands)
20
- end
21
-
22
- private
23
-
24
- def instance_uncached
25
- parsed.instance_id.if_present do |v|
26
- ::Avm::Registry.instances.detect(v)
27
- end
28
- end
29
13
  end
30
14
  end
31
15
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.135.0'
5
+ VERSION = '0.136.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.135.0
4
+ version: 0.136.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-19 00:00:00.000000000 Z
11
+ date: 2022-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.41'
39
+ version: '0.42'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.41'
46
+ version: '0.42'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: avm-eac_ruby_base1
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +51,9 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0.20'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.20.1
54
57
  type: :runtime
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,6 +61,9 @@ dependencies:
58
61
  - - "~>"
59
62
  - !ruby/object:Gem::Version
60
63
  version: '0.20'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.20.1
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: avm-eac_ubuntu_base0
63
69
  requirement: !ruby/object:Gem::Requirement