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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a91f0aa918496552c3b0f9153c1a4351a32f10910389780a71e8cb76d91df30
4
- data.tar.gz: 653ebc0c8ba59639e405fe78dbc6a4ce0480baf8abe0824f0f46e09cf47137d7
3
+ metadata.gz: cb9f334537321500e719816b724d0adaa22cc944b8672e9ad7e9e0e662eb6c70
4
+ data.tar.gz: f59f09587f37f418375fef2f03024701887caa538b6bac00f6267d25d01e97cb
5
5
  SHA512:
6
- metadata.gz: f4bf8b33c4c68666e312451ee812ba5578d1eedb526108ef3e07f1c5f8a7eb57ed41cc2a077366d9c211ec72dd9fd9585c3297f0931dad6f80d23493fd98e96f
7
- data.tar.gz: b043568083a5515b00d32936d7883cf617299965bcc1365eeff748c36faf52575a8bcc3fae0c20101b5e669691eaa5d5cebc381004fb7b2e993099041e552ce4
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)
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "1.5.3"
2
+ VERSION = "1.5.4"
3
3
  end
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.3
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-17 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails