Sha256: 9d05f8531954844bf5cfa1cce68a834f65e5db59fdeffce10c0b8790ed0f580e

Contents?: true

Size: 784 Bytes

Versions: 10

Compression:

Stored size: 784 Bytes

Contents

$:.unshift File.dirname(__FILE__) + '/../lib'
require 'growl'

puts "growlnotify version #{Growl.version} installed"

imagepath = File.dirname(__FILE__) + '/../spec/fixtures/image.png'
iconpath = File.dirname(__FILE__) + '/../spec/fixtures/icon.icns'

include Growl

notify_info 'New email received', :sticky => true, :title => 'Some app'; sleep 0.2
notify_ok 'Deployment complete'                   ; sleep 0.2
notify_error 'Deployment failure'                 ; sleep 0.2
notify 'Safari icon', :icon => :Safari            ; sleep 0.2
notify 'Jpeg icon', :icon => :jpeg                ; sleep 0.2
notify 'Image icon', :icon => imagepath           ; sleep 0.2
notify 'Icns icon', :icon => iconpath             ; sleep 0.2
notify 'Path extname icon', :icon => 'foo.rb'     ; sleep 0.2

Version data entries

10 entries across 10 versions & 5 rubygems

Version Path
karl-growl-1.0.3 examples/growl.rb
karl-growl-1.0.4 examples/growl.rb
karl-growl-1.0.5 examples/growl.rb
visionmedia-growl-1.0.2 examples/growl.rb
visionmedia-growl-1.0.3 examples/growl.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/growl-1.0.3/examples/growl.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/growl-1.0.3/examples/growl.rb
sanultari-growl-1.0.5 examples/growl.rb
karl-growl-1.0.6 examples/growl.rb
growl-1.0.3 examples/growl.rb