google-geo-type 1.1.0 → 1.2.0

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: 4e216e4533d1b0a6b5f976243e3274a4be556ae85cf864b8314f5ad962a3844b
4
- data.tar.gz: 796c5a7e89c6ca6ad725579936bd09adb3612dc0bf21f27406adb29474990918
3
+ metadata.gz: b78fbf8bac7010b1b83d41bba399117b3a5ba5a0130ad2f18b3f4fb9a86bbd6f
4
+ data.tar.gz: da3225f878c27a93d9c0e60158b9a9702ba4e0cb0386579bffcbfca8edf6e2f9
5
5
  SHA512:
6
- metadata.gz: 14b7a5df2f94a00bcffc247523af5ae57f62d3e87f8822530ebb0af3d5438f57d8870a202a007d1d2bb23b434957e634fa2d70d641e9a310be6920c08ea434ae
7
- data.tar.gz: 0a762c9d0938292cc35df2335412125f2919ce162a3a6008545ae366999de830bad46eedf67aadbaece2ee890e749d8a9afaf9729f8ca6833251c47d9f77a09c
6
+ metadata.gz: 84a69130f863a4d7974d4767e8532ae2db0323fc6149f7d547f8bf7e85ca2f5aec8838c8f736d3e71efff000744ec597a9ada17e8d7cae05159886017c8c4d5a
7
+ data.tar.gz: 4947eeb78b6ab8311f4f60ef33fa0b19b9d9830fd181ce6cd6ce99dffd57efec8147263b8dd43ed5c01b43ab693017186aaf182ccc50fc1b314b393570eaa343
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.2.0 (2026-05-19)
4
+
5
+ #### Features
6
+
7
+ * Regenerate protos and support Ruby min_version 3.2 ([#412](https://github.com/googleapis/common-protos-ruby/issues/412))
8
+
3
9
  ### 1.1.0 (2025-04-30)
4
10
 
5
11
  #### Features
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module Geo
19
19
  module Type
20
- VERSION = "1.1.0".freeze
20
+ VERSION = "1.2.0".freeze
21
21
  end
22
22
  end
23
23
  end
@@ -9,30 +9,8 @@ require 'google/type/latlng_pb'
9
9
 
10
10
  descriptor_data = "\n\x1egoogle/geo/type/viewport.proto\x12\x0fgoogle.geo.type\x1a\x18google/type/latlng.proto\"O\n\x08Viewport\x12 \n\x03low\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12!\n\x04high\x18\x02 \x01(\x0b\x32\x13.google.type.LatLngBo\n\x13\x63om.google.geo.typeB\rViewportProtoP\x01Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\xa2\x02\x04GGTPb\x06proto3"
11
11
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ["google.type.LatLng", "google/type/latlng.proto"],
26
- ]
27
- imports.each do |type_name, expected_filename|
28
- import_file = pool.lookup(type_name).file_descriptor
29
- if import_file.name != expected_filename
30
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
- end
32
- end
33
- warn "Each proto file must use a consistent fully-qualified name."
34
- warn "This will become an error in the next major version."
35
- end
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
36
14
 
37
15
  module Google
38
16
  module Geo
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-geo-type
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -65,14 +65,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '3.1'
68
+ version: '3.2'
69
69
  required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.6.8
75
+ rubygems_version: 3.6.9
76
76
  specification_version: 4
77
77
  summary: Common protocol buffer types used by client libraries
78
78
  test_files: []