It’s just data

Porting REXML to Ruby 1.9

Unicode changes:

Other language changes:

REXML changes:

Outputs of running bin/suite.rb:

["3.1.7.2", "1.9.0", "2007-12-31"]
REXML version = 3.1.7.2
Loaded suite REXML
Started
............................................................................................................................................................................................................................................................................................................................................................
Finished in 12.893064488 seconds.

348 tests, 1252 assertions, 0 failures, 0 errors
["3.1.7.2", "1.8.6", "2007-06-07"]
REXML version = 3.1.7.2
Loaded suite REXML
Started
............................................................................................................................................................................................................................................................................................................................................................
Finished in 34.733291 seconds.

348 tests, 1252 assertions, 0 failures, 0 errors

Ticket, patch, Update: revision


Sam Ruby: Porting REXML to Ruby 1.9

[link] [more]...

Excerpt from programming: what's new online at

Renamed variables when necessary to prevent warning message when a block variable shadowed a local variable.  The idiom var = array.find {|var| ...} now requires the block variable to be named differently than the local variable.

A good trick is to prefix the inner variable with the “_” character. It goes fast and is informative. So in that example, it would give: var = array.find {|_var| ...}

Posted by zimbatm at

Now That’s a Patch

I refer to Sam Ruby’s massive patch to make REXML work properly with the latest Ruby. I’ve long disliked REXML (see here and here ), but it’s here and it works. Only the way it works changed in 1.9, and there were some horrible regressions, and it...

Excerpt from ongoing at

Getting Code Ready for Ruby 1.9

In Getting Code Ready for Ruby 1.9, James Edward Gray II is attempting to put together a comprehensive blog post on the various things you need to do to migrate your Ruby 1.8 code over to working on Ruby 1.9. So far, James only looks at a handful of...

Excerpt from Ruby Inside at

Tor Norbye: Ruby Screenshot of the Week #26: Ruby 1.9 Changes - hashes and case statements

Ruby 1.9 has been released . It’s a “development” version meaning that you wouldn’t want to use it in production, but now is a good time to learn the new ways of doing things such that migrating to Ruby 2.0 will be easier. Via Ruby Inside...

Excerpt from Tor Norbye's Weblog at

Sam Ruby: Porting REXML to Ruby 1.9

[link]...

Excerpt from del.icio.us/rdenatale at

Living In a Fool's Paradise

Why I hate REXML....

Excerpt from Musings at

The Ruby News

I keep putting off this Ruby News Survey piece because there keeps being more news, but hey, you have to pull the trigger sometime....

Excerpt from ongoing at

REXML a Drag...Again

We’ve been here before. So here’s the scenario: You’re feeding medium-to-large chunks of XML out of one Rails app, to be consumed by another via ActiveResource . Maybe those chunks have embedded HTML, or maybe they’re an...

Excerpt from Nick Sieger: REXML a Drag...Again at

Ruby 1.9 porting tips/notes

formal argument cannot be an instance variable: In ruby1.8 it’s possible to use an instance variable as a block argument: class Foo attr_accessor :bar def test [1,2,3].each {|@bar| } # @bar will be 3 here end end This no longer...

Excerpt from Miklós Fazekas's blog at

Sam Ruby: Porting REXML to Ruby 1.9

[link] [comments]...

Excerpt from reddit.com: reddit.com: ネットデハッケン at

Ruby 1.9.1 Preview Released: Why This Is A Big Deal

In an understated post on the official Ruby blog last night, Yugui (Yuki Sonoda) announced the release of Ruby 1.9.1-preview 1. Why To Get Excited A preview release? Why is this a big deal? A few reasons why Ruby 1.9.1 is significant, even as a...

Excerpt from Ruby Inside at

Sam Ruby added 19 minutes later:

Porting REXML to Ruby 1.9 overlaps slightly and covers some additional ground. [link]...

Excerpt from Shades of Gray: Getting Code Ready for Ruby 1.9 at

Add your comment