google-cloud-pubsub 2.9.1 → 2.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/cloud/pubsub/service.rb +12 -4
- data/lib/google/cloud/pubsub/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8394bc5fb6c16d7ce9e7cb3245014813255379c0e7ed8e43031e5426d0815b49
|
4
|
+
data.tar.gz: def32abf5611649a5bf1d6b4d5f2f5c13b498a79f286503bfc343d662ecf260b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e385d303a2ebad9b7ffb0510452d146af19de56cafdf8ffda81a23952fce998a2f38be41b95781ea4cc12e55e6f85782afbbbb427d2b39f96ef21477e053bded
|
7
|
+
data.tar.gz: 3e758b507919e9a06d8760a4f422eb7b91ddfb832be1a708e98569604ff87688c44a8afb5c1cdbe088194fe9a32d4d2cd08a4c7bfec7a804fa3cf44f87ca359a
|
data/CHANGELOG.md
CHANGED
@@ -255,7 +255,11 @@ module Google
|
|
255
255
|
##
|
256
256
|
# Acknowledges receipt of a message.
|
257
257
|
def acknowledge subscription, *ack_ids
|
258
|
-
|
258
|
+
begin
|
259
|
+
subscriber.acknowledge subscription: subscription_path(subscription), ack_ids: ack_ids
|
260
|
+
rescue StandardError => e
|
261
|
+
raise e unless e.cause.is_a? GRPC::BadStatus
|
262
|
+
end
|
259
263
|
end
|
260
264
|
|
261
265
|
##
|
@@ -275,9 +279,13 @@ module Google
|
|
275
279
|
##
|
276
280
|
# Modifies the ack deadline for a specific message.
|
277
281
|
def modify_ack_deadline subscription, ids, deadline
|
278
|
-
|
279
|
-
|
280
|
-
|
282
|
+
begin
|
283
|
+
subscriber.modify_ack_deadline subscription: subscription_path(subscription),
|
284
|
+
ack_ids: Array(ids),
|
285
|
+
ack_deadline_seconds: deadline
|
286
|
+
rescue StandardError => e
|
287
|
+
raise e unless e.cause.is_a? GRPC::BadStatus
|
288
|
+
end
|
281
289
|
end
|
282
290
|
|
283
291
|
##
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-pubsub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: concurrent-ruby
|
@@ -276,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
276
|
- !ruby/object:Gem::Version
|
277
277
|
version: '0'
|
278
278
|
requirements: []
|
279
|
-
rubygems_version: 3.3.
|
279
|
+
rubygems_version: 3.3.5
|
280
280
|
signing_key:
|
281
281
|
specification_version: 4
|
282
282
|
summary: API Client library for Google Cloud Pub/Sub
|