google-cloud-pubsub 2.15.4 → 2.15.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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/cloud/pubsub/service.rb +2 -2
- data/lib/google/cloud/pubsub/subscriber/stream.rb +4 -3
- 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: e2a4108df2f16d93f03bb560375274bb816a5958c8c0ad22ca061943ef40ee24
|
|
4
|
+
data.tar.gz: 8efa65c9aed030d0b1832aa8d0aec7ef4e9d8605a427bef6517cf77d9e363d5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1599c8a8adac4fdde84b5782cfa4f4f8c236528452966496a9fce7343b05076772a6c071f99114d7bb93813d0707975e892c262a30616ed13232ce85dfe1b63d
|
|
7
|
+
data.tar.gz: 1c661569d004bfc3abd20e60938cad744faa5b474a8df6a67f0b6c36e6c428744e76703fc25e73d20298372894880a40a963a923e21059cd9f4f5454c4b65c01
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
### 2.15.5 (2023-11-06)
|
|
4
|
+
|
|
5
|
+
#### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* set x-goog-request-params for streaming pull request ([#23508](https://github.com/googleapis/google-cloud-ruby/issues/23508))
|
|
8
|
+
|
|
9
|
+
### 2.15.4 (2023-05-19)
|
|
10
|
+
|
|
11
|
+
#### Documentation
|
|
12
|
+
|
|
13
|
+
* Fixed broken links in authentication documentation ([#21619](https://github.com/googleapis/google-cloud-ruby/issues/21619))
|
|
14
|
+
|
|
3
15
|
### 2.15.4 (2023-05-18)
|
|
4
16
|
|
|
5
17
|
#### Documentation
|
|
@@ -240,8 +240,8 @@ module Google
|
|
|
240
240
|
return_immediately: return_immediately
|
|
241
241
|
end
|
|
242
242
|
|
|
243
|
-
def streaming_pull request_enum
|
|
244
|
-
subscriber.streaming_pull request_enum
|
|
243
|
+
def streaming_pull request_enum, options = {}
|
|
244
|
+
subscriber.streaming_pull request_enum, options
|
|
245
245
|
end
|
|
246
246
|
|
|
247
247
|
##
|
|
@@ -231,7 +231,8 @@ module Google
|
|
|
231
231
|
end
|
|
232
232
|
|
|
233
233
|
# Call the StreamingPull API to get the response enumerator
|
|
234
|
-
|
|
234
|
+
options = { :"metadata" => { :"x-goog-request-params" => @subscriber.subscription_name } }
|
|
235
|
+
enum = @subscriber.service.streaming_pull @request_queue.each, options
|
|
235
236
|
|
|
236
237
|
loop do
|
|
237
238
|
synchronize do
|
|
@@ -253,7 +254,7 @@ module Google
|
|
|
253
254
|
# Use synchronize so changes happen atomically
|
|
254
255
|
synchronize do
|
|
255
256
|
update_min_duration_per_lease_extension new_exactly_once_delivery_enabled
|
|
256
|
-
@exactly_once_delivery_enabled = new_exactly_once_delivery_enabled unless new_exactly_once_delivery_enabled.nil?
|
|
257
|
+
@exactly_once_delivery_enabled = new_exactly_once_delivery_enabled unless new_exactly_once_delivery_enabled.nil?
|
|
257
258
|
@subscriber.exactly_once_delivery_enabled = @exactly_once_delivery_enabled
|
|
258
259
|
|
|
259
260
|
# Create receipt of received messages reception
|
|
@@ -271,7 +272,7 @@ module Google
|
|
|
271
272
|
# No need to synchronize the callback future
|
|
272
273
|
register_callback rec_msg
|
|
273
274
|
end if !@exactly_once_delivery_enabled # Exactly once delivery scenario is handled by callback
|
|
274
|
-
|
|
275
|
+
|
|
275
276
|
synchronize { pause_streaming! }
|
|
276
277
|
rescue StopIteration
|
|
277
278
|
break
|
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.15.
|
|
4
|
+
version: 2.15.5
|
|
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: 2023-
|
|
12
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: concurrent-ruby
|
|
@@ -291,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
291
291
|
- !ruby/object:Gem::Version
|
|
292
292
|
version: '0'
|
|
293
293
|
requirements: []
|
|
294
|
-
rubygems_version: 3.4.
|
|
294
|
+
rubygems_version: 3.4.19
|
|
295
295
|
signing_key:
|
|
296
296
|
specification_version: 4
|
|
297
297
|
summary: API Client library for Google Cloud Pub/Sub
|