[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69202] [Ruby trunk - Feature #11140] [Assigned] Allow rubygems' `require` to handle `autoload` calls
From:
usa@...
Date:
2015-05-15 06:43:27 UTC
List:
ruby-core #69202
Issue #11140 has been updated by Usaku NAKAMURA. Status changed from Closed to Assigned Assignee set to Aaron Patterson Aaron, this commit breaks some tests on `ruby/test_require.rb`. Check [RubyCI](http://rubyci.org/). ---------------------------------------- Feature #11140: Allow rubygems' `require` to handle `autoload` calls https://bugs.ruby-lang.org/issues/11140#change-52459 * Author: Aaron Patterson * Status: Assigned * Priority: Normal * Assignee: Aaron Patterson ---------------------------------------- Right now, rubygems can't handle calls to `autoload` because `autoload` will directly call `rb_require_safe` rather than sending to `Kernel::require`. For example: ~~~ruby class A autoload :B, 'a/b' # this is in a different Gem end A::B ~~~ The above code won't work because 'a/b' is in a different gem. I'd like to give rubygems the opportunity to handle requires made through `autoload`. I've attached a patch that makes the change. ---Files-------------------------------- call_send_on_autoload.diff (1.31 KB) -- https://bugs.ruby-lang.org/