blacklight-spotlight 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/spotlight/resource.rb +1 -1
- data/lib/spotlight/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: 31319372e35468cdf48c2e5537ce4bfefac6f13a
|
4
|
+
data.tar.gz: 95e24029e38199e97049fb7bd473b1446b8caec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85d25c21a72c38d78517c6025d4db128eda270a86d280a1e532d9902bea2d81ac38346716ec684ac8750176dbea4be744911f0a9b8736d4f68a9404c4c33f0fd
|
7
|
+
data.tar.gz: 0bba96afb2b8df22de90bc36a4447bc1b15fb970b6cb8737b272f0696d5ba9e412c769ba93dead4d7859b2f4258c878fc4b3e6a6a00f3a2d3e8a5d2e0280ef69
|
@@ -74,7 +74,7 @@ module Spotlight
|
|
74
74
|
|
75
75
|
return to_enum(:documents_to_index) { data.size } unless block_given?
|
76
76
|
|
77
|
-
data.reject(&:blank?).each do |doc|
|
77
|
+
data.lazy.reject(&:blank?).each do |doc|
|
78
78
|
yield doc.reverse_merge(existing_solr_doc_hash(doc[unique_key]) || {})
|
79
79
|
end
|
80
80
|
end
|
data/lib/spotlight/version.rb
CHANGED