elasticsearch-transport 7.4.0 → 7.5.0.pre.pre

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: f792f084ecb5b37684ed211a3ffc92db1bda2f7bf86bc6e24502d11eb4c3d01f
4
- data.tar.gz: 3816c9f77491b8984b5041d4b83afb8a2fc64212f6fa3e3f9ea05058fe3d3910
3
+ metadata.gz: 21a62e456641b47890ba970a2ffd2df64346ed1c3c593919908b97e32e857212
4
+ data.tar.gz: 5b82a3a297bdc205f9924740fe1406108029006b70e45d23ae3a715807db2b3b
5
5
  SHA512:
6
- metadata.gz: 83232686c134cfb686d8ab8e9103da88f8b08a64661c103aeecede0c7cbfacdd80b668dfa67ad93b2b5f035865ce7ae125db0ce1e1ce6bd6a32ff7c9133d5c83
7
- data.tar.gz: 59f44c2691078611f06b01593a74c61bbab87f055c4d7f3ae5249a7dfebd581fb37660babffb352c88db1d8bd6ffcefe6f73519019474e6d64037c09e42e421f
6
+ metadata.gz: 5ac3c06442693def097698d14419a5fe7dc8ca28c3ab7e1c9091873cee5f4676ed9d040125d573fd4b024859d9b8328bafc102d8aaf618d6fbf52d18f80c6fc1
7
+ data.tar.gz: c67de903514ccc7a256da3732bb266183f6a39748c6973ecd5144347002b2be73f4470d500a70182fd0c7ec8410d402c8b7a03cc2e1dc310eba9e897e0c99b54
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.required_ruby_version = '>= 1.9'
28
28
 
29
29
  s.add_dependency "multi_json"
30
- s.add_dependency "faraday"
30
+ s.add_dependency "faraday", '>= 0.14', "< 1"
31
31
 
32
32
  if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
33
33
  s.add_dependency "system_timer"
@@ -112,7 +112,7 @@ module Elasticsearch
112
112
  @arguments[:randomize_hosts] ||= false
113
113
  @arguments[:transport_options] ||= {}
114
114
  @arguments[:http] ||= {}
115
- @options[:http] ||= {}
115
+ @options[:http] ||= {}
116
116
 
117
117
  @seeds = extract_cloud_creds(@arguments)
118
118
  @seeds ||= __extract_hosts(@arguments[:hosts] ||
@@ -4,6 +4,6 @@
4
4
 
5
5
  module Elasticsearch
6
6
  module Transport
7
- VERSION = "7.4.0"
7
+ VERSION = "7.5.0-pre"
8
8
  end
9
9
  end
@@ -5,11 +5,8 @@
5
5
  require 'spec_helper'
6
6
 
7
7
  describe Elasticsearch::Transport::Transport::Base do
8
-
9
8
  context 'when a host is printed in a logged message' do
10
-
11
9
  shared_examples_for 'a redacted string' do
12
-
13
10
  let(:client) do
14
11
  Elasticsearch::Transport::Client.new(arguments)
15
12
  end
@@ -20,6 +17,7 @@ describe Elasticsearch::Transport::Transport::Base do
20
17
 
21
18
  it 'does not include the password in the logged string' do
22
19
  expect(logger).not_to receive(:error).with(/secret_password/)
20
+
23
21
  expect {
24
22
  client.cluster.stats
25
23
  }.to raise_exception(Faraday::ConnectionFailed)
@@ -34,7 +32,6 @@ describe Elasticsearch::Transport::Transport::Base do
34
32
  end
35
33
 
36
34
  context 'when the user and password are provided as separate arguments' do
37
-
38
35
  let(:arguments) do
39
36
  { hosts: 'fake',
40
37
  logger: logger,
@@ -46,9 +43,8 @@ describe Elasticsearch::Transport::Transport::Base do
46
43
  end
47
44
 
48
45
  context 'when the user and password are provided in the string URI' do
49
-
50
46
  let(:arguments) do
51
- { hosts: 'http://test:secret_password@fake.com',
47
+ { hosts: 'https://test:secret_password@fake_local_elasticsearch',
52
48
  logger: logger }
53
49
  end
54
50
 
@@ -56,9 +52,8 @@ describe Elasticsearch::Transport::Transport::Base do
56
52
  end
57
53
 
58
54
  context 'when the user and password are provided in the URI object' do
59
-
60
55
  let(:arguments) do
61
- { hosts: URI.parse('http://test:secret_password@fake.com'),
56
+ { hosts: URI.parse('https://test:secret_password@fake_local_elasticsearch'),
62
57
  logger: logger }
63
58
  end
64
59
 
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.4.0
4
+ version: 7.5.0.pre.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karel Minarik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -30,14 +30,20 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.14'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '1'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - ">="
39
42
  - !ruby/object:Gem::Version
40
- version: '0'
43
+ version: '0.14'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '1'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: bundler
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -349,7 +355,7 @@ dependencies:
349
355
  description: 'Ruby client for Elasticsearch. See the `elasticsearch` gem for full
350
356
  integration.
351
357
 
352
- '
358
+ '
353
359
  email:
354
360
  - karel.minarik@elasticsearch.org
355
361
  executables: []
@@ -413,9 +419,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
413
419
  version: '1.9'
414
420
  required_rubygems_version: !ruby/object:Gem::Requirement
415
421
  requirements:
416
- - - ">="
422
+ - - ">"
417
423
  - !ruby/object:Gem::Version
418
- version: '0'
424
+ version: 1.3.1
419
425
  requirements: []
420
426
  rubygems_version: 3.0.6
421
427
  signing_key: