riot_notifier 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/riot_notifier/libnotify.rb +4 -10
- data/lib/riot_notifier/version.rb +1 -1
- data/riot_notifier.gemspec +1 -1
- metadata +7 -7
@@ -3,25 +3,19 @@ module RiotNotifier
|
|
3
3
|
|
4
4
|
class Libnotify < Base
|
5
5
|
ICON = {
|
6
|
-
:green
|
7
|
-
|
8
|
-
/usr/share/icons/gnome/256x256/emotes/face-laugh.png
|
9
|
-
],
|
10
|
-
:red => %w[
|
11
|
-
/usr/share/icons/gnome/scalable/emotes/face-angry.svg
|
12
|
-
/usr/share/icons/gnome/256x256/emotes/face-angry.png
|
13
|
-
]
|
6
|
+
:green => "emblem-default.png",
|
7
|
+
:red => "false-angry.png"
|
14
8
|
}
|
15
9
|
|
16
10
|
OPTIONS = {
|
17
11
|
:green => {
|
18
|
-
:icon_path => ICON[:green]
|
12
|
+
:icon_path => ICON[:green],
|
19
13
|
:timeout => 2.5,
|
20
14
|
:urgency => :normal,
|
21
15
|
:summary => ":-)"
|
22
16
|
},
|
23
17
|
:red => {
|
24
|
-
:icon_path => ICON[:red]
|
18
|
+
:icon_path => ICON[:red],
|
25
19
|
:timeout => 2.5,
|
26
20
|
:urgency => :critical,
|
27
21
|
:summary => ":-("
|
data/riot_notifier.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riot_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 5
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Peter Suschlik
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-05-05 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -56,12 +56,12 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - ~>
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
hash:
|
59
|
+
hash: 11
|
60
60
|
segments:
|
61
61
|
- 0
|
62
|
-
-
|
62
|
+
- 5
|
63
63
|
- 0
|
64
|
-
version: 0.
|
64
|
+
version: 0.5.0
|
65
65
|
type: :runtime
|
66
66
|
version_requirements: *id003
|
67
67
|
description:
|