1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rdoc/parser
nobu f75b676cc4 Fix Time.parse for out of range arguments with an offset
* lib/time.rb (Time#apply_offset): Guards against a `nil` return
  value from `Time.month_days` when offsetting date.  Out of range
  values are then caught when `Time.utc` is called (as usual).
  Previously a `nil` return value from `Time.month_days` would
  have the `<` operator called on it, and raise `NoMethodError`.
  [fix GH-667]
* lib/rdoc/parser/changelog.rb (RDoc#parse_entries): fix dirty hack.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-19 02:56:39 +00:00
..
c.rb * lib/rdoc: Update to RDoc 4.1.0.preview.1 2013-09-18 23:33:36 +00:00
changelog.rb Fix Time.parse for out of range arguments with an offset 2014-07-19 02:56:39 +00:00
markdown.rb
rd.rb
ruby.rb * lib/rdoc: Update to RDoc 4.1.0.preview.1 2013-09-18 23:33:36 +00:00
ruby_tools.rb
simple.rb
text.rb