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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 74e08fa2bc750a661b3cff54d88fc8c97d04d511c7e52d023079290147f5369e
4
- data.tar.gz: b9e7a10891d558aa781e7d3b2da01db4bb3512d1cda964fd23d8ecb52ddf264c
2
+ SHA1:
3
+ metadata.gz: dd6143d0c978c381fba0550503722112b166f4ec
4
+ data.tar.gz: 587d0372132e711f12e0df36116360213eca847f
5
5
  SHA512:
6
- metadata.gz: 6ca665bf3b55c0e6c168881990e0bb2142ef0fc450a5a35d34644882770243650355b7a4d6c2ed106324449da38542530cd78ff6ce798e749dea925e8137b93e
7
- data.tar.gz: 249fb9529389f27c972f2dfe574aabfa5d7069ab924afa49ee4930326b1dee78da4dc9ad95a85cfad05c0163fa2ee1c1f68d6e4601aa71e9cbb4e86043907578
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
 
@@ -1,3 +1,3 @@
1
1
  module JeraPush
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
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.0
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-07-26 00:00:00.000000000 Z
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.7.3
328
+ rubygems_version: 2.6.14
329
329
  signing_key:
330
330
  specification_version: 4
331
331
  summary: Gem to use firebase push messages.