noticed 1.2.13 → 1.2.14

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: 177af67cbc18228368b1046461e97ec0046ab7be37dcd528d0834456184d3dbc
4
- data.tar.gz: 4b68f5ad47ac4cde2fb48f0738792c8d70332a0bf3b2a5bc4c6c0a830bd9b030
3
+ metadata.gz: ac97a7792c45512212f51308814ebb40d70ff83b21feaaf9bbec55e6bc73ea1b
4
+ data.tar.gz: 5ca3d47dd9ada40f4e3641cc422e0caf77df831f0f6438ce898f9c95d061dff6
5
5
  SHA512:
6
- metadata.gz: 127fb40a8e97d833c01d8f35586aee3ae5be6b673e20670306a5c94982ea4b2f358d7d471020460689483c326c7caf5a9f9bd3854b2c4052f47f2714a4aa8b92
7
- data.tar.gz: 5f285005c9e5553e9cde3203a7b7b646c3448edb9fdb0335e0286dc2bee14d09f7001644733caa8a5795f5291380fc4e65aa37ab5c89e9c752a54d2dd35a8a61
6
+ metadata.gz: c6cc83dda3dee6bef5978ea669a48f495b5a92028903ad6f1911d05166223138b344df24c1445ce13ec182c896faca6bc9f31ae91809149e2ec0d15d3dbfeabe
7
+ data.tar.gz: ef33159e1b6939210bfb358d3aeeb30f51c645e7a3f9460b6c8890dbc253b2ae002c9e07b3415b85a451de7c0eccea24f99c8f04973ec24274ed35b5340b7f0a
@@ -4,11 +4,12 @@ module Noticed
4
4
  extend ActiveModel::Callbacks
5
5
  define_model_callbacks :deliver
6
6
 
7
- attr_reader :notification, :options, :recipient, :record
7
+ attr_reader :notification, :options, :params, :recipient, :record
8
8
 
9
9
  def perform(args)
10
10
  @notification = args[:notification_class].constantize.new(args[:params])
11
11
  @options = args[:options]
12
+ @params = args[:params]
12
13
  @recipient = args[:recipient]
13
14
  @record = args[:record]
14
15
 
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "1.2.13"
2
+ VERSION = "1.2.14"
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.2.13
4
+ version: 1.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails