notify 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/VERSION +1 -1
- data/lib/notify/ruby-growl.rb +2 -1
- data/notify.gemspec +2 -2
- metadata +2 -2
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
data/lib/notify/ruby-growl.rb
CHANGED
@@ -2,7 +2,8 @@ module Notify
|
|
2
2
|
begin
|
3
3
|
require 'ruby-growl'
|
4
4
|
|
5
|
-
@@growl = Growl.new 'localhost', 'ruby'
|
5
|
+
@@growl = Growl.new 'localhost', 'ruby'
|
6
|
+
@@growl.add_notification 'notify'
|
6
7
|
def self.notify(title, message, option = {})
|
7
8
|
@@growl.notify 'notify', title, message, option[:priority] || 0, option[:sticky] || false
|
8
9
|
end
|
data/notify.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "notify"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.5.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["jugyo"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-03-25"
|
13
13
|
s.description = "The \"notify\" provides a function to notify on cross platform."
|
14
14
|
s.email = "jugyo.org@gmail.com"
|
15
15
|
s.executables = ["notify"]
|
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.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: The "notify" provides a function to notify on cross platform.
|
15
15
|
email: jugyo.org@gmail.com
|