Permalink
Commits on Feb 28, 2010
  1. Release 1.0.4

    weppos committed Feb 28, 2010
  2. Normalize 'nameservers' property return value. Always return an Array…

    weppos committed Feb 28, 2010
    … even if there's no nameserver.
Commits on Feb 23, 2010
  1. sync CHANGELOG for commit ad2bc21

    weppos committed Feb 23, 2010
  2. .jp: ask whois server for english output

    axic authored and weppos committed Feb 23, 2010
Commits on Feb 22, 2010
  1. Release 1.0.3

    weppos committed Feb 22, 2010
  2. Merge branch 'semver'

    weppos committed Feb 22, 2010
  3. With some .de domains, whois.denic.de parser returns invalid values f…

    weppos committed Feb 22, 2010
    …or nameservers (closes #14)
Commits on Feb 20, 2010
  1. Support ZIP code in .it

    axic authored and weppos committed Feb 20, 2010
  2. Fix country_code (was county_code before)

    axic authored and weppos committed Feb 20, 2010
  3. Update web address of .gt

    axic authored and weppos committed Feb 20, 2010
  4. Add web address for .eg

    axic authored and weppos committed Feb 20, 2010
  5. http://semver.org/

    weppos committed Feb 20, 2010
    2. A normal version number MUST take the form X.Y.Z where X, Y, and Z are integers. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 < 1.10.0 < 1.11.0.
    
    3. A special version number MAY be denoted by appending an arbitrary string immediately following the patch version. The string MUST be comprised of only alphanumerics plus dash [0-9A-Za-z-] and MUST begin with an alpha character [A-Za-z]. Special versions satisfy but have a lower precedence than the associated normal version. Precedence SHOULD be determined by lexicographic ASCII sort order. For instance: 1.0.0beta1 < 1.0.0beta2 < 1.0.0.
Commits on Feb 10, 2010
  1. Release 1.0.2

    weppos committed Feb 10, 2010
    Dho! I forgot to save some files on TextMate
  2. Release 1.0.1

    weppos committed Feb 10, 2010
  3. Changed Parsers to use a normalized content version called Whois::Par…

    weppos committed Feb 10, 2010
    …ser::Base#content_for_scanner.
    
    Some libraries might actually strip \r\n, see http://twitter.com/weppos/status/8915465228
Commits on Feb 6, 2010
  1. Upgrade copyright information

    weppos committed Feb 6, 2010
  2. Release 1.0.0

    weppos committed Feb 6, 2010
  3. Fixed test/library compatibility with Ruby 1.9.

    weppos committed Feb 6, 2010
    Whois should handle content in UTF-8 (see #11).
Commits on Feb 4, 2010
Commits on Feb 3, 2010
  1. Updated project page

    weppos committed Feb 3, 2010
Commits on Jan 26, 2010
  1. Fix some errors in the README

    soult committed Jan 26, 2010
Commits on Jan 16, 2010
  1. Whois#Answer.property? returns whether property has a value.

    weppos committed Jan 16, 2010
       a = Whois.query "google.it"
       a.created_on?
       # => true
       a.domain_id?
       # => false
  2. Depending on where you ask for a property, the library now returns th…

    weppos committed Jan 16, 2010
    …e most expected value according to property status.
    
    If you try to access a property from the answer object, Whois::Answer always returns the value if the property is defined, nil otherwise no matter if the property is not supported or undefined.
    
        a = Whois.query "google.ac"
        a.nameservers
        # => nil even if not supported
    
    If you want a more granular level of response, you can access the underling parser implementation.
    
        a = Whois.query "google.ac"
        a.parser.nameservers
        # => PropertyNotSupported