Category: meow

Easily Add Growl Notifications to Autotest

Posted by – November 3, 2008

I recently released a new version of meow which is a ruby library to easily integrate growl notifications in to your applications. The main feature I added was to make it easy to add growl notifications for autotest.

All you have to do is add “require ‘meow/autotest’” to your .autotest file.

Here is a screencast. Please be kind. This is my first screencast! (that is why I use all the features!)

Direct Download.

I forgot to mention. Make sure you’re running OS X 10.5.

Meow meow meow meow meow

Posted by – June 6, 2008

The other day I wrote an app called dejour to give me growl notifications from all the *jour gems out there. I used Eric Hodel’s awesome ruby-growl library. Unfortunately it does all communications over the interweb, so you have to tweak some knobs in Growl to get it to work. I stumbled across a ruby/cocoa example using Growl, fixed it up, and released a gem called “Meow”.

Meow lets you post notifications to your local machine without adjusting Growl. If you’re on OS X 10.5, just do:

$ gem install meow
[/sourcecode]

Then you can do this:

$ ruby -r rubygems -e'require "meow"; Meow.notify("meow", "meow", "meow")'
[/sourcecode]

No growl tweaks required! Here is a code sample that is a little more explanatory:

require 'rubygems'
require 'meow'

meep = Meow.new('My Application Name')
meep.notify('Message Title', 'Message Description')

Be sure to check out the documentation.