notifiers 1.1.0 → 1.2.0
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 +7 -0
- data/.gitignore +1 -0
- data/.rspec +1 -0
- data/Gemfile +2 -6
- data/Gemfile.lock +25 -0
- data/History.markdown +8 -0
- data/README.markdown +6 -6
- data/Rakefile +1 -0
- data/TODO.markdown +1 -0
- data/lib/notifiers.rb +2 -3
- data/lib/notifiers/growl.rb +11 -10
- data/lib/notifiers/knotify.rb +4 -5
- data/lib/notifiers/notify_send.rb +8 -8
- data/notifiers.gemspec +4 -4
- data/spec/notifiers/growl_spec.rb +21 -26
- data/spec/notifiers/knotify_spec.rb +11 -11
- data/spec/notifiers/notify_send_spec.rb +31 -31
- data/spec/notifiers_spec.rb +4 -4
- metadata +50 -70
- data/Tasks +0 -4
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6a9805f03cbef83bc8a4adb74e42c2a355d4944e
|
4
|
+
data.tar.gz: c41421a3c1e48cdf0fc6d5e2d44dd4a2d2d5d44e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9b46e6f3cbff9b5ad9c0d83dc58b2625a07a5e57f04fc92c7654dce862a7847520474545c19101a16df48833a38034c459171e5677ff588a95b86d4304a5752a
|
7
|
+
data.tar.gz: 0bddc7d9c059a4e65a3b821a26806063ac744d9b29369b0a4b002d7c665b5031f79c1159177ae203b01d51e90dbac3059ed003a687c2da11a006374d08c131b5
|
data/.gitignore
CHANGED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color -f d
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
notifiers (1.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.1.3)
|
10
|
+
rspec (2.11.0)
|
11
|
+
rspec-core (~> 2.11.0)
|
12
|
+
rspec-expectations (~> 2.11.0)
|
13
|
+
rspec-mocks (~> 2.11.0)
|
14
|
+
rspec-core (2.11.1)
|
15
|
+
rspec-expectations (2.11.3)
|
16
|
+
diff-lcs (~> 1.1.3)
|
17
|
+
rspec-mocks (2.11.3)
|
18
|
+
|
19
|
+
PLATFORMS
|
20
|
+
ruby
|
21
|
+
|
22
|
+
DEPENDENCIES
|
23
|
+
bundler (>= 1.0.0)
|
24
|
+
notifiers!
|
25
|
+
rspec (~> 2.11)
|
data/History.markdown
ADDED
data/README.markdown
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
# Notifiers
|
2
2
|
|
3
|
-
Use notifications in a simple and elegant way. :)
|
3
|
+
Use notifications systems like growlm kib-notify in a simple and elegant way. :)
|
4
4
|
|
5
5
|
## Install
|
6
6
|
|
7
7
|
gem install notifiers
|
8
8
|
|
9
|
-
|
9
|
+
## Usage
|
10
10
|
|
11
11
|
require 'notifiers'
|
12
12
|
include Notifiers
|
13
13
|
|
14
|
-
|
14
|
+
### Growl
|
15
15
|
|
16
16
|
growl.message('Hi Growl!').image('my_image.png').priority(2).name('my_app').notify!
|
17
17
|
|
18
|
-
|
18
|
+
### Lib_Notify
|
19
19
|
|
20
20
|
notify_send.image('my_image.png').message('Hi Growl').notify!
|
21
21
|
|
22
22
|
<b>Obs.: #notify_send is an alias to #lib_notify .</b>
|
23
23
|
|
24
|
-
|
24
|
+
### Knotify
|
25
25
|
|
26
26
|
knotify.title('Hello World').message('Hi!').notify!
|
27
27
|
|
@@ -29,4 +29,4 @@ Use notifications in a simple and elegant way. :)
|
|
29
29
|
|
30
30
|
## Only one explanation:
|
31
31
|
|
32
|
-
###
|
32
|
+
### Because is fun! =)
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
data/TODO.markdown
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* When the notifer command doesn't exists, show a better error message.
|
data/lib/notifiers.rb
CHANGED
data/lib/notifiers/growl.rb
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
class Growl
|
2
|
-
COMMAND
|
2
|
+
COMMAND = 'growlnotify'
|
3
|
+
ERROR_MESSAGE = "The Growl is not installed. You can find more details here:
|
4
|
+
http://growl.info/downloads"
|
3
5
|
|
4
6
|
def image(icon)
|
5
7
|
@image = icon
|
6
8
|
self
|
7
9
|
end
|
8
|
-
|
10
|
+
|
9
11
|
def title(text)
|
10
12
|
@title = text
|
11
13
|
self
|
@@ -15,27 +17,27 @@ class Growl
|
|
15
17
|
@message = text
|
16
18
|
self
|
17
19
|
end
|
18
|
-
|
20
|
+
|
19
21
|
def priority(number)
|
20
22
|
@priority = number
|
21
23
|
self
|
22
24
|
end
|
23
|
-
|
25
|
+
|
24
26
|
def host(hostname)
|
25
27
|
@host = hostname
|
26
28
|
self
|
27
29
|
end
|
28
|
-
|
30
|
+
|
29
31
|
def password(secret)
|
30
32
|
@password = secret
|
31
33
|
self
|
32
34
|
end
|
33
|
-
|
35
|
+
|
34
36
|
def auth(authentication)
|
35
37
|
@auth = authentication
|
36
38
|
self
|
37
39
|
end
|
38
|
-
|
40
|
+
|
39
41
|
def to_s
|
40
42
|
command = COMMAND.clone
|
41
43
|
command << " --title '#{@title}'" if @title
|
@@ -46,9 +48,8 @@ class Growl
|
|
46
48
|
end
|
47
49
|
command
|
48
50
|
end
|
49
|
-
|
51
|
+
|
50
52
|
def notify!
|
51
|
-
system(to_s)
|
53
|
+
puts ERROR_MESSAGE unless system(to_s)
|
52
54
|
end
|
53
|
-
|
54
55
|
end
|
data/lib/notifiers/knotify.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
class Knotify
|
2
2
|
COMMAND = "dcop knotify default notify eventname"
|
3
|
-
|
3
|
+
|
4
4
|
def message(text)
|
5
5
|
@message = text
|
6
6
|
self
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
def title(text)
|
10
10
|
@title = text
|
11
11
|
self
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
def to_s
|
15
15
|
command = "#{COMMAND}"
|
16
16
|
command << " '#{@title}'" if @title
|
@@ -19,9 +19,8 @@ class Knotify
|
|
19
19
|
command << " 12 1"
|
20
20
|
command
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
def notify!
|
24
24
|
system(to_s)
|
25
25
|
end
|
26
|
-
|
27
26
|
end
|
@@ -5,32 +5,32 @@ class NotifySend
|
|
5
5
|
@message = text
|
6
6
|
self
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
def title(text)
|
10
10
|
@title = text
|
11
11
|
self
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
def image(icon)
|
15
15
|
@icon = icon
|
16
16
|
self
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
19
|
def urgency(level)
|
20
20
|
@urgency = level.to_s
|
21
21
|
self
|
22
22
|
end
|
23
|
-
|
23
|
+
|
24
24
|
def expire_time(time)
|
25
25
|
@expire_time = time
|
26
26
|
self
|
27
27
|
end
|
28
|
-
|
28
|
+
|
29
29
|
def hint(values)
|
30
30
|
@hint = values.collect.each { |element| element.to_s}.join(':')
|
31
31
|
self
|
32
32
|
end
|
33
|
-
|
33
|
+
|
34
34
|
def to_s
|
35
35
|
command = COMMAND.clone
|
36
36
|
[:hint, :priority, :icon, :urgency].each do |option|
|
@@ -44,10 +44,10 @@ class NotifySend
|
|
44
44
|
end
|
45
45
|
command
|
46
46
|
end
|
47
|
-
|
47
|
+
|
48
48
|
# Extract this to a module or something
|
49
49
|
def notify!
|
50
50
|
system(to_s)
|
51
51
|
end
|
52
|
-
|
52
|
+
|
53
53
|
end
|
data/notifiers.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "notifiers"
|
5
|
-
s.version = '1.
|
5
|
+
s.version = '1.2.0'
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.authors = ["Tomás D'Stefano"]
|
8
8
|
s.email = ["tomasdestefi@gmail.com"]
|
@@ -12,10 +12,10 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.required_rubygems_version = ">= 1.3.6"
|
14
14
|
s.rubyforge_project = "notifiers"
|
15
|
-
|
16
|
-
s.add_development_dependency('rspec', "
|
15
|
+
|
16
|
+
s.add_development_dependency('rspec', "~> 2.11")
|
17
17
|
s.add_development_dependency('bundler', ">= 1.0.0")
|
18
|
-
|
18
|
+
|
19
19
|
s.files = `git ls-files`.split("\n")
|
20
20
|
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
21
21
|
s.require_path = 'lib'
|
@@ -1,113 +1,108 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Growl do
|
4
|
-
|
5
4
|
before do
|
6
5
|
@growl = growl
|
7
6
|
end
|
8
|
-
|
7
|
+
|
9
8
|
describe '#image' do
|
10
|
-
|
11
9
|
it "should keep the image" do
|
12
10
|
@growl.image('my_image.png')
|
13
11
|
@growl.instance_variable_get(:@image).should eql 'my_image.png'
|
14
12
|
end
|
15
|
-
|
13
|
+
|
16
14
|
it "should set the image" do
|
17
15
|
@growl.image('wario.png')
|
18
16
|
@growl.instance_variable_get(:@image).should eql 'wario.png'
|
19
17
|
end
|
20
18
|
|
21
19
|
end
|
22
|
-
|
20
|
+
|
23
21
|
describe '#message' do
|
24
|
-
|
22
|
+
|
25
23
|
it "should set the message option" do
|
26
24
|
@growl.message('Hello World!')
|
27
25
|
@growl.instance_variable_get(:@message).should eql 'Hello World!'
|
28
26
|
end
|
29
|
-
|
27
|
+
|
30
28
|
it "should set the message" do
|
31
29
|
@growl.message('May the Force be with you')
|
32
30
|
@growl.instance_variable_get(:@message).should eql 'May the Force be with you'
|
33
31
|
end
|
34
32
|
end
|
35
|
-
|
33
|
+
|
36
34
|
describe '#title' do
|
37
35
|
it "should set the title" do
|
38
36
|
@growl.title('Nirvana')
|
39
37
|
@growl.instance_variable_get(:@title).should eql 'Nirvana'
|
40
38
|
end
|
41
|
-
|
39
|
+
|
42
40
|
it "should set the title option" do
|
43
41
|
@growl.title('Pearl Jam')
|
44
42
|
@growl.instance_variable_get(:@title).should eql 'Pearl Jam'
|
45
43
|
end
|
46
44
|
end
|
47
|
-
|
45
|
+
|
48
46
|
describe '#priority' do
|
49
|
-
|
47
|
+
|
50
48
|
it "should set the priority" do
|
51
49
|
@growl.priority(0)
|
52
50
|
@growl.instance_variable_get(:@priority).should be 0
|
53
51
|
end
|
54
|
-
|
52
|
+
|
55
53
|
it "should set the priority number" do
|
56
54
|
@growl.priority(1)
|
57
55
|
@growl.instance_variable_get(:@priority).should be 1
|
58
56
|
end
|
59
57
|
end
|
60
|
-
|
58
|
+
|
61
59
|
describe '#host' do
|
62
|
-
|
60
|
+
|
63
61
|
it "should set the hostname" do
|
64
62
|
@growl.host('localhost')
|
65
63
|
@growl.instance_variable_get(:@host).should eql 'localhost'
|
66
64
|
end
|
67
|
-
|
65
|
+
|
68
66
|
it "should set the host" do
|
69
67
|
@growl.host('beer_duff.com')
|
70
68
|
@growl.instance_variable_get(:@host).should eql 'beer_duff.com'
|
71
69
|
end
|
72
70
|
end
|
73
|
-
|
71
|
+
|
74
72
|
describe '#password' do
|
75
|
-
|
73
|
+
|
76
74
|
it "should set the password" do
|
77
75
|
@growl.password('top_secret')
|
78
76
|
@growl.instance_variable_get(:@password).should eql 'top_secret'
|
79
77
|
end
|
80
|
-
|
78
|
+
|
81
79
|
it "should set the secret password" do
|
82
80
|
@growl.password('paradise_city')
|
83
81
|
@growl.instance_variable_get(:@password).should eql 'paradise_city'
|
84
82
|
end
|
85
83
|
end
|
86
|
-
|
84
|
+
|
87
85
|
describe '#auth' do
|
88
86
|
it "should set the auth option" do
|
89
87
|
@growl.auth('SHA256')
|
90
88
|
@growl.instance_variable_get(:@auth).should eql 'SHA256'
|
91
89
|
end
|
92
90
|
end
|
93
|
-
|
91
|
+
|
94
92
|
describe '#to_s' do
|
95
|
-
|
96
93
|
it "should construct the command" do
|
97
|
-
command = @growl.message('Hello World!').priority(1).image('mario.png').to_s
|
94
|
+
command = @growl.message('Hello World!').priority(1).image('mario.png').to_s
|
98
95
|
command.should eql "growlnotify --message 'Hello World!' --image mario.png --priority 1"
|
99
96
|
end
|
100
|
-
|
97
|
+
|
101
98
|
it "should construct the command with host password and auth" do
|
102
99
|
command = @growl.message('Donuts').host('duff_bear').auth('SHA256').password('welcome_to_the_jungle').to_s
|
103
100
|
command.should eql "growlnotify --message 'Donuts' --host duff_bear --password welcome_to_the_jungle --auth SHA256"
|
104
101
|
end
|
105
|
-
|
102
|
+
|
106
103
|
it "should construct the command with title and message" do
|
107
104
|
command = @growl.message('Last Kiss').title('Pearl Jam').to_s
|
108
105
|
command.should eql "growlnotify --title 'Pearl Jam' --message 'Last Kiss'"
|
109
106
|
end
|
110
|
-
|
111
107
|
end
|
112
|
-
|
113
108
|
end
|
@@ -1,44 +1,44 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Knotify do
|
4
|
-
|
4
|
+
|
5
5
|
before do
|
6
6
|
@knotify = Knotify.new
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
describe '#message' do
|
10
10
|
it "should set the message instance variable" do
|
11
11
|
@knotify.message('Bulls on Parade')
|
12
12
|
@knotify.instance_variable_get(:@message).should == 'Bulls on Parade'
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
it "should be possible to set the message instance variable" do
|
16
16
|
@knotify.message('Wake Up')
|
17
17
|
@knotify.instance_variable_get(:@message).should == 'Wake Up'
|
18
18
|
end
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
describe '#title' do
|
22
|
-
|
22
|
+
|
23
23
|
it "should set the title" do
|
24
24
|
@knotify.title('Rage Against the Machine')
|
25
25
|
@knotify.instance_variable_get(:@title).should == 'Rage Against the Machine'
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
it "should be possible to set the title" do
|
29
29
|
@knotify.title('AudioSlave')
|
30
30
|
@knotify.instance_variable_get(:@title).should == 'AudioSlave'
|
31
31
|
end
|
32
|
-
|
32
|
+
|
33
33
|
end
|
34
|
-
|
34
|
+
|
35
35
|
describe '#to_s' do
|
36
|
-
|
36
|
+
|
37
37
|
it "should return the entire command" do
|
38
38
|
command = @knotify.title('Ruby').message('For the Win').to_s
|
39
39
|
command.should == "dcop knotify default notify eventname 'Ruby' 'For the Win' '' '' 12 1"
|
40
40
|
end
|
41
|
-
|
41
|
+
|
42
42
|
end
|
43
|
-
|
43
|
+
|
44
44
|
end
|
@@ -1,117 +1,117 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe NotifySend do
|
4
|
-
|
4
|
+
|
5
5
|
before do
|
6
6
|
@notify_send = notify_send
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
describe '#image' do
|
10
|
-
|
10
|
+
|
11
11
|
it "should set the image" do
|
12
12
|
@notify_send.image('my_image.png')
|
13
13
|
@notify_send.instance_variable_get(:@icon).should eql 'my_image.png'
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
it "should set the icon option" do
|
17
17
|
@notify_send.image('homer_simpson.png')
|
18
18
|
@notify_send.instance_variable_get(:@icon).should eql 'homer_simpson.png'
|
19
19
|
end
|
20
20
|
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
describe '#message' do
|
24
|
-
|
24
|
+
|
25
25
|
it "should set the message" do
|
26
26
|
@notify_send.message('Oh Donuts!')
|
27
27
|
@notify_send.instance_variable_get(:@message).should eql 'Oh Donuts!'
|
28
28
|
end
|
29
|
-
|
29
|
+
|
30
30
|
it "should set the message option" do
|
31
31
|
@notify_send.message('Duff Beer')
|
32
32
|
@notify_send.instance_variable_get(:@message).should eql 'Duff Beer'
|
33
33
|
end
|
34
|
-
|
34
|
+
|
35
35
|
end
|
36
|
-
|
36
|
+
|
37
37
|
describe '#title' do
|
38
|
-
|
38
|
+
|
39
39
|
it "should set the title" do
|
40
40
|
@notify_send.title('W00T!!')
|
41
41
|
@notify_send.instance_variable_get(:@title).should == 'W00T!!'
|
42
42
|
end
|
43
|
-
|
43
|
+
|
44
44
|
it "should set a title as intance variable" do
|
45
45
|
@notify_send.title('Joker Owned Batman!')
|
46
46
|
@notify_send.instance_variable_get(:@title).should == 'Joker Owned Batman!'
|
47
47
|
end
|
48
|
-
|
48
|
+
|
49
49
|
end
|
50
|
-
|
50
|
+
|
51
51
|
describe '#urgency' do
|
52
|
-
|
52
|
+
|
53
53
|
it "should set the urgency instance variable to low" do
|
54
54
|
@notify_send.urgency(:low)
|
55
55
|
@notify_send.instance_variable_get(:@urgency).should == 'low'
|
56
56
|
end
|
57
|
-
|
57
|
+
|
58
58
|
it "should set he urgency instance variable to normal" do
|
59
59
|
@notify_send.urgency(:normal)
|
60
60
|
@notify_send.instance_variable_get(:@urgency).should == 'normal'
|
61
61
|
end
|
62
|
-
|
62
|
+
|
63
63
|
it "should set the urgency to critical" do
|
64
64
|
@notify_send.urgency(:critical)
|
65
65
|
@notify_send.instance_variable_get(:@urgency).should == 'critical'
|
66
66
|
end
|
67
|
-
|
67
|
+
|
68
68
|
end
|
69
|
-
|
69
|
+
|
70
70
|
describe '#expire_time' do
|
71
|
-
|
71
|
+
|
72
72
|
it "should set the expire time" do
|
73
73
|
@notify_send.expire_time(1000)
|
74
74
|
@notify_send.instance_variable_get(:@expire_time).should == 1000
|
75
75
|
end
|
76
|
-
|
76
|
+
|
77
77
|
it "should set the expire time in miliseconds" do
|
78
78
|
@notify_send.expire_time(2000)
|
79
79
|
@notify_send.instance_variable_get(:@expire_time).should == 2000
|
80
80
|
end
|
81
|
-
|
81
|
+
|
82
82
|
end
|
83
|
-
|
83
|
+
|
84
84
|
describe '#hint' do
|
85
|
-
|
85
|
+
|
86
86
|
it "should set the hint" do
|
87
87
|
@notify_send.hint([:string, :me, :yeah])
|
88
88
|
@notify_send.instance_variable_get(:@hint).should == 'string:me:yeah'
|
89
89
|
end
|
90
|
-
|
90
|
+
|
91
91
|
it "should set the hint in int" do
|
92
92
|
@notify_send.hint([:int, :me, 1])
|
93
93
|
@notify_send.instance_variable_get(:@hint).should == 'int:me:1'
|
94
94
|
end
|
95
|
-
|
95
|
+
|
96
96
|
end
|
97
|
-
|
97
|
+
|
98
98
|
describe '#to_s' do
|
99
|
-
|
99
|
+
|
100
100
|
it "should transform in a command" do
|
101
101
|
command = @notify_send.title('Inception').message('3 levels').image('my_image.png').to_s
|
102
102
|
command.should == "notify-send --icon=my_image.png 'Inception' '3 levels'"
|
103
103
|
end
|
104
|
-
|
104
|
+
|
105
105
|
it "should transform in a command to execute" do
|
106
106
|
command = @notify_send.title('Joker').message('Haha ha!').expire_time(1000).hint([:string, :me, :woot]).to_s
|
107
107
|
command.should == "notify-send --hint=string:me:woot --expire-time=1000 'Joker' 'Haha ha!'"
|
108
108
|
end
|
109
|
-
|
109
|
+
|
110
110
|
it "should transform in a command to execute" do
|
111
111
|
command = @notify_send.title('Batman').urgency(:critical).to_s
|
112
112
|
command.should == "notify-send --urgency=critical 'Batman'"
|
113
113
|
end
|
114
|
-
|
114
|
+
|
115
115
|
end
|
116
|
-
|
116
|
+
|
117
117
|
end
|
data/spec/notifiers_spec.rb
CHANGED
@@ -3,11 +3,11 @@ require 'spec_helper'
|
|
3
3
|
describe 'notifiers' do
|
4
4
|
|
5
5
|
it { growl.should be_instance_of(Growl) }
|
6
|
-
|
6
|
+
|
7
7
|
it { knotify.should be_instance_of(Knotify) }
|
8
|
-
|
8
|
+
|
9
9
|
it { notify_send.should be_instance_of(NotifySend)}
|
10
|
-
|
10
|
+
|
11
11
|
it { lib_notify.should be_instance_of(NotifySend)}
|
12
|
-
|
12
|
+
|
13
13
|
end
|
metadata
CHANGED
@@ -1,67 +1,59 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: notifiers
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 1
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
version: 1.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
10
5
|
platform: ruby
|
11
|
-
authors:
|
12
|
-
-
|
6
|
+
authors:
|
7
|
+
- Tomás D'Stefano
|
13
8
|
autorequire:
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-01-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: rspec
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 2
|
30
|
-
- 0
|
31
|
-
- 1
|
32
|
-
version: 2.0.1
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.11'
|
33
20
|
type: :development
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: bundler
|
37
21
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.11'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
47
33
|
version: 1.0.0
|
48
34
|
type: :development
|
49
|
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.0.0
|
50
41
|
description: Use Growl and Lib-Notify in a simple and clean way.
|
51
|
-
email:
|
42
|
+
email:
|
52
43
|
- tomasdestefi@gmail.com
|
53
44
|
executables: []
|
54
|
-
|
55
45
|
extensions: []
|
56
|
-
|
57
46
|
extra_rdoc_files: []
|
58
|
-
|
59
|
-
files:
|
47
|
+
files:
|
60
48
|
- .gitignore
|
61
49
|
- .infinity_test
|
50
|
+
- .rspec
|
62
51
|
- Gemfile
|
52
|
+
- Gemfile.lock
|
53
|
+
- History.markdown
|
63
54
|
- README.markdown
|
64
|
-
-
|
55
|
+
- Rakefile
|
56
|
+
- TODO.markdown
|
65
57
|
- lib/notifiers.rb
|
66
58
|
- lib/notifiers/growl.rb
|
67
59
|
- lib/notifiers/knotify.rb
|
@@ -72,39 +64,27 @@ files:
|
|
72
64
|
- spec/notifiers/notify_send_spec.rb
|
73
65
|
- spec/notifiers_spec.rb
|
74
66
|
- spec/spec_helper.rb
|
75
|
-
has_rdoc: true
|
76
67
|
homepage: http://rubygems.org/gems/notifiers
|
77
68
|
licenses: []
|
78
|
-
|
69
|
+
metadata: {}
|
79
70
|
post_install_message:
|
80
71
|
rdoc_options: []
|
81
|
-
|
82
|
-
require_paths:
|
72
|
+
require_paths:
|
83
73
|
- lib
|
84
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
none: false
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
segments:
|
98
|
-
- 1
|
99
|
-
- 3
|
100
|
-
- 6
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '>='
|
82
|
+
- !ruby/object:Gem::Version
|
101
83
|
version: 1.3.6
|
102
84
|
requirements: []
|
103
|
-
|
104
85
|
rubyforge_project: notifiers
|
105
|
-
rubygems_version:
|
86
|
+
rubygems_version: 2.0.5
|
106
87
|
signing_key:
|
107
|
-
specification_version:
|
88
|
+
specification_version: 4
|
108
89
|
summary: Use notifications in a simple and elegant way.
|
109
90
|
test_files: []
|
110
|
-
|
data/Tasks
DELETED