google-cloud-datastore 2.10.0 → 2.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a30961f1d1d3df22d5c21f16240acdb852653b0c4db8a2ad626a2bbf043caef2
4
- data.tar.gz: 300858395cd64c206a292a8abbdf7fc670bb13fb9f0180ea82bd14dcbec59875
3
+ metadata.gz: f0e7a2aaa0b31449724820d409981bc786ff520231f30e11d3f43fe5cd587e86
4
+ data.tar.gz: 3546b3b9d18c0c79c5c73927b1d4b1a3fad4bc523ee075caab61c287cfc5838d
5
5
  SHA512:
6
- metadata.gz: feb1a402a32d9d55ed84a783f8b6aa458e362752e358a3a673394a093a4fb88e58fa092bdba5d5387579d11d97c75eebc28e399e068d0511d0cec918255f5f31
7
- data.tar.gz: 6f1cf0afa6cf090688b0b824fac42bedbfa0bff663d5282931841dc31d257b99604ecd72645cafdcc3f8b4ccfa06421d1e8ff9427e48cbf14226ae4ea6260390
6
+ metadata.gz: 326efcbff7b5b3b3d5982795b1408f87ee5225f5b7a25eedfdc1fe9403302e6bd39957737ff13faa16f438b3f5f32aa6538bddd9deb026844ac3935b40218505
7
+ data.tar.gz: cfbfc92c743af8fa804760fb8360c38b3756ea27f49ee60b1090cc4d563074aa6b5844dc5e10983884035993f0ba32490a1b885313fca7978a80a2b7ab8cc1b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 2.11.0 (2025-03-04)
4
+
5
+ #### Features
6
+
7
+ * Update minimum Ruby version to 3.0 ([#29261](https://github.com/googleapis/google-cloud-ruby/issues/29261))
8
+
3
9
  ### 2.10.0 (2024-07-09)
4
10
 
5
11
  #### Features
@@ -483,7 +483,8 @@ module Google
483
483
  ##
484
484
  # Retrieve aggregate results specified by an AggregateQuery.
485
485
  #
486
- # @param [AggregateQuery, GqlQuery] query The object with the aggregate criteria.
486
+ # @param [AggregateQuery, GqlQuery] aggregate_query The object with the
487
+ # aggregate criteria.
487
488
  # @param [String] namespace The namespace the query is to run within.
488
489
  # @param [Symbol] consistency The non-transactional read consistency to
489
490
  # use. Cannot be set to `:strong` for global queries. Accepted values
@@ -233,12 +233,10 @@ module Google
233
233
  op: :AND
234
234
  )
235
235
  )
236
- if name_or_filter.is_a? Google::Cloud::Datastore::Filter
237
- @grpc.filter.composite_filter.filters << name_or_filter.to_grpc
238
- else
239
- @grpc.filter.composite_filter.filters << \
240
- Google::Cloud::Datastore::Filter.new(name_or_filter, operator, value).to_grpc
236
+ unless name_or_filter.is_a? Google::Cloud::Datastore::Filter
237
+ name_or_filter = Google::Cloud::Datastore::Filter.new name_or_filter, operator, value
241
238
  end
239
+ @grpc.filter.composite_filter.filters << name_or_filter.to_grpc
242
240
 
243
241
  self
244
242
  end
@@ -170,7 +170,8 @@ module Google
170
170
  # Retrieve aggregate query results specified by an AggregateQuery. The query is run within the
171
171
  # transaction.
172
172
  #
173
- # @param [AggregateQuery, GqlQuery] query The Query object with the search criteria.
173
+ # @param [AggregateQuery, GqlQuery] aggregate_query The Query object
174
+ # with the search criteria.
174
175
  # @param [String] namespace The namespace the query is to run within.
175
176
  #
176
177
  # @return [Google::Cloud::Datastore::Dataset::AggregateQueryResults]
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Datastore
19
- VERSION = "2.10.0".freeze
19
+ VERSION = "2.11.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-datastore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 2.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  - Chris Smith
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-07-09 00:00:00.000000000 Z
11
+ date: 2025-03-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: google-cloud-core
@@ -89,7 +88,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-clo
89
88
  licenses:
90
89
  - Apache-2.0
91
90
  metadata: {}
92
- post_install_message:
93
91
  rdoc_options: []
94
92
  require_paths:
95
93
  - lib
@@ -97,15 +95,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
95
  requirements:
98
96
  - - ">="
99
97
  - !ruby/object:Gem::Version
100
- version: '2.7'
98
+ version: '3.0'
101
99
  required_rubygems_version: !ruby/object:Gem::Requirement
102
100
  requirements:
103
101
  - - ">="
104
102
  - !ruby/object:Gem::Version
105
103
  version: '0'
106
104
  requirements: []
107
- rubygems_version: 3.5.6
108
- signing_key:
105
+ rubygems_version: 3.6.5
109
106
  specification_version: 4
110
107
  summary: API Client library for Google Cloud Datastore
111
108
  test_files: []