notifi 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce52f781ba0c9caa7fd5278684667cf05534c862
4
- data.tar.gz: c0b4d169eb719cccda7b6f2b37aa2783dedf9f36
3
+ metadata.gz: cf45d5115c13c0ad166842fe97006a771947633c
4
+ data.tar.gz: 5683856f8f8c3a49263ae5d3f875700ded1fc5f3
5
5
  SHA512:
6
- metadata.gz: 760d4930a5bc4ff683ef2c33eb958cdc2f0502ce761a8d0ba70825a30931685a1023ae38295317ee43e521df0d298af7ad7deb407f03d92b523d5c7018338d65
7
- data.tar.gz: bb528f7438edb9f41850f4bab51209e2c70082d43e754b74da1f5f684c919928971b226dafa40edbdc2970c03fc52a3d8517cadc55efc7f7e198a3faa958f73b
6
+ metadata.gz: 1cea43fd8ad226a1094def37e68156148482b146dbef32fd4dadadd31f1bcbf2b2027d04393f077057371d37eb9e3b986cf4c2a358b6c90afb3c4cf88e56f955
7
+ data.tar.gz: 0e4584e77769060b47c2d69783c65e0f462bb6c5c66f53f9995ff8a909e25b662ff9cd007ee80d38394a43ae824f601469a4c893c71830fa16974ee0b4a41df6
@@ -13,7 +13,7 @@ module Notifi
13
13
  end
14
14
 
15
15
  def notify(event=:default, notifier: nil, set: {})
16
- self.subscriptions.each { |s| s.notify(event, notifier, set: set) }
16
+ self.subscriptions.each { |s| s.notify(event, notifier: notifier, set: set) }
17
17
  end
18
18
  end
19
19
  end
@@ -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=nil, set: {})
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.
@@ -1,3 +1,3 @@
1
1
  module Notifi
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunter Haydel