[MacRuby/MacRuby] 8630b6: Date.valid_civil? does not raise exception. (merge...
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: 8630b6bcf424a9ecc19b604bb8b47eb2390c8704 https://github.com/MacRuby/MacRuby/commit/8630b6bcf424a9ecc19b604bb8b47eb239... Author: Watson <watson1978@gmail.com> Date: 2011-08-17 (Wed, 17 Aug 2011) Changed paths: M lib/date.rb Log Message: ----------- Date.valid_civil? does not raise exception. (merged from CRuby) https://github.com/ruby/ruby/commit/7d4e89a7c09bc00e5ed00b862df19ad3c462bd37 Test Script: {{{ require 'date' p Date.valid_civil? 2010, -13, -1 # => false }}} Commit: fad3e4fea3473a30e56596cefcaaa7064b1bd25f https://github.com/MacRuby/MacRuby/commit/fad3e4fea3473a30e56596cefcaaa7064b... Author: Watson <watson1978@gmail.com> Date: 2011-08-17 (Wed, 17 Aug 2011) Changed paths: M lib/date.rb M lib/date/delta.rb Log Message: ----------- Date#=== does not raise exception when passed non Date object. (merged from CRuby) https://github.com/ruby/ruby/commit/ad558ae184116f7c3806c0f420f0ed6a864f9373 Compare: https://github.com/MacRuby/MacRuby/compare/2eef6f9...fad3e4f
participants (1)
-
noreply@github.com