souls 0.67.3 → 0.68.0

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: 2ea18c5d8e5db2d8ce10b76f069e56f342bb17f4fb3965c292028d455773f22f
4
- data.tar.gz: 2f52323e8c002c4798a17bb4a92c004b06af456a7d1c4918909338c766099ba9
3
+ metadata.gz: 344ff76de6a0a8d6c520215f572455bcb0f83131e636c0b0fd8ecb2fd6f31255
4
+ data.tar.gz: 18be246dcd49f8b2863861b588c6066361fe984d73a22180c883b33e32e0eb0b
5
5
  SHA512:
6
- metadata.gz: 5e6ff3c3ac40131edaf62bf100af8aff513c5d5c3d9dfe7e7f87d670122c7bbbf7014beb76a85698d811b4b5bb9131090424bdd609946eb7b8eb64a0726cf445
7
- data.tar.gz: 10595cbb552d2cb92c0e5c579abe475ab6641a251d49946e0912d7fb962f6007da13f9feeb60ab480e6501c89918bd5674003385b73e2abbf4af28962fc148b6
6
+ metadata.gz: f937b45df604657f676dde4a085b9d572e03ed7afec4e6db30029f8c5bb3663bafe781b62428d8ee13fa4dc4b584d6602e95b036e932b5d57e62835e1d89d3d0
7
+ data.tar.gz: c2777fda8e56d4decd0d732bd8758026332dcc5808a337a19e45d91b5f87a2c20f0510306b99decc11e6139551f65a681369bf5c62a036edb72418fc684c58b6
@@ -28,7 +28,7 @@ module Souls
28
28
 
29
29
  it "return StockSheet Data" do
30
30
  begin
31
- a1 = result.dig("data", "#{singularized_class_name.camelize(:lower)}", "response")
31
+ a1 = result.dig("data", "#{singularized_class_name.camelize(:lower)}")
32
32
  raise unless a1.present?
33
33
  rescue StandardError
34
34
  raise(StandardError, result)
@@ -14,7 +14,7 @@ module Souls
14
14
  def get_topics(workers: {})
15
15
  app_name = Souls.configuration.app
16
16
  project_id = Souls.configuration.project_id
17
- pubsub = Google::Cloud::Pubsub.new
17
+ pubsub = Google::Cloud::Pubsub.new(project_id: ENV["PROJECT_ID"])
18
18
  topics = pubsub.topics
19
19
 
20
20
  topic_names =
@@ -41,7 +41,7 @@ module Souls
41
41
 
42
42
  def create_topic(topic_id: "mailer")
43
43
  app_name = Souls.configuration.app
44
- pubsub = Google::Cloud::Pubsub.new
44
+ pubsub = Google::Cloud::Pubsub.new(project_id: ENV["PROJECT_ID"])
45
45
  topic_name = "souls_#{app_name}_#{topic_id}"
46
46
  topic = pubsub.create_topic(topic_name.to_s)
47
47
  puts("Topic #{topic.name} created.")
@@ -49,7 +49,7 @@ module Souls
49
49
 
50
50
  def delete_topic(topic_id: "mailer")
51
51
  app_name = Souls.configuration.app
52
- pubsub = Google::Cloud::Pubsub.new
52
+ pubsub = Google::Cloud::Pubsub.new(project_id: ENV["PROJECT_ID"])
53
53
  topic_name = "souls_#{app_name}_#{topic_id}"
54
54
  topic = pubsub.topic(topic_name.to_s)
55
55
  topic.delete
@@ -69,7 +69,7 @@ module Souls
69
69
  endpoint = worker[:endpoint] if worker[:name] == worker_name
70
70
  end
71
71
 
72
- pubsub = Google::Cloud::Pubsub.new
72
+ pubsub = Google::Cloud::Pubsub.new(project_id: ENV["PROJECT_ID"])
73
73
 
74
74
  topic = pubsub.topic(topic_name)
75
75
  sub = topic.subscribe(subscription_id, endpoint: endpoint, deadline: 20)
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.67.3".freeze
2
+ VERSION = "0.68.0".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.46.3
1
+ 0.47.0
@@ -1 +1 @@
1
- 0.46.3
1
+ 0.47.0
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.67.3
4
+ version: 0.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI