google-cloud-firestore 2.7.0 → 2.7.1
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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/cloud/firestore/convert.rb +6 -3
- data/lib/google/cloud/firestore/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: f45d22f61cfd606f0a800da541058804c823a60d38896e77aac5ca72b01b34f4
|
4
|
+
data.tar.gz: 320a237aa81d52be3add1144de0d0bee460eb90786f4ab878e93ad79fd2c862f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d56c986ef8914c7b486d5c4877e4fdd681051b2203332f9a83278365826438353df177a3fb4a80bb9a11b8c33b6b190dd97e475c1de2273d11f759e01f2d7daa
|
7
|
+
data.tar.gz: b2916ce31ded50b667377bbc397356153cffeeff1a8c3f4ef71426211f5c1ed9ffe5ab53a319355d9ecbccf5079e1dd0617bc11e1c42f2009d1444d19ee840e1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 2.7.1 (2022-07-15)
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* Fix a regression in fields conversion ([#18833](https://github.com/googleapis/google-cloud-ruby/issues/18833))
|
8
|
+
#### Documentation
|
9
|
+
|
10
|
+
* Fix typo in data model reference ([#18835](https://github.com/googleapis/google-cloud-ruby/issues/18835))
|
11
|
+
|
3
12
|
### 2.7.0 (2022-07-02)
|
4
13
|
|
5
14
|
#### Features
|
data/OVERVIEW.md
CHANGED
@@ -108,7 +108,7 @@ and it can't contain other collections. You do not need to "create" or "delete"
|
|
108
108
|
collections. After you create the first document in a collection, the collection
|
109
109
|
exists. If you delete all of the documents in a collection, it no longer exists.
|
110
110
|
(For more information, see [Cloud Firestore Data
|
111
|
-
Model](https://cloud.google.com/firestore/docs/data-model).
|
111
|
+
Model](https://cloud.google.com/firestore/docs/data-model).)
|
112
112
|
|
113
113
|
Use {Google::Cloud::Firestore::Client#cols Client#cols} to list the root-level
|
114
114
|
collections:
|
@@ -50,9 +50,12 @@ module Google
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def fields_to_hash fields, client
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
# Google::Protobuf::Map#to_h ignores the given block, unlike Hash#to_h
|
54
|
+
# rubocop:disable Style/MapToHash
|
55
|
+
fields
|
56
|
+
.map { |key, value| [key.to_sym, value_to_raw(value, client)] }
|
57
|
+
.to_h
|
58
|
+
# rubocop:enable Style/MapToHash
|
56
59
|
end
|
57
60
|
|
58
61
|
def hash_to_fields hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-firestore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|