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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40470008edcc06c100c7087ad96588d162d5a575df71520df10ab786f263aee1
4
- data.tar.gz: 81b226cf69b05df6d921372c4fe00310c1ce6d7cd46c20ea09bc95e2eec0c648
3
+ metadata.gz: bf481f0360e33589177723c35f116e2ef9bd0267b37497c299168b24fbd5bd6b
4
+ data.tar.gz: cb924d2ddafc4372868f1111442d728a72fc125ece7a372c0ca0ec58cecf8440
5
5
  SHA512:
6
- metadata.gz: cb8f155022d47d59800282672aba44d7847b81e86e464c209cd48af8fe626a83c4dc4529e27a35fa49deaabf3cfaf3b2baf2592934290eb5cd43a0900174cf67
7
- data.tar.gz: eb67faf1c159907f07409e7f7146258904231133008f5344631935b0c471bb0ddc959aba5183dd1a469fe8a6bf50836fb1c4fbf8c6a282e62fc9cbf803ad305d
6
+ metadata.gz: d31356c01f0ea33c92d3b5a7879750961302e11afecd2a3361870a89d8ec89ac5c3d6237c81595a06e9924ccb98c11ba5071f59717b3df3a29e6c3eca583cfd8
7
+ data.tar.gz: 4c6a135512be489d13966002f81e10a37d475cca3645fd21d2edbb6404dbc5760db0f66499c00fd220eef77a09e4bad88a6a73ff060daca1c9c87bf782280568
@@ -89,8 +89,9 @@ module Elastic
89
89
  { action.to_sym => metadata }
90
90
  end
91
91
 
92
- def get(index, id)
93
- execute { get(id: id, index: index) }
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 = {})
@@ -1,3 +1,3 @@
1
1
  module Elastic
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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-17 00:00:00.000000000 Z
11
+ date: 2021-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: elasticsearch