hanami-events-cloud_pubsub 3.0.1 → 3.0.2

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: 9ed996f19617d35dea1812cfe7de9c53add0a7be29a25cf6735f264754f8c46c
4
- data.tar.gz: 85d62a2346e2260bc46402e7fa15a894e28c7b7b7d5b85dd7b4aa24ceaa62506
3
+ metadata.gz: 37d3b5fbc39d5156f61b017e935a4695ad39bb6e10ed435554d1f376fda584f9
4
+ data.tar.gz: 35416fe9cca3d8eefa03fd998bbe2030163aa59d4cfe88c4eba465d867355bf5
5
5
  SHA512:
6
- metadata.gz: 641c25a25fad9f9d5408818719b72d3035f9b0fcd0d162f32dab7c0c9868bf3db2c74beae12821e9fb792f19d6bcc4005854e5ee346e18415e689ecdcbc25459
7
- data.tar.gz: 56911f5ab294af2ed08a30e4e1b5e1f947e130a7d8229073ae195ab538e2d63a36dab0260410707c64264175667781bb41c93da722174dbe56c86f115d7c77e5
6
+ metadata.gz: 36a700e7622f60bdef194ed6f7041967cded5e7fbd16b83b2b0d1f10f574a1774bcf6e40c63fd29b12b8a0ee078d14fac48a0149420a89481f7b779674a063aa
7
+ data.tar.gz: '0619ed7a378a522575aa9eeb096f51058e69f3027cc9c7d3d0ad312315366bec1e2f380698ae7747fdbb92a87d77ca6c4f27bb625da9088885cf32db3e7875d1'
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- hanami-events-cloud_pubsub (3.0.1)
11
+ hanami-events-cloud_pubsub (3.0.2)
12
12
  dry-configurable (>= 0.8)
13
13
  gapic-common (>= 0.3.4)
14
14
  google-cloud-pubsub (>= 0.38.1, < 2.1)
@@ -85,6 +85,7 @@ module Hanami
85
85
 
86
86
  def run_handler(message)
87
87
  middleware.invoke(message) { handler.call(message) }
88
+ message.ack!
88
89
  rescue StandardError => e
89
90
  run_error_handlers(e, message)
90
91
  message.nack! if CloudPubsub.config.auto_retry.enabled
@@ -3,7 +3,7 @@
3
3
  module Hanami
4
4
  module Events
5
5
  module CloudPubsub
6
- VERSION = '3.0.1'
6
+ VERSION = '3.0.2'
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.0.1
4
+ version: 3.0.2
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: 2020-09-29 00:00:00.000000000 Z
11
+ date: 2020-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable