avm-tools 0.133.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: 46de4f5a41abb4eb674f4326a0757800170ad415ee9a93403fb15079a78070d6
4
- data.tar.gz: e6af85c9d1951e75df3e2ebbf5f5b33dfa4ed6a0ac29e313104b3d3412ed0777
3
+ metadata.gz: cde87fdfd1a8656b87de17116fbb5909d9af4fdad12c17a22bfb1fb5489d1c86
4
+ data.tar.gz: ca59663cbbbc79a9b8f3c76767b2b2d95ed48bb90e9ee697500bf14fd63961ac
5
5
  SHA512:
6
- metadata.gz: 98357969b089398fdc785ba44920cb79abf232049a72037cfc049ae8f1b6941184ecec0ccf477b8a112245ea54d67bb42bd1ac8c4c1dc79e64e53e56e8a960bc
7
- data.tar.gz: c5776ff8b13933d20e16d46f4033ec7f49446710e30360f1444935f51d8bbe66bb18b7ee822bd7934b42d45d5c79ec071a9cabb5c7dde23b1e9feb0429bbfc35
6
+ metadata.gz: 4acdd3802fdeb6079f77112a4ea4fe77c54c1ad908bb98174c9b3040f22930370c6aa00949c1a841891e8605f694aed61e17b62e99bc79fd0e05701023573b65
7
+ data.tar.gz: 2f4afd8ff179fca308721896daca551d2d24610d63c75322f9022c772b24ed563302f6393a09513af1d34e8ae2603610d6d224d473a83410868d4555603d63e5
@@ -71,7 +71,7 @@ module Avm
71
71
  def dev_instance_fs_path
72
72
  instance.if_present do |v|
73
73
  v.application.instance('dev').read_entry_optional(
74
- ::Avm::Instances::EntryKeys::FS_PATH
74
+ ::Avm::Instances::EntryKeys::INSTALL_PATH
75
75
  )
76
76
  end
77
77
  end
@@ -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
 
@@ -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.133.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.133.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-14 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,34 +36,34 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.37'
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.37'
46
+ version: '0.42'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: avm-eac_ruby_base1
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.19'
53
+ version: '0.20'
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 0.19.1
56
+ version: 0.20.1
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '0.19'
63
+ version: '0.20'
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 0.19.1
66
+ version: 0.20.1
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: avm-eac_ubuntu_base0
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -218,14 +218,14 @@ dependencies:
218
218
  requirements:
219
219
  - - "~>"
220
220
  - !ruby/object:Gem::Version
221
- version: '1.11'
221
+ version: '1.12'
222
222
  type: :runtime
223
223
  prerelease: false
224
224
  version_requirements: !ruby/object:Gem::Requirement
225
225
  requirements:
226
226
  - - "~>"
227
227
  - !ruby/object:Gem::Version
228
- version: '1.11'
228
+ version: '1.12'
229
229
  - !ruby/object:Gem::Dependency
230
230
  name: ruby-progressbar
231
231
  requirement: !ruby/object:Gem::Requirement