souls 0.70.5 → 0.70.6

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: 45b256b14cfcb5107253f3f651c9c0991ac09f39892aa0d0eecd7fd5ac4cb6d2
4
- data.tar.gz: 0dc54c83d05d7a24448bd76f9d5f2a6989924bacdcde536d4a5dec11a0d01a09
3
+ metadata.gz: 827933911092eae398de4cbc824707f7a9b805c2ab0f3335b50ac51e3b9bb6b5
4
+ data.tar.gz: ab287f2adba21033e56a08a531d5fcb981b07b5060b5827c5e3dc1bfea77f0ca
5
5
  SHA512:
6
- metadata.gz: c497467897603f8bcf9b3e2bcba5cfa73812213d38b637e05de35ef0067eb8f5e9900780b61bc183fac0023a7d2388961c6c21a9207145c73e0c942f9a0a7473
7
- data.tar.gz: 48858107441f184987d2b87775a0941699820a9104fe0bd657a1b4a8067bda44ae758cdca5db094fc58cb12558f9e4a0e8d6fe18af1bcc2adb7d27008a44273c
6
+ metadata.gz: b77346948431ac4cdbd597cb0c666f97cbb24fd5135b393968e0045625849e242036ad92e8721f92a91829cb762b9d671d80da6bc1bd390ee951be6a5cc3838b
7
+ data.tar.gz: 6bbf92e502229016ff9f9beff354815519219706ebf678d5c9537d2cf67c4a113df0153fd30014bfc164f7f8fc30388ade2629dc0c135445d41547c49468512a
@@ -55,6 +55,7 @@ module Souls
55
55
  end
56
56
 
57
57
  def create_push_subscription(topic_id: "mailer")
58
+ app = Souls.configuration.app
58
59
  require("#{Souls.get_mother_path}/config/souls")
59
60
  worker_name = topic_id.split("_")[1]
60
61
 
@@ -62,7 +63,7 @@ module Souls
62
63
  endpoint = ""
63
64
  worker_paths = Souls.configuration.workers
64
65
  worker_paths.each do |worker|
65
- endpoint = worker[:endpoint] if worker[:name] == worker_name
66
+ endpoint = worker[:endpoint] if worker[:name] == "souls-#{app}-#{worker_name}"
66
67
  end
67
68
 
68
69
  project_id = Souls.configuration.project_id
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.70.5".freeze
2
+ VERSION = "0.70.6".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.49.5
1
+ 0.49.6
@@ -1 +1 @@
1
- 0.49.5
1
+ 0.49.6
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.70.5
4
+ version: 0.70.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI