google-cloud-errors 1.3.1 → 1.4.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: 3a06a5f75a20d7ec47007bdd168a5273767715a66e64ab947d6bb6998b8d5b5a
4
- data.tar.gz: cee042f51d100006589bbe5ae8b0fc3c57a88f5378fd8d207f47217e62320e59
3
+ metadata.gz: 22c1d90c0cd381a6054397d657b8c1a51e5e52630ee63a2c0d3361113a657243
4
+ data.tar.gz: 28668e7bafa0251bdb826b04c552da45745fa67aa9921fbf7d7ab79ca5e07d92
5
5
  SHA512:
6
- metadata.gz: 656ca8f8851552a6617e4e9fc331a955074cbd5edcbbd315765d6e1d6c8bb80068e4ee75b89027efb0829eb200bc03ebbe6d345be9848d0a2bf01352fbf946ec
7
- data.tar.gz: 5c9c995421d9532dec9bc7fc599ea796a3298c0dea8ba62f4fd7d6e07a25a193fdcbecfdeadaeeb9052495e6465ad2184143a2b92e9ef6f804f284ada06ae467
6
+ metadata.gz: 88d79f7228e471c6a9127358b0132263523506332312609ae384887701589f8a44c1cdd5966582b8a689255ecc83736e9eba42e5f120db84af823d2271d6a435
7
+ data.tar.gz: '08b8e749195cf7e2adc5b57669d1ec14bc12c6c4e25fcab29677a509b7853396b7f9fcca9e4b504440b6a42f80d6d664b5131fd9a5cf7fdba681e96de04550e7'
data/README.md CHANGED
@@ -47,6 +47,4 @@ This library is licensed under Apache 2.0. Full license text is available in
47
47
 
48
48
  Please report bugs
49
49
  [on Github](https://github.com/googleapis/google-cloud-ruby/issues).
50
- Don't hesitate to
51
- [ask questions](http://stackoverflow.com/questions/tagged/google-cloud-platform+ruby)
52
- about the client or APIs on [StackOverflow](http://stackoverflow.com).
50
+ You can also ask questions about the client or APIs on StackOverflow.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Errors
19
- VERSION = "1.3.1".freeze
19
+ VERSION = "1.4.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -132,7 +132,7 @@ module Google
132
132
  @error_info ||= begin
133
133
  check_property = lambda do |prop|
134
134
  if prop.is_a? Array
135
- error_infos = prop.find_all { |status| status.is_a?(::Google::Rpc::ErrorInfo) }
135
+ error_infos = prop.find_all { |status| status.is_a? ::Google::Rpc::ErrorInfo }
136
136
  if error_infos.length == 1
137
137
  error_infos[0]
138
138
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,148 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-28 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: autotest-suffix
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '1.1'
21
- type: :development
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '1.1'
28
- - !ruby/object:Gem::Dependency
29
- name: google-style
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - "~>"
33
- - !ruby/object:Gem::Version
34
- version: 1.25.1
35
- type: :development
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - "~>"
40
- - !ruby/object:Gem::Version
41
- version: 1.25.1
42
- - !ruby/object:Gem::Dependency
43
- name: minitest
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
47
- - !ruby/object:Gem::Version
48
- version: '5.14'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - "~>"
54
- - !ruby/object:Gem::Version
55
- version: '5.14'
56
- - !ruby/object:Gem::Dependency
57
- name: minitest-autotest
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '1.0'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '1.0'
70
- - !ruby/object:Gem::Dependency
71
- name: minitest-focus
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '1.1'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '1.1'
84
- - !ruby/object:Gem::Dependency
85
- name: minitest-rg
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - "~>"
89
- - !ruby/object:Gem::Version
90
- version: '5.2'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - "~>"
96
- - !ruby/object:Gem::Version
97
- version: '5.2'
98
- - !ruby/object:Gem::Dependency
99
- name: redcarpet
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - "~>"
103
- - !ruby/object:Gem::Version
104
- version: '3.0'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '3.0'
112
- - !ruby/object:Gem::Dependency
113
- name: simplecov
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '0.9'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: '0.9'
126
- - !ruby/object:Gem::Dependency
127
- name: yard
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - "~>"
131
- - !ruby/object:Gem::Version
132
- version: '0.9'
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: '0.9'
140
- - !ruby/object:Gem::Dependency
141
- name: yard-doctest
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - "~>"
145
- - !ruby/object:Gem::Version
146
- version: 0.1.13
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: 0.1.13
12
+ date: 2024-03-07 00:00:00.000000000 Z
13
+ dependencies: []
154
14
  description: google-cloud-errors defines error classes for google-cloud-ruby.
155
15
  email:
156
16
  - mike@blowmage.com
@@ -179,14 +39,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
179
39
  requirements:
180
40
  - - ">="
181
41
  - !ruby/object:Gem::Version
182
- version: '2.5'
42
+ version: '2.7'
183
43
  required_rubygems_version: !ruby/object:Gem::Requirement
184
44
  requirements:
185
45
  - - ">="
186
46
  - !ruby/object:Gem::Version
187
47
  version: '0'
188
48
  requirements: []
189
- rubygems_version: 3.4.2
49
+ rubygems_version: 3.5.6
190
50
  signing_key:
191
51
  specification_version: 4
192
52
  summary: Error classes for google-cloud-ruby