gcloud_hosts 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: d797a4aee8298bc9c402112a7f2ae29f6db05025
4
- data.tar.gz: cec519d870df45c1ac5b8f2bda8c7de91fe30df7
3
+ metadata.gz: 4adc581aa2a824af63dd3ef2263c7abaf474aab8
4
+ data.tar.gz: 748fb8bec2ceefe3f6f27d02f2fddcbeb94604cf
5
5
  SHA512:
6
- metadata.gz: 615a2921ca25a12f88c9a324c9cb6b3ff5e7505b76506fe85a032e4a2ed9b01d04ccc57c1c6395163130888568d34d3b80ed418973b6bebc0fa4db2873ff74ec
7
- data.tar.gz: 1d59772a0603508e27aa79f84d1a0ef4699b99203f61a5e4ac0a76ca24ec592e7e256ae8e9ef321da021092c34f9bdb47455e8bd37947cb085e97b86898a5ef8
6
+ metadata.gz: 7c10973333027e55529de2ddfab88990707ceadc713bbba6c92c4bf131f404f7a6d9c68a0ecf583b7910f2fd3fa1030dd84f7ce533d6bcbccbb35fbb5c1cb99d
7
+ data.tar.gz: e416ce4ce18deeb4c56c6ef9a8a4a976ec73f139c1b7a82b5198e44f45efbbf07049347cc3ee0651ceafee5c59d3c99c1b004629c1ba6924e77e8f8d3c632b2a
@@ -23,6 +23,7 @@ module GcloudHosts
23
23
  if ac["name"].downcase.include?("nat") && ac["type"].downcase.include?("nat")
24
24
  if ip = ac["natIP"]
25
25
  str = "#{ip} #{i["name"]}"
26
+ str << " #{i["name"]}.#{domain}" unless domain.to_s.strip == ""
26
27
  list << str
27
28
  raise HostError.new
28
29
  end
@@ -1,3 +1,3 @@
1
1
  module GcloudHosts
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcloud_hosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Tongen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-01 00:00:00.000000000 Z
11
+ date: 2016-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -99,3 +99,4 @@ signing_key:
99
99
  specification_version: 4
100
100
  summary: Update your hosts file based on gcloud compute instances
101
101
  test_files: []
102
+ has_rdoc: