hanami-events-cloud_pubsub 3.1.2 → 3.1.3

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: c1f785cf3b473394906aadc0906661072aaa1e5721b1a24401fc3333df270e14
4
- data.tar.gz: cc270e1411137b1b5bedfbb0b110d8d7dacbdf8f1d217e13b4ae30f9a17f4fa5
3
+ metadata.gz: 9e0fdfeb61f064d5c8f1a85649abd16a1613d74989d176cf5b27d887aa907f4a
4
+ data.tar.gz: fec712a0d1ec1bbe6993698c1665a4c7c9fe534433b50666f99b14cfa08a1a81
5
5
  SHA512:
6
- metadata.gz: 178c1973c428c9bbbdb354526f42304d31a38158c6f4816c502c1772d04b3c99c4f60f9121c771c4307d8aeeaaf0f0e79ae5d6ad81c2feb7b9fe1df2c8b00f8e
7
- data.tar.gz: 0d17cd8d26d82f4803d501ac876accaa43d4226a22308dbf99752e5cd7ccff66777cba192f3daba79a43360a21289390c2da34379bf09fa4e55f652ce6b64da3
6
+ metadata.gz: c2cb0dd0af7b23c989ba9ac184956b16a31b8aa7c118c417957af2359539fbb41430a6ae5d8589fad9964f8898c70a2622e7341f93f40c1c8e473ffd912930bd
7
+ data.tar.gz: 783d050027e2536e1f25bc82b1b5998f70da9f11fea84cd9d6645b440d2e05d69fa5cd27d51a34681e576463b6e05333d5dc6cd97c7456b92611a8b8708c200d
@@ -7,7 +7,6 @@ require 'hanami/events/cloud_pubsub/middleware/stack'
7
7
  require 'hanami/events/cloud_pubsub/middleware/logging'
8
8
  require 'hanami/events/cloud_pubsub/runner'
9
9
  require 'hanami/events/cloud_pubsub/errors'
10
- require 'google/cloud/pubsub'
11
10
  require 'dry-configurable'
12
11
 
13
12
  module Hanami
@@ -97,6 +96,7 @@ module Hanami
97
96
  end
98
97
 
99
98
  def self.finalize_settings!
99
+ require 'google/cloud/pubsub'
100
100
  conf_hash = config.pubsub
101
101
  conf_hash.each { |key, val| Google::Cloud::Pubsub.configure[key] = val }
102
102
  end
@@ -33,6 +33,8 @@ module Hanami
33
33
  conf.cloud_pubsub.each { |blk| blk.call(config) }
34
34
  end
35
35
 
36
+ require 'google/cloud/pubsub'
37
+
36
38
  ::Hanami::Events.initialize(
37
39
  :cloud_pubsub,
38
40
  pubsub: Google::Cloud::Pubsub.new,
@@ -3,7 +3,7 @@
3
3
  module Hanami
4
4
  module Events
5
5
  module CloudPubsub
6
- VERSION = '3.1.2'
6
+ VERSION = '3.1.3'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-events-cloud_pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Ker-Seymer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-26 00:00:00.000000000 Z
11
+ date: 2021-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable