stretchy 0.5.3 → 0.5.4

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
  SHA1:
3
- metadata.gz: fc1f47df9e733b26cbf7a600076991ef6c2fd740
4
- data.tar.gz: f62cabd7fc16980276d70de66c90dba0d25fb03e
3
+ metadata.gz: 8e89b4db78287311b18d1964f21e210c549e3a20
4
+ data.tar.gz: 002026655ed60c198509f4f67897d6329fc445e9
5
5
  SHA512:
6
- metadata.gz: 0642e6ceab6cb04e30aef51cfedefbc1ae4b49f49b387528f71425d7a72bd9bf21a0763f6e1968e95c4568cc9d9148a66f5565cc42b0e5802adfbf08d6c7d6e7
7
- data.tar.gz: 33e7884e2d19d7dbc269258b21b3cb448b8174e055c0f88338ef786caad83efc38886be1386ec3d094b96b4fed584ab7754bb3f2d7c239fd7d8a838f13be9b35
6
+ metadata.gz: fa27184fa1228b2e6e5107b55087543295074d37e6d3cbae553d0642752f94e1609ddc90fe403b3707c38556207ac9c107f8be07ad2c40358d0d5f6b92eba54c
7
+ data.tar.gz: 54852ff84be76940874ffd8275a4edbc9e1854de29d699aa25f8d5c1c180292546d3b9fd8a19bba2d31f2b9b596906c781f7de89ac389758d32b4bcab6f80221
@@ -58,14 +58,12 @@ module Stretchy
58
58
  end
59
59
 
60
60
  def context_nodes(params, context = default_context)
61
- subparams = dotify_params(params, context)
62
-
63
61
  if context[:boost]
64
- params_to_boost(subparams, context)
62
+ params_to_boost(params, context)
65
63
  elsif context[:query]
66
- params_to_queries(subparams, context)
64
+ params_to_queries(dotify_params(params, context), context)
67
65
  else
68
- params_to_filters(subparams, context)
66
+ params_to_filters(dotify_params(params, context), context)
69
67
  end
70
68
  end
71
69
 
@@ -1,3 +1,3 @@
1
1
  module Stretchy
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stretchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - agius
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-30 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: elasticsearch