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.
@@ -3,25 +3,19 @@ module RiotNotifier
3
3
 
4
4
  class Libnotify < Base
5
5
  ICON = {
6
- :green => %w[
7
- /usr/share/icons/gnome/scalable/emblems/emblem-default.svg
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].find { |path| File.exist?(path) },
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].find { |path| File.exist?(path) },
18
+ :icon_path => ICON[:red],
25
19
  :timeout => 2.5,
26
20
  :urgency => :critical,
27
21
  :summary => ":-("
@@ -1,3 +1,3 @@
1
1
  module RiotNotifier
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
20
20
  s.add_development_dependency('yard')
21
21
 
22
22
  s.add_runtime_dependency('riot', "~> 0.11.0")
23
- s.add_runtime_dependency('libnotify', "~> 0.2.0")
23
+ s.add_runtime_dependency('libnotify', "~> 0.5.0")
24
24
  end
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: 15
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 4
8
+ - 5
9
9
  - 0
10
- version: 0.4.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-04-23 00:00:00 +02:00
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: 23
59
+ hash: 11
60
60
  segments:
61
61
  - 0
62
- - 2
62
+ - 5
63
63
  - 0
64
- version: 0.2.0
64
+ version: 0.5.0
65
65
  type: :runtime
66
66
  version_requirements: *id003
67
67
  description: