notifi 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifi/subscribable.rb +1 -1
- data/lib/notifi/subscription.rb +1 -1
- data/lib/notifi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf45d5115c13c0ad166842fe97006a771947633c
|
4
|
+
data.tar.gz: 5683856f8f8c3a49263ae5d3f875700ded1fc5f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cea43fd8ad226a1094def37e68156148482b146dbef32fd4dadadd31f1bcbf2b2027d04393f077057371d37eb9e3b986cf4c2a358b6c90afb3c4cf88e56f955
|
7
|
+
data.tar.gz: 0e4584e77769060b47c2d69783c65e0f462bb6c5c66f53f9995ff8a909e25b662ff9cd007ee80d38394a43ae824f601469a4c893c71830fa16974ee0b4a41df6
|
data/lib/notifi/subscribable.rb
CHANGED
data/lib/notifi/subscription.rb
CHANGED
@@ -7,7 +7,7 @@ module Notifi
|
|
7
7
|
belongs_to :subscribable, polymorphic: true
|
8
8
|
has_many :notifications, dependent: :destroy, inverse_of: :subscription
|
9
9
|
|
10
|
-
def notify(event=:default, notifier
|
10
|
+
def notify(event=:default, notifier: nil, set: {})
|
11
11
|
# TODO I wanted to do this in the subscribable notify method so you could
|
12
12
|
# still forceably notifiy the notifier, but for the life of me I couldn't
|
13
13
|
# get it to work.
|
data/lib/notifi/version.rb
CHANGED