google-cloud-core 1.7.0 → 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 +4 -4
- data/README.md +6 -6
- data/lib/google/cloud/config.rb +11 -1
- data/lib/google/cloud/core/version.rb +1 -1
- data/lib/google/cloud.rb +9 -3
- data/lib/google-cloud-core.rb +15 -0
- metadata +5 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c100d683c8d34747c4b84320876f9c00727b196ba5ffca285d78df6e4d70dd42
|
4
|
+
data.tar.gz: e8ebd39aa549bd241482a034ffac04c0917e030326f06afd79e0f1ab4ad189e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
16
|
-
security maintenance, and not end of life.
|
17
|
-
|
18
|
-
|
19
|
-
|
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
|
|
data/lib/google/cloud/config.rb
CHANGED
@@ -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
|
##
|
@@ -483,6 +483,16 @@ module Google
|
|
483
483
|
false
|
484
484
|
end
|
485
485
|
|
486
|
+
##
|
487
|
+
# @private
|
488
|
+
# Implement standard is_a check
|
489
|
+
#
|
490
|
+
# @return [boolean]
|
491
|
+
#
|
492
|
+
def is_a? klass
|
493
|
+
klass == Config
|
494
|
+
end
|
495
|
+
|
486
496
|
private
|
487
497
|
|
488
498
|
##
|
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
|
-
|
160
|
-
|
161
|
-
|
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.
|
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:
|
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: '
|
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
|
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: []
|