elos 1.0.19 → 1.0.20
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 +4 -4
- data/lib/elos/index/attributes.rb +7 -0
- data/lib/elos/index/mappings.rb +1 -0
- data/lib/elos/index/model/attributes.rb +7 -0
- data/lib/elos/index/model.rb +1 -0
- data/lib/elos/index.rb +1 -0
- data/lib/elos/lock.rb +1 -0
- data/lib/elos/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06c65f7e867d46e116583ae614c9e09d3529a62f
|
4
|
+
data.tar.gz: 1326e3ae49347d66c60389f6058a6d9a71145ad9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9daa4547479d39e657be3ae8e234e61f995e7bf84fd85343d42f4d2991d6e63fa4a3a9a6602a3e53b81d1fa810be39474cbb2e4299b0f4327c252c9765f2b008
|
7
|
+
data.tar.gz: 76f1fdbbb484684910e69975e3d38c51710ec2d3ec1dfb575614a4bd4506816e485df2da4316a8c1275c6051886fb0c875e2edace50fb5aa8619342d0425f8a0
|
data/lib/elos/index/mappings.rb
CHANGED
@@ -18,6 +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.attributes = %i(id) + mps[:properties].keys
|
21
22
|
mps[:properties].merge!(_destroyed: boolean_property, json: no_index_string_property) if respond_to?(:physically_destroy?) && physically_destroy?
|
22
23
|
self.mappings = { type_name => mps }
|
23
24
|
end
|
data/lib/elos/index/model.rb
CHANGED
data/lib/elos/index.rb
CHANGED
data/lib/elos/lock.rb
CHANGED
data/lib/elos/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tetsuri Moriya
|
@@ -151,12 +151,14 @@ files:
|
|
151
151
|
- lib/elos/errors/validation_failed.rb
|
152
152
|
- lib/elos/helpers.rb
|
153
153
|
- lib/elos/index.rb
|
154
|
+
- lib/elos/index/attributes.rb
|
154
155
|
- lib/elos/index/core.rb
|
155
156
|
- lib/elos/index/indexable.rb
|
156
157
|
- lib/elos/index/locatable.rb
|
157
158
|
- lib/elos/index/mappings.rb
|
158
159
|
- lib/elos/index/model.rb
|
159
160
|
- lib/elos/index/model/assignable.rb
|
161
|
+
- lib/elos/index/model/attributes.rb
|
160
162
|
- lib/elos/index/model/identifiable.rb
|
161
163
|
- lib/elos/index/model/initializable.rb
|
162
164
|
- lib/elos/index/properties.rb
|