algolia 2.2.4 → 2.2.5

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: 71515936ba0c1d3c3b9a0ac6726fb9ded765dd54207d7501a568884ff4517fff
4
- data.tar.gz: 8324e0c88461a488ff126364ec4a2ed748d190b37ad461287fcd46a0a12424c4
3
+ metadata.gz: 05fcc0d3405e2cb770d7c30610c19951d4f4845723d03c62bd3143cf78cd2f49
4
+ data.tar.gz: 49ab3c5104e38c993b2c6962062f81834c0d24cf46f1bdc002435f4177fa94cb
5
5
  SHA512:
6
- metadata.gz: 62a91b3e954b7b7766e50540e4122b77c8d2edc6aeefaa0595f49bc6b947f7dae64234ce3c0184249c55444fbe3811c7c2004969d7dddf722bf691ef7aa689d9
7
- data.tar.gz: 31e6989001e9f936ec22b7940e27e5f0fa833cfab0dce6e61bba459d30887313135d93543c1ca8364cfc140577beed7753e7b3240fb9db134719a890d82b644a
6
+ metadata.gz: 40e6ff905fe540cc559cb622de99a5e14248b9be734700ed74af17851f13112450b00cba050a852a936ab208a77ddc49999a4e00a858fad288dbcdd46f2dc857
7
+ data.tar.gz: 4051ca27f08a45ff9ba03621449f2d7fcaff34b95f712657727c9b5aacce3cd2a2bba27fba5758ab225efcdb33329e178feb6a8bfa8e59dc720cf4320473e19f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased](https://github.com/algolia/algoliasearch-client-ruby/compare/2.2.4..master)
4
4
 
5
+ ## [2.2.5](https://github.com/algolia/algoliasearch-client-ruby/compare/2.2.4...2.2.5) (2022-05-24)
6
+ ### Fixed
7
+ - multiple_queries: allow params to be `nil` ([`#478`](https://github.com/algolia/algoliasearch-client-ruby/pull/478))
8
+ -
5
9
  ## [2.2.4](https://github.com/algolia/algoliasearch-client-ruby/compare/2.2.3...2.2.4) (2022-05-24)
6
10
  ### Fixed
7
11
  - API endpoint URL mishandling in get_settings method ([`#473`](https://github.com/algolia/algoliasearch-client-ruby/pull/473))
@@ -479,7 +479,7 @@ module Algolia
479
479
  #
480
480
  def multiple_queries(queries, opts = {})
481
481
  queries.each do |q|
482
- q[:params] = to_query_string(q[:params]) unless q[:params].is_a?(String)
482
+ q[:params] = to_query_string(q[:params]) unless q[:params].nil? || q[:params].is_a?(String)
483
483
  end
484
484
  @transporter.read(:POST, '/1/indexes/*/queries', { requests: queries }, opts)
485
485
  end
@@ -1,3 +1,3 @@
1
1
  module Algolia
2
- VERSION = '2.2.4'.freeze
2
+ VERSION = '2.2.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia