google-cloud-datastore 2.3.0 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4cf5dacf0550a91ce8e39473f851fe9f3b24d86f48dc9a46d90694156e503f3
4
- data.tar.gz: ea646ea91e13b39e4a349f98a3e9572a434b70b5cb12f66c075cbdb00e501920
3
+ metadata.gz: c300ee184929b5e46058e32af1e18a2e0e786e3eb17b32d24a265713e442b75d
4
+ data.tar.gz: 06752add810608b745cc157a60fcfc23aa77ab54a7395f54e8f8b2d3867fc882
5
5
  SHA512:
6
- metadata.gz: 815753c7af0687e9adf770fff6ffdfc6ba08e16aceed9473b18997f64a4db0cfb6363d45cbbcb71fa9c6ad7dd7d0bd3b5022ceb492712af03ee271eea4355895
7
- data.tar.gz: 6509a05baf825ebdf8381953badc9e6de871443c5ef0bc33e66ea40cc3cf999835357303eb4fca8827dc7945d0d06c5af0fcb3ce524b6826ec96608a9a175dcf
6
+ metadata.gz: aa87df55a375dba1110cd28463a59f0c81e81cfa4aa513edeb380302f63e6e4610a1e5064a47af57753aa4e31c21c092276cbbf92325a6a55b9e3cffb7cbbf35
7
+ data.tar.gz: f39b9d73f4c149cf633b376d10aa811b7f3e8a607e294753e0b796319312082771a112d049c90d548fd80c8024b7b4b18fa11940a88fe07a62ee8e16b7b61d3f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 2.3.1 (2022-12-14)
4
+
5
+ #### Bug Fixes
6
+
7
+ * fixed request limit
8
+
3
9
  ### 2.3.0 (2022-06-28)
4
10
 
5
11
  #### Features
data/LOGGING.md CHANGED
@@ -3,7 +3,7 @@
3
3
  To enable logging for this library, set the logger for the underlying
4
4
  [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library. The logger
5
5
  that you set may be a Ruby stdlib
6
- [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as
6
+ [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as
7
7
  shown below, or a
8
8
  [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
9
9
  that will write logs to [Stackdriver
@@ -158,6 +158,10 @@ module Google
158
158
  ensure_service!
159
159
  query.start_cursor = cursor.to_grpc # should always be a Cursor...
160
160
  query.offset = 0 # Never carry an offset across batches
161
+ unless query.limit.nil?
162
+ # Reduce the limit by the number of entities returned in the current batch
163
+ query.limit.value -= count
164
+ end
161
165
  query_res = service.run_query query, namespace
162
166
  self.class.from_grpc query_res, service, namespace, query
163
167
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Datastore
19
- VERSION = "2.3.0".freeze
19
+ VERSION = "2.3.1".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-datastore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
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-06-28 00:00:00.000000000 Z
12
+ date: 2022-12-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core