Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: weppos/whois
base: v1.3.4
...
head fork: weppos/whois
compare: v2.0.7
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on Feb 19, 2011
@ezkl ezkl Remove regex from status property in whois.cnnic.cn. A little refacto…
…ring.
a422103
@ezkl ezkl Added status test for registered_status_ok fixture 4e9652c
@semaperepelitsa semaperepelitsa whois.registry.in registrar property support 2a35f56
@semaperepelitsa semaperepelitsa whois.ripn.net only admin contact is supported. c620a5f
@weppos Merge branch 'master' of https://github.com/semaperepelitsa/whois int…
…o semaperepelitsa-master
6e6c46e
@weppos CHANGELOG c3cab6d
@weppos Rename fixtures 15ceafd
@semaperepelitsa semaperepelitsa Remove trailing whitespace. 58d020d
@weppos whois.nic.it must support the status GRACE-PERIOD 2b6868d
@weppos Update gemspec. ca5d938
@ezkl ezkl Added domain id and more test to whois.cnnic.cn 31dc011
@ezkl ezkl Added available domain test to whois.cnnic.cn 1f13278
Commits on Feb 20, 2011
@weppos Whitespaces 0cee945
@weppos Reserved should be a public method fa56df4
@weppos Missing #disclaimer tests 76e3162
@weppos Missing cache test for #status 47b65c9
@weppos Tests should follow the same order as defined methods 841bec9
@weppos Fix compilation error on Ruby < 1.9 5427b31
@weppos Replace use of regular expression with a full scanner feee027
@weppos CHANGELOG 1e5979b
@weppos Added full .CN TLD parser (whois.cnnic.cn) (closes #77) 1a34435
@weppos Extract features and base scanner. a092222
@weppos Scanner::Ian, Scanner::Verisign, WhoisNicIt::Scanner now extends Scan…
…ner::Base
66a7748
@weppos Remove useless statement 8ebb573
@weppos WhoisTldEe::Scanner not extends Scanners::Base e7b6a93
@weppos WhoisPublicinterestregistryNet::Scanner now extends Scanners::Base 0dd83e9
@weppos WhoisNicHu::Scanner now extends Scanners::Base 1ca2124
@weppos WhoisDenicDe::Scanner now extends Scanners::Base a0a11cc
@weppos Extracted Whois::Answer::Parser::Features and Extracted Whois::Answer…
…::Parser::Scanners::Base.
1e554ba
@weppos Merge branch 'scanners' a74c756
@weppos .gemspec 5c62f3d
@weppos WhoisNicFr parser doesn't recognize nameservers when some nameserver …
…has only ipv4 and no ipv6
ccb0768
@weppos Rename fixtures 5734b98
@weppos Simplify parsers. fc7bfcd
@weppos The following lines don't match ^\w
    NeuStar registry database. NeuStar makes this information available to you
    "as is" and does not guarantee its accuracy. By submitting a WHOIS query, you
    agree that you will use this data only for lawful purposes and that, under no
54703b5
@weppos Standardize bf4fb77
@weppos Move the scanner to a separate file f6a3958
@weppos Replace WhoisBiz regexp with a real scanner a200951
@weppos Move the scanner to a separate file ba13501
@weppos Add missing WhoisBiz properties 211af89
Commits on Feb 21, 2011
@weppos Autogenerate test files from a metalanguage 9e6e6cb
@weppos Move the RSpec generator to a rake task and reorganize the files. 78d1874
@weppos Generated spec should require the parser klass a00656c
@weppos Generated spec should require 'spec_helper' b43d773
@weppos Merge branch 'genspec' 7cb096e
@weppos Whois::Answer::Parser::WhoisBiz status_available fcbc87e
@weppos Can't use constants because constants are shared across classes in th…
…e same hierarchy
da58fe0
Commits on Feb 22, 2011
@ezkl ezkl Fixed scanner and fixtures for whois.cnnic.cn 63b8664
@weppos Merge branch 'master' of https://github.com/ezkl/whois into ezkl-master e8b20cb
@geoffgarside geoffgarside Add support for extracting Registrar information from whois.nic.uk.
Extracts the name, Nominet tag and URL from the Registrar section of the whois.nic.uk response.
c4ea7e6
@geoffgarside geoffgarside Add test case for whois.nic.uk registrar parsing d521d95
@geoffgarside geoffgarside Change whois.nic.uk registrar parsing to separate the name and organi…
…sation if there is a t/a separator
f0ca169
@geoffgarside geoffgarside Add test for whois.nic.uk registrar without a trading as name 6ad6f64
@geoffgarside geoffgarside Copy response fixture whois.nic.uk/property_{nameservers_with_ip => r…
…egistrar_without_trading_name}.txt

This is to avoid reusing files with a specific name target for other properties.
9b5386c
@geoffgarside geoffgarside Update whois.nic.uk_test.rb to use new registered.txt fixture name, c…
…opy fixture for property_registrar_without_trading_name
fd0af82
@weppos Merge branch 'whois.nic.uk-registrar-master' of https://github.com/ge…
…offgarside/whois into geoffgarside-whois.nic.uk-registrar-master
b6f2e5d
@weppos Remove old fixture. 5c5940d
@weppos CHANGELOG da276fc
@weppos whois.nic.uk now supports #registrar (closes #81, closes #82). c4ce4f7
@weppos Migrate tests to the new metalanguage 13e97ee
@weppos Migrate tests to the new metalanguage 43c685d
@weppos Migrate tests to the new metalanguage 31522aa
@weppos Migrate tests to the new metalanguage d03fd7a
Commits on Feb 23, 2011
@semaperepelitsa semaperepelitsa Add tests and fixture f1d15a0
@semaperepelitsa semaperepelitsa Add a parser with some properties supported. 5e4af23
@semaperepelitsa semaperepelitsa Whitespace ecfd701
@semaperepelitsa semaperepelitsa Curly brackets are not necessary here. 23d9bb9
@semaperepelitsa semaperepelitsa Fix contacts information. ccadf0f
@semaperepelitsa semaperepelitsa Add contacts support. 1a42972
@weppos Standardize order. 629a6ab
@weppos Fix compilation error with Ruby 1.8.7 978ff9b
@weppos CHANGELOG 39c0edf
@weppos Merge branch whois.markmonitor.com (closes #83) 69461a7
@weppos .gemspec 870e31d
@weppos #error => #error! e32d756
Commits on Feb 24, 2011
@weppos whois.denic.de now supports failed status.
According to the following link

    http://webcache.googleusercontent.com/search?q=cache:gNXHAA72PWAJ:www.denic.de/fileadmin/public/services/DCHK/IRIS-DCHK-Client-UserGuide_EN.odt+site:www.denic.de+status+failed&cd=7&hl=en&ct=clnk&source=www.google.com

the failed status means

    The domain is registered, but there is not DNS entry for it. (Corresponds to failed status in whois.)

The parser should return #registered? == true
c335f16
@weppos Upgrade to the new test DSL 7a6fc08
Commits on Feb 25, 2011
@semaperepelitsa semaperepelitsa Test whois.markmonitor.com#registrar and fix it. 24502cc
@weppos Update test syntax 51a729e
Commits on Feb 27, 2011
@weppos Alignment cda55a6
@weppos whois.nic.it parser should set contact #state 91435b8
@weppos .genspec 85dff4f
@weppos No need to create one test for every contact type 32ec19a
@weppos whois.nic.it parses Created instead of Last Update 65395c3
@weppos Shift company when it is injected into the address 624463b
Commits on Mar 01, 2011
@weppos Bad char e033c5c
@weppos There's no default implementation e5be4e1
@weppos whois.cira.ca parser must support "to be released" status. 891675e
@weppos Whois::Answer::Parser::Base#response_unavailable? cf7feda
@weppos Add #response_unavailable? a90e948
@weppos Rename #incomplete? to #response_incomplete? to uniform the name with…
… other response_? methods.
1ea2c38
@weppos Rename #throttled? to #response_throttled? to uniform the name with o…
…ther response_? methods.
e8368f5
@weppos Merge branch 'response_maintenance' 6cfa65f
Commits on Mar 02, 2011
@weppos Update whois.afilias.info tests b376c4d
@weppos I love Ruby d0225bc
@weppos Added full whois.cnnic.biz and whois.biz parsers. bfbd27b
@weppos CHANGELOG d5b6a0b
@weppos Array.wrap is very useful 53ba15f
Commits on Mar 05, 2011
@weppos Update Ruby versions 6c55e45
@weppos rake multitest:setup 94d1af9
@weppos rake multitest:setup/bundleize 39d7208
@weppos Test fails with Ruby 1.8.7 108b602
@weppos Rename fixtures bc4e646
@weppos Simulate sorted Hash to please Ruby 1.8.7 474e047
@weppos Fixed tests failing with Ruby 1.8.7 10ab799
@weppos Array.wrap + #inject 3512e14
Commits on Mar 08, 2011
@weppos Migrate test to rspec 407d015
@weppos Rename fixtures from SOMETHING to status_SOMETHING 2425b5d
@weppos Migrate test to rspec c22c62c
@weppos Migrate test to rspec e8476fe
@weppos Add encoding comment 4b1bd7c
@weppos Migrate test to rspec 4375b6d
@weppos Change (registrant|admin|technical)_contact properties to return an A…
…rray of Contact.
0af79a9
@weppos Convert unsupported contacts to plural form 12bd6b1
@weppos Convert remaining contacts to plural fe93a23
@weppos CHANGELOG 2cc80d6
@weppos #admin_contact, #technical_contact and #registrant_contact have been …
…renamed to #admin_contacts, #technical_contacts and #registrant_contacts and they now returns an array of Contact, instead of a single Contact.

#admin_contact, #technical_contact and #registrant_contact still exists in the Answer as a convenient shortcut.
2b42d7e
@weppos Typecast #nameservers to Array in the base class. d5e9a8e
@weppos Remove deprecation warning. I believe people never used this method d…
…irectly.
de2e0dc
@weppos Don't use lambdas to define methods when not required. 60ce320
@weppos Avoid type casting 5e1096a
@weppos 1 less method ffa71d4
@weppos Notes 71a9bd3
Commits on Mar 09, 2011
@weppos Outdated comment 3eff0e9
@weppos I'm not really sure about this commit, but the code seems to be more …
…readable now.
a7e243d
@weppos Increase documentation 3128c34
@weppos Don't use autoload for now. e0edf82
@weppos @return, not @returns b0a67df
@weppos .gemspec 3d4d5b5
@weppos Moving the execution outside the cache results in better performance. 52b2b36
@weppos Add benchmark 222f924
@weppos Append .rb extension to the end of the file so that the interpreter w…
…on't be confused by the TLD.

`.so` TLD can cause the file to be considered a C extension.

See http://jira.codehaus.org/browse/JRUBY-5569
dd4aa3a
Commits on Mar 11, 2011
@weppos I'm using YARD 039b52d
@weppos Simplify Rakefile c0ff6ec
@weppos Sort lines e04cc27
Commits on Mar 13, 2011
@weppos Migrate test to rspec 94f8e0d
@weppos Migrate test to rspec 84edaa5
@weppos Migrate test to rspec ff0daf4
@weppos .gemspec 63b7b1e
@weppos Migrate test to rspec 16e1e3e
@weppos Migrate test to rspec 994a872
@weppos Group multiple assertions into a context. In this way, when the first…
… test fails, the following won't be executed.
4db4bc4
@weppos Migrate test to rspec 0ee29ec
Commits on Mar 15, 2011
@weppos Migrate test to rspec 593a697
@weppos GoodBye Test::Unit, and thanks for all the fish!
Finished in 6.33 seconds
3787 examples, 0 failures
404a8fd
@weppos Remove old RSpec "generators". c831752
@weppos Fixed invalid regexp, incompatible with Ruby 1.8.7 964c095
@weppos Time#strptime is not available in Ruby 1.8.7 f1b0906
@weppos Fixed incompatibility with JRuby 1.6.0 0af662b
@weppos Rename Whois::Answer to Whois::Record e94d872
@weppos Add Whois::Answer deprecation warning. 4575a86
@weppos Change the example to be more coherent. 82b307a
@weppos CHANGELOG 302670a
@weppos Merge branch 'record' 51c0785
@weppos .gemspec 195a14e
@weppos Update copyright and docblock. 6323474
Commits on Mar 16, 2011
@weppos Add Upgrade information in the README. e959f0b
@weppos Make sure Ruby uses the right encoding and doesn't rely on ENV settings. 77a8d4c
@weppos strip instead of each_line 8ea7ad0
Commits on Mar 17, 2011
@weppos whois.sk-nic.sk parser must support "DOM_HELD" status. 3d0e5e0
@weppos Regexp cleanup. 4d207ce
@weppos Fixed missing dot in the definition file. c04673b
@weppos Added test cases for XN--P1AI TLD. 54e0c70
@weppos Fixed path to the fixture .expected definition. dfef327
@weppos Release 2.0.0 454bd9e
@weppos Release 2.0.1 c7633d1
Commits on Mar 18, 2011
@weppos Fixed error in the example. 9c42d43
Commits on Mar 20, 2011
@semaperepelitsa semaperepelitsa Refactoring Record::Parser#contacts fca7a35
@semaperepelitsa semaperepelitsa Create one contact per email (whois.ripn.net) 045232e
@weppos CHANGELOG 9f30ca1
Commits on Apr 06, 2011
@weppos whois.nic.it parser must support UNASSIGNABLE status. 786a8ec
Commits on Apr 08, 2011
@weppos Standardize .gitignore 5660ffc
Commits on Apr 11, 2011
@weppos Standardize 70e4604
@weppos Release 2.0.2 8a98941
Commits on Apr 29, 2011
@weppos Whois::Record::Parser::Base#validate! should raise a ResponseIsUnavai…
…lable error when response_unavailable?
50cdef9
@weppos Replace invalid UTF8 char 4b573a9
Commits on Apr 30, 2011
@weppos whois.nic.it parser must support inactive / noRegistrar status. bff46f3
@weppos Gemfile.lock 48821b7
@weppos whois.sk-nic.sk parser must support DOM_DAKT status. 6a75f8b
@weppos Code formatting. d0ee944
@weppos Add status documentation for some TLDs. cde68db
@weppos Sync definitions with Debian whois 5.0.11:
* Added the remaining IPv4 allocations.
* Updated the .gm TLD server.
04b145d
Commits on May 01, 2011
@weppos Release 2.0.3 9b54478
@weppos ResponseIsUnavailable @since 2.0.3 a38a20e
Commits on May 05, 2011
@weppos Added new TLD .XN--90A3AC (.СРБ, Serbia) (closes #94) 87cf4bc
Commits on May 06, 2011
@weppos whois.nic.it parser must support pendinUpdate and pendingTransfer sta…
…tuses
5ddaf16
@weppos Standardize whois.nic.it statuses 46bc14c
Commits on May 09, 2011
@weppos whois.nic-se.se crashes in some cases where the modified: attribute i…
…s an invalid date.
d5f5e62
Commits on May 10, 2011
@weppos Release 2.0.4 cb4afff
Commits on May 31, 2011
Armin Schreger fix whois.eu Nameserver scanner regex 52b7509
Armin Schreger update comments on nameserver method 9e66a52
Commits on Jun 01, 2011
Armin Schreger fix whois.eu tests
expected result now without nameserver ips
a5b510b
Armin Schreger update whois.eu status_registered fixture response 2be4fbc
Commits on Jun 09, 2011
@weppos Standardize .gitignore 649f072
@weppos describe vs context ab7e64f
@weppos Merge branch 'status' 9fbbd91
@weppos Gemfile.lock e21ae93
Commits on Jun 14, 2011
@weppos whois.meregistry.net parser raises `no time information in ""' when u…
…pdated_at property is blank
2044c86
@weppos Ability to detect whois.dns.be throttled responses. d0f9e6d
Commits on Jun 17, 2011
@weppos Updated .bi TLD definition. a274288
@weppos Added .XXX TLD definition. 3f862f1
@weppos rake/gempackagetask is deprecated. Use rubygems/package_task instead. 9294603
Commits on Jun 23, 2011
@weppos Enable Travis CI 4b1f197
@weppos Fixed error "rake is not part of the bundle. Add it to Gemfile." 8fcab72
@weppos $ bundle update rspec 59b0000
Commits on Jun 26, 2011
@armins armins Merge remote branch 'upstream/master' bbc1a4c
@armins armins rebuild upstream (describe->context in spec) 61cae22
Commits on Jun 28, 2011
@weppos whois.nic.it parser must support NO-PROVIDER status. c384c88
@weppos whois.nic.it parser must support pendingDelete / pendingDelete status. 929c873
@weppos whois.nic.asia parser must support CLIENT statuses. 8218ebb
Commits on Jun 29, 2011
@weppos whois.nic.cz parser must support `Update prohibited' statuses. 181e545
Commits on Jul 23, 2011
@morellon morellon Extending support to whois.registro.br 82ece87
Commits on Aug 04, 2011
Tom Nicholls Fix issue #103: minor error in Verisign adapter 4b2aa90
@weppos Fixed Verisign adapter crash when the referral is missing (closes (#103)
The Verisign WHOIS adapter crashes in some rare circumstances when the response from the Verisign database doesn't contain a referral.
0406f07
@weppos Merge branch 'issue_103' 6ce63d9
@weppos Merge pull request #104 from morellon/master
Extending support for whois.registro.br (closes #104)
5f82ebc
@weppos Remove Rubinius from Travis config.
It continues to raise the error `call/cc is not implemented!`.
954cf7b
@weppos Merge pull request #99 from armins/master
whois.eu has changed name server response format (closes #99)
fbe50b9
@weppos Increase debugging information in genspec:parsers task. 46eafe9
@weppos Fixed fixture error
	Invalid Line `should: %s be_a(Array)' in `/Users/weppos/Code/whois/spec/fixtures/responses/whois.registro.br/status_available.expected'
d6d5921
@weppos Make sure the `whois.eu` tests include both with/without IP name serv…
…ers (references #99)
dd47284
@weppos CHANGELOG 01af662
@weppos Updated .SM TLD definition and added whois.nic.sm parser (closes #97) eed6e90
@weppos Typo 5a2c46b
@weppos whois.nic.uk parser should return `:invalid' status when the domain i…
…s invalid.
1be5a07
@weppos Added #valid? and #invalid? methods. b5dcb53
@weppos whois.cira.ca parser must support `unavailable' status (closes #102). a9a9382
@weppos Sort lines in selection. fbf7c66
@weppos Fixed incompatibility with Ruby 1.8.7
	ArgumentError: wrong number of arguments (3 for 0)
c7b31e8
@weppos Failure/Error: @parser.created_on.should == Time.parse("2003-04-03")
    expected: Thu Apr 03 00:00:00 +0200 2003
         got: Thu Apr 03 00:00:00 UTC 2003 (using ==)
    Diff:
    @@ -1,2 +1,2 @@
    -Thu Apr 03 00:00:00 +0200 2003
    +Thu Apr 03 00:00:00 UTC 2003
55d7d51
@weppos Regenerate .gemspec 1418003
Commits on Aug 05, 2011
@weppos whois.sk-nic.sk parser must support `DOM_EXP', `DOM_LNOT', `DOM_WARN'…
… statuses.
d07711e
@weppos Release 2.0.5 64ba047
@weppos Temporary disable jruby because it is not working on Travis. a6d7e60
Commits on Aug 06, 2011
@weppos whois.pnina.ps parser should support `Active' status variants. fe249eb
@weppos Fixed whois.dns.pt issue with timezone. 7811ca0
Commits on Aug 08, 2011
@weppos whois.sk-nic.sk parser must support `DOM_TA' status. 8b6eac9
@weppos $1 has no value here because the case statement uses regexp. 1fff3cc
@weppos whois.srs.net.nz parser must support `210 PendingRelease' status. 7dc561e
@weppos whois.gg has changed response format. 92308d6
@weppos Standardize the parsers for similar responses. 118c9b1
@weppos Release 2.0.6 ca09108
@weppos $ bundle update yard 280531b
Commits on Aug 10, 2011
@weppos whois.dns.pt has changed nameservers response format. 74abce1
Commits on Aug 11, 2011
@weppos whois.sgnic.sg changed nameservers response format. 8e4e4a8
Commits on Aug 16, 2011
@weppos Add support for multipart responses. e0a31c7
@weppos Fixed whois.markmonitor.com parser crash when the contacts are empty.
The error is NoMethodError: undefined method `split' for nil:NilClass.
92c7666
@weppos String#[] => String#slice d1b8b99
@weppos Fixed whois.educause.edu parser crash when the updated_on property is…
… `unknown'.
a5145c0
@weppos Release 2.0.7 62c53d6