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!

1 Trackbacks

You can leave a trackback using this URL: http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/trackback/

  1. By DEV_MEM.dump_to(:blog) - Multimedia systems blog on March 7, 2010 at 12:27 pm

    win32console 1.3.0.beta2 released…

    I’ve just released a second beta of win32console gem. What’s new? Only two new things: STDERR is now redirected (wasn’t before) and the addition of ECHO on/off functionality thanks to Justin Love How to install? You can read previous …

3 Comments

  1. Brandon Hauff

    This is awesome. It just solved the missing ‘a’ character for me in cucumber feature output. Thanks for this awesome work. As a side note, I don’t currently use win32console for anything else.

    Posted January 20, 2010 at 1:41 pm | Permalink
  2. hmm. with autospec I get
    â[31mActiveRecord::StatementInvalid in ‘/abcs/new.html.erb renders new abc form’
    Could not find table ‘abcs’â[0m

    though I assume that’s their fault. Is there a link about this somewhere?
    -r

    Posted February 11, 2010 at 2:42 pm | Permalink
  3. @roger: Autospec interaction with ZenTest (autotest) seems problematic, See this post:

    http://rubyforge.org/pipermail/rspec-devel/2010-January/005341.html

    Seems nobody answered.

    Posted February 11, 2010 at 2:56 pm | Permalink

Post a Comment

Your email is never shared. Required fields are marked *

*
*