google-cloud-spanner 2.21.0 → 2.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/lib/google/cloud/spanner/admin/database.rb +9 -11
- data/lib/google/cloud/spanner/admin/instance.rb +9 -11
- data/lib/google/cloud/spanner/backup/job/list.rb +1 -2
- data/lib/google/cloud/spanner/backup/job.rb +1 -2
- data/lib/google/cloud/spanner/backup/list.rb +1 -3
- data/lib/google/cloud/spanner/backup/restore/job.rb +1 -2
- data/lib/google/cloud/spanner/batch_client.rb +3 -2
- data/lib/google/cloud/spanner/batch_snapshot.rb +14 -9
- data/lib/google/cloud/spanner/batch_update.rb +3 -2
- data/lib/google/cloud/spanner/batch_write.rb +72 -0
- data/lib/google/cloud/spanner/batch_write_results.rb +142 -0
- data/lib/google/cloud/spanner/client.rb +245 -28
- data/lib/google/cloud/spanner/commit.rb +4 -0
- data/lib/google/cloud/spanner/convert.rb +2 -2
- data/lib/google/cloud/spanner/database/job/list.rb +1 -2
- data/lib/google/cloud/spanner/database/job.rb +2 -4
- data/lib/google/cloud/spanner/database/list.rb +2 -3
- data/lib/google/cloud/spanner/fields.rb +2 -1
- data/lib/google/cloud/spanner/instance/config/list.rb +2 -3
- data/lib/google/cloud/spanner/instance/job.rb +2 -3
- data/lib/google/cloud/spanner/instance/list.rb +2 -3
- data/lib/google/cloud/spanner/lar_headers.rb +4 -0
- data/lib/google/cloud/spanner/mutation_group.rb +288 -0
- data/lib/google/cloud/spanner/project.rb +9 -27
- data/lib/google/cloud/spanner/results.rb +2 -2
- data/lib/google/cloud/spanner/service.rb +32 -6
- data/lib/google/cloud/spanner/session.rb +167 -17
- data/lib/google/cloud/spanner/snapshot.rb +5 -2
- data/lib/google/cloud/spanner/transaction.rb +18 -3
- data/lib/google/cloud/spanner/version.rb +1 -1
- data/lib/google-cloud-spanner.rb +6 -3
- metadata +26 -191
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-spanner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,64 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - "~>"
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '1.5'
|
21
|
-
type: :runtime
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - "~>"
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: '1.5'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: google-cloud-spanner-admin-database-v1
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - "~>"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0.1'
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "~>"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0.1'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: google-cloud-spanner-admin-instance-v1
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - "~>"
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0.1'
|
49
|
-
type: :runtime
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0.1'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: google-cloud-spanner-v1
|
15
|
+
name: bigdecimal
|
58
16
|
requirement: !ruby/object:Gem::Requirement
|
59
17
|
requirements:
|
60
18
|
- - "~>"
|
61
19
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0
|
20
|
+
version: '3.0'
|
63
21
|
type: :runtime
|
64
22
|
prerelease: false
|
65
23
|
version_requirements: !ruby/object:Gem::Requirement
|
66
24
|
requirements:
|
67
25
|
- - "~>"
|
68
26
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0
|
27
|
+
version: '3.0'
|
70
28
|
- !ruby/object:Gem::Dependency
|
71
29
|
name: concurrent-ruby
|
72
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,187 +40,61 @@ dependencies:
|
|
82
40
|
- !ruby/object:Gem::Version
|
83
41
|
version: '1.0'
|
84
42
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 0.11.0
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: 0.11.0
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: google-style
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - "~>"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 1.26.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.26.1
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: minitest
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '5.16'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '5.16'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: minitest-autotest
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '1.0'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '1.0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: minitest-focus
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - "~>"
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '1.1'
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - "~>"
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '1.1'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: minitest-rg
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - "~>"
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '5.2'
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - "~>"
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '5.2'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: autotest-suffix
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - "~>"
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '1.1'
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - "~>"
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '1.1'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: redcarpet
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - "~>"
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: '3.0'
|
189
|
-
type: :development
|
190
|
-
prerelease: false
|
191
|
-
version_requirements: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - "~>"
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: '3.0'
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
|
-
name: simplecov
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - "~>"
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: '0.9'
|
203
|
-
type: :development
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - "~>"
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: '0.9'
|
210
|
-
- !ruby/object:Gem::Dependency
|
211
|
-
name: yard
|
43
|
+
name: google-cloud-core
|
212
44
|
requirement: !ruby/object:Gem::Requirement
|
213
45
|
requirements:
|
214
46
|
- - "~>"
|
215
47
|
- !ruby/object:Gem::Version
|
216
|
-
version: '
|
217
|
-
type: :
|
48
|
+
version: '1.5'
|
49
|
+
type: :runtime
|
218
50
|
prerelease: false
|
219
51
|
version_requirements: !ruby/object:Gem::Requirement
|
220
52
|
requirements:
|
221
53
|
- - "~>"
|
222
54
|
- !ruby/object:Gem::Version
|
223
|
-
version: '
|
55
|
+
version: '1.5'
|
224
56
|
- !ruby/object:Gem::Dependency
|
225
|
-
name:
|
57
|
+
name: google-cloud-spanner-admin-database-v1
|
226
58
|
requirement: !ruby/object:Gem::Requirement
|
227
59
|
requirements:
|
228
60
|
- - "~>"
|
229
61
|
- !ruby/object:Gem::Version
|
230
|
-
version: 0.1
|
231
|
-
type: :
|
62
|
+
version: '0.1'
|
63
|
+
type: :runtime
|
232
64
|
prerelease: false
|
233
65
|
version_requirements: !ruby/object:Gem::Requirement
|
234
66
|
requirements:
|
235
67
|
- - "~>"
|
236
68
|
- !ruby/object:Gem::Version
|
237
|
-
version: 0.1
|
69
|
+
version: '0.1'
|
238
70
|
- !ruby/object:Gem::Dependency
|
239
|
-
name:
|
71
|
+
name: google-cloud-spanner-admin-instance-v1
|
240
72
|
requirement: !ruby/object:Gem::Requirement
|
241
73
|
requirements:
|
242
74
|
- - "~>"
|
243
75
|
- !ruby/object:Gem::Version
|
244
|
-
version: '1
|
245
|
-
type: :
|
76
|
+
version: '0.1'
|
77
|
+
type: :runtime
|
246
78
|
prerelease: false
|
247
79
|
version_requirements: !ruby/object:Gem::Requirement
|
248
80
|
requirements:
|
249
81
|
- - "~>"
|
250
82
|
- !ruby/object:Gem::Version
|
251
|
-
version: '1
|
83
|
+
version: '0.1'
|
252
84
|
- !ruby/object:Gem::Dependency
|
253
|
-
name:
|
85
|
+
name: google-cloud-spanner-v1
|
254
86
|
requirement: !ruby/object:Gem::Requirement
|
255
87
|
requirements:
|
256
88
|
- - "~>"
|
257
89
|
- !ruby/object:Gem::Version
|
258
|
-
version: '
|
259
|
-
type: :
|
90
|
+
version: '0.2'
|
91
|
+
type: :runtime
|
260
92
|
prerelease: false
|
261
93
|
version_requirements: !ruby/object:Gem::Requirement
|
262
94
|
requirements:
|
263
95
|
- - "~>"
|
264
96
|
- !ruby/object:Gem::Version
|
265
|
-
version: '
|
97
|
+
version: '0.2'
|
266
98
|
description: google-cloud-spanner is the official library for Google Cloud Spanner
|
267
99
|
API.
|
268
100
|
email:
|
@@ -296,6 +128,8 @@ files:
|
|
296
128
|
- lib/google/cloud/spanner/batch_snapshot.rb
|
297
129
|
- lib/google/cloud/spanner/batch_update.rb
|
298
130
|
- lib/google/cloud/spanner/batch_update_results.rb
|
131
|
+
- lib/google/cloud/spanner/batch_write.rb
|
132
|
+
- lib/google/cloud/spanner/batch_write_results.rb
|
299
133
|
- lib/google/cloud/spanner/client.rb
|
300
134
|
- lib/google/cloud/spanner/column_value.rb
|
301
135
|
- lib/google/cloud/spanner/commit.rb
|
@@ -318,6 +152,7 @@ files:
|
|
318
152
|
- lib/google/cloud/spanner/instance/job.rb
|
319
153
|
- lib/google/cloud/spanner/instance/list.rb
|
320
154
|
- lib/google/cloud/spanner/lar_headers.rb
|
155
|
+
- lib/google/cloud/spanner/mutation_group.rb
|
321
156
|
- lib/google/cloud/spanner/partition.rb
|
322
157
|
- lib/google/cloud/spanner/policy.rb
|
323
158
|
- lib/google/cloud/spanner/pool.rb
|
@@ -342,14 +177,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
342
177
|
requirements:
|
343
178
|
- - ">="
|
344
179
|
- !ruby/object:Gem::Version
|
345
|
-
version: '2.
|
180
|
+
version: '2.7'
|
346
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
347
182
|
requirements:
|
348
183
|
- - ">="
|
349
184
|
- !ruby/object:Gem::Version
|
350
185
|
version: '0'
|
351
186
|
requirements: []
|
352
|
-
rubygems_version: 3.5.
|
187
|
+
rubygems_version: 3.5.6
|
353
188
|
signing_key:
|
354
189
|
specification_version: 4
|
355
190
|
summary: API Client library for Google Cloud Spanner API
|