libnotify 0.7.0.pre → 0.7.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/libnotify/api.rb +1 -1
- data/lib/libnotify/version.rb +1 -1
- data/test/test_libnotify.rb +1 -1
- metadata +3 -2
data/lib/libnotify/api.rb
CHANGED
@@ -82,7 +82,7 @@ module Libnotify
|
|
82
82
|
def update(options={}, &block)
|
83
83
|
apply_options(options, &block)
|
84
84
|
if @notification
|
85
|
-
|
85
|
+
notify_notification_update(@notification, summary, body, icon_path, nil)
|
86
86
|
notify_notification_show(@notification, nil)
|
87
87
|
else
|
88
88
|
show!
|
data/lib/libnotify/version.rb
CHANGED
data/test/test_libnotify.rb
CHANGED
@@ -72,7 +72,7 @@ class TestLibnotifyAPI < MiniTest::Unit::TestCase
|
|
72
72
|
end
|
73
73
|
|
74
74
|
def test_update
|
75
|
-
libnotify(:summary => "hello", :body => "world")
|
75
|
+
libnotify(:summary => "hello", :body => "world").show!
|
76
76
|
libnotify.update(:summary => "hell") do |n|
|
77
77
|
n.body = "yeah"
|
78
78
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libnotify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1923832029
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
9
|
- 0
|
10
10
|
- pre
|
11
|
-
|
11
|
+
- 2
|
12
|
+
version: 0.7.0.pre2
|
12
13
|
platform: ruby
|
13
14
|
authors:
|
14
15
|
- Peter Suschlik
|