<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/test_notifier/register-growl.scpt</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,13 +1,10 @@
-test_notifier
+test\_notifier
 =============
 
-* [http://github.com/fnando/test_notifier](http://github.com/fnando/test_notifier)
-
 DESCRIPTION:
 ------------
 
-Inspired by 
-http://railstips.org/2007/7/23/autotest-growl-pass-fail-notifications
+Inspired by &lt;http://railstips.org/2007/7/23/autotest-growl-pass-fail-notifications&gt;
 
 After using Growl notification, I decided to write my own plugin because I have
 to work on Ubuntu and Mac OS X and I missed the notification on my Linux box. 
@@ -21,28 +18,36 @@ file anyway in order to clean up the failures/errors).
 INSTALLATION:
 -------------
 
-###Mac OS X
+### Mac OS X
 
-1) Install Growl (http://growl.info/)
-2) Install the growlnotify script located on the &quot;Extras&quot; directory
-3) Open the Growl Preference Page (System &gt; Growl) and activate the
+1. Install Growl (&lt;http://growl.info/&gt;)
+2. Install the growlnotify script located on the &quot;Extras&quot; directory
+3. Open the Growl Preference Page (System &gt; Growl) and activate the
 options &quot;Listen for incoming notifications&quot; and &quot;Allow remote 
 application registration&quot; on the Network tab.
 
-###Linux
+### Linux
+
+If you're a linux guy, you can choose on of these methods:
 
-1) Install libnotify-bin ant its dependencies:
+1. Install libnotify-bin and its dependencies:
 	
-	aptitude install libnotify-bin
+	sudo aptitude install libnotify-bin
+
+2. Install xosd-bin
 
-###Windows
+    sudo aptitude install xosd-bin
+    
+3. KDE users don't need to install anything: test\_notifier will use `knotify`.
 
-1) Install Snarl: download from http://www.fullphat.net/
-2) Install ruby-snarl:
+### Windows
+
+1. Install Snarl: download from &lt;http://www.fullphat.net/&gt;
+2. Install ruby-snarl:
 
 	gem install ruby-snarl
 
-###All
+### All
 
 Then, install the gem:
 
@@ -58,7 +63,9 @@ USAGE:
 ------
 
 If you're using Test::Unit you should add `require &quot;test_notifier/test_unit&quot;`
+
 If you're using RSpec you should add `require &quot;test_notifier/rspec&quot;`
+
 If you're using Autotest you should add `require &quot;test_notifier/autotest&quot;` to
 the file `~/.autotest`
 
@@ -68,7 +75,12 @@ and save the images `none.png`, `passed.png`, `failure.png` and `error.png`.
 MAINTAINER
 ----------
  
