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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11271cf76429edbece326ffd3b19b21e4c33179e
4
- data.tar.gz: f5a083aeec9519910fc4f75d97539b5cb11038df
3
+ metadata.gz: 9e5db2c6f66531730ad2631e33b886a84a160ce3
4
+ data.tar.gz: deaa91a067c69753510c75a40016173056d1231a
5
5
  SHA512:
6
- metadata.gz: 04355d72895866e6f1e980bfd928afd0e633b6829fd0aeccc68abd5052ddbd4cd3857e58be98b22c6dd173ceb92aada855b5d41b0efdd995e97d47e5f474be0d
7
- data.tar.gz: 7cd17d859c2908675f1f1187da1700cd01e9d7452d7fe52f04cd954a66ab0a97669bd6a132ec06382ee02cb5e236163c648ae063844df89e129e4014a61f001f
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.8.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
- image.pull
19
- if image.image.nil?
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
@@ -1,3 +1,3 @@
1
1
  module DockerTools
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.17"
3
3
  end
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.15
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-06-26 00:00:00.000000000 Z
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.8.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.8.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.0.14
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: