effective_messaging 0.5.4 → 0.5.6

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: 01f5ac59c4096a5dd17f123d06f245f322f2228e751134bf8cfe4af9a9ce93c4
4
- data.tar.gz: 1567e1aa7014a9cefbacbdcfbdeeedf1f1b5ff5ac095dbe4914140f7409cbe3d
3
+ metadata.gz: f5dec3f88c3675b7800df94393a54f315c3377d98456783bf8d0ff351b051f33
4
+ data.tar.gz: 4c5cc8aec73f2b1d1781cbaac4f2d4bc97a1485a703d19992b9a655378315e95
5
5
  SHA512:
6
- metadata.gz: 68477aa579f572943d4417ce063fca69dd7969246637e21eaff3a8cb5d78f967038ec8cdf0bddbb58cf507c41a7a1c35ecb3d384cec0cc7392a59a62474323ca
7
- data.tar.gz: d119507d7f5b8512c08af5ebd1fbe3faf52d320af022a098a42fa3c47588e61a7e3a68715313bda02d3271cd4dab9174327929b1b53314caa70dacdeba7541d6
6
+ metadata.gz: 416f802b1119a8df270817fa4424837e61c71d0c0b2ca9f7321b3920072c9d02f4cece3986420d5143a82e5b35544ae02d5e084bb7035553a963edf23d0586b2
7
+ data.tar.gz: 6453ba7211a7a052c246992fc056d920b13ce73b0a254b8f5ee442caed4297792e93d6e0c095a1f55f19c0459f3d896dc61daf20a993774473a9ca0e69e6b6b3
@@ -37,7 +37,7 @@ module Admin
37
37
  col :notifiable_tomorrow_rows_count, label: 'Tomorrow'
38
38
 
39
39
  col(:rows_count) do |notification|
40
- notification.report.collection().count
40
+ notification.report&.collection()&.count.to_i
41
41
  end
42
42
 
43
43
  col :subject
@@ -86,7 +86,7 @@ module Effective
86
86
  ].join(" ")
87
87
 
88
88
  # Attach unsubscribe link
89
- rendered[:body] = "#{rendered[:body]}\r\n\r\n#{unsubscribe}\r\n\r\n"
89
+ rendered[:body] = "#{rendered[:body]}\r\n\r\n#{unsubscribe}"
90
90
 
91
91
  rendered
92
92
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveMessaging
2
- VERSION = '0.5.4'.freeze
2
+ VERSION = '0.5.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-28 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails