search_flip 4.0.0.beta11 → 4.0.0.beta12

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: 9e032e109a7c31df14182c17d874f793327081c3c4e5b866dbfb261e8aa4e503
4
- data.tar.gz: 73a2ce2eb918e9f3da28f3bf129eb614c1da5492d138985732af4b41a9f15a41
3
+ metadata.gz: 3bde1fa6dcbf87a41164c9902a50fbc752cbf62d8a43c9d7a4b8d8e0ec1dd429
4
+ data.tar.gz: 16553bb4ee83207664394ed55ff69fc9be87d5394acb1120a5113b25e6ff6a64
5
5
  SHA512:
6
- metadata.gz: 152130c3a91ae69dcf53ff43534b0b853786900f1c03847ffead4d52254f95aec5dbfb48362d6386a61fdb92f128b68fc22b2b66f4df27f2a099a9d6db356eea
7
- data.tar.gz: '09f13f81114378ebd9dea98ae713f5be8a27dea15966bf2fc05195900be8ed74c73d6aa46d6a458a4d4aaeb8467e32cc4296fce4e22dbfee672a1dc30d4af14f'
6
+ metadata.gz: da4d0d174553926b52a6e6c7545f28b530e6ba6f6c4415ced8e3194dcb60c36704ba140e8a6de73685240c698e0389de0f0251249a2f36739c01b52f90a13aca
7
+ data.tar.gz: b8bf65256065d071b9b9ea169f81d658b537e69fcc800fa01e115fd045788c6b2cceef590155808da748b2d4906004bfbc2dc71aa6ec62a02b80b62290d79cc1
data/CHANGELOG.md CHANGED
@@ -11,6 +11,10 @@
11
11
  * Added `SearchFlip::Connection#get_cluster_settings` and
12
12
  `#update_cluster_settings`
13
13
 
14
+ ## v3.7.1
15
+
16
+ * Fix thread-safety issue of http-rb
17
+
14
18
  ## v3.7.0
15
19
 
16
20
  * Add `SearchFlip::Connection#bulk` to allow more clean bulk indexing to
@@ -59,6 +59,7 @@ module SearchFlip
59
59
 
60
60
  def execute(method, uri, options = {})
61
61
  final_request = plugins.inject(self) { |res, cur| cur.call(res, method, uri, options) }
62
+ final_request = final_request.headers({}) # Prevent thread-safety issue of http-rb: https://github.com/httprb/http/issues/558
62
63
  response = final_request.request.send(method, uri, options)
63
64
 
64
65
  raise SearchFlip::ResponseError.new(code: response.code, body: response.body.to_s) unless response.status.success?
@@ -1,3 +1,3 @@
1
1
  module SearchFlip
2
- VERSION = "4.0.0.beta11"
2
+ VERSION = "4.0.0.beta12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: search_flip
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.beta11
4
+ version: 4.0.0.beta12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Vetter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-27 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord