elasticated 1.2.0 → 1.2.1

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: e1a08d2510bd23da7999c53bcd73bfaf31966f26
4
- data.tar.gz: 7eb29a5494237a837ff99756f363819ffb6c1672
3
+ metadata.gz: 38febd11375f1593d887dfa64c008e6b559e4b77
4
+ data.tar.gz: 6cfaa6521ae4d55a7ed9ca37cc415acc33c02cf8
5
5
  SHA512:
6
- metadata.gz: 338cf2601d5818b96be241e6930153a7ac38c907f78eb0f62bcd6c5777c4c9a85c8bbc7e9ea23bb3a98c791795349975f41bf3312f32f5a94c9f052da752d515
7
- data.tar.gz: 0f2f1ab4b609375b07bb5e59f4f6715369b83b9f6cafc4c6660e3476b5914aa04e95adf30c7fb74ad11f1f2f25067e58f3a929d3cf1e7b418eb03da25aefe1dd
6
+ metadata.gz: 4c0663916c7c1b3137c42065d5e51cc2dee51d4b70e53b2ae4ce4a8f199be8830c4fc4eea8da1e05b4409230b32baed127fcbbde692958351fea2cf4af9a0000
7
+ data.tar.gz: 853799f2868ad8a545ee100558195d421c9c591f6fd7e71a1a0d5c1698b313edb5f4513e62f6600a9c06d0eec211efb29c05e48063ab0683ab91cadbf423b030
@@ -14,6 +14,10 @@ module Elasticated
14
14
  body
15
15
  end
16
16
 
17
+ def fill_delimiter(field_delimiter)
18
+ # nothing to do
19
+ end
20
+
17
21
  end
18
22
  end
19
23
  end
@@ -17,6 +17,10 @@ module Elasticated
17
17
  { script: body }
18
18
  end
19
19
 
20
+ def fill_delimiter(field_delimiter)
21
+ # nothing to do
22
+ end
23
+
20
24
  end
21
25
  end
22
26
  end
@@ -13,11 +13,7 @@ module Elasticated
13
13
  self.opts = opts
14
14
  end
15
15
 
16
- def fill_date_delimiter(dfd)
17
- # nothing to do, by default
18
- end
19
-
20
- def fill_term_delimiter(tfd)
16
+ def fill_delimiter(field_delimiter)
21
17
  # nothing to do, by default
22
18
  end
23
19
 
@@ -68,6 +68,8 @@ module Elasticated
68
68
  { match_all: {} }
69
69
  elsif _must_not.empty? && _should.empty? && _must.count == 1
70
70
  _must.build_first
71
+ elsif _must_not.empty? && _must.empty? && _should.count == 1
72
+ _should.build_first
71
73
  else
72
74
  bool = {}
73
75
  bool.merge! must: _must.build unless _must.empty?
data/lib/version.rb CHANGED
@@ -1,9 +1,12 @@
1
1
  module Elasticated
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
4
4
 
5
5
  # Changelog
6
6
 
7
+ # 1.2.1
8
+ # Ahora se optimiza la construcción de QueryConditions cuando sólo tienen una cláusula should con una condición
9
+
7
10
  # 1.2.0
8
11
  # Ahora se le puede hacer refresh a multiples indices en simultaneo
9
12
  # Ahora el PartitionedRepository permite hacer refresh a los indices afectados por una query
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticated
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Fernandez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-21 00:00:00.000000000 Z
11
+ date: 2016-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler