[ruby-cvs:52893] usa:r45747 (ruby_2_0_0): merge revision(s) 43682, 43727, 43752, 43759: [Backport #9560]

usa at ruby-lang.org usa at ruby-lang.org
Wed Apr 30 15:32:25 JST 2014


usa	2014-04-30 15:32:24 +0900 (Wed, 30 Apr 2014)

  New Revision: 45747

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

  Log:
    merge revision(s) 43682,43727,43752,43759: [Backport #9560]
    
    * lib/delegate.rb (Delegator#send): override to get rid of global function interference.
      [Fixes GH-449]
    
    * lib/delegate.rb (Delegator#send): separate from method_missing so
      that super calls proper method.
    
    * lib/delegate.rb (Delegator#method_missing): try private methods defined in
      Kernel after the target.  [Fixes GH-449]
    
    * lib/delegate.rb (SimpleDelegator#__getobj__): target object must be set.
    
    * lib/delegate.rb (DelegateClass#__getobj__): ditto.

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/lib/delegate.rb
    branches/ruby_2_0_0/test/ruby/envutil.rb
    branches/ruby_2_0_0/test/test_delegate.rb
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list