jera_push 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 +5 -5
- data/lib/jera_push/models/device.rb +2 -1
- data/lib/jera_push/models/message.rb +1 -1
- data/lib/jera_push/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dd6143d0c978c381fba0550503722112b166f4ec
|
4
|
+
data.tar.gz: 587d0372132e711f12e0df36116360213eca847f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a16634a5e47ae3f95005353cb28b7df51ec791ce8677e54e761776477b510d45746c0b671b0ae57400b1535b5a8ff713ab0b303611e25836455495fdf3728a9
|
7
|
+
data.tar.gz: 510834c17d975c01cc0bcdd50c054e249cbf79d7ce3078516cab3545ba6fe05d89a290b774b14c3fe6aa9b5668ffe3564b0f55ac02f863403d85feca44699098
|
@@ -7,8 +7,9 @@ class JeraPush::Device < ActiveRecord::Base
|
|
7
7
|
|
8
8
|
self.table_name = "jera_push_devices"
|
9
9
|
|
10
|
-
has_many :messages, through: :message_devices, table_name: "jera_push_messages"
|
11
10
|
has_many :message_devices, table_name: "jera_push_message_devices"
|
11
|
+
has_many :messages, through: :message_devices, table_name: "jera_push_messages"
|
12
|
+
|
12
13
|
belongs_to :pushable, polymorphic: true
|
13
14
|
|
14
15
|
validates :token, :platform, presence: true
|
@@ -4,8 +4,8 @@ class JeraPush::Message < ActiveRecord::Base
|
|
4
4
|
extend Enumerize
|
5
5
|
self.table_name = "jera_push_messages"
|
6
6
|
|
7
|
-
has_many :devices, through: :message_devices
|
8
7
|
has_many :message_devices
|
8
|
+
has_many :devices, through: :message_devices
|
9
9
|
|
10
10
|
serialize :broadcast_result
|
11
11
|
|
data/lib/jera_push/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jera_push
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -325,7 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
325
325
|
version: '0'
|
326
326
|
requirements: []
|
327
327
|
rubyforge_project:
|
328
|
-
rubygems_version: 2.
|
328
|
+
rubygems_version: 2.6.14
|
329
329
|
signing_key:
|
330
330
|
specification_version: 4
|
331
331
|
summary: Gem to use firebase push messages.
|