jera_push 2.1.3 → 2.1.4

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
2
  SHA256:
3
- metadata.gz: d24c2d105f438186df3d49d8e68a7b6b1728476d6ace7c2315d66dc57ebaed21
4
- data.tar.gz: ef084a4c6de9df4c9461c325b7a22860cf8a79c0332ee5f2f111aeda26daed73
3
+ metadata.gz: bacdcafc77ea174f2845709190af057b04d05911a0ae685d1f3cf23e40b3c455
4
+ data.tar.gz: 43eaa09a9a059bee8bc22284c8be0581f20c7ad198a17ca17f43384c0d8481b7
5
5
  SHA512:
6
- metadata.gz: d113132fff3cbb6d65e12267b3c299c96c447dae7e581c7b24b3136789b097213434df2424255e0fee76ec70ce23374dec9474c2f7aa1f4cdad1cc44a570f40c
7
- data.tar.gz: a58686a6dd3d64ada7595d792b01c6e81a42a490638e560e14690576e93e9d4f00aaa5ba6990d551129ff9e72c87eb50dcbe4270023742d2ef01ec2c170784db
6
+ metadata.gz: afc60f08c70e9537018a7a091e985369f7ffc1b83f13b9107d2f1a6f34022d6f4ab40ced218031288724d31fb547966fa6edafe12833c43cb9a7bdebb9ff76a6
7
+ data.tar.gz: cdb54bbb7fd80e982a987421829603495f7ac2c16bd6dd525aa4c27c65a60aed560d031cb9fe090ebef162a5b72622070b9225dc2ca82a44b1880087ad583a25
@@ -3,7 +3,7 @@ module JeraPush::Services
3
3
  def initialize(push:)
4
4
  super
5
5
  @push = push
6
- @device = @push.devices
6
+ @devices = @push.devices
7
7
  end
8
8
 
9
9
  def call
@@ -29,9 +29,9 @@ module JeraPush::Services
29
29
 
30
30
  def send_push_to_devices
31
31
  @devices.each do |device|
32
- message_device = @message.message_devices.create(device: device)
32
+ @message_device = @message.message_devices.create(device: device)
33
33
  @push.device = device
34
- send_push(device, message_device)
34
+ send_push
35
35
  end
36
36
  end
37
37
 
@@ -1,3 +1,3 @@
1
1
  module JeraPush
2
- VERSION = "2.1.3"
2
+ VERSION = "2.1.4"
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: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails