Project

General

Profile

Actions

Backport #7992

closed

Backport r39544 - Fixes FileUtils bug #7958

Added by drbrain (Eric Hodel) over 11 years ago. Updated over 11 years ago.


Description

This reverts r34669 which altered FileUtils metaprogramming in a way that broke FileUtils::Verbose, ::NoWrite and ::DryRun.

Patch: http://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/39544

Issue: http://bugs.ruby-lang.org/issues/7958


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different modeCloseddrbrain (Eric Hodel)02/26/2013Actions

Updated by drbrain (Eric Hodel) over 11 years ago

  • Status changed from Open to Assigned

Updated by trans (Thomas Sawyer) over 11 years ago

Response to my latest post on #7958 ?

Updated by mpapis (Michal Papis) over 11 years ago

:+1: it will help to debug problems when installing Rubygems in RVM (every Ruby installation).

Updated by trans (Thomas Sawyer) over 11 years ago

Can I ask exactly what are you +1'ing and why?

Actions #6

Updated by nagachika (Tomoyuki Chikanaga) over 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40251.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 39544,39546: [Backport #7992]

* lib/fileutils.rb:  Revert r34669 which altered the way
  metaprogramming in FileUtils occurred.  [ruby-trunk - Bug #7958]

* test/fileutils/visibility_tests.rb:  Refactored tests of FileUtils
  options modules to expose bug found in #7958

* test/fileutils/test_dryrun.rb:  ditto.

* test/fileutils/test_nowrite.rb:  ditto.

* test/fileutils/test_verbose.rb:  ditto.
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0