google-cloud-core 1.7.1 → 1.8.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: 500a161dbfd04537d19002ad0fe675eee039ebd270a9fe71e7ed541b0285b362
4
- data.tar.gz: fe13c81581a4e68c175df7f33973bd7d80c84e6c7d527b8905a7cecd38f4cb23
3
+ metadata.gz: c100d683c8d34747c4b84320876f9c00727b196ba5ffca285d78df6e4d70dd42
4
+ data.tar.gz: e8ebd39aa549bd241482a034ffac04c0917e030326f06afd79e0f1ab4ad189e8
5
5
  SHA512:
6
- metadata.gz: 1f06f0e3019d700407b7f62f22d220d62aa861062ceda3a06b7d4f1d9a95b93dafd7ab08466b828af174896e187b3e1c2271321da9b7ed5b7043af7091a89a94
7
- data.tar.gz: 79279005b064fb7ddfced51f5745701a139ea3b03886f314272564d733ef59149110c31bcc584e64bfca36b6ef56d2ef391a919e288c0f7c5f3a9740a703d09b
6
+ metadata.gz: 61669a90d6737b7c31f996e745eda2b125426905f889b264a45a096f1999f6dfa4c9bb9834983c25fcb2c88b75eaa84c7c12a0b4299c17984d8f40205f26027c
7
+ data.tar.gz: 3a87cb7d348928792809934f4d69f2308c2dd9e68e06d5ab20a3f136233d7077e6d5b1002514672d4869d570ed2dd0a86782d22761e6aae6ddd3fbbcfa518178
data/README.md CHANGED
@@ -9,14 +9,14 @@ information about the individual google-cloud gems.
9
9
 
10
10
  ## Supported Ruby Versions
11
11
 
12
- This library is supported on Ruby 2.5+.
12
+ This library is supported on Ruby 3.0+.
13
13
 
14
14
  Google provides official support for Ruby versions that are actively supported
15
- by Ruby Core—that is, Ruby versions that are either in normal maintenance or in
16
- security maintenance, and not end of life. Currently, this means Ruby 2.5 and
17
- later. Older versions of Ruby _may_ still work, but are unsupported and not
18
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
19
- about the Ruby support schedule.
15
+ by Ruby Core—that is, Ruby versions that are either in normal maintenance or
16
+ in security maintenance, and not end of life. Older versions of Ruby _may_
17
+ still work, but are unsupported and not recommended. See
18
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
19
+ support schedule.
20
20
 
21
21
  ## Versioning
22
22
 
@@ -356,7 +356,7 @@ module Google
356
356
  #
357
357
  def alias? key
358
358
  target = @validators[key.to_sym]
359
- target.is_a?(::Symbol) ? target : nil
359
+ target.is_a?(::Symbol) ? target : nil # rubocop:disable Style/ReturnNilInPredicateMethodDefinition
360
360
  end
361
361
 
362
362
  ##
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Core
19
- VERSION = "1.7.1".freeze
19
+ VERSION = "1.8.0".freeze
20
20
  end
21
21
  end
22
22
  end
data/lib/google/cloud.rb CHANGED
@@ -156,9 +156,15 @@ module Google
156
156
  # @private
157
157
  #
158
158
  def self.auto_load_files
159
- return Gem.find_latest_files "google-cloud-*.rb" if Gem.respond_to? :find_latest_files
160
- # Ruby 2.0 does not have Gem.find_latest_files
161
- Gem.find_files "google-cloud-*.rb"
159
+ paths = []
160
+ Gem.loaded_specs.each_value do |spec|
161
+ next unless spec.name.start_with? "google-cloud-"
162
+ Dir.glob spec.lib_dirs_glob do |dir|
163
+ path = File.join dir, "#{spec.name}.rb"
164
+ paths << path if File.file? path
165
+ end
166
+ end
167
+ paths
162
168
  end
163
169
  end
164
170
  end
@@ -0,0 +1,15 @@
1
+ # Copyright 2025 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Empty file: google-cloud-core gem has no entrypoint
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  - Chris Smith
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-08-05 00:00:00.000000000 Z
11
+ date: 2025-03-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: google-cloud-env
@@ -59,6 +58,7 @@ files:
59
58
  - CONTRIBUTING.md
60
59
  - LICENSE
61
60
  - README.md
61
+ - lib/google-cloud-core.rb
62
62
  - lib/google/cloud.rb
63
63
  - lib/google/cloud/config.rb
64
64
  - lib/google/cloud/core/version.rb
@@ -67,7 +67,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-clo
67
67
  licenses:
68
68
  - Apache-2.0
69
69
  metadata: {}
70
- post_install_message:
71
70
  rdoc_options: []
72
71
  require_paths:
73
72
  - lib
@@ -75,15 +74,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
74
  requirements:
76
75
  - - ">="
77
76
  - !ruby/object:Gem::Version
78
- version: '2.7'
77
+ version: '3.0'
79
78
  required_rubygems_version: !ruby/object:Gem::Requirement
80
79
  requirements:
81
80
  - - ">="
82
81
  - !ruby/object:Gem::Version
83
82
  version: '0'
84
83
  requirements: []
85
- rubygems_version: 3.5.6
86
- signing_key:
84
+ rubygems_version: 3.6.5
87
85
  specification_version: 4
88
86
  summary: Internal shared library for google-cloud-ruby
89
87
  test_files: []