elos 1.0.21 → 1.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elos/index/attributes.rb +1 -1
- data/lib/elos/index/mappings.rb +1 -1
- data/lib/elos/index/model/attributes.rb +1 -1
- data/lib/elos/version.rb +1 -1
- 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: 9ff9706189ea5a190be433cce62e342e05552d05
|
4
|
+
data.tar.gz: 2ab9903f440a63db5e69ef32a087895b6dba2b00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e07f881970b0912a7f1d15f3ec6dcc5d70beb284f0392e0b06281dbb10ef8f4e28f512a2689026de050fd0a2cd5f913cf2d599df0b8c9df5faa15a56a233d859
|
7
|
+
data.tar.gz: 6769fd11b933634fda7f3ef626386cec2f0c1a972ea52cc402db7f5e6326137c8c7551b9f598d70e34901ee3a211ab28cae85a0682a0b8199cd2a72921f9d736
|
data/lib/elos/index/mappings.rb
CHANGED
@@ -18,7 +18,7 @@ module Elos::Index::Mappings
|
|
18
18
|
|
19
19
|
def set_mappings(mappings)
|
20
20
|
mps = mappings.is_a?(Proc) ? mappings.() : mappings.deep_dup
|
21
|
-
self.
|
21
|
+
self.attribute_keys = %i(id) + mps[:properties].keys
|
22
22
|
mps[:properties].merge!(_destroyed: boolean_property, json: no_index_string_property) if respond_to?(:physically_destroy?) && physically_destroy?
|
23
23
|
self.mappings = { type_name => mps }
|
24
24
|
end
|
data/lib/elos/version.rb
CHANGED