auser-poolparty 0.2.64 → 0.2.65

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.
@@ -30,8 +30,6 @@ o.loaded_pools.each do |pool|
30
30
  end
31
31
  end.join("\n")
32
32
 
33
- puts new_hosts_listing
34
-
35
33
  if testing
36
34
  puts new_hosts_listing
37
35
  else
@@ -42,7 +40,7 @@ o.loaded_pools.each do |pool|
42
40
  parts = line.split(/\t/).map {|a| a.chomp }
43
41
  ip,hostname,aliases = parts[0], parts[1], parts[2..-1]
44
42
  puts "ip: #{ip} for #{hostname}"
45
- arr << PoolParty::Resources::Host.new(:ip => ip, :name => Resolv::DNS.new.getaddress(hostname), :alias => aliases).to_string
43
+ arr << PoolParty::Resources::Host.new(:name => hostname, :ip => Resolv::DNS.new.getaddress(ip).to_s, :alias => aliases).to_string
46
44
  end
47
45
  end
48
46
 
@@ -2,7 +2,7 @@ module PoolParty
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 64
5
+ TINY = 65
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/poolparty.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poolparty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.64
4
+ version: 0.2.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auser-poolparty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.64
4
+ version: 0.2.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner