slate_algolia 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slate_algolia/index.rb +1 -1
- data/slate_algolia.gemspec +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: 77e305814a2dc82e8efa863897e7571075fc68c2
|
4
|
+
data.tar.gz: 1934c277d4f1c75d89980a2cd0a828bdf49ca9b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2adbb347b1891af5827d1678ec02911870b4efcb22e2c1af8769f8ae5887bd535193ef5f5e6954974ec68b838b2746b47237a47c3f9a807cb72c70d92153a0a3
|
7
|
+
data.tar.gz: 41fe811b6fdef5002154822ebf0b75c86f87324e5def8ebf459bedd084f605f3fb55cd77a34222120dd1c289f0db210c9e8dac3c71d6a15fb26f2faf2cb2d23e
|
data/lib/slate_algolia/index.rb
CHANGED
@@ -24,7 +24,7 @@ module Middleman
|
|
24
24
|
|
25
25
|
def clean_index
|
26
26
|
old_content = @index.browse['hits'].reject do |hit|
|
27
|
-
@published.any? { |entry| entry[:
|
27
|
+
@published.any? { |entry| entry[:objectID] == hit['objectID'] }
|
28
28
|
end
|
29
29
|
|
30
30
|
if @options[:filter_deletes].instance_of?(Proc)
|
data/slate_algolia.gemspec
CHANGED