google-cloud-pubsub 3.1.0 → 3.1.1

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: 0b807c188d7948862efc100d1d0c2bd06eb7495fe9031719e5c80f395093b491
4
- data.tar.gz: 955a2d3cd3b3777a938a58e933c6aa8714a62ad21949daf8b7fd7efdfbd64091
3
+ metadata.gz: f0880df55e564ea3c1957ffc6635ff732a24ea68e16d9ecc71ef85d2269c67d4
4
+ data.tar.gz: 020d4c4b520cf66a25ad9b7cb29f8ed3b8f9f79209a1a9109a191266110d5d93
5
5
  SHA512:
6
- metadata.gz: 7f953960c1f7d30b5de38591d3f5c7c6ad27404ca99b93593ce8e41b772c3a5043731c861a9283bc7c15f1210ccb0aa3be8f50a94e46a73db5b835ab23402f59
7
- data.tar.gz: 8e227ff927d181ef32dbcc85fe8dffcb9d66aa80fcc203d13fec166b83a05b92066c10423805269b40f7fd4a05530b1c30163560f4a955678fd704f00ea83f7f
6
+ metadata.gz: c7ac944e1409ad5c6869c2939dcba39ada5b34a44e44841d2fd2fb5ae6951420522c6779184453a5b96c795f27093f1e78f7d7ca45de452fdbe42c712d39d1e9
7
+ data.tar.gz: 46e5ce7c266598d1895291aebb16c1e12ac531bd151b696bc6047aa25b6f7d5adc52bb78fa0811fb6e2229cf4b49e1cdf98fb5fc8b6e066b09056c5fd9985950
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 3.1.1 (2025-12-16)
4
+
5
+ #### Bug Fixes
6
+
7
+ * Remove get_topic lookup when publishing via lazy loading ([#32273](https://github.com/googleapis/google-cloud-ruby/issues/32273))
8
+
3
9
  ### 3.1.0 (2025-12-12)
4
10
 
5
11
  #### Features
@@ -213,7 +213,7 @@ module Google
213
213
  #
214
214
  def publish data = nil, attributes = nil, ordering_key: nil, compress: nil, compression_bytes_threshold: nil,
215
215
  **extra_attrs, &block
216
- ensure_grpc!
216
+ ensure_service!
217
217
  batch = BatchPublisher.new data,
218
218
  attributes,
219
219
  ordering_key,
@@ -337,7 +337,7 @@ module Google
337
337
  # publisher.async_publisher.stop!
338
338
  #
339
339
  def publish_async data = nil, attributes = nil, ordering_key: nil, **extra_attrs, &callback
340
- ensure_grpc!
340
+ ensure_service!
341
341
  @async_publisher ||= AsyncPublisher.new name, service, **@async_opts
342
342
  @async_publisher.publish data, attributes, ordering_key: ordering_key, **extra_attrs, &callback
343
343
  end
@@ -415,13 +415,6 @@ module Google
415
415
  def ensure_service!
416
416
  raise "Must have active connection to service" unless service
417
417
  end
418
-
419
- ##
420
- # Ensures a Google::Cloud::PubSub::V1::Topic object exists.
421
- def ensure_grpc!
422
- ensure_service!
423
- reload! if reference?
424
- end
425
418
  end
426
419
  end
427
420
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "3.1.0".freeze
19
+ VERSION = "3.1.1".freeze
20
20
  end
21
21
 
22
22
  Pubsub = PubSub unless const_defined? :Pubsub
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: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore