algolia 2.3.1 → 2.3.2

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: b193b6e9fe46cce4bfb184ab2a5c8ec753089d1d01264f541ac5c5034b54e9f2
4
- data.tar.gz: e014c7c1614e265cfc326ee405b896a8f2218a5840ba45d7ce559f88bd986e29
3
+ metadata.gz: 1dfdc9659fd559dda96a6bac3df7d81f455fba723f835ee62213928bb2e1ba03
4
+ data.tar.gz: fd2abb719cc40db045c976e1183083986ebc13fff45a979bd6a0da4bb1cf68c1
5
5
  SHA512:
6
- metadata.gz: fce94b90048c35fa6b76e09f6ae8ff758854bce4089cc0a274ffe8fceb4a6e4623e90428b48a548b45971ed8aab8998da86f4168bf93f56cffcc8fd947803f01
7
- data.tar.gz: 9db43a1ecbcf5940fd8896b454ef17f2fa457955219b01cd52cf1c8d52465026b5e4881272b4faed44c93be4acf11310c865ce4abb5ddff66e0397ed4aa465e6
6
+ metadata.gz: ed0f1ba2efdb129534b30ec41f381d9288685aa9f88beeaea813426ba40831c3c3691727fcfd52002a6db35a0f2c3218687b2687fb3e7b71e8ccfc655b27b920
7
+ data.tar.gz: 8df23199078a71911b108864b74e0c9431790fdb28cfd5cafdd811ecc31d9a860a53e9031b050b969ba73aaa49ac96555c564162fb766425c86683cc2dcfb74a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # ChangeLog
2
2
 
3
- ## [Unreleased](https://github.com/algolia/algoliasearch-client-ruby/compare/2.3.1..master)
3
+ ## [Unreleased](https://github.com/algolia/algoliasearch-client-ruby/compare/2.3.2..master)
4
+
5
+ ## [2.3.2](https://github.com/algolia/algoliasearch-client-ruby/compare/2.3.1...2.3.2) (2023-06-07)
6
+ ### Fixed
7
+ - Fixed issue with Request not taking timeouts into account ([`#493`](https://github.com/algolia/algoliasearch-client-ruby/pull/493))
4
8
 
5
9
  ## [2.3.1](https://github.com/algolia/algoliasearch-client-ruby/compare/2.3.0...2.3.1) (2022-09-26)
6
10
  ### Fixed
@@ -91,11 +91,13 @@ module Algolia
91
91
  # @return [Hash]
92
92
  #
93
93
  def build_request(method, path, body, request_options)
94
- request = {}
95
- request[:method] = method.downcase
96
- request[:path] = build_uri_path(path, request_options.params)
97
- request[:body] = build_body(body, request_options, method)
98
- request[:headers] = generate_headers(request_options)
94
+ request = {}
95
+ request[:method] = method.downcase
96
+ request[:path] = build_uri_path(path, request_options.params)
97
+ request[:body] = build_body(body, request_options, method)
98
+ request[:headers] = generate_headers(request_options)
99
+ request[:timeout] = request_options.timeout
100
+ request[:connect_timeout] = request_options.connect_timeout
99
101
  request
100
102
  end
101
103
 
@@ -1,3 +1,3 @@
1
1
  module Algolia
2
- VERSION = '2.3.1'.freeze
2
+ VERSION = '2.3.2'.freeze
3
3
  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: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler