google-cloud-core 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0da3f7e70a825960a1eefff5508fadf4e4e58005a16c1ee0cf3f1c9f04af65bb
4
- data.tar.gz: 82b1d53b8a7339152f8a65a2c0ded58ac4edc1549c24eeff03c9bdaae0f10c56
3
+ metadata.gz: 0aa46306794e162a4f65bdf49567f4038b21d1f57c569fd4fbaf168658df84ea
4
+ data.tar.gz: 22a392cb42a97dc2a70372f98d6f96cd256dd3a3081eb860a6d85a0dd23ef630
5
5
  SHA512:
6
- metadata.gz: 9c29b01b9004f1cbe7a93a56e69286bce35a582f012ba819876f41667dc8b7b19d92c4f1108c314099d56882c9fe1022fe4a38d05dd76a70fda5bd48d78a0365
7
- data.tar.gz: af2334493f6309401623c8c3c6b4712f421a3ce12563b1cf6a8ffa5dc03380e8afb043590d0a56fe397ef645aa89458af57df718cf0fd9a01f2ac5291fb09ed1
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 [report bugs at the project on
49
- Github](https://github.com/googleapis/google-cloud-ruby/issues). Don't
50
- hesitate to [ask
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.
@@ -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."
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Core
19
- VERSION = "1.6.0".freeze
19
+ VERSION = "1.7.0".freeze
20
20
  end
21
21
  end
22
22
  end
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.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,176 +9,42 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-03-10 00:00:00.000000000 Z
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
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '1.0'
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
18
+ - - ">="
26
19
  - !ruby/object:Gem::Version
27
20
  version: '1.0'
28
- - !ruby/object:Gem::Dependency
29
- name: google-cloud-errors
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - "~>"
21
+ - - "<"
33
22
  - !ruby/object:Gem::Version
34
- version: '1.0'
23
+ version: 3.a
35
24
  type: :runtime
36
25
  prerelease: false
37
26
  version_requirements: !ruby/object:Gem::Requirement
38
27
  requirements:
39
- - - "~>"
28
+ - - ">="
40
29
  - !ruby/object:Gem::Version
41
30
  version: '1.0'
42
- - !ruby/object:Gem::Dependency
43
- name: autotest-suffix
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
31
+ - - "<"
47
32
  - !ruby/object:Gem::Version
48
- version: '1.1'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - "~>"
54
- - !ruby/object:Gem::Version
55
- version: '1.1'
33
+ version: 3.a
56
34
  - !ruby/object:Gem::Dependency
57
- name: google-style
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: 1.25.1
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: 1.25.1
70
- - !ruby/object:Gem::Dependency
71
- name: minitest
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '5.14'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '5.14'
84
- - !ruby/object:Gem::Dependency
85
- name: minitest-autotest
35
+ name: google-cloud-errors
86
36
  requirement: !ruby/object:Gem::Requirement
87
37
  requirements:
88
38
  - - "~>"
89
39
  - !ruby/object:Gem::Version
90
40
  version: '1.0'
91
- type: :development
41
+ type: :runtime
92
42
  prerelease: false
93
43
  version_requirements: !ruby/object:Gem::Requirement
94
44
  requirements:
95
45
  - - "~>"
96
46
  - !ruby/object:Gem::Version
97
47
  version: '1.0'
98
- - !ruby/object:Gem::Dependency
99
- name: minitest-focus
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - "~>"
103
- - !ruby/object:Gem::Version
104
- version: '1.1'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '1.1'
112
- - !ruby/object:Gem::Dependency
113
- name: minitest-rg
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '5.2'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: '5.2'
126
- - !ruby/object:Gem::Dependency
127
- name: redcarpet
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - "~>"
131
- - !ruby/object:Gem::Version
132
- version: '3.0'
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: '3.0'
140
- - !ruby/object:Gem::Dependency
141
- name: simplecov
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - "~>"
145
- - !ruby/object:Gem::Version
146
- version: '0.9'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: '0.9'
154
- - !ruby/object:Gem::Dependency
155
- name: yard
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - "~>"
159
- - !ruby/object:Gem::Version
160
- version: '0.9'
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: '0.9'
168
- - !ruby/object:Gem::Dependency
169
- name: yard-doctest
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: 0.1.13
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - "~>"
180
- - !ruby/object:Gem::Version
181
- version: 0.1.13
182
48
  description: google-cloud-core is the internal shared library for google-cloud-ruby.
183
49
  email:
184
50
  - mike@blowmage.com
@@ -209,14 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
75
  requirements:
210
76
  - - ">="
211
77
  - !ruby/object:Gem::Version
212
- version: '2.5'
78
+ version: '2.7'
213
79
  required_rubygems_version: !ruby/object:Gem::Requirement
214
80
  requirements:
215
81
  - - ">="
216
82
  - !ruby/object:Gem::Version
217
83
  version: '0'
218
84
  requirements: []
219
- rubygems_version: 3.2.13
85
+ rubygems_version: 3.5.6
220
86
  signing_key:
221
87
  specification_version: 4
222
88
  summary: Internal shared library for google-cloud-ruby