stretchy 0.3.2 → 0.3.3

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: ea071c20b4f06728acea83eb37c8860235929310
4
- data.tar.gz: 288665ba972b8c684e8a48ef1b7fd5d22761864a
3
+ metadata.gz: cf6445c8421cd06f445ba6ddca205ad2e40ca3d2
4
+ data.tar.gz: ec341040b0dfe069bfc150459a8ee1c01c848465
5
5
  SHA512:
6
- metadata.gz: b46df2375ccceabc416f34bd71d51f7340d00395b63d2107a030dfc0f5fe951f0b696029ada4101ff3a65ac85210b4c95bbca78452e8d1fc32f944a76dd88f69
7
- data.tar.gz: 8df428f03c7bb2b559fca8b1f522ef8e125ebadf830bf3ea7d327edae9b52eb4a7f2b6b092af3dbf75a6133694d8d12653792df0e21cf235212ce31b585cacf1
6
+ metadata.gz: 80e14ebc3395d182fd2338cd6bdf460204950030794b59b98dc1994564d289d6704ff6c6e4d0143542a882cfb76444a4fedd65abca1acbd2cc2a38813636d6c1
7
+ data.tar.gz: 6622416d049a195aa1de39788d2369c79f694d2cbf593d7e82e9d9d4c19870fd5db2aec512e75a913b668ab1baf6acdb70334c4cb4e11e085f8e3aa72a9d7a06
@@ -30,13 +30,13 @@ module Stretchy
30
30
  options[:origin] = Stretchy::Types::GeoPoint.new(options)
31
31
  end
32
32
  @boost_builder.functions << Stretchy::Boosts::FieldDecayBoost.new(options)
33
- self
33
+ Base.new(self)
34
34
  end
35
35
  alias :geo :near
36
36
 
37
37
  def random(*args)
38
38
  @boost_builder.functions << Stretchy::Boosts::RandomBoost.new(*args)
39
- self
39
+ Base.new(self)
40
40
  end
41
41
 
42
42
  def all(num)
@@ -60,8 +60,7 @@ module Stretchy
60
60
  end
61
61
 
62
62
  def not(options = {})
63
- inst = self.class.new(self, options.merge(inverse: !inverse?))
64
- inst
63
+ self.class.new(self, options.merge(inverse: !inverse?))
65
64
  end
66
65
 
67
66
  end
@@ -1,3 +1,3 @@
1
1
  module Stretchy
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stretchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - agius
@@ -202,3 +202,4 @@ signing_key:
202
202
  specification_version: 4
203
203
  summary: Query builder for Elasticsearch
204
204
  test_files: []
205
+ has_rdoc: