notifiable-rails 0.15.3 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifiable/notifier_base.rb +1 -1
- data/lib/notifiable/version.rb +1 -1
- data/spec/batch_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/test_app/log/test.log +3977 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f30aedea3e880227ba64bf3903eb10482359bf2a
|
4
|
+
data.tar.gz: 21a45a11188525573f4ab3af52fce37e57861a24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8319edde506a4ba27665679ee7f95a732b08e853307d5bdbbed9c35427a0d83b70cbebdc943fd3b7472233762ab0bd8ee7a75ed700c7923fc509eb40ddeacf40
|
7
|
+
data.tar.gz: b2b2532fe66bf77736aa14c5cda7787996b37206209af47eaa573cd8d8f291a48103aedd28049115fa83145c3acaa4438bf32d360f2200c5e63ce3b1ccc56c31
|
@@ -6,7 +6,7 @@ module Notifiable
|
|
6
6
|
|
7
7
|
def send_notification(notification, device_token)
|
8
8
|
# todo - add before hook
|
9
|
-
enqueue(notification, device_token, custom_params(notification))
|
9
|
+
enqueue(notification, device_token, notification.message, custom_params(notification))
|
10
10
|
# todo - add after hook
|
11
11
|
end
|
12
12
|
|
data/lib/notifiable/version.rb
CHANGED
data/spec/batch_spec.rb
CHANGED
@@ -57,7 +57,7 @@ end
|
|
57
57
|
class ConfigurableMockNotifier < Notifiable::NotifierBase
|
58
58
|
attr_accessor :use_sandbox
|
59
59
|
|
60
|
-
def enqueue(notification, device_token, params)
|
60
|
+
def enqueue(notification, device_token, message, params)
|
61
61
|
processed(notification, device_token, 0)
|
62
62
|
end
|
63
63
|
end
|
data/spec/spec_helper.rb
CHANGED