algolia 3.7.0 → 3.7.1

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: 52d221b1939d70642bf10ea1c2ecd20a916c5bee15d74cb1353dae9243f3624d
4
- data.tar.gz: c80dc9fd998bf676302175bf799190359d1a3c1f64a077a207ceba2e76f52368
3
+ metadata.gz: 52c757fd33261a345c28764b6415188abafbd782d8adaed5ffc7a284291519fa
4
+ data.tar.gz: e05a6ed2689c8509aef0dcf62318d79ae6a47d4dd35192316f0cc496b3c4c544
5
5
  SHA512:
6
- metadata.gz: '011973f576b4bcf054395526ffe04134b0036e15b760bc8e9599805d5a09cf2981dc55a39b31382909d6e703558a5c1b50c723753cc98e5eaa6f52bdddd1fd84'
7
- data.tar.gz: e1406a6ca15019601820d07308f11599a32a29dc96cbf0d3321deb09010beab5b0964a765d87be10c7ee928805cc15f9f8689fde965e54bbf79c7e69ad79fc26
6
+ metadata.gz: 2c710af9d2873404f720049a4572536d259a09a5416785247e50911b53689542a755af34d6a93d2d44cb8378e2f243a2496702d97d122d010f91e6d3571d6254
7
+ data.tar.gz: '09f66bd5a9aac13e16d2fbc812afef3b1b9de0c25ff692921a84a0888c6e74479225a100ad7d90506119e810680e2f812a77aca62a9f7dfe9241559c85dbaea2'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [3.7.1](https://github.com/algolia/algoliasearch-client-ruby/compare/3.7.0...3.7.1)
2
+
3
+ - [801241e12](https://github.com/algolia/api-clients-automation/commit/801241e12) fix(specs): add secrets payload for updates ([#4061](https://github.com/algolia/api-clients-automation/pull/4061)) by [@shortcuts](https://github.com/shortcuts/)
4
+ - [625421783](https://github.com/algolia/api-clients-automation/commit/625421783) fix(clients): update browse iterator ([#4058](https://github.com/algolia/api-clients-automation/pull/4058)) by [@Fluf22](https://github.com/Fluf22/)
5
+
1
6
  ## [3.7.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.6.0...3.7.0)
2
7
 
3
8
  - [be40cf61d](https://github.com/algolia/api-clients-automation/commit/be40cf61d) feat(specs): add secrets authentications to ingestion ([#4054](https://github.com/algolia/api-clients-automation/pull/4054)) by [@shortcuts](https://github.com/shortcuts/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.7.0)
4
+ algolia (3.7.1)
5
5
  base64 (>= 0.2.0, < 1)
6
6
  faraday (>= 1.0.1, < 3.0)
7
7
  faraday-net_http_persistent (>= 0.15, < 3)
@@ -3201,6 +3201,8 @@ module Algolia
3201
3201
  # @param request_options [Hash] the requestOptions to send along with the query, they will be forwarded to the `browse` method.
3202
3202
  # @param block [Proc] the block to execute on each object of the index.
3203
3203
  def browse_objects(index_name, browse_params = Search::BrowseParamsObject.new, request_options = {}, &block)
3204
+ browse_params[:hits_per_page] = browse_params[:hits_per_page] || 1000
3205
+
3204
3206
  hits = []
3205
3207
  loop do
3206
3208
  res = browse(index_name, browse_params, request_options)
@@ -3243,7 +3245,7 @@ module Algolia
3243
3245
  end
3244
3246
 
3245
3247
  search_rules_params.page += 1
3246
- break if res.nb_hits < search_rules_params.hits_per_page
3248
+ break if res.hits.length < search_rules_params.hits_per_page
3247
3249
  end
3248
3250
 
3249
3251
  rules unless block_given?
@@ -3273,7 +3275,7 @@ module Algolia
3273
3275
  end
3274
3276
 
3275
3277
  search_synonyms_params.page += 1
3276
- break if res.nb_hits < search_synonyms_params.hits_per_page
3278
+ break if res.hits.length < search_synonyms_params.hits_per_page
3277
3279
  end
3278
3280
 
3279
3281
  synonyms unless block_given?
@@ -15,7 +15,8 @@ module Algolia
15
15
  :"AuthAlgoliaPartial",
16
16
  :"AuthBasicPartial",
17
17
  :"AuthGoogleServiceAccountPartial",
18
- :"AuthOAuthPartial"
18
+ :"AuthOAuthPartial",
19
+ :"Hash<String, String>"
19
20
  ]
20
21
  end
21
22
 
@@ -1,5 +1,5 @@
1
1
  # Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  module Algolia
4
- VERSION = "3.7.0".freeze
4
+ VERSION = "3.7.1".freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://alg.li/support
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-30 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday