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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42fe0a300e2db6c68a380ad3b0880646efba33c9
4
- data.tar.gz: aeba9db2501e7f475ee8f852175596dae17dba28
3
+ metadata.gz: d3c85e47b192b26252d922bfde85bddba6687d21
4
+ data.tar.gz: 11b2cef66e849ead81fd78883a33abafcc7cf99e
5
5
  SHA512:
6
- metadata.gz: b7d21b5fe274def208c206497bb475584776d46fb49d34a0a0950106372037313ce36244d4b963e97b83d00711ae4bc3a24c0cbea76663b7d0c2635bf497e62c
7
- data.tar.gz: cfed5fcb9165a086e1cc0da83d8cec9bac1bb6a2aa87b2dd330c55d378dd17714c8a7912884aefd8149acde11370ae4ca75d23f0ad1e0d719b4742ac9fd57299
6
+ metadata.gz: 2cdaaac4c50086addbc3b08da2ccdcd3db5698ce477d0f978f6c93b010600caa43406cbd8562de6ca3465fa17c5793a90d7716b0a5658d665395667d18939525
7
+ data.tar.gz: 1370fbcd59daeca7417957912b103bc934270f7774b9528d4b61f589adf378b313185cc8eb8a80aa506b80051929a4e206e0ee17409d2d9cbe9b1773c047d483
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.1
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastics-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Domizio Demichelis