elastics-client 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/elastics/template/logger.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3c85e47b192b26252d922bfde85bddba6687d21
|
4
|
+
data.tar.gz: 11b2cef66e849ead81fd78883a33abafcc7cf99e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cdaaac4c50086addbc3b08da2ccdcd3db5698ce477d0f978f6c93b010600caa43406cbd8562de6ca3465fa17c5793a90d7716b0a5658d665395667d18939525
|
7
|
+
data.tar.gz: 1370fbcd59daeca7417957912b103bc934270f7774b9528d4b61f589adf378b313185cc8eb8a80aa506b80051929a4e206e0ee17409d2d9cbe9b1773c047d483
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.2
|
@@ -20,7 +20,7 @@ module Elastics
|
|
20
20
|
|
21
21
|
h = {}
|
22
22
|
if logger.debug_variables
|
23
|
-
h[:variables] = int[:vars] if int
|
23
|
+
h[:variables] = int[:vars].to_h if int
|
24
24
|
end
|
25
25
|
if logger.debug_request
|
26
26
|
h[:request] = {}
|
@@ -35,7 +35,7 @@ module Elastics
|
|
35
35
|
end
|
36
36
|
if logger.debug_result
|
37
37
|
if result
|
38
|
-
h[:result] = result.respond_to?(:raw_result) ? result.raw_result : result
|
38
|
+
h[:result] = (result.respond_to?(:raw_result) ? result.raw_result : result).to_h
|
39
39
|
end
|
40
40
|
end
|
41
41
|
logger.debug logger.curl_format ? curl_format(h[:request]) : yaml_format(h)
|