noticed 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/noticed/base.rb +2 -0
- data/lib/noticed/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: cb9f334537321500e719816b724d0adaa22cc944b8672e9ad7e9e0e662eb6c70
|
4
|
+
data.tar.gz: f59f09587f37f418375fef2f03024701887caa538b6bac00f6267d25d01e97cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d27e7793f12b89cb80ecd76849180044007191fd023cfccf0730dda7c3cbc09e62d8686a64e76b50edcf5dccf571fc9ab4c50453d2ecd8b4263c05231171cfa8
|
7
|
+
data.tar.gz: 3161f4f7395caa4eb8abaabe28505d2268201ffb6230d88e301f44ac50ed435454790081421214641e2319542e6afe397c2db2431d967c09156e223bc2cb4916
|
data/lib/noticed/base.rb
CHANGED
@@ -81,6 +81,8 @@ module Noticed
|
|
81
81
|
def run_delivery(recipient, enqueue: true)
|
82
82
|
delivery_methods = self.class.delivery_methods.dup
|
83
83
|
|
84
|
+
self.recipient = recipient
|
85
|
+
|
84
86
|
# Run database delivery inline first if it exists so other methods have access to the record
|
85
87
|
if (index = delivery_methods.find_index { |m| m[:name] == :database })
|
86
88
|
delivery_method = delivery_methods.delete_at(index)
|
data/lib/noticed/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noticed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Oliver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|