dnstraverse 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- ref[:state] = rule[:result]
60
- ref[:error] = rule[:result]
61
- ref[:id] = id
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
@@ -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
@@ -2,7 +2,7 @@ module DNSTraverse
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 2
5
+ PATCH = 3
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
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-07-31 00:00:00 +01:00
18
+ date: 2011-08-01 00:00:00 +01:00
19
19
  default_executable: dnstraverse
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency