gapic-common 1.5.1 → 1.6.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: 3906b246e3ecacee83c366fee3cd10077a56a72b29c3490ca8ff01ac4e124d65
4
- data.tar.gz: c0a72cf00fa758234a196d385f53303d41c82cd895a17a339b185b7db529cf3b
3
+ metadata.gz: b913235ab6a4508add68839ed5249a5593fe35543c12d7c5a0fd10da958d52d4
4
+ data.tar.gz: 25da91337dde92ebab37ce20f20d6795c3eb15f70480e488fb5a76e0c3e771ab
5
5
  SHA512:
6
- metadata.gz: 4aaff885138cd52a4f822ebb51af2f2c658700e7ba71d3b1199ada4c3871343e16cb66c1fc65a44606cf178316a07bb61f553a40bcf1ffd80e98a00758e18d51
7
- data.tar.gz: 59232d7d58c9711b6e0e9e0b1da7ca3f0d69abbda9d10d4fa72412e463d8a57062a45f46131c5c24a392cbbc5e8e99be63b7491c4bcf668f77ed48b4e44a235f
6
+ metadata.gz: '093cefa2ecd695bc76f1a9bc0b90934f946e8953576b110abb834e60efa6b849e684e39d86d0c02ca560fb52b221261e348c5bf4ff7caf1c2b45256c7ea3ff21'
7
+ data.tar.gz: 12e1f11af015c7ee7df9dc3049123b998e3a3aa0d6fb7cf39cb5804620a9bd1883870b05526d8d1418d7162c2f883b1fdafa2f1731ef8ea216a53d8e884f3979
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Release History
2
2
 
3
+ ### 1.6.1 (2026-10-29)
4
+
5
+ #### Documentation
6
+
7
+ * link to the published Ruby version support policy ([#91](https://github.com/googleapis/ruby-core-libraries/issues/91))
8
+
9
+ ### 1.6.0 (2026-10-22)
10
+
11
+ #### Features
12
+
13
+ * require grpc >= 1.84.1 ([#90](https://github.com/googleapis/ruby-core-libraries/issues/90))
14
+ #### Bug Fixes
15
+
16
+ * ignore inherited Service constants in normalize_service ([#71](https://github.com/googleapis/ruby-core-libraries/issues/71)) ([47c7e98](https://github.com/googleapis/ruby-core-libraries/commit/47c7e9854904caa59955aab31a6fdacd0af200b8)), refs [#70](https://github.com/googleapis/ruby-core-libraries/issues/70)
17
+
3
18
  ### 1.5.1 (2026-09-30)
4
19
 
5
20
  #### Bug Fixes
data/README.md CHANGED
@@ -17,12 +17,10 @@ convenient and idiomatic API surface to callers.
17
17
 
18
18
  This library is supported on Ruby 3.2+.
19
19
 
20
- Google provides official support for Ruby versions that are actively supported
21
- by Ruby Core—that is, Ruby versions that are either in normal maintenance or in
22
- security maintenance, and not end of life. Older versions of Ruby _may_ still
23
- work, but are unsupported and not recommended. See
24
- https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
25
- support schedule.
20
+ Google provides official support for Ruby versions as described in the
21
+ [Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions)
22
+ policy. Older versions of Ruby _may_ still work, but are unsupported and not
23
+ recommended.
26
24
 
27
25
  ## Post-Quantum Key Exchange
28
26
 
@@ -14,6 +14,6 @@
14
14
 
15
15
  module Gapic
16
16
  module Common
17
- VERSION = "1.5.1".freeze
17
+ VERSION = "1.6.1".freeze
18
18
  end
19
19
  end
@@ -204,12 +204,14 @@ module Gapic
204
204
  input
205
205
  when Class
206
206
  mod = input.name.split("::")[..-2].inject(Object) { |m, n| m.const_get n }
207
- if mod.const_defined? "Service"
208
- mod.const_get("Service").service_name
207
+ # inherit: false so a top-level ::Service is not mistaken for the
208
+ # generated gRPC Service sibling that REST stubs do not define.
209
+ if mod.const_defined? "Service", false
210
+ mod.const_get("Service", false).service_name
209
211
  else
210
212
  name_segments = input.name.split("::")[..-3]
211
213
  mod = name_segments.inject(Object) { |m, n| m.const_get n }
212
- name_segments.join "." if mod.const_defined? "Rest"
214
+ name_segments.join "." if mod.const_defined? "Rest", false
213
215
  end
214
216
  end
215
217
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gapic-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google API Authors
@@ -139,7 +139,7 @@ dependencies:
139
139
  requirements:
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
- version: '1.83'
142
+ version: 1.84.1
143
143
  - - "<"
144
144
  - !ruby/object:Gem::Version
145
145
  version: 2.a
@@ -149,7 +149,7 @@ dependencies:
149
149
  requirements:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '1.83'
152
+ version: 1.84.1
153
153
  - - "<"
154
154
  - !ruby/object:Gem::Version
155
155
  version: 2.a