notifier 0.1.4 → 0.1.5
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.
- data/Gemfile.lock +5 -3
- data/lib/notifier/growl.rb +1 -1
- data/lib/notifier/version.rb +1 -1
- data/notifier.gemspec +1 -1
- metadata +26 -11
data/Gemfile.lock
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
notifier (0.1.
|
|
4
|
+
notifier (0.1.5)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: http://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
|
|
9
|
+
metaclass (0.0.1)
|
|
10
|
+
mocha (0.11.4)
|
|
11
|
+
metaclass (~> 0.0.1)
|
|
10
12
|
rake (0.9.2.2)
|
|
11
|
-
test-unit (2.
|
|
13
|
+
test-unit (2.4.8)
|
|
12
14
|
|
|
13
15
|
PLATFORMS
|
|
14
16
|
ruby
|
data/lib/notifier/growl.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Notifier
|
|
|
6
6
|
FILE = File.expand_path("~/.test_notifier-growl")
|
|
7
7
|
|
|
8
8
|
def supported?
|
|
9
|
-
RUBY_PLATFORM =~ /darwin/ && `
|
|
9
|
+
RUBY_PLATFORM =~ /darwin/ && `which growlnotify` && $? == 0
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def notify(options)
|
data/lib/notifier/version.rb
CHANGED
data/notifier.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
s.email = ["fnando.vieira@gmail.com"]
|
|
11
11
|
s.homepage = "http://rubygems.org/gems/notifier"
|
|
12
12
|
s.summary = "Send system notifications on several platforms with a simple and unified API. Currently supports Growl, Libnotify, OSD, KDE (Knotify and Kdialog) and Snarl"
|
|
13
|
-
s.description =
|
|
13
|
+
s.description = s.summary
|
|
14
14
|
|
|
15
15
|
s.files = `git ls-files`.split("\n")
|
|
16
16
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: notifier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2012-05-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: test-unit
|
|
16
|
-
requirement:
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,15 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :development
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements:
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '0'
|
|
25
30
|
- !ruby/object:Gem::Dependency
|
|
26
31
|
name: mocha
|
|
27
|
-
requirement:
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
28
33
|
none: false
|
|
29
34
|
requirements:
|
|
30
35
|
- - ! '>='
|
|
@@ -32,10 +37,15 @@ dependencies:
|
|
|
32
37
|
version: '0'
|
|
33
38
|
type: :development
|
|
34
39
|
prerelease: false
|
|
35
|
-
version_requirements:
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
36
46
|
- !ruby/object:Gem::Dependency
|
|
37
47
|
name: rake
|
|
38
|
-
requirement:
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
39
49
|
none: false
|
|
40
50
|
requirements:
|
|
41
51
|
- - ! '>='
|
|
@@ -43,7 +53,12 @@ dependencies:
|
|
|
43
53
|
version: '0'
|
|
44
54
|
type: :development
|
|
45
55
|
prerelease: false
|
|
46
|
-
version_requirements:
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
58
|
+
requirements:
|
|
59
|
+
- - ! '>='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
47
62
|
description: Send system notifications on several platforms with a simple and unified
|
|
48
63
|
API. Currently supports Growl, Libnotify, OSD, KDE (Knotify and Kdialog) and Snarl
|
|
49
64
|
email:
|
|
@@ -84,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
84
99
|
version: '0'
|
|
85
100
|
segments:
|
|
86
101
|
- 0
|
|
87
|
-
hash:
|
|
102
|
+
hash: 787796298279897038
|
|
88
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
104
|
none: false
|
|
90
105
|
requirements:
|
|
@@ -93,11 +108,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
93
108
|
version: '0'
|
|
94
109
|
segments:
|
|
95
110
|
- 0
|
|
96
|
-
hash:
|
|
111
|
+
hash: 787796298279897038
|
|
97
112
|
requirements:
|
|
98
113
|
- Growl, Libnotify, OSD, KDE (Knotify and Kdialog) or Snarl
|
|
99
114
|
rubyforge_project:
|
|
100
|
-
rubygems_version: 1.8.
|
|
115
|
+
rubygems_version: 1.8.23
|
|
101
116
|
signing_key:
|
|
102
117
|
specification_version: 3
|
|
103
118
|
summary: Send system notifications on several platforms with a simple and unified
|