Commit f66c93ae

mo k <mo@mokhan.ca>
2012-03-22 02:33:28
add ruby_gntp... ummm... just for the heck of it. try it 'rake blah'
1 parent a5e6962
Gemfile
@@ -37,6 +37,7 @@ group :test do
   # gem 'libnotify', :require => false if RUBY_PLATFORM =~ /linux/i
   # Pretty printed test output
   gem 'turn', :require => false
+  gem 'ruby_gntp'
 end
 group :production do
   gem 'pg'
Gemfile.lock
@@ -208,6 +208,7 @@ GEM
       railties (~> 3.0)
       rspec (~> 2.7.0)
     ruby-hmac (0.4.0)
+    ruby_gntp (0.3.4)
     rubyzip (0.9.4)
     sass (3.1.10)
     sass-rails (3.1.5)
@@ -282,6 +283,7 @@ DEPENDENCIES
   rb-fsevent
   rmagick
   rspec-rails
+  ruby_gntp
   sass-rails
   sqlite3-ruby
   thinking-sphinx
Rakefile
@@ -3,5 +3,16 @@
 
 require File.expand_path('../config/application', __FILE__)
 require 'rake'
+require 'ruby_gntp'
 
 Cake::Application.load_tasks
+
+#task :blah => :spec do
+task :blah do
+  GNTP.notify({
+    :app_name => 'cakeside',
+    :title => 'welcome to the cakeside',
+    :text => 'blah',
+    :icon => 'http://www.mokhan.ca/images/profile_2010.jpg'
+  })
+end