souls 0.54.3 → 0.54.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53c5c3c3b126d09ed908779a58a108cdf285ce537b2f43b0366ca57d5f8bd6a3
4
- data.tar.gz: 60202f9d7ed20dbe6d65db7f1640ebe536141e4e460b47b1847f523021b908c7
3
+ metadata.gz: eef7cd565e70dfb4a040f2ff59c1c52b1419ea2edd0a3e47ff72bd31a27df54f
4
+ data.tar.gz: d6c85ac5fb93ecdaa41bdf81f66f90949c1a04e1027cc2bf7af200f71b7d7afb
5
5
  SHA512:
6
- metadata.gz: 589e2ea10f44874b5b47534807371a1ebd8081b51c1e2632829f6cfaf744c9d83e76d8290fdf81f7fb6b4f80026509dd5319a7da472fe6c24b42b765ec00beab
7
- data.tar.gz: af6a4b04819391bd7d8efc222ad166dedb7629134667f9f648b2d729980f799d41c5aaaa59223d00fbd3d7192ac91d6b61907f3da6f6832bfdd9069350b60854
6
+ metadata.gz: 03a9e2e99b87528271665deabc8abff05b139863a4da93a7fc03a92b9ea78a34f8dc91cecf89c0e5fb1f45f188fdf807cea0b9dbe590c7df647f50201a506ed3
7
+ data.tar.gz: 9b84af82597b9bff3d155da20cabf70d2acb1e9b6117a5f3362dc7d5f19b5f300fb96c3b2732e4da592b205c6a15acac01282bb29f518600b881e94b168b9095
@@ -58,9 +58,9 @@ module Souls
58
58
 
59
59
  def create_push_subscription(topic_id: "mailer")
60
60
  require("#{Souls.get_mother_path}/config/souls")
61
- worker_name = topic_id.split("_")[0]
62
61
  app_name = Souls.configuration.app
63
62
  topic_name = "souls_#{app_name}_#{topic_id}"
63
+ worker_name = topic_id.split("_")[0]
64
64
 
65
65
  subscription_id = "#{topic_name}_sub"
66
66
  endpoint = ""
@@ -71,7 +71,7 @@ module Souls
71
71
 
72
72
  pubsub = Google::Cloud::Pubsub.new
73
73
 
74
- topic = pubsub.topic(topic_id)
74
+ topic = pubsub.topic(topic_name)
75
75
  sub = topic.subscribe(subscription_id, endpoint: endpoint, deadline: 20)
76
76
  sub.expires_in = nil
77
77
  puts("Push subscription #{subscription_id} created.")
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.54.3".freeze
2
+ VERSION = "0.54.4".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.33.3
1
+ 0.33.4
@@ -1 +1 @@
1
- 0.33.3
1
+ 0.33.4
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.3
4
+ version: 0.54.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI