noticent 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/noticent/dispatcher.rb +2 -2
- data/lib/noticent/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c862e2907d2eb57ab122737646652822c6471c3e21f421194ba109f615178d3b
|
4
|
+
data.tar.gz: c0b350021ae5a59d700039769d4433d4806c4453f685470319fc68d31d421dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f10cb0e2d982c99bc1c39d9a41b06e2d2bc297f07772555f1ee14fafe392548bfbbbb3d6f3275457bc4ea28096f81ff17d749b2ceaef24ca38f7e1f9749d507
|
7
|
+
data.tar.gz: 2db37e1ba4139db9ebea827c305278a898a28e96487cb456e00eb8a34e409254acec6811a2405114314a80b53c287ebd24040235876a63ef4c0346ea47456a2e
|
data/lib/noticent/dispatcher.rb
CHANGED
@@ -47,8 +47,8 @@ module Noticent
|
|
47
47
|
to_send = filter_recipients(recs, channel.name)
|
48
48
|
|
49
49
|
if to_send.count == 0 && @config.skip_alert_with_no_subscribers
|
50
|
-
Noticent.configuration.logger.info "Skipping alert #{alert.name} as
|
51
|
-
|
50
|
+
Noticent.configuration.logger.info "Skipping notification of alert #{alert.name} on channel #{channel.name} as there are no subscribers"
|
51
|
+
next
|
52
52
|
end
|
53
53
|
|
54
54
|
channel_instance = channel.instance(@config, to_send, @payload, @configuration)
|
data/lib/noticent/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noticent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Khash Sajadi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|