JRuby

[1.9] ARGF improvements to solve several specs

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 1.4
  • Component/s: Ruby 1.9.2
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

This patch solves bugs for 1.9 and 1.8 modes:

Subject: [PATCH] ARGF.binmode? method added. Little refactor to clean some code
Subject: [PATCH] ARGF#close raises an IOError if called on a closed stream
Subject: [PATCH] [1.9] ARGF.readlines returns an empty Array when end of stream reached
Subject: [PATCH] [1.9] ARGF.to_a returns an empty Array when end of stream reached
Subject: [PATCH] [1.9] ARGF.rewind resets ARGF.lineno to 0

Activity

Hide
Thomas E Enebo added a comment -

Patch applied in commit b886c5c. Thanks David.

Show
Thomas E Enebo added a comment - Patch applied in commit b886c5c. Thanks David.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: