devise-onesignal 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/controllers/concerns/one_signal_user.rb +1 -1
- data/lib/devise-onesignal/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e61b368657dae7e5fe98a32f79f4d6e33e0fc8c4feccad9e8cd8f569957a248
|
4
|
+
data.tar.gz: 5783917015531e75b88da923d66a21c1c0c885df4935ae0a60df40bef14ff61d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cf7ef8f6cc4b16477f3fa3a62a517c21b9d3d313a5e9edc0f77f1767f35d8dffb6bae51cc49b0e06eacfe3999a9826b8d21bdf18b79aa2730af6adbede2312d
|
7
|
+
data.tar.gz: f3c618ef8f1edc815a68ca323ddd85cf8805a316d978f989e0080c77de57ffe6171a14e9906a98a5c1f2be152c770eebf42671616ec500f29dea4a0eba599934
|
data/CHANGELOG.md
CHANGED
@@ -11,7 +11,7 @@ module OneSignalUser
|
|
11
11
|
current_onesignal = {}
|
12
12
|
current_onesignal[:id] = cookies[:oneSignalUserId]
|
13
13
|
current_onesignal[:permission] = cookies[:oneSignalUserPermission]
|
14
|
-
current_onesignal[
|
14
|
+
current_onesignal[DeviseOneSignal::Configuration.devise_class.downcase.to_sym] = DeviseOneSignal::Configuration.devise_class.constantize&.find_by(onesignal_id: current_onesignal[:id]) if cookies.has_key?(:oneSignalUserId)
|
15
15
|
current_onesignal.each do |key, value|
|
16
16
|
current_onesignal.delete(key) if value == nil
|
17
17
|
end
|