elasticsearch-api 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elasticsearch/api/actions/cat/aliases.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/allocation.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/count.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/fielddata.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/health.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/indices.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/master.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/nodes.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/plugins.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/recovery.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/segments.rb +0 -3
- data/lib/elasticsearch/api/actions/cat/shards.rb +0 -3
- data/lib/elasticsearch/api/actions/ping.rb +1 -1
- data/lib/elasticsearch/api/utils.rb +6 -6
- data/lib/elasticsearch/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f723f6bfb516f47119445352bd6fdaed4417c20b
|
4
|
+
data.tar.gz: 79dd532448b26087c2fa867eae735743b16afdd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62a87e1d835b922da578adaf2fe466b7caf0e4bb3e7eb2e13bcf9b9dac21609af76f70ca963472cc4a0e8844965e69f4dc2b6d37377d5a57b9988ed8fcf15658
|
7
|
+
data.tar.gz: 4d98c720dbeafc600afdfe69994124848bad74b212818bb1055fc6afc959892a4675bd36330656091bd61223b5173bdcab9917dfaab82401fd98ec130f28e614
|
@@ -37,9 +37,6 @@ module Elasticsearch
|
|
37
37
|
:ts,
|
38
38
|
:v ]
|
39
39
|
|
40
|
-
unsupported_params = [ :format ]
|
41
|
-
Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
|
42
|
-
|
43
40
|
method = HTTP_GET
|
44
41
|
path = "_cat/health"
|
45
42
|
params = Utils.__validate_and_extract_params arguments, valid_params
|
@@ -35,9 +35,6 @@ module Elasticsearch
|
|
35
35
|
:help,
|
36
36
|
:v ]
|
37
37
|
|
38
|
-
unsupported_params = [ :format ]
|
39
|
-
Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
|
40
|
-
|
41
38
|
method = HTTP_GET
|
42
39
|
path = "_cat/master"
|
43
40
|
params = Utils.__validate_and_extract_params arguments, valid_params
|
@@ -35,9 +35,6 @@ module Elasticsearch
|
|
35
35
|
:help,
|
36
36
|
:v ]
|
37
37
|
|
38
|
-
unsupported_params = [ :format ]
|
39
|
-
Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
|
40
|
-
|
41
38
|
method = HTTP_GET
|
42
39
|
path = "_cat/pending_tasks"
|
43
40
|
params = Utils.__validate_and_extract_params arguments, valid_params
|
@@ -22,9 +22,6 @@ module Elasticsearch
|
|
22
22
|
:help,
|
23
23
|
:v ]
|
24
24
|
|
25
|
-
unsupported_params = [ :format ]
|
26
|
-
Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
|
27
|
-
|
28
25
|
method = 'GET'
|
29
26
|
path = "_cat/plugins"
|
30
27
|
params = Utils.__validate_and_extract_params arguments, valid_params
|
@@ -24,9 +24,6 @@ module Elasticsearch
|
|
24
24
|
:help,
|
25
25
|
:v ]
|
26
26
|
|
27
|
-
unsupported_params = [ :format ]
|
28
|
-
Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
|
29
|
-
|
30
27
|
method = 'GET'
|
31
28
|
path = "_cat/segments"
|
32
29
|
params = Utils.__validate_and_extract_params arguments, valid_params
|
@@ -235,7 +235,7 @@ module Elasticsearch
|
|
235
235
|
end
|
236
236
|
|
237
237
|
unless messages.empty?
|
238
|
-
if
|
238
|
+
if STDERR.tty?
|
239
239
|
STDERR.puts messages.map { |m| "\e[31;1m#{m}\e[0m" }.join("\n")
|
240
240
|
else
|
241
241
|
STDERR.puts messages.join("\n")
|
@@ -251,11 +251,11 @@ module Elasticsearch
|
|
251
251
|
|
252
252
|
message += ". This method is not supported in the version you're using: #{Elasticsearch::API::VERSION}, and will be removed in the next release."
|
253
253
|
|
254
|
-
if
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
254
|
+
if STDERR.tty?
|
255
|
+
STDERR.puts "\e[31;1m#{message}\e[0m"
|
256
|
+
else
|
257
|
+
STDERR.puts message
|
258
|
+
end
|
259
259
|
end
|
260
260
|
|
261
261
|
extend self
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|