avm 0.64.0 → 0.64.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/docker/image.rb +3 -8
- data/lib/avm/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16d0d9543dd537c7dec9ad3b7958426558e9b0ca7f7763345e5beb9b55f4fea3
|
4
|
+
data.tar.gz: faf52cfe3e69406c5a3d36b1485aee475e9d8ee44aebb4d2bc10baec99e6c83a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a8de4846a96ad91dd3809131ba510b1c113b81718eead76461993982c4420f5d09a67ff45b79dd1daef102c82d1268776262c0fe809fe607428d5f2b410d23
|
7
|
+
data.tar.gz: fcb16b18c37d910c32a114dffe9e60367cd03ea768475d464f6324f696a799c0a6ceae30a2d7b4b099dcdde5a9f5bc90d9b03fb97d27d6ce16ac8a9741c9cdd6
|
data/lib/avm/docker/image.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/version'
|
4
|
+
require 'avm/entries/jobs/with_variables_source'
|
4
5
|
require 'eac_ruby_utils/core_ext'
|
5
6
|
require 'eac_docker/images/templatized'
|
6
7
|
require 'eac_docker/registry'
|
@@ -8,6 +9,8 @@ require 'eac_docker/registry'
|
|
8
9
|
module Avm
|
9
10
|
module Docker
|
10
11
|
class Image < ::EacDocker::Images::Templatized
|
12
|
+
prepend ::Avm::Entries::Jobs::WithVariablesSource
|
13
|
+
|
11
14
|
DEFAULT_REGISTRY_NAME = 'local'
|
12
15
|
|
13
16
|
class << self
|
@@ -41,14 +44,6 @@ module Avm
|
|
41
44
|
::EacDocker::Executables.docker.command.append(['push', tag]).system!
|
42
45
|
end
|
43
46
|
|
44
|
-
def read_entry(path, options = {})
|
45
|
-
method = path.gsub('.', '_')
|
46
|
-
return send(method) if respond_to?(path, true)
|
47
|
-
return instance.read_entry(path, options) if respond_to?(:instance)
|
48
|
-
|
49
|
-
raise "Method \"#{method}\" not found for entry \"#{path}\""
|
50
|
-
end
|
51
|
-
|
52
47
|
def run(instance)
|
53
48
|
run_run(instance) if container_exist?(instance)
|
54
49
|
end
|
data/lib/avm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.64.
|
4
|
+
version: 0.64.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo H. Bogoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.17'
|
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.17'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: eac_cli
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
67
|
+
version: '0.7'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
74
|
+
version: '0.7'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: eac_fs
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|