elastic 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elastic/client.rb +3 -2
- data/lib/elastic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf481f0360e33589177723c35f116e2ef9bd0267b37497c299168b24fbd5bd6b
|
4
|
+
data.tar.gz: cb924d2ddafc4372868f1111442d728a72fc125ece7a372c0ca0ec58cecf8440
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d31356c01f0ea33c92d3b5a7879750961302e11afecd2a3361870a89d8ec89ac5c3d6237c81595a06e9924ccb98c11ba5071f59717b3df3a29e6c3eca583cfd8
|
7
|
+
data.tar.gz: 4c6a135512be489d13966002f81e10a37d475cca3645fd21d2edbb6404dbc5760db0f66499c00fd220eef77a09e4bad88a6a73ff060daca1c9c87bf782280568
|
data/lib/elastic/client.rb
CHANGED
@@ -89,8 +89,9 @@ module Elastic
|
|
89
89
|
{ action.to_sym => metadata }
|
90
90
|
end
|
91
91
|
|
92
|
-
def get(index, id)
|
93
|
-
|
92
|
+
def get(index, id, query_params = {})
|
93
|
+
options = query_params.merge(id: id, index: index)
|
94
|
+
execute { get(options) }
|
94
95
|
end
|
95
96
|
|
96
97
|
def mget(index, ids, query_params = {})
|
data/lib/elastic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michał Szajbe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: elasticsearch
|