elasticsearch-transport 7.5.0 → 7.13.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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +28 -11
  3. data/README.md +158 -58
  4. data/Rakefile +16 -3
  5. data/elasticsearch-transport.gemspec +57 -63
  6. data/lib/elasticsearch/transport/client.rb +150 -56
  7. data/lib/elasticsearch/transport/meta_header.rb +135 -0
  8. data/lib/elasticsearch/transport/redacted.rb +16 -3
  9. data/lib/elasticsearch/transport/transport/base.rb +32 -12
  10. data/lib/elasticsearch/transport/transport/connections/collection.rb +18 -8
  11. data/lib/elasticsearch/transport/transport/connections/connection.rb +23 -8
  12. data/lib/elasticsearch/transport/transport/connections/selector.rb +16 -3
  13. data/lib/elasticsearch/transport/transport/errors.rb +16 -3
  14. data/lib/elasticsearch/transport/transport/http/curb.rb +16 -3
  15. data/lib/elasticsearch/transport/transport/http/faraday.rb +27 -6
  16. data/lib/elasticsearch/transport/transport/http/manticore.rb +16 -3
  17. data/lib/elasticsearch/transport/transport/loggable.rb +16 -3
  18. data/lib/elasticsearch/transport/transport/response.rb +16 -4
  19. data/lib/elasticsearch/transport/transport/serializer/multi_json.rb +16 -3
  20. data/lib/elasticsearch/transport/transport/sniffer.rb +35 -15
  21. data/lib/elasticsearch/transport/version.rb +17 -4
  22. data/lib/elasticsearch/transport.rb +16 -3
  23. data/lib/elasticsearch-transport.rb +16 -3
  24. data/spec/elasticsearch/connections/collection_spec.rb +28 -3
  25. data/spec/elasticsearch/connections/selector_spec.rb +16 -3
  26. data/spec/elasticsearch/transport/base_spec.rb +60 -38
  27. data/spec/elasticsearch/transport/client_spec.rb +628 -132
  28. data/spec/elasticsearch/transport/meta_header_spec.rb +265 -0
  29. data/spec/elasticsearch/transport/sniffer_spec.rb +16 -16
  30. data/spec/spec_helper.rb +19 -1
  31. data/test/integration/transport_test.rb +30 -4
  32. data/test/profile/client_benchmark_test.rb +16 -3
  33. data/test/test_helper.rb +16 -3
  34. data/test/unit/connection_test.rb +23 -5
  35. data/test/unit/response_test.rb +17 -4
  36. data/test/unit/serializer_test.rb +16 -3
  37. data/test/unit/transport_base_test.rb +17 -4
  38. data/test/unit/transport_curb_test.rb +16 -3
  39. data/test/unit/transport_faraday_test.rb +18 -5
  40. data/test/unit/transport_manticore_test.rb +29 -16
  41. metadata +70 -69
@@ -1,6 +1,19 @@
1
- # Licensed to Elasticsearch B.V under one or more agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
4
17
 
5
18
  require 'test_helper'
6
19
 
@@ -136,7 +149,7 @@ class Elasticsearch::Transport::Transport::HTTP::FaradayTest < Minitest::Test
136
149
 
137
150
  transport.connections.first.connection.expects(:run_request).
138
151
  with do |method, url, params, body|
139
- assert_match /\?format=yaml/, url
152
+ assert_match(/\?format=yaml/, url)
140
153
  true
141
154
  end.
142
155
  returns(stub_everything)
@@ -154,7 +167,7 @@ class Elasticsearch::Transport::Transport::HTTP::FaradayTest < Minitest::Test
154
167
 
155
168
  transport.connections.first.connection.expects(:run_request).
156
169
  with do |method, url, params, body|
157
- assert_match /\?format=json/, url
170
+ assert_match(/\?format=json/, url)
158
171
  true
159
172
  end.
160
173
  returns(stub_everything)
@@ -1,6 +1,19 @@
1
- # Licensed to Elasticsearch B.V under one or more agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
4
17
 
5
18
  require 'test_helper'
6
19
 
@@ -43,7 +56,7 @@ else
43
56
 
44
57
  should "set body for GET request" do
45
58
  @transport.connections.first.connection.expects(:get).
