Posted on Dec 29, 2009

win32console 1.3.0 prerelease

I mentioned in previous post that I was working in a updated version of win32console.

So, just pushed to Gemcutter the prerelease version (_beta1_) so you guys can test with your current Cucumber/RSpec scenarios.

How to install prerelease versions?

All the RubyGems 1.3.x series sport the feature to prerelease gem installations. I recommend update to RubyGems 1.3.5 first in case you haven’t already, and proceed to install the gem:

gem install win32console --prerelease

The process will install version 1.3.0.beta1, which will be automatically available to any require done by Cucumber or RSpec.

What changed on this release?

As I mentioned before, there are a couple of changes required to support 1.9. On this release, I got rid of hardcoded translation tables used to convert codepages from input/output consoles.

How this affects me?

It will only affect you if you use accented characters in the output. If you do, then you should verify that your console codepage supports them. There is more information in the Cucumber wiki troubleshooting page

Now that text is sent transparently to the output, you have the control to feed the stream with different encodings and ensuring the output matches the console codepage.

A working example of this is located here

Please test it out so a formal 1.3.0 release can be done the upcoming days.

Cheers!

4 Comments