avm 0.1.0 → 0.2.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/docker/runner.rb +4 -8
- data/lib/avm/instances/docker_image.rb +15 -0
- data/lib/avm/version.rb +1 -1
- metadata +5 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76638a50e8427dad6ecb195da51a10def71512b50d6ccfdc077dc8c3cfb7407c
|
4
|
+
data.tar.gz: 858b52227faabeb78f0cb55b3196e3a702b7c58bcd920c2280f53f436f738179
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61e68a1e384b360e0923a5d8d9f1d27df603871264e2b424fa117412d38a6c3d9af7efcb43a32c85e871a84e7df743119a2bf5439def816854bb09ad1930c065
|
7
|
+
data.tar.gz: df0bcc88cf7292dc014d4efbe9b8227b51889af7dc5bc41c28bd4dc20ab64ab947e75b43d7174e5f6ea48d22a16e3afb4fc426c87527b5b13e465eaf7b0761de
|
data/lib/avm/docker/runner.rb
CHANGED
@@ -6,6 +6,8 @@ require 'eac_ruby_utils/core_ext'
|
|
6
6
|
module Avm
|
7
7
|
module Docker
|
8
8
|
class Runner
|
9
|
+
DOCKER_DEFAULT_REGISTRY_METHOD = :docker_default_registry
|
10
|
+
|
9
11
|
enable_speaker
|
10
12
|
enable_simple_cache
|
11
13
|
|
@@ -92,17 +94,11 @@ module Avm
|
|
92
94
|
end
|
93
95
|
|
94
96
|
def registry_from_instance
|
95
|
-
|
96
|
-
instance.docker_registry_optional.if_present { |v| ::EacDocker::Registry.new(v) }
|
97
|
-
else
|
98
|
-
::EacDocker::Registry.new(instance.docker_registry)
|
99
|
-
end
|
97
|
+
instance.docker_registry_optional.if_present { |v| ::EacDocker::Registry.new(v) }
|
100
98
|
end
|
101
99
|
|
102
100
|
def registry_from_default
|
103
|
-
|
104
|
-
|
105
|
-
nyi 'Was "::Avm::Docker::Registry.default"'
|
101
|
+
if_respond(DOCKER_DEFAULT_REGISTRY_METHOD, nil)
|
106
102
|
end
|
107
103
|
|
108
104
|
def snapshot?
|
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.
|
4
|
+
version: 0.2.0
|
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: 2021-07-
|
11
|
+
date: 2021-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eac_docker
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.2.2
|
19
|
+
version: '0.3'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.2.2
|
26
|
+
version: '0.3'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: eac_ruby_utils
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,6 +63,7 @@ files:
|
|
69
63
|
- lib/avm/docker/container.rb
|
70
64
|
- lib/avm/docker/image.rb
|
71
65
|
- lib/avm/docker/runner.rb
|
66
|
+
- lib/avm/instances/docker_image.rb
|
72
67
|
- lib/avm/version.rb
|
73
68
|
- lib/avm/version_number.rb
|
74
69
|
homepage:
|