devise-onesignal 1.0.1 → 1.1.0
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 +3 -0
- 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: 626a558616ceee32d1a38fe055f16c1ca5f2e883ff86bcaedfaf499d25d52451
|
4
|
+
data.tar.gz: 650b7560971bfb903a41a4c7497f3d59d3728c5e6ac98026985a00cb1607b440
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b06d8262fcf6baff46412cbff004b1e9c00863fa7d4e3059eb66ef214869189b2b5591dcd9316906a2c57f000aaa5fda33d6df0d36bc2179804ac6c0412bc72
|
7
|
+
data.tar.gz: b6b82bf13a56468631a02bd06d57559f50955a31a382a87befada92793d46c51bc99be0d3e4c96331ea66bffac9ff26e41d5a05324f4d4fe507960a41d3beb64
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,9 @@ module OneSignalUser
|
|
12
12
|
current_onesignal[:id] = cookies[:oneSignalUserId]
|
13
13
|
current_onesignal[:permission] = cookies[:oneSignalUserPermission]
|
14
14
|
current_onesignal[OneSignalUser::Configuration.devise_class.downcase.to_sym] = OneSignalUser::Configuration.devise_class.constantize&.find_by(onesignal_id: current_onesignal[:id]) if cookies.has_key?(:oneSignalUserId)
|
15
|
+
current_onesignal.each do |key, value|
|
16
|
+
current_onesignal.delete(key) if value == nil
|
17
|
+
end
|
15
18
|
current_onesignal
|
16
19
|
end
|
17
20
|
|