46
- with('http://127.0.0.1:8080//', {:body => '{"foo":"bar"}',
59
+ with('http://127.0.0.1:8080/', {:body => '{"foo":"bar"}',
47
60
  :headers => {"Content-Type" => "application/json",
48
61
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
49
62
  @transport.perform_request 'GET', '/', {}, '{"foo":"bar"}'
@@ -51,7 +64,7 @@ else
51
64
 
52
65
  should "set body for PUT request" do
53
66
  @transport.connections.first.connection.expects(:put).
54
- with('http://127.0.0.1:8080//', {:body => '{"foo":"bar"}',
67
+ with('http://127.0.0.1:8080/', {:body => '{"foo":"bar"}',
55
68
  :headers => {"Content-Type" => "application/json",
56
69
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
57
70
  @transport.perform_request 'PUT', '/', {}, {:foo => 'bar'}
@@ -59,7 +72,7 @@ else
59
72
 
60
73
  should "serialize the request body" do
61
74
  @transport.connections.first.connection.expects(:post).
62
- with('http://127.0.0.1:8080//', {:body => '{"foo":"bar"}',
75
+ with('http://127.0.0.1:8080/', {:body => '{"foo":"bar"}',
63
76
  :headers => {"Content-Type" => "application/json",
64
77
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
65
78
  @transport.perform_request 'POST', '/', {}, {'foo' => 'bar'}
@@ -67,7 +80,7 @@ else
67
80
 
68
81
  should "set custom headers for PUT request" do
69
82
  @transport.connections.first.connection.expects(:put).
70
- with('http://127.0.0.1:8080//', {:body => '{"foo":"bar"}',
83
+ with('http://127.0.0.1:8080/', {:body => '{"foo":"bar"}',
71
84
  :headers => {"Content-Type" => "application/json",
72
85
  "User-Agent" => @transport.send(:user_agent_header)}})
73
86
  .returns(stub_everything)
@@ -76,7 +89,7 @@ else
76
89
 
77
90
  should "not serialize a String request body" do
78
91
  @transport.connections.first.connection.expects(:post).
79
- with('http://127.0.0.1:8080//', {:body => '{"foo":"bar"}',
92
+ with('http://127.0.0.1:8080/', {:body => '{"foo":"bar"}',
80
93
  :headers => {"Content-Type" => "application/json",
81
94
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
82
95
  @transport.serializer.expects(:dump).never
@@ -90,7 +103,7 @@ else
90
103
 
91
104
  transport = Manticore.new :hosts => [ { :host => 'localhost', :port => 8080 } ], :options => options
92
105
 
93
- transport.connections.first.connection.stub("http://localhost:8080//", :body => "\"\"", :headers => {"Content-Type" => "application/x-ndjson",
106
+ transport.connections.first.connection.stub("http://localhost:8080/", :body => "\"\"", :headers => {"Content-Type" => "application/x-ndjson",
94
107
  "User-Agent" => @transport.send(:user_agent_header)}, :code => 200 )
95
108
 
96
109
  response = transport.perform_request 'GET', '/', {}
@@ -111,15 +124,15 @@ else
111
124
  end
112
125
 
113
126
  should "handle HTTP methods" do
114
- @transport.connections.first.connection.expects(:delete).with('http://127.0.0.1:8080//', { headers: {"Content-Type" => "application/json",
127
+ @transport.connections.first.connection.expects(:delete).with('http://127.0.0.1:8080/', { headers: {"Content-Type" => "application/json",
115
128
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
116
- @transport.connections.first.connection.expects(:head).with('http://127.0.0.1:8080//', { headers: {"Content-Type" => "application/json",
129
+ @transport.connections.first.connection.expects(:head).with('http://127.0.0.1:8080/', { headers: {"Content-Type" => "application/json",
117
130
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
118
- @transport.connections.first.connection.expects(:get).with('http://127.0.0.1:8080//', { headers: {"Content-Type" => "application/json",
131
+ @transport.connections.first.connection.expects(:get).with('http://127.0.0.1:8080/', { headers: {"Content-Type" => "application/json",
119
132
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
120
- @transport.connections.first.connection.expects(:put).with('http://127.0.0.1:8080//', { headers: {"Content-Type" => "application/json",
133
+ @transport.connections.first.connection.expects(:put).with('http://127.0.0.1:8080/', { headers: {"Content-Type" => "application/json",
121
134
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
122
- @transport.connections.first.connection.expects(:post).with('http://127.0.0.1:8080//', { headers: {"Content-Type" => "application/json",
135
+ @transport.connections.first.connection.expects(:post).with('http://127.0.0.1:8080/', { headers: {"Content-Type" => "application/json",
123
136
  "User-Agent" => @transport.send(:user_agent_header)}}).returns(stub_everything)
124
137
 
125
138
  %w| HEAD GET PUT POST DELETE |.each { |method| @transport.perform_request method, '/' }
@@ -132,8 +145,8 @@ else
132
145
  transport = Manticore.new :hosts => [ { :host => 'foobar', :port => 1234 } ], :options => options
133
146
  transport.connections.first.connection
134
147
  .expects(:get)
135
- .with do |host, options|
136
- assert_equal 'myapp-0.0', options[:headers]['User-Agent']
148
+ .with do |host, _options|
149
+ assert_equal 'myapp-0.0', _options[:headers]['User-Agent']
137
150
  true
138
151
  end
139
152
  .returns(stub_everything)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-transport
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.5.0
4
+ version: 7.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karel Minarik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-26 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -28,24 +28,18 @@ dependencies:
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0.14'
34
- - - "<"
31
+ - - "~>"
35
32
  - !ruby/object:Gem::Version
36
33
  version: '1'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: '0.14'
44
- - - "<"
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
40
  version: '1'
47
41
  - !ruby/object:Gem::Dependency
48
- name: bundler
42
+ name: cane
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - ">="
@@ -59,21 +53,21 @@ dependencies:
59
53
  - !ruby/object:Gem::Version
60
54
  version: '0'
61
55
  - !ruby/object:Gem::Dependency
62
- name: rake
56
+ name: curb
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
- - - "~>"
59
+ - - ">="
66
60
  - !ruby/object:Gem::Version
67
- version: '11.1'
61
+ version: '0'
68
62
  type: :development
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
- - - "~>"
66
+ - - ">="
73
67
  - !ruby/object:Gem::Version
74
- version: '11.1'
68
+ version: '0'
75
69
  - !ruby/object:Gem::Dependency
76
- name: ansi
70
+ name: elasticsearch-extensions
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
73
  - - ">="
@@ -87,7 +81,7 @@ dependencies:
87
81
  - !ruby/object:Gem::Version
88
82
  version: '0'
89
83
  - !ruby/object:Gem::Dependency
90
- name: shoulda-context
84
+ name: minitest
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
87
  - - ">="
@@ -101,7 +95,7 @@ dependencies:
101
95
  - !ruby/object:Gem::Version
102
96
  version: '0'
103
97
  - !ruby/object:Gem::Dependency
104
- name: mocha
98
+ name: minitest-reporters
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
101
  - - ">="
@@ -115,21 +109,21 @@ dependencies:
115
109
  - !ruby/object:Gem::Version
116
110
  version: '0'
117
111
  - !ruby/object:Gem::Dependency
118
- name: yard
112
+ name: rake
119
113
  requirement: !ruby/object:Gem::Requirement
120
114
  requirements:
121
- - - ">="
115
+ - - "~>"
122
116
  - !ruby/object:Gem::Version
123
- version: '0'
117
+ version: '13'
124
118
  type: :development
125
119
  prerelease: false
126
120
  version_requirements: !ruby/object:Gem::Requirement
127
121
  requirements:
128
- - - ">="
122
+ - - "~>"
129
123
  - !ruby/object:Gem::Version
130
- version: '0'
124
+ version: '13'
131
125
  - !ruby/object:Gem::Dependency
132
- name: pry
126
+ name: require-prof
133
127
  requirement: !ruby/object:Gem::Requirement
134
128
  requirements:
135
129
  - - ">="
@@ -143,7 +137,7 @@ dependencies:
143
137
  - !ruby/object:Gem::Version
144
138
  version: '0'
145
139
  - !ruby/object:Gem::Dependency
146
- name: curb
140
+ name: ruby-prof
147
141
  requirement: !ruby/object:Gem::Requirement
148
142
  requirements:
149
143
  - - ">="
@@ -157,35 +151,41 @@ dependencies:
157
151
  - !ruby/object:Gem::Version
158
152
  version: '0'
159
153
  - !ruby/object:Gem::Dependency
160
- name: patron
154
+ name: simplecov
161
155
  requirement: !ruby/object:Gem::Requirement
162
156
  requirements:
163
- - - ">="
157
+ - - "~>"
164
158
  - !ruby/object:Gem::Version
165
- version: '0'
159
+ version: '0.17'
160
+ - - "<"
161
+ - !ruby/object:Gem::Version
162
+ version: '0.18'
166
163
  type: :development
167
164
  prerelease: false
168
165
  version_requirements: !ruby/object:Gem::Requirement
169
166
  requirements:
170
- - - ">="
167
+ - - "~>"
171
168
  - !ruby/object:Gem::Version
172
- version: '0'
169
+ version: '0.17'
170
+ - - "<"
171
+ - !ruby/object:Gem::Version
172
+ version: '0.18'
173
173
  - !ruby/object:Gem::Dependency
174
- name: typhoeus
174
+ name: simplecov-rcov
175
175
  requirement: !ruby/object:Gem::Requirement
176
176
  requirements:
177
- - - "~>"
177
+ - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: '0.6'
179
+ version: '0'
180
180
  type: :development
181
181
  prerelease: false
182
182
  version_requirements: !ruby/object:Gem::Requirement
183
183
  requirements:
184
- - - "~>"
184
+ - - ">="
185
185
  - !ruby/object:Gem::Version
186
- version: '0.6'
186
+ version: '0'
187
187
  - !ruby/object:Gem::Dependency
188
- name: net-http-persistent
188
+ name: ansi
189
189
  requirement: !ruby/object:Gem::Requirement
190
190
  requirements:
191
191
  - - ">="
@@ -199,7 +199,7 @@ dependencies:
199
199
  - !ruby/object:Gem::Version
200
200
  version: '0'
201
201
  - !ruby/object:Gem::Dependency
202
- name: httpclient
202
+ name: hashie
203
203
  requirement: !ruby/object:Gem::Requirement
204
204
  requirements:
205
205
  - - ">="
@@ -213,7 +213,7 @@ dependencies:
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
215
  - !ruby/object:Gem::Dependency
216
- name: hashie
216
+ name: httpclient
217
217
  requirement: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - ">="
@@ -227,7 +227,7 @@ dependencies:
227
227
  - !ruby/object:Gem::Version
228
228
  version: '0'
229
229
  - !ruby/object:Gem::Dependency
230
- name: minitest
230
+ name: mocha
231
231
  requirement: !ruby/object:Gem::Requirement
232
232
  requirements:
233
233
  - - ">="
@@ -241,7 +241,7 @@ dependencies:
241
241
  - !ruby/object:Gem::Version
242
242
  version: '0'
243
243
  - !ruby/object:Gem::Dependency
244
- name: minitest-reporters
244
+ name: net-http-persistent
245
245
  requirement: !ruby/object:Gem::Requirement
246
246
  requirements:
247
247
  - - ">="
@@ -255,7 +255,7 @@ dependencies:
255
255
  - !ruby/object:Gem::Version
256
256
  version: '0'
257
257
  - !ruby/object:Gem::Dependency
258
- name: elasticsearch-extensions
258
+ name: patron
259
259
  requirement: !ruby/object:Gem::Requirement
260
260
  requirements:
261
261
  - - ">="
@@ -269,7 +269,7 @@ dependencies:
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
271
  - !ruby/object:Gem::Dependency
272
- name: ruby-prof
272
+ name: pry
273
273
  requirement: !ruby/object:Gem::Requirement
274
274
  requirements:
275
275
  - - ">="
@@ -283,7 +283,7 @@ dependencies:
283
283
  - !ruby/object:Gem::Version
284
284
  version: '0'
285
285
  - !ruby/object:Gem::Dependency
286
- name: require-prof
286
+ name: shoulda-context
287
287
  requirement: !ruby/object:Gem::Requirement
288
288
  requirements:
289
289
  - - ">="
@@ -297,41 +297,35 @@ dependencies:
297
297
  - !ruby/object:Gem::Version
298
298
  version: '0'
299
299
  - !ruby/object:Gem::Dependency
300
- name: simplecov
300
+ name: test-unit
301
301
  requirement: !ruby/object:Gem::Requirement
302
302
  requirements:
303
303
  - - "~>"
304
304
  - !ruby/object:Gem::Version
305
- version: '0.17'
306
- - - "<"
307
- - !ruby/object:Gem::Version
308
- version: '0.18'
305
+ version: '2'
309
306
  type: :development
310
307
  prerelease: false
311
308
  version_requirements: !ruby/object:Gem::Requirement
312
309
  requirements:
313
310
  - - "~>"
314
311
  - !ruby/object:Gem::Version
315
- version: '0.17'
316
- - - "<"
317
- - !ruby/object:Gem::Version
318
- version: '0.18'
312
+ version: '2'
319
313
  - !ruby/object:Gem::Dependency
320
- name: simplecov-rcov
314
+ name: typhoeus
321
315
  requirement: !ruby/object:Gem::Requirement
322
316
  requirements:
323
- - - ">="
317
+ - - "~>"
324
318
  - !ruby/object:Gem::Version
325
- version: '0'
319
+ version: '1.4'
326
320
  type: :development
327
321
  prerelease: false
328
322
  version_requirements: !ruby/object:Gem::Requirement
329
323
  requirements:
330
- - - ">="
324
+ - - "~>"
331
325
  - !ruby/object:Gem::Version
332
- version: '0'
326
+ version: '1.4'
333
327
  - !ruby/object:Gem::Dependency
334
- name: cane
328
+ name: yard
335
329
  requirement: !ruby/object:Gem::Requirement
336
330
  requirements:
337
331
  - - ">="
@@ -345,23 +339,23 @@ dependencies:
345
339
  - !ruby/object:Gem::Version
346
340
  version: '0'
347
341
  - !ruby/object:Gem::Dependency
348
- name: test-unit
342
+ name: bundler
349
343
  requirement: !ruby/object:Gem::Requirement
350
344
  requirements:
351
- - - "~>"
345
+ - - ">="
352
346
  - !ruby/object:Gem::Version
353
- version: '2'
347
+ version: '0'
354
348
  type: :development
355
349
  prerelease: false
356
350
  version_requirements: !ruby/object:Gem::Requirement
357
351
  requirements:
358
- - - "~>"
352
+ - - ">="
359
353
  - !ruby/object:Gem::Version
360
- version: '2'
354
+ version: '0'
361
355
  description: 'Ruby client for Elasticsearch. See the `elasticsearch` gem for full
362
356
  integration.
363
357
 
364
- '
358
+ '
365
359
  email:
366
360
  - karel.minarik@elasticsearch.org
367
361
  executables: []
@@ -379,6 +373,7 @@ files:
379
373
  - lib/elasticsearch-transport.rb
380
374
  - lib/elasticsearch/transport.rb
381
375
  - lib/elasticsearch/transport/client.rb
376
+ - lib/elasticsearch/transport/meta_header.rb
382
377
  - lib/elasticsearch/transport/redacted.rb
383
378
  - lib/elasticsearch/transport/transport/base.rb
384
379
  - lib/elasticsearch/transport/transport/connections/collection.rb
@@ -397,6 +392,7 @@ files:
397
392
  - spec/elasticsearch/connections/selector_spec.rb
398
393
  - spec/elasticsearch/transport/base_spec.rb
399
394
  - spec/elasticsearch/transport/client_spec.rb
395
+ - spec/elasticsearch/transport/meta_header_spec.rb
400
396
  - spec/elasticsearch/transport/sniffer_spec.rb
401
397
  - spec/spec_helper.rb
402
398
  - test/integration/transport_test.rb
@@ -409,10 +405,14 @@ files:
409
405
  - test/unit/transport_curb_test.rb
410
406
  - test/unit/transport_faraday_test.rb
411
407
  - test/unit/transport_manticore_test.rb
412
- homepage: https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-transport
408
+ homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html
413
409
  licenses:
414
410
  - Apache-2.0
415
- metadata: {}
411
+ metadata:
412
+ homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html
413
+ changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.x/CHANGELOG.md
414
+ source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.x/elasticsearch-transport
415
+ bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
416
416
  post_install_message:
417
417
  rdoc_options:
418
418
  - "--charset=UTF-8"
@@ -422,14 +422,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
422
422
  requirements:
423
423
  - - ">="
424
424
  - !ruby/object:Gem::Version
425
- version: '1.9'
425
+ version: '2.4'
426
426
  required_rubygems_version: !ruby/object:Gem::Requirement
427
427
  requirements:
428
428
  - - ">="
429
429
  - !ruby/object:Gem::Version
430
430
  version: '0'
431
431
  requirements: []
432
- rubygems_version: 3.0.6
432
+ rubygems_version: 3.2.15
433
433
  signing_key:
434
434
  specification_version: 4
435
435
  summary: Ruby client for Elasticsearch.
@@ -438,6 +438,7 @@ test_files:
438
438
  - spec/elasticsearch/connections/selector_spec.rb
439
439
  - spec/elasticsearch/transport/base_spec.rb
440
440
  - spec/elasticsearch/transport/client_spec.rb
441
+ - spec/elasticsearch/transport/meta_header_spec.rb
441
442
  - spec/elasticsearch/transport/sniffer_spec.rb
442
443
  - spec/spec_helper.rb
443
444
  - test/integration/transport_test.rb