google-cloud-spanner 2.12.1 → 2.13.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 +9 -0
- data/lib/google/cloud/spanner/convert.rb +4 -1
- 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: a321700a7d94660455576fcea922432fc6cdb89405948c01a38916fb003f006c
|
4
|
+
data.tar.gz: 0230c7724cec00e9c3de6485a790dbb9d25c8f2f20a037292ff96b1821f98d69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c2b11bef0a1627d8efeac0ff9056796cb6098d5e3529366a6841abb069e5b6e9bea7f1298b8b3f58c9daa92ac78a149264d675c9664874ef09bce5676a50511
|
7
|
+
data.tar.gz: 2f4389315cab1b06e7dafff52b5a4c2aa36fdfd030c5d0d4d684dee6649e6e52327090078dbfe09701455b9138aa47d39ccfc4c95f214ac084ccda2746cbb0db
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 2.13.0 / 2022-04-01
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* add spangres support ([#17661](https://www.github.com/googleapis/google-cloud-ruby/issues/17661))
|
8
|
+
* add pg_numeric and tests
|
9
|
+
* skip test for emulator
|
10
|
+
* add rubocop for acceptance
|
11
|
+
|
3
12
|
### 2.12.1 / 2022-02-16
|
4
13
|
|
5
14
|
#### Bug Fixes
|
@@ -174,11 +174,14 @@ module Google
|
|
174
174
|
def grpc_type_for_field field
|
175
175
|
return field.to_grpc_type if field.respond_to? :to_grpc_type
|
176
176
|
|
177
|
-
|
177
|
+
case field
|
178
|
+
when Array
|
178
179
|
V1::Type.new(
|
179
180
|
code: :ARRAY,
|
180
181
|
array_element_type: grpc_type_for_field(field.first)
|
181
182
|
)
|
183
|
+
when :PG_NUMERIC
|
184
|
+
V1::Type.new(code: :NUMERIC, type_annotation: :PG_NUMERIC)
|
182
185
|
else
|
183
186
|
V1::Type.new(code: field)
|
184
187
|
end
|
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.13.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: 2022-
|
12
|
+
date: 2022-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|