dnstraverse 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dnstraverse/fingerprint.rb +3 -3
- data/lib/dnstraverse/referral.rb +2 -2
- data/lib/dnstraverse/version.rb +1 -1
- metadata +4 -4
@@ -56,9 +56,9 @@ module DNSTraverse
|
|
56
56
|
if rule.has_key?(:result) then
|
57
57
|
result = rule[:result]
|
58
58
|
if result.is_a? String
|
59
|
-
|
60
|
-
|
61
|
-
|
59
|
+
ret[:state] = result
|
60
|
+
ret[:error] = result
|
61
|
+
ret[:id] = id
|
62
62
|
return ret
|
63
63
|
end
|
64
64
|
for k in [:vendor, :product, :option] do
|
data/lib/dnstraverse/referral.rb
CHANGED
@@ -487,8 +487,8 @@ module DNSTraverse
|
|
487
487
|
puts "#{indent}#{key}"
|
488
488
|
end
|
489
489
|
if response.status != :answered and
|
490
|
-
((response.qname != @qname) or (response.qclass != @qclass) or
|
491
|
-
(response.qtype != @qtype)) then
|
490
|
+
((response.qname.downcase != @qname.downcase) or (response.qclass.downcase != @qclass.downcase) or
|
491
|
+
(response.qtype.downcase != @qtype.downcase)) then
|
492
492
|
puts "#{indent}While querying #{response.qname}/" +
|
493
493
|
"#{response.qclass}/#{response.qtype}"
|
494
494
|
end
|
data/lib/dnstraverse/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dnstraverse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Ponder
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-01 00:00:00 +01:00
|
19
19
|
default_executable: dnstraverse
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|