-* Nando Vieira ([http://simplesideias.com.br](http://simplesideias.com.br))
+* Nando Vieira (&lt;http://simplesideias.com.br&gt;)
+
+COLLABORATORS
+-------------
+
+* jeznet (&lt;http://github.com/jeznet&gt;)
 
 LICENSE:
 --------</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,12 @@
-require 'rake'
+require &quot;rubygems&quot;
+require &quot;rake&quot;
 
 PKG_FILES = %w(Rakefile test_notifier.gemspec History.txt License.txt README.markdown TODO.txt) + 
   Dir[&quot;lib/**/*&quot;]
 
 spec = Gem::Specification.new do |s|
   s.name = &quot;test_notifier&quot;
-  s.version = &quot;0.0.10&quot;
+  s.version = &quot;0.1.0&quot;
   s.summary = &quot;Display system notifications (dbus, growl and snarl) after running tests.&quot;
   s.authors = [&quot;Nando Vieira&quot;]
   s.email = [&quot;fnando.vieira@gmail.com&quot;]
@@ -33,7 +34,7 @@ namespace :gem do
     spec.instance_variables.each do |ivar|
       value = spec.instance_variable_get(ivar)
       name  = ivar.split(&quot;@&quot;).last
-      value = Time.now if name == &quot;date&quot;
+      next if name == &quot;date&quot;
       
       next if skip_fields.include?(name) || value.nil? || value == &quot;&quot; || (value.respond_to?(:empty?) &amp;&amp; value.empty?)
       if name == &quot;dependencies&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -11,6 +11,8 @@ module TestNotifier
   RSPEC_REGEX = /(\d+) examples?, (\d+) failures?(, (\d+) pendings?)?/
   TEST_UNIT_REGEX = /(\d+)\stests,\s(\d+)\sassertions,\s(\d+)\sfailures,\s(\d+)\serrors/
   
+  GROWL_REGISTER_FILE = File.expand_path(&quot;~/.test_notifier-growl&quot;)
+  
   def self.notify(image, title, message)
     image ||= &quot;none.png&quot;
     
@@ -19,6 +21,11 @@ module TestNotifier
 
     if RUBY_PLATFORM =~ /darwin/
       if `ps -Al | grep GrowlHelper` &amp;&amp; `which growlnotify` &amp;&amp; $? == 0
+        unless File.file?(GROWL_REGISTER_FILE)
+          script = File.dirname(__FILE__) + &quot;/test_notifier/register-growl.scpt&quot;
+          system &quot;osascript #{script} &gt; #{GROWL_REGISTER_FILE}&quot;
+        end
+        
         system(&quot;growlnotify -n test_notifier --image #{image} -p 2 -m \&quot;#{message}\&quot; -t \&quot;#{title}\&quot;&quot;)
       else
         puts &quot;No compatible popup notification system installed.&quot;</diff>
      <filename>lib/test_notifier.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,6 @@
 # RUN : 'rake gem:update_gemspec'
 
 Gem::Specification.new do |s|
-  s.date = &quot;Sat Sep 27 15:24:55 -0300 2008&quot;
   s.authors = [&quot;Nando Vieira&quot;]
   s.require_paths = [&quot;lib&quot;]
   s.required_rubygems_version = &quot;&gt;= 0&quot;
@@ -19,11 +18,12 @@ Gem::Specification.new do |s|
  &quot;lib/test_notifier/icons/error.png&quot;,
  &quot;lib/test_notifier/icons/failure.png&quot;,
  &quot;lib/test_notifier/icons/passed.png&quot;,
+ &quot;lib/test_notifier/register-growl.scpt&quot;,
  &quot;lib/test_notifier/rspec.rb&quot;,
  &quot;lib/test_notifier/test_unit.rb&quot;,
  &quot;lib/test_notifier.rb&quot;]
   s.email = [&quot;fnando.vieira@gmail.com&quot;]
-  s.version = &quot;0.0.10&quot;
+  s.version = &quot;0.1.0&quot;
   s.homepage = &quot;http://github.com/fnando/test_notifier&quot;
   s.requirements = [&quot;You'll need Growl (Mac OS X), Libnotify (Linux) or Snarl (Windows)&quot;]
   s.name = &quot;test_notifier&quot;</diff>
      <filename>test_notifier.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>34b51b29043fc76a74a0a429f6d993b310be63ab</id>
    </parent>
  </parents>
  <author>
    <name>Nando Vieira</name>
    <email>fnando.vieira@gmail.com</email>
  </author>
  <url>http://github.com/fnando/test_notifier/commit/2a9cc037a3e32d090a6911b99363b449202af2a1</url>
  <id>2a9cc037a3e32d090a6911b99363b449202af2a1</id>
  <committed-date>2009-03-24T06:02:23-07:00</committed-date>
  <authored-date>2009-03-24T06:02:23-07:00</authored-date>
  <message>Added applescript for Growl registration. Improved README file.</message>
  <tree>16166a57e41ed1653686bf84ce5449cf810ee9c5</tree>
  <committer>
    <name>Nando Vieira</name>
    <email>fnando.vieira@gmail.com</email>
  </committer>
</commit>
