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 CHANGED
@@ -82,7 +82,7 @@ module Libnotify
82
82
  def update(options={}, &block)
83
83
  apply_options(options, &block)
84
84
  if @notification
85
- p notify_notification_update(@notification, summary, body, icon_path)
85
+ notify_notification_update(@notification, summary, body, icon_path, nil)
86
86
  notify_notification_show(@notification, nil)
87
87
  else
88
88
  show!
@@ -1,3 +1,3 @@
1
1
  module Libnotify
2
- VERSION = "0.7.0.pre"
2
+ VERSION = "0.7.0.pre2"
3
3
  end
@@ -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: 961916028
4
+ hash: 1923832029
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
9
  - 0
10
10
  - pre
11
- version: 0.7.0.pre
11
+ - 2
12
+ version: 0.7.0.pre2
12
13
  platform: ruby
13
14
  authors:
14
15
  - Peter Suschlik