souls 1.0.4 → 1.0.5

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: 9e3525a04bc649413b5c96f81f3c1a9cbebc57c37b4b87375fb6c559898a6ec2
4
- data.tar.gz: a857ecd8ba137e6a9c4171c66b35293929a814266e34670cebc7ef0b1d46200f
3
+ metadata.gz: 94e0177f23cdc02ccddd6a98c0c473d435850997208e2b468cba56a064d531a3
4
+ data.tar.gz: b437b6ff707949ceca549a553399fa048e71547ddff0c0d3034d5966a35c82c7
5
5
  SHA512:
6
- metadata.gz: 411a5d3163622009602ce86d691892b904a5c13bd6154de9db149dec09a9f51199a2c2dec64faee840ba847fd20badd1b6b01fb38a3f7f1c5dd88067d0a4d522
7
- data.tar.gz: 8f637b81a378f151aff45116d88c3cd081a360c56bf6a51729ae8b336be95ea4bb54dafb57433d43ca7dd4e819c95633bc4168291a148af32e601239355d008f
6
+ metadata.gz: e5e6d741d7502db4412f4d651512d513faf086ec8a43cef194974b46d244e9793941f16517d897a51d6a9accdc07c8a8ce1f76aa7b6f03309401bcb8d9d5334c
7
+ data.tar.gz: 00a78a46e14a759219c443bc6aa4a53934672439d391f32db6ff06564e9d734bf4cb1821ee836867aee6fb57e31efc8aa20d45ed5f51dac54e78895e17d02a22
@@ -48,10 +48,9 @@ module Souls
48
48
  def delete_topic(topic_id: "mailer")
49
49
  project_id = Souls.configuration.project_id
50
50
  pubsub = Google::Cloud::Pubsub.new(project_id: project_id)
51
- topic_name = "#{topic_id}_sub"
52
- topic = pubsub.topic(topic_name.to_s)
51
+ topic = pubsub.topic(topic_id.to_s)
53
52
  topic.delete
54
- puts("Topic #{topic_name} deleted.")
53
+ puts("Topic #{topic_id} deleted.")
55
54
  end
56
55
 
57
56
  def create_push_subscription(topic_id: "mailer")
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.0.4".freeze
2
+ VERSION = "1.0.5".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
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: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI