uniform_notifier 1.3.0 → 1.4.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 +4 -4
- data/lib/uniform_notifier/raise.rb +1 -1
- data/lib/uniform_notifier/version.rb +1 -1
- data/spec/uniform_notifier/raise_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1cdd4e6dd5a7f24432b9735f9763f7210ac7cce
|
4
|
+
data.tar.gz: 4155ea762efc4bf52c6d7ece08d3d4a7feba4b21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a2d86407e43b9abd9426c0df5efd413b9a6f1707f2d5130c9491a2450a14ec5baccb10466ace3f5ac31db7732abbfb1eb9192771bf43a0ccb19b616bc0899b6
|
7
|
+
data.tar.gz: dbc9f1f60ede3a46afcbabdc44ed97dfe5710a1ec45153b5440745a67a261080de425bfe679e342448730378f3c0e049aef81752b94757e4fbd63edfe43fc452
|
@@ -2,13 +2,13 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe UniformNotifier::Raise do
|
4
4
|
it "should not notify message" do
|
5
|
-
UniformNotifier::Raise.
|
5
|
+
UniformNotifier::Raise.out_of_channel_notify("notification").should be_nil
|
6
6
|
end
|
7
7
|
|
8
8
|
it "should raise error of the default class" do
|
9
9
|
UniformNotifier.raise = true
|
10
10
|
expect {
|
11
|
-
UniformNotifier::Raise.
|
11
|
+
UniformNotifier::Raise.out_of_channel_notify("notification")
|
12
12
|
}.to raise_error(UniformNotifier::Raise::UniformNotifierException, "notification")
|
13
13
|
end
|
14
14
|
|
@@ -16,7 +16,7 @@ describe UniformNotifier::Raise do
|
|
16
16
|
klass = Class.new(Exception)
|
17
17
|
UniformNotifier.raise = klass
|
18
18
|
expect {
|
19
|
-
UniformNotifier::Raise.
|
19
|
+
UniformNotifier::Raise.out_of_channel_notify("notification")
|
20
20
|
}.to raise_error(klass, "notification")
|
21
21
|
end
|
22
22
|
|
@@ -25,7 +25,7 @@ describe UniformNotifier::Raise do
|
|
25
25
|
UniformNotifier.raise = false
|
26
26
|
|
27
27
|
expect {
|
28
|
-
UniformNotifier::Raise.
|
28
|
+
UniformNotifier::Raise.out_of_channel_notify("notification")
|
29
29
|
}.not_to raise_error
|
30
30
|
end
|
31
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uniform_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-growl
|