gtk2notify 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -2
- data/lib/gtk2notify.rb +5 -4
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d2df4da594f3b242a08150b6422aaafd50d9aa0
|
|
4
|
+
data.tar.gz: 7d620e0c4be4da078bba6465069f0806f7c6eace
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc509433e1e5a884d79015820cd5b70599c03186f469392ed661de5b271b9f8afdebca5e712983ca45fd0d75f1febfb88b6dbfcae8cb9274a3c04ac3b8c00ad2
|
|
7
|
+
data.tar.gz: b01e832a1170bee6717c594d5144fe01e5b251e444c71c7a53a93190566c2d26e69709de1858dcbfb7c338d39d7abbb5f62a896fbf745070f65f55393e8972bc
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
pf���Ԥ����@�~�������YEW�//���`k���J�FIJ�y���io#]��y��v�<�8٢����S^K=HE��T>�y����Y�gG�Fw9؟k���j�2��yYp�6@����
|
|
2
|
+
������J}y,?� ���)�q�B �q����$O����0ק�
|
|
3
|
+
��I�2!Z��Ѽ ��@W䈂RNP�ۂ���F��F����Te��'��#�|���s.Ha)���@�Ïn:�
|
data/lib/gtk2notify.rb
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
require 'gtk2'
|
|
6
6
|
|
|
7
|
+
|
|
8
|
+
# note: If calling this from within an EventMachine defer statement it
|
|
9
|
+
# may be necessary to call it through a system call e.g.
|
|
10
|
+
# `ruby -r gtk2notify -e "GtkNotify.show body: 'Testing this works'"`
|
|
11
|
+
|
|
7
12
|
class GtkNotify
|
|
8
13
|
|
|
9
14
|
def self.show(body: 'message body goes here', summary: '',
|
|
@@ -27,10 +32,6 @@ class GtkNotify
|
|
|
27
32
|
Thread.new {sleep timeout; window.hide_all; Gtk.main_quit}
|
|
28
33
|
|
|
29
34
|
Gtk.main
|
|
30
|
-
# The following statement is needed in some circumstances to
|
|
31
|
-
# ensure the Gtk application terminates properly
|
|
32
|
-
|
|
33
|
-
Thread.new {sleep timeout; window.hide_all; Gtk.main_quit}
|
|
34
35
|
|
|
35
36
|
end
|
|
36
37
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gtk2notify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
AXt2ZUjH/5OGnWgYaV5+l1o1BZmezZMqvwn13GPs71reWPIMBjHcy8b8J0eZuXtO
|
|
32
32
|
YS4buZ4bwNVRnQ==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-10-
|
|
34
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: gtk2
|
metadata.gz.sig
CHANGED
|
Binary file
|