net-dns 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -6
- data/.travis.yml +14 -0
- data/CHANGELOG.md +79 -0
- data/Gemfile +4 -0
- data/Rakefile +56 -66
- data/demo/check_soa.rb +1 -1
- data/demo/threads.rb +1 -1
- data/lib/net/dns.rb +24 -22
- data/lib/net/dns/header.rb +77 -103
- data/lib/net/dns/{names/names.rb → names.rb} +19 -20
- data/lib/net/dns/packet.rb +231 -256
- data/lib/net/dns/question.rb +11 -40
- data/lib/net/dns/resolver.rb +248 -250
- data/lib/net/dns/resolver/socks.rb +6 -6
- data/lib/net/dns/resolver/timeouts.rb +1 -1
- data/lib/net/dns/rr.rb +112 -117
- data/lib/net/dns/rr/a.rb +98 -89
- data/lib/net/dns/rr/aaaa.rb +84 -68
- data/lib/net/dns/rr/classes.rb +91 -106
- data/lib/net/dns/rr/cname.rb +64 -45
- data/lib/net/dns/rr/hinfo.rb +90 -50
- data/lib/net/dns/rr/mr.rb +61 -44
- data/lib/net/dns/rr/mx.rb +73 -48
- data/lib/net/dns/rr/ns.rb +60 -46
- data/lib/net/dns/rr/null.rb +11 -12
- data/lib/net/dns/rr/ptr.rb +47 -34
- data/lib/net/dns/rr/soa.rb +5 -6
- data/lib/net/dns/rr/srv.rb +1 -4
- data/lib/net/dns/rr/txt.rb +14 -14
- data/lib/net/dns/rr/types.rb +13 -13
- data/lib/net/dns/version.rb +8 -14
- data/net-dns.gemspec +35 -0
- data/setup.rb +3 -2
- data/test/header_test.rb +18 -18
- data/test/names_test.rb +21 -0
- data/test/packet_test.rb +38 -31
- data/test/question_test.rb +23 -24
- data/test/resolver/timeouts_test.rb +13 -13
- data/test/resolver_test.rb +28 -20
- data/test/rr/a_test.rb +70 -23
- data/test/rr/aaaa_test.rb +109 -0
- data/test/rr/classes_test.rb +61 -49
- data/test/rr/cname_test.rb +97 -0
- data/test/rr/hinfo_test.rb +117 -0
- data/test/rr/mr_test.rb +105 -0
- data/test/rr/mx_test.rb +112 -0
- data/test/rr/ns_test.rb +34 -12
- data/test/rr/types_test.rb +4 -4
- data/test/rr_test.rb +1 -1
- metadata +77 -52
- data/AUTHORS.rdoc +0 -7
- data/CHANGELOG.rdoc +0 -46
- data/VERSION.yml +0 -5
data/AUTHORS.rdoc
DELETED
data/CHANGELOG.rdoc
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
= Changelog
|
2
|
-
|
3
|
-
|
4
|
-
== Release 0.6.1
|
5
|
-
|
6
|
-
* ADDED: Net::DNS::Packet#to_s method (alias of #inspect)
|
7
|
-
|
8
|
-
* FIXED: typo in lib/net/dns/rr/ptr.rb [Thanks to Chris Lundquist]
|
9
|
-
|
10
|
-
* FIXED: warning: method redefined; discarding old inspect [Thanks to Kevin Baker] (closes #3)
|
11
|
-
|
12
|
-
* FIXED: issue with rescue ArgumentError (closes #5) and with IPAddr handling (closes #6)
|
13
|
-
|
14
|
-
|
15
|
-
== Release 0.6.0
|
16
|
-
|
17
|
-
*WARNING:* If you are upgrading from a previous minor release, check out the Compatibility issue list below.
|
18
|
-
|
19
|
-
* FIXED: Added missing #to_s method to Net::DNS::Question.
|
20
|
-
|
21
|
-
* FIXED: Compatibility with Ruby 1.9
|
22
|
-
|
23
|
-
* FIXED: Types regexp order issue
|
24
|
-
|
25
|
-
* CHANGED: Refactoring unit test to follow most used Ruby conventions
|
26
|
-
|
27
|
-
* CHANGED: default timeout is now 5 seconds for both UDP and TCP
|
28
|
-
|
29
|
-
* CHANGED: Moved main dns.rb file to lib/net folder as default for GEMs. In this way it can be autoloaded when the gem is required.
|
30
|
-
|
31
|
-
=== Compatibility issues
|
32
|
-
|
33
|
-
* CHANGED: RR#set_stype scope is now private to prevent invalid usage.
|
34
|
-
|
35
|
-
* CHANGED: DnsTimeout#timeout now raises LocalJumpError instead of DnsTimeoutArgumentError when block is missing.
|
36
|
-
|
37
|
-
* CHANGED: Renamed Net::DNS::RR::Types::Types to Net::DNS::RR::Types::TYPES to follow Ruby coding standards.
|
38
|
-
|
39
|
-
|
40
|
-
== Release 0.4
|
41
|
-
|
42
|
-
* many bug fixes (thanks guys!)
|
43
|
-
* a whole new class Net::DNS::Header::RCode
|
44
|
-
* new methods in Net::DNS::Resolver class to do AXFR queries
|
45
|
-
* a new SRV resource record written by Dan Janowski
|
46
|
-
* more documentation written and corrected
|