Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10554 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

[PATCH] Create ActiveSupport::Base64 for Ruby 1.9 support

Reported by: dbussink Assigned to: core
Priority: normal Milestone: 2.x
Component: ActiveSupport Version: edge
Severity: normal Keywords:
Cc:

Description

In Ruby 1.9 base64.rb has been removed in favor of pack/unpack. This patch creates ActiveSupport::Base64 which emulates all the required behavior for Rails.

All tests with Ruby 1.8 are ok

Attachments

ruby1.9_base64_removal.patch (10.2 kB) - added by dbussink on 12/18/07 21:04:36.

Change History

12/18/07 21:04:36 changed by dbussink

  • attachment ruby1.9_base64_removal.patch added.

12/18/07 21:14:59 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [8433]) Ruby 1.9 compat: move from the deprecated Base64 module to ActiveSupport::Base64. Closes #10554.

12/18/07 21:27:25 changed by bitsweat

(In [8434]) Missed commit. References #10554.