epp-client-hostmaster 0.2.3 → 0.2.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.
@@ -1,5 +1,3 @@
1
- require "ipaddr"
2
-
3
1
  module EPPClient
4
2
  module HostmasterHost
5
3
  def host_check_xml(*hosts) #:nodoc:
@@ -98,10 +96,10 @@ module EPPClient
98
96
  end
99
97
 
100
98
  if (value = host.xpath('host:addr[@ip="v4"]', EPPClient::SCHEMAS_URL)).size > 0
101
- ret[:addrv4] = value.map {|ip| IPAddr.new(ip.text)}
99
+ ret[:addrv4] = value.map {|ip| ip.text }
102
100
  end
103
101
  if (value = host.xpath('host:addr[@ip="v6"]', EPPClient::SCHEMAS_URL)).size > 0
104
- ret[:addrv6] = value.map {|ip| IPAddr.new(ip.text)}
102
+ ret[:addrv6] = value.map {|ip| ip.text }
105
103
  end
106
104
 
107
105
  %w(clID crID upID).each do |val|
@@ -9,7 +9,7 @@ require "#{File.dirname(__FILE__)}/hostmaster-transfer"
9
9
 
10
10
  module EPPClient
11
11
  class Hostmaster < Base
12
- VERSION = '0.2.3'
12
+ VERSION = '0.2.4'
13
13
 
14
14
  SCHEMAS = %w(domain-1.1 host-1.1 contact-1.1 rgp-1.1)
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epp-client-hostmaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: