elasticsearch-api 9.0.0 → 9.0.1

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: 1970af58159de374cb423f5242bb12415626967b8311e0a14d58c549849cfe5b
4
- data.tar.gz: 5dad1d2dad58a1c7e3439f7145490a8bacf2c742d5e7dc6fc46bd2da3e5a4c8e
3
+ metadata.gz: 1b6b96fb592177062e080e5f81e8a67b67421c5d11bde2decbec398460b16a8d
4
+ data.tar.gz: 540e10412256da73a2311f659edc6930e2205f94691fbe28ee0d87cce8de67f9
5
5
  SHA512:
6
- metadata.gz: 8da46403c966f9a20d24da247192423111e2b98e386df5f4531969cb398cf3d924352682d7efb7af11a956edb0631a831eb5b6a89eb4c8569c1bb50517f21c6e
7
- data.tar.gz: 1fa2309f57cff25d7cb1cd4f53d18908f11c288b9fb10a95c9fdc482ccc39115f6e313dc9b66f492852ae4b4ef5e019f40d1653ff3bb0c501eea6632c18e7504
6
+ metadata.gz: 8802233dfefffa10fbb544ced7c3b624fc9dae6d3ad4f53a8ba3cf940040ad441622e5dbc80615beb08f4142f7be5c0c42ba09bb6b4d6219a7a26c04ec1a957b
7
+ data.tar.gz: dc84cd9102676845afe5fc1e8e420122ee4121d8ce34fa8aec565e517b57032adc395b1ba1496c5331bc6777cf9700c867964d5146d806d59620f6f52f56703b
@@ -163,7 +163,9 @@ module Elasticsearch
163
163
  body
164
164
  end
165
165
 
166
- headers.merge!('Content-Type' => 'application/x-ndjson')
166
+ headers.merge!({
167
+ 'Content-Type' => 'application/vnd.elasticsearch+x-ndjson; compatible-with=9'
168
+ })
167
169
  Elasticsearch::API::Response.new(
168
170
  perform_request(method, path, params, payload, headers, request_opts)
169
171
  )
@@ -97,7 +97,9 @@ module Elasticsearch
97
97
  payload = body
98
98
  end
99
99
 
100
- headers.merge!('Content-Type' => 'application/x-ndjson')
100
+ headers.merge!({
101
+ 'Content-Type' => 'application/vnd.elasticsearch+x-ndjson; compatible-with=9'
102
+ })
101
103
  Elasticsearch::API::Response.new(
102
104
  perform_request(method, path, params, payload, headers, request_opts)
103
105
  )
@@ -103,7 +103,9 @@ module Elasticsearch
103
103
  payload = body
104
104
  end
105
105
 
106
- headers.merge!('Content-Type' => 'application/x-ndjson')
106
+ headers.merge!({
107
+ 'Content-Type' => 'application/vnd.elasticsearch+x-ndjson; compatible-with=9'
108
+ })
107
109
  Elasticsearch::API::Response.new(
108
110
  perform_request(method, path, params, payload, headers, request_opts)
109
111
  )
@@ -81,7 +81,9 @@ module Elasticsearch
81
81
  payload = body
82
82
  end
83
83
 
84
- headers.merge!('Content-Type' => 'application/x-ndjson')
84
+ headers.merge!({
85
+ 'Content-Type' => 'application/vnd.elasticsearch+x-ndjson; compatible-with=9'
86
+ })
85
87
  Elasticsearch::API::Response.new(
86
88
  perform_request(method, path, params, payload, headers, request_opts)
87
89
  )
@@ -136,7 +136,9 @@ module Elasticsearch
136
136
  body
137
137
  end
138
138
 
139
- headers.merge!('Content-Type' => 'application/x-ndjson')
139
+ headers.merge!({
140
+ 'Content-Type' => 'application/vnd.elasticsearch+x-ndjson; compatible-with=9'
141
+ })
140
142
  Elasticsearch::API::Response.new(
141
143
  perform_request(method, path, params, payload, headers, request_opts)
142
144
  )
@@ -17,7 +17,7 @@
17
17
 
18
18
  module Elasticsearch
19
19
  module API
20
- VERSION = '9.0.0'.freeze
20
+ VERSION = '9.0.1'.freeze
21
21
  ES_SPECIFICATION_COMMIT = '52c473efb1fb5320a5bac12572d0b285882862fb'.freeze
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.0
4
+ version: 9.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-15 00:00:00.000000000 Z
10
+ date: 2025-04-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: multi_json