riot_notifier 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +3 -3
- data/lib/riot_notifier.rb +3 -1
- data/test/test_riot_notifier.rb +2 -4
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/riot_notifier.rb
CHANGED
data/test/test_riot_notifier.rb
CHANGED
@@ -37,13 +37,11 @@ context "RiotNotifier" do
|
|
37
37
|
|
38
38
|
context "with RedgreenNotifier" do
|
39
39
|
setup do
|
40
|
-
|
41
|
-
klass.class_eval do
|
40
|
+
Class.new(RiotNotifier::RedgreenNotifier) do
|
42
41
|
def exec(string)
|
43
42
|
string
|
44
43
|
end
|
45
|
-
end
|
46
|
-
klass.new
|
44
|
+
end.new
|
47
45
|
end
|
48
46
|
|
49
47
|
asserts("notify green hello world") { topic.notify(:red, "hello world") }.matches(/red "hello world"/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riot_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Suschlik
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-07 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|