elasticsearch-api 8.7.0 → 8.7.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b388429eba06fd14500d984330b59c829e1e38e4ba8c4dc23379c1dc867cc9fb
|
|
4
|
+
data.tar.gz: 4e741e4f8a0be3a9d854b7c1745f9a10bda3abd467933da87a44b2783186db76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ca0fd387531c77e636c69455beca19da84e1cb0a4abacb0d3d5c4d70af2cc00bb689880271971ffc91a90ba9aa0a618a920a54458d8daaf03c8dbff36d6ca6d
|
|
7
|
+
data.tar.gz: b584dd56eeb9a6b31c4417b7c460e56ea47e8ad3940794697e1c45ebfea257379d9d42675612016381fd6411e9503573421e05b3fe046fdd26b68e3c2bfbc9cc
|
|
@@ -30,8 +30,6 @@ module Elasticsearch
|
|
|
30
30
|
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.7/logstash-api-get-pipeline.html
|
|
31
31
|
#
|
|
32
32
|
def get_pipeline(arguments = {})
|
|
33
|
-
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
|
|
34
|
-
|
|
35
33
|
arguments = arguments.clone
|
|
36
34
|
headers = arguments.delete(:headers) || {}
|
|
37
35
|
|
|
@@ -40,7 +38,11 @@ module Elasticsearch
|
|
|
40
38
|
_id = arguments.delete(:id)
|
|
41
39
|
|
|
42
40
|
method = Elasticsearch::API::HTTP_GET
|
|
43
|
-
path =
|
|
41
|
+
path = if _id
|
|
42
|
+
"_logstash/pipeline/#{Utils.__listify(_id)}"
|
|
43
|
+
else
|
|
44
|
+
"_logstash/pipeline"
|
|
45
|
+
end
|
|
44
46
|
params = {}
|
|
45
47
|
|
|
46
48
|
Elasticsearch::API::Response.new(
|
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: 8.7.
|
|
4
|
+
version: 8.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karel Minarik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: multi_json
|
|
@@ -1152,7 +1152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1152
1152
|
- !ruby/object:Gem::Version
|
|
1153
1153
|
version: '0'
|
|
1154
1154
|
requirements: []
|
|
1155
|
-
rubygems_version: 3.4.
|
|
1155
|
+
rubygems_version: 3.4.10
|
|
1156
1156
|
signing_key:
|
|
1157
1157
|
specification_version: 4
|
|
1158
1158
|
summary: Ruby API for Elasticsearch.
|