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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20d40c39406cdfc7af8a6b167023a67b2f5c8224
4
- data.tar.gz: 095a90b0bd75ad7da34c119ecc288eae661cc36d
3
+ metadata.gz: 9d2df4da594f3b242a08150b6422aaafd50d9aa0
4
+ data.tar.gz: 7d620e0c4be4da078bba6465069f0806f7c6eace
5
5
  SHA512:
6
- metadata.gz: 77a9b848967c863f00aa5c8160e796b32be30c59f12cdedb7c052be1053df2195884ebdd5ff9c8fae88cd3cf2fc74dd365f2093683436b93b73d886de520b8d3
7
- data.tar.gz: a09887e4b475f9a4bd51fa5f4c97f0a7e3d672a8e7040aa8c824d6cff50dc44bb779dff9d08a4fed90e1c665766830ecd487e96a73e025e3358a05c2432f6da9
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
- /�,��hR1�z�}�*I���0�Y��፠�!�3��7V�zc"}�Ú���������>G ���0~N�*����P�����l����U�(��pv���vb+ ����C�� e��v[��lR�R��z��!��C4��2�;@�Nl�������0bV��f�Y��k��`�}Yk���l��\ ���N�8
2
- (,�BloR�
1
+ pf���Ԥ����@�~�� �����YEW�//���`k���JFIJ�y���io#]��y��v�<�8٢� ���S^K=HE��T>�y�� ��YgG�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.2
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-18 00:00:00.000000000 Z
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