elasticsearch-model-mongoid_extensions 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de73d13b0e1594b982d5bdf4a50889077588093a
|
4
|
+
data.tar.gz: c9fec5753d9bc459a02626044bd121ef5421008e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26fd1e390f3e97f6ae8cb6c15465b2e70c8e03aac023161cdd23b3887bb4c32cd2ecb0b03fc04205aa9d8c84c0d58cceb510485d7d6d172a0f6bfd75fefbc069
|
7
|
+
data.tar.gz: f9ff83b5dd71034f91948a88bfa5340e9ac867024fc1132b48dc0eb7e773d7ac3244e75307bc6c6717d858b38b09dad1b0344dca9ce9ef3d8485fa6a6aa1d667
|
@@ -57,8 +57,8 @@ module Elasticsearch
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def import(options = {}, &block)
|
60
|
-
__elasticsearch__.import(options.merge(criteria: criteria.type(to_s)), &block)
|
61
|
-
descendants.
|
60
|
+
__elasticsearch__.import(options.merge(criteria: criteria.type(to_s)), &block) +
|
61
|
+
descendants.map { |cls| cls.import(options, &block) }.sum
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-model-mongoid_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Celizna
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|