epp-client-secdns 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -7
  2. data/lib/epp-client/secdns.rb +3 -3
  3. metadata +48 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA512:
3
- metadata.gz: 1650c6539c0e8047075211f9d8f934c521473d1657ffb7f300f1f8280ab003bdbe6843cb499453f0ffff6b1528edcfd002bff67512a5d36f16b081e4fa40bbcf
4
- data.tar.gz: 48f56471cb4d15e7e42fa6783064d72ec266f177b7d132dbdf6c29dfa0cf41974a1171a8d7ec8c449e782853673dde6c4057436754d5541d281fcf42d09632a8
5
- SHA1:
6
- metadata.gz: 388f0b7cd8556735afc356474070191e4267da30
7
- data.tar.gz: 9399f224290ad9532045070f0f2e3e108db4c0fc
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1a0f486aea1e17378f14d97e7d5d86b64f036b5b
4
+ data.tar.gz: c04eb028e8e34a6f6f791ca2482c400f2472c7e2
5
+ SHA512:
6
+ metadata.gz: 29880554a09f859a67fd1ecebb0f9d40456bf6c19feea627cc1dce255f3cb7953784e775c357e2a4ea2c0cd985967793e80a42ab5724f469d11961dd29aab9eb
7
+ data.tar.gz: 14cfc33fd1d2abe80f84eaabea2af55157b401482b0989e0f3e97a5632799252c0e99c5f1d8a43d3e180f23dc84b4115833b08bd25c509fcac2e1090bc7045e9
@@ -65,7 +65,7 @@ module EPPClient
65
65
  def domain_info_process(xml) #:nodoc:
66
66
  ret = super
67
67
  ret_secdns = {}
68
- if (maxSigLife = xml.xpath('epp:extension/secDNS:infData/secDNS:maxSigLife', EPPClient::SCHEMAS_URL)).size > 0
68
+ unless (maxSigLife = xml.xpath('epp:extension/secDNS:infData/secDNS:maxSigLife', EPPClient::SCHEMAS_URL)).empty?
69
69
  ret_secdns[:maxSigLife] = maxSigLife.text
70
70
  end
71
71
  ret_secdns[:dsData] = xml.xpath('epp:extension/secDNS:infData/secDNS:dsData', EPPClient::SCHEMAS_URL).map do |s|
@@ -75,7 +75,7 @@ module EPPClient
75
75
  parse_key_data(s)
76
76
  end
77
77
 
78
- ret[:secDNS] = ret_secdns unless ret_secdns.values.count(&:nil?) == 0
78
+ ret[:secDNS] = ret_secdns if ret_secdns.values.count(&:nil?) == 0
79
79
  ret
80
80
  end
81
81
 
@@ -236,7 +236,7 @@ module EPPClient
236
236
  :digestType => xml.xpath('secDNS:digestType', EPPClient::SCHEMAS_URL).text.to_i,
237
237
  :digest => xml.xpath('secDNS:digest', EPPClient::SCHEMAS_URL).text,
238
238
  }
239
- if (keyData = xml.xpath('secDNS:keyData', EPPClient::SCHEMAS_URL)).size > 0
239
+ unless (keyData = xml.xpath('secDNS:keyData', EPPClient::SCHEMAS_URL)).empty?
240
240
  ret[:keyData] = parse_key_data(keyData)
241
241
  end
242
242
  ret
metadata CHANGED
@@ -1,56 +1,64 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: epp-client-secdns
3
- version: !ruby/object:Gem::Version
4
- version: 0.15.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.15.1
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Mathieu Arnold
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2016-02-17 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+ date: 2016-02-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
19
17
  - - ">="
20
- - !ruby/object:Gem::Version
18
+ - !ruby/object:Gem::Version
21
19
  version: 1.0.0
22
20
  type: :development
23
- version_requirements: *id001
24
- - !ruby/object:Gem::Dependency
25
- name: nokogiri
26
21
  prerelease: false
27
- requirement: &id002 !ruby/object:Gem::Requirement
28
- requirements:
29
- - - ~>
30
- - !ruby/object:Gem::Version
31
- version: "1.4"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.4'
32
34
  type: :runtime
33
- version_requirements: *id002
34
- - !ruby/object:Gem::Dependency
35
- name: builder
36
35
  prerelease: false
37
- requirement: &id003 !ruby/object:Gem::Requirement
38
- requirements:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: builder
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
39
45
  - - ">="
40
- - !ruby/object:Gem::Version
46
+ - !ruby/object:Gem::Version
41
47
  version: 2.1.2
42
48
  type: :runtime
43
- version_requirements: *id003
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.1.2
44
55
  description: SecDNS EPP client library.
45
- email:
56
+ email:
46
57
  - m@absolight.fr
47
58
  executables: []
48
-
49
59
  extensions: []
50
-
51
60
  extra_rdoc_files: []
52
-
53
- files:
61
+ files:
54
62
  - ChangeLog
55
63
  - Gemfile
56
64
  - MIT-LICENSE
@@ -64,30 +72,25 @@ files:
64
72
  - vendor/ietf/secDNS-1.1.xsd
65
73
  homepage: https://github.com/Absolight/epp-client
66
74
  licenses: []
67
-
68
75
  metadata: {}
69
-
70
76
  post_install_message:
71
77
  rdoc_options: []
72
-
73
- require_paths:
78
+ require_paths:
74
79
  - lib
75
- required_ruby_version: !ruby/object:Gem::Requirement
76
- requirements:
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
77
82
  - - ">="
78
- - !ruby/object:Gem::Version
83
+ - !ruby/object:Gem::Version
79
84
  version: 1.8.7
80
- required_rubygems_version: !ruby/object:Gem::Requirement
81
- requirements:
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
82
87
  - - ">="
83
- - !ruby/object:Gem::Version
88
+ - !ruby/object:Gem::Version
84
89
  version: 1.3.6
85
90
  requirements: []
86
-
87
91
  rubyforge_project:
88
- rubygems_version: 2.0.17
92
+ rubygems_version: 2.4.8
89
93
  signing_key:
90
94
  specification_version: 4
91
95
  summary: SecDNS EPP client library
92
96
  test_files: []
93
-