onsignal 5.0.2 → 5.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/app/models/concerns/on_signal_model.rb +2 -2
- data/lib/on_signal/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1600c0cd6e5674ed0311d28093594e1074f95b6ebb8bb497d1cb7d1b43277ab7
|
4
|
+
data.tar.gz: 83ded3364c64d0e363767094df94418da3f74950f3661e64cd197e75e2afe0d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 552c69d739164a3eb8e9e5465719c5ec096ad476b2c60b0685e2a3470516cdf6ba2b1b0dc67d8fa718c99afa992bb07f4e21db9e2613a2759cb42d37b8be6cc2
|
7
|
+
data.tar.gz: a8840ebb0f177a312f4948e3920a99f0f8b041ae4ceeb46807da01798d08ecd9007aae3c09c46c4a7bd9ca082d45111766c013c2d9be9fc5433bee6f94b993bb
|
data/CHANGELOG.md
CHANGED
@@ -4,15 +4,27 @@
|
|
4
4
|
|
5
5
|
* nothing yet
|
6
6
|
|
7
|
+
### 5.0.4 - 2018/02/23
|
8
|
+
|
9
|
+
* bugfixes
|
10
|
+
* fixed `isSubscribed()` function
|
11
|
+
|
12
|
+
### 5.0.3 - 2018/02/23
|
13
|
+
|
14
|
+
* bugfixes
|
15
|
+
* fixed `object is not defined`
|
16
|
+
|
7
17
|
### 5.0.2 - 2018/02/19
|
8
18
|
|
9
19
|
* bugfixes
|
10
20
|
* fixed `undefined local variable or method 'current_user'` if not using devise
|
21
|
+
* fixed `isSubscribed()` function
|
11
22
|
|
12
23
|
### 5.0.1 - 2018/02/19
|
13
24
|
|
14
25
|
* bugfixes
|
15
26
|
* fixed `undefined local variable or method 'set_onesignal_user'`
|
27
|
+
* fixed `Uncaught (in promise) TypeError: Cannot set property '_permission' of undefined`
|
16
28
|
|
17
29
|
### 5.0.0 - 2018/02/09
|
18
30
|
|
@@ -4,8 +4,8 @@ module OnSignalModel
|
|
4
4
|
|
5
5
|
module ClassMethods
|
6
6
|
def onsignal
|
7
|
-
has_many :devices, as: :owner, class_name: OnSignal.configuration
|
8
|
-
include
|
7
|
+
has_many :devices, as: :owner, class_name: OnSignal.configuration&.device_const || 'Device', dependent: :destroy
|
8
|
+
include OnSignalModel::InstanceMethods
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
data/lib/on_signal/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onsignal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Hübotter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|