Project

General

Profile

Feature #13197

Gemify fileutils

Added by hsbt (Hiroshi SHIBATA) about 2 months ago. Updated about 2 months ago.

Status:
Assigned
Priority:
Normal
Target version:
[ruby-core:79455]

Description

This issue is tracking for gem release of FileUtils module.


Related issues

Related to Ruby trunk - Feature #5481: Gemifying Ruby standard library Assigned

Associated revisions

Revision 57550
Added by hsbt (Hiroshi SHIBATA) about 2 months ago

Added initial gemspec for FileUtils module.

[Feature #13197]

History

#1 [ruby-core:79454] Updated by hsbt (Hiroshi SHIBATA) about 2 months ago

  • Subject changed from Gemfile fileutils to Gemify fileutils

#2 Updated by hsbt (Hiroshi SHIBATA) about 2 months ago

  • Status changed from Assigned to Closed

Applied in changeset r57550.


Added initial gemspec for FileUtils module.

[Feature #13197]

#3 [ruby-core:79462] Updated by hsbt (Hiroshi SHIBATA) about 2 months ago

  • Status changed from Closed to Assigned

#4 [ruby-core:79463] Updated by hsbt (Hiroshi SHIBATA) about 2 months ago

Note: Pathname class depends FileUtils. If we added breaking changes to FileUtils, Pathname is also broken.

https://github.com/ruby/ruby/blob/trunk/ext/pathname/lib/pathname.rb#L569

So, We need to add dependency FileUtils to Pathname after gem releases of pathname and fileutils.

Example case:

  1. pathname-1.0.0 and fileutils-1.0.0 woks fine when Ruby 2.5.0 release.
  2. fileutils changes some of public API in Ruby 2.6.0. We will fix pathname class.
  3. We need to ship fileutils-2.0.0 and pathname-2.0.0.
  4. In this case, pathname-1.0.0 is broken with fileutils-2.0.0.

We need to add dependency of 'fileutils', '~> 1.0.0' to pathname-1.0.0 when Ruby 2.4.0 release.

#5 Updated by hsbt (Hiroshi SHIBATA) about 2 months ago

  • Related to Feature #5481: Gemifying Ruby standard library added

#6 [ruby-core:79513] Updated by hsbt (Hiroshi SHIBATA) about 2 months ago

fileutils gem is already registered.

I ask about this namespace to rubygems.org admin.

Also available in: Atom PDF