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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 542daf50ed73132fb41ef599e01527b0f90ea9c345c0a67325eb9fd6fc2a3d0b
4
- data.tar.gz: 1768835bfc4a7f9c0ed168d9b56c09247e3bab6da4b53cad6e896378520cca7c
3
+ metadata.gz: a321700a7d94660455576fcea922432fc6cdb89405948c01a38916fb003f006c
4
+ data.tar.gz: 0230c7724cec00e9c3de6485a790dbb9d25c8f2f20a037292ff96b1821f98d69
5
5
  SHA512:
6
- metadata.gz: 69cd1d9cdca59e2878b96476245b2395912afc68c9a94cae437e050dd7abe3b11a6d5bd8677822e7846c7cb3644a0cfc303d5d86e79b73b4a36fa8b9f823581b
7
- data.tar.gz: b135eb58d7ca1f2673f6504e8e6fca8eb8e8ebb9ca85fd94bfa19ff75e6af1127ab9da6cbf6798a060d1ee2faab05cc91a75355b0e45e060308901311ebd354d
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
- if Array === field
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
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Spanner
19
- VERSION = "2.12.1".freeze
19
+ VERSION = "2.13.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-spanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.1
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-02-16 00:00:00.000000000 Z
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