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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fd2ef1a137251b59bcee79f161bdedb9e5f9ac9e407c67df191ffb9f5156438
4
- data.tar.gz: 225ab38d3473578f05fa45ebcf3307d3c087e162c21187bf5185c3d80c48c89d
3
+ metadata.gz: c862e2907d2eb57ab122737646652822c6471c3e21f421194ba109f615178d3b
4
+ data.tar.gz: c0b350021ae5a59d700039769d4433d4806c4453f685470319fc68d31d421dda
5
5
  SHA512:
6
- metadata.gz: 4454b6d75328ec5e771f0a127f164597c9b3470a0fc247b5c043e669ffb8fb1b9a97d646627c9744d803158024b254ab668138122f22a25dd2026c1df325df0a
7
- data.tar.gz: 812eb589009f4bbaf6cd9df09bae54e1d7fcd3ae1287f13ef06d0b174a65865adc967210d45be514ee0a243f979341a74ea4bfe5e99a959ac9d446c0fc806520
6
+ metadata.gz: 5f10cb0e2d982c99bc1c39d9a41b06e2d2bc297f07772555f1ee14fafe392548bfbbbb3d6f3275457bc4ea28096f81ff17d749b2ceaef24ca38f7e1f9749d507
7
+ data.tar.gz: 2db37e1ba4139db9ebea827c305278a898a28e96487cb456e00eb8a34e409254acec6811a2405114314a80b53c287ebd24040235876a63ef4c0346ea47456a2e
@@ -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 they are no subscribers"
51
- return
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Noticent
4
- VERSION ||= '0.0.2'
4
+ VERSION ||= '0.0.3'
5
5
  end
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.2
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 00:00:00.000000000 Z
11
+ date: 2019-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord