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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ab14cc0712b4681b53a8dcc7da496e98eb998bf
4
- data.tar.gz: c0984a3fd7962447722ee604902e86a8925a4a23
3
+ metadata.gz: 31319372e35468cdf48c2e5537ce4bfefac6f13a
4
+ data.tar.gz: 95e24029e38199e97049fb7bd473b1446b8caec7
5
5
  SHA512:
6
- metadata.gz: 6c8155d4a110a73a98f51db66953a026abfbe412d6e0da24532b52bcf2933476ec085d6a31d98606eab91abdde8b1e81b6b8abe06f5a2fa6d1d9b3b8dcf6cd0d
7
- data.tar.gz: a644d893ed4f6a8848318b646803f23fc98ad7827758b9ab37f0c8552e8da35e0209f9ca7aba651e8aae840bddb91d805799e0195ef39f26cc2e36a6555e0e06
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
@@ -1,4 +1,4 @@
1
1
  #
2
2
  module Spotlight
3
- VERSION = '0.7.1'
3
+ VERSION = '0.7.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-spotlight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer