Cool.io 1.1.0 - a cool event library for Ruby

cool.io has a cool new version… 1.1.0

Website: http://coolio.github.com/
Github: GitHub - socketry/cool.io: Simple evented I/O for Ruby (but please check out Celluloid::IO instead)

cool.io provides a snazzy Sinatra-like DSL for building event-driven
applications in Ruby. It’s kind of like Node.js or EventMachine, but if
cool.io were a sharply dressed man in a tuxedo with the funkiest hair
you’ve
ever seen, EventMachine would be the unshaven nasty smelling bum wearing
a
potato sack covered in his own vomit. Node.js would be the crazy white
guy
with an afro in pink sunglasses and wearing retro white polyester disco
garb
who won’t stop doing the robot. While disturbing on some levels and
evoking
thoughts of “what the hell is wrong with that man?”, at some level you
must
admire his coordination and technical dance prowess. All that said,
Cool.io
is built on the same event library as Node.js: libev.

Here are the changes in 1.1.0:

  • Fix firing of Coolio::HttpClient#on_request_complete (#15)
  • Fix failure to resolve Init_cool symbol on win32 mingw (#14)
  • Fix closing /etc/hosts in the DNS resolver (#12)
  • Refactor StatWatcher to pass pervious and current path state ala
    Node.js
  • spec:valgrind Rake task to run specs under valgrind
  • Use rake-compiler to build cool.io
  • Upgrade to libev 4.04
  • Switch from Jeweler to Bundler for the gem boilerplate

Enjoy!

On Aug 10, 2011 10:28 AM, “Tony A.” [email protected] wrote:

cool.io has a cool new version… 1.1.0

Website: http://coolio.github.com/
Github: GitHub - tarcieri/cool.io: Simple evented I/O for Ruby (but please check out Celluloid::IO instead)

cool.io provides a snazzy Sinatra-like DSL for building event-driven
applications in Ruby. It’s kind of like Node.js or EventMachine, but if
cool.io were a sharply dressed man in a tuxedo with the funkiest hair
you’ve
ever seen, EventMachine would be the unshaven nasty smelling bum wearing a
potato sack covered in his own vomit. Node.js would be the crazy white guy
with an afro in pink sunglasses and wearing retro white polyester disco
garb
who won’t stop doing the robot. While disturbing on some levels and
evoking
thoughts of “what the hell is wrong with that man?”,

…and raps like this

Andrew McElroy

at some level you must

admire his coordination and technical dance prowess. All that said,
Cool.io

On Wed, Aug 10, 2011 at 9:27 AM, Tony A.
[email protected]wrote:

cool.io has a cool new version… 1.1.0

Website: http://coolio.github.com/
Github: GitHub - tarcieri/cool.io: Simple evented I/O for Ruby (but please check out Celluloid::IO instead)

cool.io provides a snazzy Sinatra-like DSL for building event-driven

Tony,

Have you thought of switching to libuv which uses libev under the hood
for
linux, bsd but IOCP for windows? This is what node.js is using now

On Thu, Aug 11, 2011 at 8:10 AM, Dominic S.
[email protected]wrote:

Have you thought of switching to libuv which uses libev under the hood for
linux, bsd but IOCP for windows? This is what node.js is using now

Definitely something to consider. Pull requests for this sort of thing
would
happily be accepted :slight_smile: