acme_nsupdate 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acme_nsupdate/strategies/dns01.rb +2 -2
- data/lib/acme_nsupdate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c2c9a4882555e5998835255c9d0a0a1433b1369e7b3cb5c16a3e17074d092b3
|
4
|
+
data.tar.gz: e6df0ac6c9d93f478b25165aff982f0db4e686e6f1c3415d921b28c129270aa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dae4322617100f7644bfa625a8a17a16f2d569721815a4282a16fc36cdb7632377f058da20437ccd54f09fb0446af0b658f270fa377ee3cae94e4f2b76b32f16
|
7
|
+
data.tar.gz: 0e8e737733fd2bbc95a4568777280d4e62bf2dcecd2cf31a26f0ad57a24dabb8b21a7c168389199c9d6b9c7d2b2c7ebef2ec478761160ef760c78462ea961343
|
@@ -57,7 +57,7 @@ module AcmeNsupdate
|
|
57
57
|
@client.logger.debug "Got #{records.size} TXT records for #{name}: #{records.map(&:inspect).join(", ")}"
|
58
58
|
if records.include? content
|
59
59
|
true
|
60
|
-
elsif waited
|
60
|
+
elsif waited >= timeout
|
61
61
|
@client.logger.error "None matched, timeout reached, aborting"
|
62
62
|
return false
|
63
63
|
else
|
@@ -83,7 +83,7 @@ module AcmeNsupdate
|
|
83
83
|
begin
|
84
84
|
sender = requester.sender(message, name, primary, 53)
|
85
85
|
reply, _ = requester.request(sender, 10)
|
86
|
-
authority = reply.authority.first.first.to_s
|
86
|
+
authority = !reply.authority.empty? ? reply.authority.first.first.to_s : reply.answer.first[2].to_s
|
87
87
|
ensure
|
88
88
|
requester.close
|
89
89
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acme_nsupdate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonne Haß
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slop
|