google-cloud-spanner 2.9.0 → 2.10.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/CHANGELOG.md +19 -50
- data/lib/google/cloud/spanner/convert.rb +3 -2
- data/lib/google/cloud/spanner/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 507e92dd7d005df48967afbdabd4df9df518bca1cd0da416742bf21de28afa76
|
|
4
|
+
data.tar.gz: 14560745cbe0a401d6c5f7c82b9c67c739083e851177c0cbdcdc9006b4acb24e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b21e91bbe78fc964d9ab3c38209857d434ea9c3c3773298a6531527d60d882eb5cd805d6d4acc860454844dde411e9b08b595c1e3d742b759362eb6b9b8644c
|
|
7
|
+
data.tar.gz: ee18b40a314dc71b3b58f42af1bb761d2fd36ce5d349bdb9425635e61051399400644faa1e5f43be4a3db6a01591242bfcd8077d051e5f7e00d50f8e766b575d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
### 2.10.0 / 2021-08-24
|
|
4
|
+
|
|
5
|
+
#### Features
|
|
6
|
+
|
|
7
|
+
* add field JSON type support
|
|
8
|
+
|
|
3
9
|
### 2.9.0 / 2021-07-26
|
|
4
10
|
|
|
5
11
|
#### Features
|
|
6
12
|
|
|
7
|
-
* support request tagging
|
|
13
|
+
* support request tagging
|
|
8
14
|
|
|
9
15
|
### 2.8.1 / 2021-07-08
|
|
10
16
|
|
|
@@ -16,44 +22,25 @@
|
|
|
16
22
|
|
|
17
23
|
#### Features
|
|
18
24
|
|
|
19
|
-
* create instance using processing units/node count
|
|
20
|
-
* create instance using processing units/node count
|
|
21
|
-
* fix typo
|
|
22
|
-
* removed node count and processing unit validations
|
|
23
|
-
* update orignal value on instance save
|
|
24
|
-
* remove orignal_values to current_valuess
|
|
25
|
+
* create instance using processing units/node count
|
|
25
26
|
|
|
26
27
|
### 2.7.0 / 2021-06-09
|
|
27
28
|
|
|
28
29
|
#### Features
|
|
29
30
|
|
|
30
|
-
* add the support of optimizer statistics package
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* Fix the env issue.
|
|
34
|
-
* database create time access method ([#11617](https://www.github.com/googleapis/google-cloud-ruby/issues/11617))
|
|
35
|
-
* added database create time method
|
|
36
|
-
* remove assert for databse create time
|
|
37
|
-
* RPC priority request option. ([#11258](https://www.github.com/googleapis/google-cloud-ruby/issues/11258))
|
|
31
|
+
* add the support of optimizer statistics package
|
|
32
|
+
* database create time access method
|
|
33
|
+
* RPC priority request option.
|
|
38
34
|
|
|
39
35
|
#### Bug Fixes
|
|
40
36
|
|
|
41
|
-
* extract binary retry info from error
|
|
42
|
-
* fix: extract binary retry info from error
|
|
43
|
-
* fix: remove unrelated frozen_string_literal change
|
|
44
|
-
* fix: remove unnecessary parentheses
|
|
37
|
+
* extract binary retry info from error
|
|
45
38
|
|
|
46
39
|
### 2.6.0 / 2021-03-31
|
|
47
40
|
|
|
48
41
|
#### Features
|
|
49
42
|
|
|
50
|
-
* add cmek backup support
|
|
51
|
-
* feat(spanner): add cmek backup support
|
|
52
|
-
* Add encryption_config to restore database.
|
|
53
|
-
* doc example for backup create with encryption config
|
|
54
|
-
* create backup with encryption type
|
|
55
|
-
* backup restore with encryption type changes
|
|
56
|
-
* fix typo
|
|
43
|
+
* add cmek backup support
|
|
57
44
|
* add cmek db support
|
|
58
45
|
|
|
59
46
|
### 2.5.0 / 2021-03-10
|
|
@@ -66,27 +53,14 @@
|
|
|
66
53
|
|
|
67
54
|
#### Features
|
|
68
55
|
|
|
69
|
-
* Point In Time Recovery (PITR)
|
|
70
|
-
* feat(spanner): support pitr-lite
|
|
71
|
-
* feature(spanner): adds test for throttled
|
|
72
|
-
* feat(spanner): adds version time to backup
|
|
73
|
-
* test(spanner): adds unit test for create backup
|
|
74
|
-
* feat(spanner): exposes version time in backup
|
|
75
|
-
* chore: fixes rubocop violations
|
|
76
|
-
* fix: addresses PR comments
|
|
77
|
-
* test: adds integration tests for pitr backup
|
|
56
|
+
* Point In Time Recovery (PITR)
|
|
78
57
|
|
|
79
58
|
### 2.3.0 / 2021-02-09
|
|
80
59
|
|
|
81
60
|
#### Features
|
|
82
61
|
|
|
83
|
-
* CommitStats in CommitResponse
|
|
84
|
-
* optionalize `credentials` when using cloud spanner emulator host
|
|
85
|
-
* Optionalize `credentials` when using Cloud Spanner Emulator
|
|
86
|
-
* Remove unnecessary credentials stub for emulator_host in Google::Cloud::Spanner.new
|
|
87
|
-
* Add test of explicit project_id in Google::Cloud::Spanner.new
|
|
88
|
-
* Update document for `emulator_host` without credentials
|
|
89
|
-
* Tidy code according to rubocop settings
|
|
62
|
+
* CommitStats in CommitResponse
|
|
63
|
+
* optionalize `credentials` when using cloud spanner emulator host
|
|
90
64
|
|
|
91
65
|
### 2.2.0 / 2020-09-15
|
|
92
66
|
|
|
@@ -146,25 +120,20 @@ please review the docs for the new `google-cloud-spanner-v1` gem. In particular:
|
|
|
146
120
|
|
|
147
121
|
#### Features
|
|
148
122
|
|
|
149
|
-
* Added support for backing up and restoring databases
|
|
123
|
+
* Added support for backing up and restoring databases
|
|
150
124
|
|
|
151
125
|
### 1.15.0 / 2020-03-15
|
|
152
126
|
|
|
153
127
|
#### Features
|
|
154
128
|
|
|
155
|
-
* Added support for query options
|
|
156
|
-
* Added support for specifying the query optimizer version.
|
|
129
|
+
* Added support for query options
|
|
157
130
|
* Support separate project setting for quota/billing
|
|
158
131
|
|
|
159
132
|
### 1.14.0 / 2020-02-18
|
|
160
133
|
|
|
161
134
|
#### Features
|
|
162
135
|
|
|
163
|
-
* allow custom lib name and version for telemetry purpose
|
|
164
|
-
* allow custom lib name and version for telemetry purpose
|
|
165
|
-
* format docs
|
|
166
|
-
* added custom lib name and version prefix
|
|
167
|
-
* update test cases for lib name and version
|
|
136
|
+
* allow custom lib name and version for telemetry purpose
|
|
168
137
|
|
|
169
138
|
### 1.13.1 / 2020-01-22
|
|
170
139
|
|
|
@@ -99,8 +99,7 @@ module Google
|
|
|
99
99
|
if field.is_a? Fields
|
|
100
100
|
field.struct(obj).to_grpc_value
|
|
101
101
|
else
|
|
102
|
-
|
|
103
|
-
"A hash value cannot be set to type #{field}."
|
|
102
|
+
Google::Protobuf::Value.new string_value: obj.to_json
|
|
104
103
|
end
|
|
105
104
|
else
|
|
106
105
|
if obj.respond_to?(:read) && obj.respond_to?(:rewind)
|
|
@@ -223,6 +222,8 @@ module Google
|
|
|
223
222
|
Data.from_grpc value.list_value.values, type.struct_type.fields
|
|
224
223
|
when :NUMERIC
|
|
225
224
|
BigDecimal value.string_value
|
|
225
|
+
when :JSON
|
|
226
|
+
JSON.parse value.string_value
|
|
226
227
|
end
|
|
227
228
|
end
|
|
228
229
|
|
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.10.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: 2021-
|
|
12
|
+
date: 2021-08-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: google-cloud-core
|