harbr 0.0.25 → 0.0.26

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2e645784be5d177119a608de05eee3f53b12a579007c4b3fc2da7137d1fccaa
4
- data.tar.gz: 7b8804b25fe8a81b2f4f81d0bb486c3b000d9d95147484839b48a25dae5950ae
3
+ metadata.gz: 5eb9a36d658e6c4715dc48f90ffa37d0071fa6d7ab428bc75d65265682967781
4
+ data.tar.gz: 0aee4e5465e2b316d1b7f59a208fca76cd7371f4bdad5c556af1cc3e8fc05b70
5
5
  SHA512:
6
- metadata.gz: d7f648a23cf7b0f0779c8369ac21ae33bf1633302799b88faf9e7e565e725b63c0053577295a7c798be8eae1389c52e3cb238c0fa8b23f5e2504b73a5f931e8c
7
- data.tar.gz: 88f8533124e4b01fb2b026c278a041651728d4442eefd549ca3d200a45d856f6ac77ad869a47fa830f0cd6dc15c74a4f9f50b296da69d25143b59ebc4620cd0a
6
+ metadata.gz: 9fd1075768db252ca5bc6709bf3a381cff6318f0ddc2154d2bfae56215932f0c13addfd264897571d0d066658c67b2761cf2054402b0a883171835a1f6c4e54c
7
+ data.tar.gz: f984d372db4321ed1ccdf1f96579eecda24e47a4df24470ae7bc3005ca656055bea943ee1a234263553ea7a932d63e738ff1ba26dc4de5772120b6af27258e6f
data/exe/harbr CHANGED
@@ -34,7 +34,7 @@ class HarbrCLI < Thor
34
34
  headers = ["Name", "Host Header", "IP", "Port"]
35
35
 
36
36
  rows = containers.map do |container|
37
- [container.name, container.host_header, container.ip, container.port]
37
+ [container.name, container.host_header, container.ip.nil? ? "127.0.0.1" : container.ip , container.port]
38
38
  end
39
39
 
40
40
  table = ::Terminal::Table.new(headings: headers, rows: rows)
data/lib/harbr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Harbr
4
- VERSION = "0.0.25"
4
+ VERSION = "0.0.26"
5
5
  end
data/lib/harbr.rb CHANGED
@@ -105,7 +105,7 @@ module Harbr
105
105
 
106
106
  container.name = manifest.name
107
107
  container.host_header = manifest.host
108
- container.ip = manifest.ip
108
+ container.ip = manifest.ip.nil?
109
109
  container.port = port.number
110
110
  containers.add(container) unless containers.find_by_header(manifest.host)
111
111
 
@@ -125,7 +125,7 @@ module Harbr
125
125
  all.find { |container| container.host_header.downcase == host_header.downcase }
126
126
  end
127
127
  end
128
-
128
+
129
129
  end
130
130
 
131
131
  class Port
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke