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
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
..
context
generator
markdown
markup
parser Fix Time.parse for out of range arguments with an offset 2014-07-19 02:56:39 +00:00
rd
ri
stats rdoc/stats/normal.rb: fix last_width 2014-07-06 01:03:36 +00:00
alias.rb
anon_class.rb
any_method.rb
attr.rb
class_module.rb
code_object.rb
code_objects.rb
comment.rb
constant.rb
context.rb
cross_reference.rb
encoding.rb
erb_partial.rb
erbio.rb
extend.rb
generator.rb
ghost_method.rb
include.rb
known_classes.rb
markdown.rb
markup.rb
meta_method.rb
method_attr.rb * compar.c (cmp_equal): remove error hiding in Comparable#==. 2014-01-05 11:14:59 +00:00
mixin.rb
normal_class.rb
normal_module.rb
options.rb
parser.rb
rd.rb
rdoc.rb
require.rb
ri.rb
ruby_lex.rb
ruby_token.rb
rubygems_hook.rb
servlet.rb
single_class.rb
stats.rb
store.rb
task.rb
test_case.rb
text.rb
token_stream.rb
tom_doc.rb
top_level.rb