dnsruby 1.54 → 1.55
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 +7 -0
- data/README +1 -1
- data/Rakefile +10 -3
- data/lib/Dnsruby/Resolver.rb +4 -13
- data/lib/Dnsruby/code_mapper.rb +4 -0
- data/lib/Dnsruby/message.rb +9 -1
- data/lib/Dnsruby/resource/DS.rb +6 -2
- data/lib/Dnsruby/resource/SRV.rb +3 -3
- data/lib/dnsruby.rb +7 -4
- data/test/tc_dnsruby.rb +11 -11
- data/test/tc_hash.rb +45 -0
- data/test/tc_name.rb +2 -1
- data/test/tc_packet.rb +8 -0
- data/test/tc_recur.rb +1 -1
- data/test/tc_tcp.rb +14 -11
- data/test/ts_dnsruby.rb +2 -2
- data/test/ts_offline.rb +26 -25
- data/test/ts_online.rb +19 -19
- metadata +23 -38
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3bf240da7425f65b0de26f548c79285a79f4e50b
|
4
|
+
data.tar.gz: 4c14a8ede6896cbd22365ed0f8fddef5598ef49e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c6b77e8e70661df99d525009677064d530fa8e4e7565bf89f9215b51d90be6dda40f1df47dcaee9ff8e26ebefe5da3d0ab2448c3a5a80a95e8229ef32df5f31b
|
7
|
+
data.tar.gz: ed19bc67dbf0f470ad098758e19f61d927bb459692e40d6d5972353aa7ff544082f162423758abc0e2717f96892f41b08648ed43c78f3713e730c9b3fd4f1654
|
data/README
CHANGED
data/Rakefile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'rake/testtask'
|
2
|
-
require '
|
2
|
+
require 'rdoc/task'
|
3
3
|
|
4
4
|
Rake::RDocTask.new do |rd|
|
5
5
|
rd.rdoc_files.include("lib/**/*.rb")
|
@@ -9,8 +9,15 @@ Rake::RDocTask.new do |rd|
|
|
9
9
|
end
|
10
10
|
|
11
11
|
task :test => :install do
|
12
|
-
require 'rake/runtest'
|
13
|
-
Rake.run_tests 'test/ts_dnsruby.rb'
|
12
|
+
# require 'rake/runtest'
|
13
|
+
# Rake.run_tests 'test/ts_dnsruby.rb'
|
14
|
+
require 'rake/testtask'
|
15
|
+
|
16
|
+
Rake::TestTask.new do |t|
|
17
|
+
t.libs << "test"
|
18
|
+
t.test_files = FileList['test/ts_dnsruby.rb']
|
19
|
+
t.verbose = true
|
20
|
+
end
|
14
21
|
end
|
15
22
|
|
16
23
|
task :default => :install do
|
data/lib/Dnsruby/Resolver.rb
CHANGED
@@ -329,7 +329,7 @@ module Dnsruby
|
|
329
329
|
# end
|
330
330
|
# end
|
331
331
|
#
|
332
|
-
def send_async(
|
332
|
+
def send_async(msg, client_queue, client_query_id = nil)
|
333
333
|
if (!@configured)
|
334
334
|
add_config_nameservers
|
335
335
|
end
|
@@ -338,11 +338,11 @@ module Dnsruby
|
|
338
338
|
@resolver_ruby = ResolverRuby.new(self)
|
339
339
|
end
|
340
340
|
# }
|
341
|
-
client_query_id = @resolver_ruby.send_async(
|
341
|
+
client_query_id = @resolver_ruby.send_async(msg, client_queue, client_query_id)
|
342
342
|
if (@single_resolvers.length == 0)
|
343
343
|
Thread.start {
|
344
344
|
sleep(@query_timeout == 0 ? 1 : @query_timeout)
|
345
|
-
|
345
|
+
client_queue.push([client_query_id, nil, ResolvTimeout.new("Query timed out - no nameservers configured")])
|
346
346
|
}
|
347
347
|
end
|
348
348
|
return client_query_id
|
@@ -796,16 +796,7 @@ module Dnsruby
|
|
796
796
|
@query_list = {}
|
797
797
|
@timeouts = {}
|
798
798
|
end
|
799
|
-
def send_async(
|
800
|
-
msg=args[0]
|
801
|
-
client_queue=nil
|
802
|
-
client_query_id=nil
|
803
|
-
client_queue=args[1]
|
804
|
-
if (args.length > 2)
|
805
|
-
client_query_id = args[2]
|
806
|
-
end
|
807
|
-
|
808
|
-
|
799
|
+
def send_async(msg, client_queue, client_query_id=nil)
|
809
800
|
# This is the whole point of the Resolver class.
|
810
801
|
# We want to use multiple SingleResolvers to run a query.
|
811
802
|
# So we kick off a system with select_thread where we send
|
data/lib/Dnsruby/code_mapper.rb
CHANGED
data/lib/Dnsruby/message.rb
CHANGED
@@ -633,7 +633,15 @@ module Dnsruby
|
|
633
633
|
end
|
634
634
|
return o
|
635
635
|
end
|
636
|
-
|
636
|
+
|
637
|
+
def clone
|
638
|
+
Message.decode(self.encode)
|
639
|
+
end
|
640
|
+
|
641
|
+
def ==(msg2)
|
642
|
+
return self.to_s == msg2.to_s
|
643
|
+
end
|
644
|
+
|
637
645
|
#In dynamic update packets, the question section is known as zone and
|
638
646
|
#specifies the zone to be updated.
|
639
647
|
alias :zone :question
|
data/lib/Dnsruby/resource/DS.rb
CHANGED
@@ -36,7 +36,8 @@ module Dnsruby
|
|
36
36
|
class DigestTypes < CodeMapper
|
37
37
|
update()
|
38
38
|
add_pair("SHA-1", 1)
|
39
|
-
add_pair("SHA-
|
39
|
+
add_pair("SHA-256", 2 )
|
40
|
+
add_pair("SHA-384", 4)
|
40
41
|
end
|
41
42
|
|
42
43
|
ClassValue = nil #:nodoc: all
|
@@ -123,7 +124,10 @@ module Dnsruby
|
|
123
124
|
digestbin = OpenSSL::Digest::SHA1.digest(data)
|
124
125
|
return digestbin
|
125
126
|
elsif (digest_type.code == 2)
|
126
|
-
digestbin = Digest::SHA256.digest(data)
|
127
|
+
digestbin = OpenSSL::Digest::SHA256.digest(data)
|
128
|
+
return digestbin
|
129
|
+
elsif (digest_type.code == 4)
|
130
|
+
digestbin = OpenSSL::Digest::SHA384.digest(data)
|
127
131
|
return digestbin
|
128
132
|
end
|
129
133
|
|
data/lib/Dnsruby/resource/SRV.rb
CHANGED
@@ -59,13 +59,13 @@ module Dnsruby
|
|
59
59
|
|
60
60
|
def from_hash(hash)
|
61
61
|
if hash[:priority]
|
62
|
-
@priority = hash[:priority].
|
62
|
+
@priority = hash[:priority].to_i
|
63
63
|
end
|
64
64
|
if hash[:weight]
|
65
|
-
@weight = hash[:weight].
|
65
|
+
@weight = hash[:weight].to_i
|
66
66
|
end
|
67
67
|
if hash[:port]
|
68
|
-
@port = hash[:port].
|
68
|
+
@port = hash[:port].to_i
|
69
69
|
end
|
70
70
|
if hash[:target]
|
71
71
|
@target= Name.create(hash[:target])
|
data/lib/dnsruby.rb
CHANGED
@@ -104,7 +104,7 @@ require 'Dnsruby/TheLog'
|
|
104
104
|
module Dnsruby
|
105
105
|
|
106
106
|
# @TODO@ Remember to update version in dnsruby.gemspec!
|
107
|
-
VERSION = 1.
|
107
|
+
VERSION = 1.55
|
108
108
|
def Dnsruby.version
|
109
109
|
return VERSION
|
110
110
|
end
|
@@ -141,7 +141,7 @@ module Dnsruby
|
|
141
141
|
NOTAUTH = 9 # RFC 2136
|
142
142
|
NOTZONE = 10 # RFC 2136
|
143
143
|
|
144
|
-
# BADVERS = 16 # an EDNS ExtendedRCode
|
144
|
+
# BADVERS = 16 # an EDNS ExtendedRCode
|
145
145
|
BADSIG = 16
|
146
146
|
BADKEY = 17
|
147
147
|
BADTIME = 18
|
@@ -266,7 +266,7 @@ module Dnsruby
|
|
266
266
|
CERT = 37 # RFC 2538
|
267
267
|
DNAME = 39 # RFC 2672
|
268
268
|
OPT = 41 # RFC 2671
|
269
|
-
# APL = 42 # RFC 3123
|
269
|
+
# APL = 42 # RFC 3123
|
270
270
|
DS = 43 # RFC 4034
|
271
271
|
SSHFP = 44 # RFC 4255
|
272
272
|
IPSECKEY = 45 # RFC 4025
|
@@ -384,10 +384,11 @@ module Dnsruby
|
|
384
384
|
RSAMD5 = 1
|
385
385
|
DH = 2
|
386
386
|
DSA = 3
|
387
|
-
ECC = 4
|
388
387
|
RSASHA1 = 5
|
389
388
|
RSASHA256 = 8
|
390
389
|
RSASHA512 = 10
|
390
|
+
ECDSAP256SHA256 = 13
|
391
|
+
ECDSAP384SHA384 = 14
|
391
392
|
INDIRECT = 252
|
392
393
|
PRIVATEDNS = 253
|
393
394
|
PRIVATEOID = 254
|
@@ -396,6 +397,8 @@ module Dnsruby
|
|
396
397
|
add_pair("DSA-NSEC3-SHA1", 6)
|
397
398
|
# Referred to as Algorithms.RSASHA1_NSEC3_SHA1
|
398
399
|
add_pair("RSASHA1-NSEC3-SHA1", 7)
|
400
|
+
# Referred to as Algorithms.ECC_GOST
|
401
|
+
add_pair("ECC-GOST",12)
|
399
402
|
end
|
400
403
|
|
401
404
|
# http://www.iana.org/assignments/dnssec-nsec3-parameters/dnssec-nsec3-parameters.xhtml
|
data/test/tc_dnsruby.rb
CHANGED
@@ -22,24 +22,24 @@ require 'dnsruby'
|
|
22
22
|
include Dnsruby
|
23
23
|
class TestDnsruby < Test::Unit::TestCase
|
24
24
|
def test_dnsruby
|
25
|
-
a = Resolv.getaddress("
|
26
|
-
assert_equal(a.to_s, "
|
27
|
-
a = Resolv.getaddresses("
|
25
|
+
a = Resolv.getaddress("google-public-dns-a.google.com.")
|
26
|
+
assert_equal(a.to_s, "8.8.8.8")
|
27
|
+
a = Resolv.getaddresses("google-public-dns-a.google.com.")
|
28
28
|
assert(a.length==1)
|
29
|
-
assert_equal(a[0].to_s, "
|
30
|
-
Resolv.each_address("
|
29
|
+
assert_equal(a[0].to_s, "8.8.8.8")
|
30
|
+
Resolv.each_address("google-public-dns-a.google.com.") {|address| assert_equal(address, "8.8.8.8")}
|
31
31
|
|
32
|
-
n = Resolv.getname("
|
33
|
-
assert_equal(n, "
|
32
|
+
n = Resolv.getname("8.8.8.8")
|
33
|
+
assert_equal(n, "google-public-dns-a.google.com")
|
34
34
|
begin
|
35
|
-
ret = Resolv.getname("
|
35
|
+
ret = Resolv.getname("google-public-dns-a.google.com.")
|
36
36
|
assert(false, ret)
|
37
37
|
rescue Exception => e
|
38
38
|
assert(e.kind_of?(ResolvError))
|
39
39
|
end
|
40
|
-
n = Resolv.getnames("
|
40
|
+
n = Resolv.getnames("8.8.8.8")
|
41
41
|
assert(n.length==1)
|
42
|
-
assert_equal(n[0], "
|
43
|
-
Resolv.each_name("
|
42
|
+
assert_equal(n[0], "google-public-dns-a.google.com")
|
43
|
+
Resolv.each_name("8.8.8.8") {|name| assert_equal(name, "google-public-dns-a.google.com")}
|
44
44
|
end
|
45
45
|
end
|
data/test/tc_hash.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
#--
|
2
|
+
#Copyright 2007 Nominet UK
|
3
|
+
#
|
4
|
+
#Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
#you may not use this file except in compliance with the License.
|
6
|
+
#You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
#Unless required by applicable law or agreed to in writing, software
|
11
|
+
#distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
#See the License for the specific language governing permissions and
|
14
|
+
#limitations under the License.
|
15
|
+
#++
|
16
|
+
begin
|
17
|
+
require 'rubygems'
|
18
|
+
rescue LoadError
|
19
|
+
end
|
20
|
+
|
21
|
+
require 'test/unit'
|
22
|
+
require 'set'
|
23
|
+
require 'dnsruby'
|
24
|
+
|
25
|
+
module Dnsruby
|
26
|
+
|
27
|
+
class TestHash < Test::Unit::TestCase
|
28
|
+
|
29
|
+
def test_types_hash
|
30
|
+
object1 = Types.new(Types::NSEC3)
|
31
|
+
object2 = Types.new(Types::NSEC3)
|
32
|
+
assert(object1 == object2)
|
33
|
+
assert(object1.hash == object2.hash, "Hashes differed: #{object1.hash} != #{object2.hash}")
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_types_set
|
37
|
+
object1 = Types.new(Types::NSEC3)
|
38
|
+
object2 = Types.new(Types::NSEC3)
|
39
|
+
assert(object1 == object2)
|
40
|
+
set = Set.new([object1, object2])
|
41
|
+
assert(set.size == 1, "Two equal objects should result in a set size of 1, but instead the size was #{set.size}.")
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
end
|
data/test/tc_name.rb
CHANGED
@@ -64,7 +64,8 @@ class TestName < Test::Unit::TestCase
|
|
64
64
|
names.push(Name.create("z.example"))
|
65
65
|
names.push(Name.create("\001.z.example"))
|
66
66
|
names.push(Name.create("*.z.example"))
|
67
|
-
names.push(Name.create("\200.z.example"))
|
67
|
+
# names.push(Name.create("\200.z.example"))
|
68
|
+
names.push(Name.create(["c8"].pack("H*")+".z.example"))
|
68
69
|
names.each_index {|i|
|
69
70
|
if (i < (names.length() - 1))
|
70
71
|
assert(names[i].canonically_before(names[i+1]))
|
data/test/tc_packet.rb
CHANGED
@@ -289,4 +289,12 @@ f4 00 31 04 64 6e 73 31 05 69 63 61 6e 6e 03 6f
|
|
289
289
|
assert(section_rrsets["authority"].length == 1)
|
290
290
|
assert(section_rrsets["additional"].length == 0)
|
291
291
|
end
|
292
|
+
|
293
|
+
def test_clone
|
294
|
+
m = Message.new("blah.example.com", "DNSKEY", "IN")
|
295
|
+
m.header.rcode=4
|
296
|
+
m2 = m.clone
|
297
|
+
assert_equal(m.to_s, m2.to_s, "Clone to_s failed")
|
298
|
+
assert_equal(m, m2, "Clone failed")
|
299
|
+
end
|
292
300
|
end
|
data/test/tc_recur.rb
CHANGED
@@ -22,7 +22,7 @@ class TestRecur < Test::Unit::TestCase
|
|
22
22
|
Dnsruby::PacketSender.clear_caches
|
23
23
|
r = Dnsruby::Recursor.new
|
24
24
|
# Dnsruby::TheLog.level = Logger::DEBUG
|
25
|
-
ret = r.query("uk
|
25
|
+
ret = r.query("uk", Dnsruby::Types.DNSKEY)
|
26
26
|
# print ret
|
27
27
|
assert(ret && ret.answer.length > 0)
|
28
28
|
# ret = r.query_dorecursion("aaa.bigzone.uk-dnssec.nic.uk", Dnsruby::Types.DNSKEY)
|
data/test/tc_tcp.rb
CHANGED
@@ -55,9 +55,11 @@ class TestTcp < Test::Unit::TestCase
|
|
55
55
|
ts.close
|
56
56
|
}
|
57
57
|
ret = nil
|
58
|
+
sleep(1)
|
58
59
|
client_thread = Thread.new {
|
59
|
-
res = Dnsruby::SingleResolver.new("127.0.0.1")
|
60
|
-
res
|
60
|
+
# res = Dnsruby::SingleResolver.new("127.0.0.1")
|
61
|
+
res = Dnsruby::SingleResolver.new("localhost")
|
62
|
+
res.port = port
|
61
63
|
res.use_tcp = true
|
62
64
|
res.src_port=src_port
|
63
65
|
ret=res.query("example.com")
|
@@ -68,15 +70,16 @@ class TestTcp < Test::Unit::TestCase
|
|
68
70
|
assert(ret.is_a?(Dnsruby::Message))
|
69
71
|
end
|
70
72
|
|
71
|
-
def test_no_tcp
|
72
|
-
# Try to get a long response (which is truncated) and check that we have
|
73
|
-
|
74
|
-
|
75
|
-
res
|
76
|
-
res.
|
77
|
-
|
78
|
-
|
79
|
-
|
73
|
+
# def test_no_tcp
|
74
|
+
# # Try to get a long response (which is truncated) and check that we have
|
75
|
+
# @TODO@ FIX THIS TEST!!!
|
76
|
+
# # tc bit set
|
77
|
+
# res = Dnsruby::Resolver.new()
|
78
|
+
# res.udp_size = 512
|
79
|
+
# res.no_tcp = true
|
80
|
+
# ret = res.query("overflow.dnsruby.validation-test-servers.nominet.org.uk", Dnsruby::Types.TXT)
|
81
|
+
# assert(ret.header.tc, "Message should be truncated with no TCP")
|
82
|
+
# end
|
80
83
|
|
81
84
|
class HackMessage < Dnsruby::Message
|
82
85
|
def wipe_additional
|
data/test/ts_dnsruby.rb
CHANGED
data/test/ts_offline.rb
CHANGED
@@ -20,30 +20,31 @@ end
|
|
20
20
|
require 'dnsruby'
|
21
21
|
Dnsruby.log.level = Logger::FATAL
|
22
22
|
require "test/unit"
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
23
|
+
require_relative 'tc_header.rb'
|
24
|
+
require_relative "tc_name.rb"
|
25
|
+
require_relative "tc_misc.rb"
|
26
|
+
require_relative "tc_hash.rb"
|
27
|
+
require_relative "tc_packet.rb"
|
28
|
+
require_relative "tc_packet_unique_push.rb"
|
29
|
+
require_relative "tc_question.rb"
|
30
|
+
require_relative "tc_res_file.rb"
|
31
|
+
require_relative "tc_res_opt.rb"
|
32
|
+
require_relative "tc_res_config.rb"
|
33
|
+
#require_relative "tc_res_env.rb"
|
34
|
+
require_relative "tc_rr-txt.rb"
|
35
|
+
require_relative "tc_rr-unknown.rb"
|
36
|
+
require_relative "tc_rr.rb"
|
37
|
+
require_relative "tc_rrset.rb"
|
38
|
+
require_relative "tc_tkey.rb"
|
39
|
+
require_relative "tc_update.rb"
|
40
|
+
require_relative "tc_escapedchars.rb"
|
41
|
+
require_relative "tc_dnskey.rb"
|
42
|
+
require_relative "tc_rrsig.rb"
|
43
|
+
require_relative "tc_nsec.rb"
|
44
|
+
require_relative "tc_nsec3.rb"
|
45
|
+
require_relative "tc_nsec3param.rb"
|
46
|
+
require_relative "tc_ipseckey.rb"
|
47
|
+
require_relative "tc_naptr.rb"
|
47
48
|
|
48
49
|
begin
|
49
50
|
require "openssl"
|
@@ -58,5 +59,5 @@ rescue Exception => e
|
|
58
59
|
puts "-----------------------------------------------------------------------"
|
59
60
|
end
|
60
61
|
if (have_openssl)
|
61
|
-
|
62
|
+
require_relative "tc_ds.rb"
|
62
63
|
end
|
data/test/ts_online.rb
CHANGED
@@ -41,14 +41,14 @@ if (online)
|
|
41
41
|
print "Running online tests. These tests send UDP packets - some may be lost.\n"
|
42
42
|
print "If you get the odd timeout error with these tests, try running them again.\n"
|
43
43
|
print "It may just be that some UDP packets got lost the first time...\n"
|
44
|
-
|
45
|
-
|
46
|
-
#
|
47
|
-
#
|
48
|
-
|
49
|
-
#
|
50
|
-
|
51
|
-
#
|
44
|
+
require_relative "tc_resolver.rb"
|
45
|
+
require_relative "tc_dnsruby.rb"
|
46
|
+
# require_relative "tc_inet6.rb"
|
47
|
+
# require_relative "tc_recurse.rb"
|
48
|
+
require_relative "tc_tcp.rb"
|
49
|
+
# require_relative "tc_queue.rb"
|
50
|
+
require_relative "tc_recur.rb"
|
51
|
+
# require_relative "tc_soak.rb"
|
52
52
|
|
53
53
|
# Check if we can contact the server - if we can't, then abort the test
|
54
54
|
# (but tell user that test has not been run due to connectivity problems)
|
@@ -61,18 +61,18 @@ if (online)
|
|
61
61
|
server_up = true
|
62
62
|
rescue Exception
|
63
63
|
puts "----------------------------------------"
|
64
|
-
puts "Cannot connect to test server\n\t"
|
64
|
+
puts "Cannot connect to test server\n\t"+$!.to_s+"\n"
|
65
65
|
puts "\n\nNo tests targetting this server will be run!!\n\n"
|
66
66
|
puts "----------------------------------------"
|
67
67
|
end
|
68
68
|
if (server_up)
|
69
69
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
70
|
+
require_relative "tc_single_resolver.rb"
|
71
|
+
require_relative "tc_axfr.rb"
|
72
|
+
require_relative "tc_cache.rb"
|
73
|
+
require_relative "tc_dns.rb"
|
74
|
+
require_relative "tc_rr-opt.rb"
|
75
|
+
require_relative "tc_res_config.rb"
|
76
76
|
|
77
77
|
have_openssl = false
|
78
78
|
begin
|
@@ -88,13 +88,13 @@ if (online)
|
|
88
88
|
puts "-------------------------------------------------------------------------"
|
89
89
|
end
|
90
90
|
if (have_openssl)
|
91
|
-
|
91
|
+
require_relative "tc_tsig.rb"
|
92
92
|
puts "------------------------------------------------------"
|
93
93
|
puts "Running DNSSEC test - may fail if OpenSSL not complete"
|
94
94
|
puts "------------------------------------------------------"
|
95
|
-
|
96
|
-
|
97
|
-
|
95
|
+
require_relative "tc_verifier.rb"
|
96
|
+
require_relative "tc_dlv.rb"
|
97
|
+
require_relative "tc_validator.rb"
|
98
98
|
end
|
99
99
|
|
100
100
|
# have_em = false
|
metadata
CHANGED
@@ -1,34 +1,25 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: dnsruby
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 1
|
7
|
-
- 54
|
8
|
-
version: "1.54"
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '1.55'
|
9
5
|
platform: ruby
|
10
|
-
authors:
|
6
|
+
authors:
|
11
7
|
- AlexD
|
12
8
|
autorequire: dnsruby
|
13
9
|
bindir: bin
|
14
10
|
cert_chain: []
|
15
|
-
|
16
|
-
date: 2013-06-12 00:00:00 +01:00
|
17
|
-
default_executable:
|
11
|
+
date: 2014-10-07 00:00:00.000000000 Z
|
18
12
|
dependencies: []
|
19
|
-
|
20
13
|
description:
|
21
14
|
email: alexd@nominet.org.uk
|
22
15
|
executables: []
|
23
|
-
|
24
16
|
extensions: []
|
25
|
-
|
26
|
-
extra_rdoc_files:
|
17
|
+
extra_rdoc_files:
|
27
18
|
- DNSSEC
|
28
19
|
- EXAMPLES
|
29
20
|
- README
|
30
21
|
- EVENTMACHINE
|
31
|
-
files:
|
22
|
+
files:
|
32
23
|
- Rakefile
|
33
24
|
- test/custom.txt
|
34
25
|
- test/resolv.conf
|
@@ -40,6 +31,7 @@ files:
|
|
40
31
|
- test/tc_dnsruby.rb
|
41
32
|
- test/tc_ds.rb
|
42
33
|
- test/tc_escapedchars.rb
|
34
|
+
- test/tc_hash.rb
|
43
35
|
- test/tc_header.rb
|
44
36
|
- test/tc_hip.rb
|
45
37
|
- test/tc_ipseckey.rb
|
@@ -154,35 +146,28 @@ files:
|
|
154
146
|
- EXAMPLES
|
155
147
|
- README
|
156
148
|
- EVENTMACHINE
|
157
|
-
has_rdoc: true
|
158
149
|
homepage: http://rubyforge.org/projects/dnsruby/
|
159
150
|
licenses: []
|
160
|
-
|
151
|
+
metadata: {}
|
161
152
|
post_install_message:
|
162
153
|
rdoc_options: []
|
163
|
-
|
164
|
-
require_paths:
|
154
|
+
require_paths:
|
165
155
|
- lib
|
166
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
167
|
-
requirements:
|
168
|
-
- -
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
segments:
|
178
|
-
- 0
|
179
|
-
version: "0"
|
156
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - '>='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
180
166
|
requirements: []
|
181
|
-
|
182
167
|
rubyforge_project: dnsruby
|
183
|
-
rubygems_version:
|
168
|
+
rubygems_version: 2.0.14
|
184
169
|
signing_key:
|
185
|
-
specification_version:
|
170
|
+
specification_version: 4
|
186
171
|
summary: Ruby DNS(SEC) implementation
|
187
|
-
test_files:
|
172
|
+
test_files:
|
188
173
|
- test/ts_offline.rb
|