dnstraverse 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module DNSTraverse
30
30
  attr_reader :warnings, :children, :parent_ip
31
31
  attr_reader :decoded_query_cache
32
32
  attr_reader :responses
33
- attr_reader :stats
33
+ attr_reader :stats, :stats_resolve
34
34
  attr_accessor :replaced_by
35
35
 
36
36
  EMPTY_ARRAY = [].freeze
@@ -486,9 +486,11 @@ module DNSTraverse
486
486
  puts "Stopped at #{where})"
487
487
  puts "#{indent}#{key}"
488
488
  end
489
+ # downcase for symbols doesn't work with ruby 1.8 :-( remove for 1.9
489
490
  if response.status != :answered and
490
- ((response.qname.downcase != @qname.downcase) or (response.qclass.downcase != @qclass.downcase) or
491
- (response.qtype.downcase != @qtype.downcase)) then
491
+ ((response.qname.downcase != @qname.downcase) or
492
+ (response.qclass.to_s.downcase != @qclass.to_s.downcase) or
493
+ (response.qtype.to_s.downcase != @qtype.to_s.downcase)) then
492
494
  puts "#{indent}While querying #{response.qname}/" +
493
495
  "#{response.qclass}/#{response.qtype}"
494
496
  end
@@ -2,7 +2,7 @@ module DNSTraverse
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 3
5
+ PATCH = 4
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: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
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-08-01 00:00:00 +01:00
18
+ date: 2011-08-08 00:00:00 +01:00
19
19
  default_executable: dnstraverse
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency