notify 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/notify/ruby_gntp.rb +10 -0
  3. metadata +3 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -0,0 +1,10 @@
1
+ begin
2
+ require 'ruby_gntp'
3
+
4
+ module Notify
5
+ def self.notify(title, message)
6
+ GNTP.notify :app_name => "ruby", :title => title, :text => message, :icon => ""
7
+ end
8
+ end
9
+ rescue LoadError
10
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-30 00:00:00 +09:00
12
+ date: 2010-02-01 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -31,6 +31,7 @@ files:
31
31
  - lib/notify/growlnotify.rb
32
32
  - lib/notify/notify-send.rb
33
33
  - lib/notify/ruby-growl.rb
34
+ - lib/notify/ruby_gntp.rb
34
35
  - sample.rb
35
36
  has_rdoc: true
36
37
  homepage: http://github.com/jugyo/notify