docker_tools 0.0.22 → 0.0.23

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: 17f44a081377e0ebbcc0e314834009b6b97a3464
4
- data.tar.gz: e5f14c59be1a384a353c5a79ab9d8ce4b4265aba
3
+ metadata.gz: 2474878701e17353f2f12eb992021f12a7145b5a
4
+ data.tar.gz: 4e1c436a72a33f51bbcb6e4158c210ebac143282
5
5
  SHA512:
6
- metadata.gz: 52275bef5ca3c5661a6bbc6d6105ed9cfa565ca1c84850b1ed8f4a3de6b8661e47b2855d35c0dd8f9f43b616e989632d0432d1e67a404dfa7871161609e4f8bd
7
- data.tar.gz: ef0266c6735a2d2fd4bab150ace3a52505b5037b9de639321590de513f05cb1bef3b9e2f2b1c6c120c377cb5c1dd2a3a5679d4c76616f7106e0034412ba0b9e6
6
+ metadata.gz: 15d37c4b11b5015d9225abcfb14cb52f2ecc52475ecda037607ef5b1d2818ae84fc28d9062ac404eb82406819dd6040e9549241300b9bc7310b3d1b068ec46f2
7
+ data.tar.gz: 4a06685256f21735b045a8cbe7d2a084e6b35ad7e01ab99db47c7c8f68f4dc32b4951afc6b7f89697203ffb8a4b27f95cd9a7630654412fac73b4451c3b5f8ab
@@ -109,7 +109,7 @@ module DockerTools
109
109
  def lookup_image
110
110
  images = Docker::Image.all
111
111
  images.each do | image |
112
- if image.info['RepoTags'].include?(@full_name)
112
+ if image.info.has_key?('RepoTags') && !image.info['RepoTags'].nil? && image.info['RepoTags'].include?(@full_name)
113
113
  return image
114
114
  end
115
115
  end
@@ -1,3 +1,3 @@
1
1
  module DockerTools
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
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.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Jansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.4.5
123
+ rubygems_version: 2.5.1
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: See desc