watchdoge 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/watchdoge/notification.rb +4 -6
- data/lib/watchdoge/version.rb +1 -1
- data/watchdoge.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6e3131fc81948d7304cd02bea7092761ab2c95dcd457cd7693afe1ddd6110c8
|
4
|
+
data.tar.gz: 288ba3e43c1ecde53de084ec051bdc1986828b44ef1323d83e402dddacaa4c9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc1335d6d469676af3ec27904d3da63febc8080febee95baa3f869758f53bdc111c86645d0e44dde960370df6fe94ed26b1e8df6156e8e17657f078fe0fb249b
|
7
|
+
data.tar.gz: 8c497273e339d039be9f933e5ad48bdd7e074b852e613880b77b7f61b3d0ca896b0d8695a8ea9a5e8e8fa442ff8d5fa8288afdf4558a5e4f4603a97bf4fa214b
|
@@ -8,12 +8,10 @@ module WatchDoge
|
|
8
8
|
|
9
9
|
raise "can't find notification sources in configuration" if sources.empty?
|
10
10
|
|
11
|
-
sources.each do |
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
source.push message
|
16
|
-
end
|
11
|
+
sources.each do |source_sym, source_args|
|
12
|
+
source_class = get_source_class source_sym
|
13
|
+
source = source_class.new source_args
|
14
|
+
source.push message
|
17
15
|
end
|
18
16
|
end
|
19
17
|
|
data/lib/watchdoge/version.rb
CHANGED
data/watchdoge.gemspec
CHANGED