elasticsearch-api 9.2.2 → 9.2.3

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: 29ea3f1d155d5f8b3d609053ca966eccc4b069548eee22c49f9cdfc485c58abc
4
- data.tar.gz: 4d537313bd5693730065ad01005c483bfe5c2a57657d9300b1be13a1f8ef41ce
3
+ metadata.gz: e417d19fa6420eb2e5a98cd11c525325336e9125770cd37c87e4f34049b6eb15
4
+ data.tar.gz: 6b8be883943346f96d581a02bdcddf661d234c905d3f1cfb8886ec193af6805e
5
5
  SHA512:
6
- metadata.gz: 6570ebed7a0242e8bb75e56480503cbaa472c57c4568f8ec11415172b279bc2f12e71a0fb73b367266d9e552168a118169544e3f6d027577c9f395009c5a65ba
7
- data.tar.gz: 0efdf3fc2048be8d0187180a1ed4ab1a67232ffcef05ba11e1d6c9223bf17959d482ea072edde5e34d27c02c7c5132ea00b056b7fa9ed65efbf2fe979ef58b09
6
+ metadata.gz: 2b8aeefeb3a0faa14e0caec92a411db7544d04382a855fbc97971a9ce86a5a54e433cbdbdea19bea099131543345f498daa1b57187a581cc51b0ec909cfba2be
7
+ data.tar.gz: a2e26b90d59ad6b7a0369b74ffd61a6d2e869dc519856c2223ea4806725240a838297b6d2b07e699fcf4553bbf58c47ac5f5de899eae2e4467efa07126947493
@@ -182,7 +182,7 @@ module Elasticsearch
182
182
  def update_ndjson_headers!(headers, client_headers)
183
183
  current_content = client_headers.keys.find { |c| c.match?(/content-?_?type/i) } || 'content-type'
184
184
  current_accept = client_headers.keys.find { |c| c.match?(/accept/i) } || 'accept'
185
- version = client_headers[current_content].match(/compatible-with=([0-9]+)/)[1] || 9
185
+ version = client_headers[current_content].match(/compatible-with=([0-9]+)/)&.[](1) || 9
186
186
 
187
187
  headers.merge!(
188
188
  {
@@ -17,7 +17,7 @@
17
17
 
18
18
  module Elasticsearch
19
19
  module API
20
- VERSION = '9.2.2'.freeze
20
+ VERSION = '9.2.3'.freeze
21
21
  ES_SPECIFICATION_COMMIT = '2d7de011d88518dc8e20a02fb235f197c43866bc'.freeze
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.2.2
4
+ version: 9.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers