docker-image-map 0.1.1 → 0.1.2

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: 1d64a32b617faaad5c05ba0cbb7985bab75e4302
4
- data.tar.gz: 4fd34790d1f488d14e30ed804a9d970c6dd74fd1
3
+ metadata.gz: 9fb81c086f1de56f851f21419f77c0c7587041a7
4
+ data.tar.gz: 2ccc8d47a15364eaf2826492acc19a656c1b992f
5
5
  SHA512:
6
- metadata.gz: a6ad7797db91c9acb32071e2c3268df35130bab5bc4c47de83442426014df986e990c29c9184e1ced026350ea6f25844f9eb64a5dd22a623e95989a2b8394794
7
- data.tar.gz: 4be390ef01b6efcd59c15108f2019d5e5bc3d4d877711ca49c2d4f88421d602b237689786b925481b98868a29eb4055639daa0b21034a15b316b64bbf34c7564
6
+ metadata.gz: 5d64f00ed9c395cc9830f9448637f5b0f2dd475b40494da43008bf4689a8d9b639a85022f40f548ffe87ecf1e779a6498ca3d4eb6161acf241b463e7a3c61dbb
7
+ data.tar.gz: 1cf7caae04593ad41ded9058727511d819a347423b12e7c0a219ed3998aea0ab25c7f032d127134dc4cb7d7d313dfa5c8452b4e06ece282d3e5308733716ba22
@@ -40,7 +40,8 @@ Clamp do
40
40
  end
41
41
  info.date = Time.at(image.info["Created"])
42
42
  info.size = (image.info["VirtualSize"].to_f / 1024 / 1024).round(1)
43
- image.info.fetch('RepoTags').each do |tag|
43
+ tags = image.info.fetch('RepoTags') || []
44
+ tags.each do |tag|
44
45
  info.tags << tag unless tag == '<none>:<none>'
45
46
  end
46
47
  end
@@ -83,4 +84,3 @@ Clamp do
83
84
  end
84
85
 
85
86
  end
86
-
@@ -1,3 +1,3 @@
1
1
  module DockerImageMap
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-image-map
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-01 00:00:00.000000000 Z
11
+ date: 2017-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.4.5
154
+ rubygems_version: 2.6.10
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: Visualize docker image history