[ruby-cvs:52195] nagachika:r45050 (ruby_2_0_0): merge revision(s) r42844, r42845: [Backport #8865]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Thu Feb 20 01:38:04 JST 2014


nagachika	2014-02-20 01:38:03 +0900 (Thu, 20 Feb 2014)

  New Revision: 45050

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45050

  Log:
    merge revision(s) r42844,r42845: [Backport #8865]
    
    * lib/optparse.rb:  The Integer acceptable now allows binary and
      hexadecimal numbers per the documentation.  [ruby-trunk - Bug #8865]
      DecimalInteger, OctalInteger, DecimalNumeric now validate their input
      before converting to a number.  [ruby-trunk - Bug #8865]
    
    * test/optparse/test_acceptable.rb:  Tests for the above, tests for all
      numeric acceptables for existing behavior.

  Added files:
    branches/ruby_2_0_0/test/optparse/test_acceptable.rb
  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/lib/optparse.rb
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list