dort 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dort/version.rb +1 -1
  3. data/lib/dort.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efb2a8f1c6b079e67a21bde5ea77f659429040b5
4
- data.tar.gz: 62c86468579042ff6226afc2144ae00efd4ffd21
3
+ metadata.gz: bcd75cc78d61089874ef24f271e1dac85b2f28d0
4
+ data.tar.gz: 3f17cd8d14c65a7214315c655ce84b1f749b6b16
5
5
  SHA512:
6
- metadata.gz: c16a9bcfb1cf0c2702cdf706a4f2ed584d13768f8c558cf2c4acb215663da75e3c65f13abcd96435d658d5e269569014172e3a06a72a392cca5d7585b9e5719f
7
- data.tar.gz: 8e25655670f21459073e26597aa0244525c7abd72946d5b90f8dc73b3a6025bf6ea00510a80273146e5a356ba885ec611cdaefb99f8e2bedeafd9947ba1bc51e
6
+ metadata.gz: c9993c316eee81b7ddd92a84f8537ce7d32085813d035d07a75f40670c5c007dd901bcc193e56481333aac6ae7d8ca5eb2d058ca4b5084e4967cea314304c5ba
7
+ data.tar.gz: 82559e5bca7b4cf426ffc30d00b1d1d96e620082217df2e4680a884e0423ae698860f14dca2e4bd48af380f13b7d84408d2ceaacaa0268c7a32282bd32be7151
data/lib/dort/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dort
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/dort.rb CHANGED
@@ -44,8 +44,8 @@ module Dort
44
44
  @data = data
45
45
  @id = @data['Id'][0..11]
46
46
  @name = @data['Name']
47
- @ports = Ports.new @data['HostConfig']['PortBindings']
48
- @expose = Expose.new @data['Config']['ExposedPorts']
47
+ @ports = Ports.new @data['HostConfig']['PortBindings'] || []
48
+ @expose = Expose.new @data['Config']['ExposedPorts'] || []
49
49
  end
50
50
 
51
51
  def to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dort
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - flum1025