google-cloud-core 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -5
- data/lib/google/cloud/config.rb +4 -8
- data/lib/google/cloud/core/version.rb +1 -1
- metadata +4 -144
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0aa46306794e162a4f65bdf49567f4038b21d1f57c569fd4fbaf168658df84ea
|
4
|
+
data.tar.gz: 22a392cb42a97dc2a70372f98d6f96cd256dd3a3081eb860a6d85a0dd23ef630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfff627e717e5d53a22a7191d29832eb217441405ddd73aa784dc5744bda1765e0ccd9678ffe087c37deda480fceaf83108b6eb3609958e9bdabc2c70544635e
|
7
|
+
data.tar.gz: 2b3cebeb76dcb0e800d7771d68fb559bb063df6e870d656beec567680d5ffb0e03fa87b14ab2421f7efbbd7aa9fee9a13769ec397b63c60fb5862353c6618844
|
data/README.md
CHANGED
@@ -45,8 +45,6 @@ This library is licensed under Apache 2.0. Full license text is available in
|
|
45
45
|
|
46
46
|
## Support
|
47
47
|
|
48
|
-
Please
|
49
|
-
Github](https://github.com/googleapis/google-cloud-ruby/issues).
|
50
|
-
|
51
|
-
questions](http://stackoverflow.com/questions/tagged/google-cloud-platform+ruby)
|
52
|
-
about the client or APIs on [StackOverflow](http://stackoverflow.com).
|
48
|
+
Please report bugs
|
49
|
+
[on Github](https://github.com/googleapis/google-cloud-ruby/issues).
|
50
|
+
You can also ask questions about the client or APIs on StackOverflow.
|
data/lib/google/cloud/config.rb
CHANGED
@@ -257,8 +257,7 @@ module Google
|
|
257
257
|
@values[key] = @defaults[key]
|
258
258
|
@values[key].reset! if @validators[key] == SUBCONFIG
|
259
259
|
elsif @values.key? key
|
260
|
-
warn! "Key #{key.inspect} has not been added, but has a value."
|
261
|
-
" Removing the value."
|
260
|
+
warn! "Key #{key.inspect} has not been added, but has a value. Removing the value."
|
262
261
|
@values.delete key
|
263
262
|
else
|
264
263
|
warn! "Key #{key.inspect} does not exist. Nothing to reset."
|
@@ -521,8 +520,7 @@ module Google
|
|
521
520
|
key_str = key.to_s
|
522
521
|
key = key.to_sym
|
523
522
|
if key_str !~ /^[a-zA-Z]\w*$/ || ILLEGAL_KEYS.include?(key)
|
524
|
-
warn! "Illegal key name: #{key_str.inspect}. Method dispatch will"
|
525
|
-
" not work for this key."
|
523
|
+
warn! "Illegal key name: #{key_str.inspect}. Method dispatch will not work for this key."
|
526
524
|
end
|
527
525
|
warn! "Key #{key.inspect} already exists. It will be replaced." if @validators.key? key
|
528
526
|
key
|
@@ -567,13 +565,11 @@ module Google
|
|
567
565
|
case validator
|
568
566
|
when ::Proc
|
569
567
|
unless validator.call value
|
570
|
-
warn! "Invalid value #{value.inspect} for key #{key.inspect}."
|
571
|
-
" Setting anyway."
|
568
|
+
warn! "Invalid value #{value.inspect} for key #{key.inspect}. Setting anyway."
|
572
569
|
end
|
573
570
|
when Config
|
574
571
|
if value != validator
|
575
|
-
warn! "Key #{key.inspect} refers to a subconfig and shouldn't"
|
576
|
-
" be changed. Setting anyway."
|
572
|
+
warn! "Key #{key.inspect} refers to a subconfig and shouldn't be changed. Setting anyway."
|
577
573
|
end
|
578
574
|
else
|
579
575
|
warn! "Key #{key.inspect} has not been added. Setting anyway."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-03-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-env
|
@@ -45,146 +45,6 @@ dependencies:
|
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.0'
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: autotest-suffix
|
50
|
-
requirement: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.1'
|
55
|
-
type: :development
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.1'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: google-style
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.25.1
|
69
|
-
type: :development
|
70
|
-
prerelease: false
|
71
|
-
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 1.25.1
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: minitest
|
78
|
-
requirement: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '5.14'
|
83
|
-
type: :development
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '5.14'
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: minitest-autotest
|
92
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.0'
|
97
|
-
type: :development
|
98
|
-
prerelease: false
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.0'
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: minitest-focus
|
106
|
-
requirement: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '1.1'
|
111
|
-
type: :development
|
112
|
-
prerelease: false
|
113
|
-
version_requirements: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.1'
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
|
-
name: minitest-rg
|
120
|
-
requirement: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '5.2'
|
125
|
-
type: :development
|
126
|
-
prerelease: false
|
127
|
-
version_requirements: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '5.2'
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
|
-
name: redcarpet
|
134
|
-
requirement: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '3.0'
|
139
|
-
type: :development
|
140
|
-
prerelease: false
|
141
|
-
version_requirements: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '3.0'
|
146
|
-
- !ruby/object:Gem::Dependency
|
147
|
-
name: simplecov
|
148
|
-
requirement: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0.9'
|
153
|
-
type: :development
|
154
|
-
prerelease: false
|
155
|
-
version_requirements: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0.9'
|
160
|
-
- !ruby/object:Gem::Dependency
|
161
|
-
name: yard
|
162
|
-
requirement: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0.9'
|
167
|
-
type: :development
|
168
|
-
prerelease: false
|
169
|
-
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0.9'
|
174
|
-
- !ruby/object:Gem::Dependency
|
175
|
-
name: yard-doctest
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: 0.1.13
|
181
|
-
type: :development
|
182
|
-
prerelease: false
|
183
|
-
version_requirements: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 0.1.13
|
188
48
|
description: google-cloud-core is the internal shared library for google-cloud-ruby.
|
189
49
|
email:
|
190
50
|
- mike@blowmage.com
|
@@ -215,14 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
215
75
|
requirements:
|
216
76
|
- - ">="
|
217
77
|
- !ruby/object:Gem::Version
|
218
|
-
version: '2.
|
78
|
+
version: '2.7'
|
219
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
80
|
requirements:
|
221
81
|
- - ">="
|
222
82
|
- !ruby/object:Gem::Version
|
223
83
|
version: '0'
|
224
84
|
requirements: []
|
225
|
-
rubygems_version: 3.
|
85
|
+
rubygems_version: 3.5.6
|
226
86
|
signing_key:
|
227
87
|
specification_version: 4
|
228
88
|
summary: Internal shared library for google-cloud-ruby
|