docker_tools 0.0.15 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docker_tools.gemspec +1 -1
- data/lib/docker_tools/dependency.rb +3 -2
- data/lib/docker_tools/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e5db2c6f66531730ad2631e33b886a84a160ce3
|
4
|
+
data.tar.gz: deaa91a067c69753510c75a40016173056d1231a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29dab830db1efb83b71777a62b3d03cbfaf8b45e5dc36fa722d327886a74d6b049026f3a9a2e660526b3afa96e775e072e47a02af258db2099f5d4131e6532f1
|
7
|
+
data.tar.gz: a47e44e6e2a199fc4b1961af6408d00d8b07ff823ecea0094e425d0851fada7949fdbe08273c1494c755bed68afdfebeec373b65e868aff63e1d7b8425fa1aa3
|
data/docker_tools.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_dependency "bundler", "~> 1.3"
|
22
22
|
spec.add_dependency "rake"
|
23
|
-
spec.add_dependency "docker-api", "= 1.
|
23
|
+
spec.add_dependency "docker-api", "= 1.13.1"
|
24
24
|
spec.add_dependency "erubis"
|
25
25
|
spec.add_dependency "json"
|
26
26
|
end
|
@@ -15,8 +15,9 @@ module DockerTools
|
|
15
15
|
def run
|
16
16
|
tag = @tag
|
17
17
|
image = DockerTools::Image.new(@name, @registry, @tag)
|
18
|
-
|
19
|
-
|
18
|
+
begin
|
19
|
+
image.pull
|
20
|
+
rescue
|
20
21
|
puts "Falling back to image #{@registry}/#{@name}:#{@fallback_tag}"
|
21
22
|
image = DockerTools::Image.new(@name, @registry, @fallback_tag)
|
22
23
|
image.pull
|
data/lib/docker_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Jansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.13.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.13.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: erubis
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,9 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.2.2
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: See desc
|
127
127
|
test_files: []
|
128
|
-
has_rdoc:
|