jekyll-algolia 1.2.2 → 1.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b6433c0b94ecdcff87f99aba83da0f0e6c69acb
4
- data.tar.gz: 23846665446cae0927cb5a4677a80c82b31fb0f7
3
+ metadata.gz: e0ef22fa8ad259949245a9bfbbdb54826700a2e6
4
+ data.tar.gz: 6040a7eb8de264da8eca662c3ef40b10fc6b4250
5
5
  SHA512:
6
- metadata.gz: ed9c134b992afb611c0e2116e2be5ceff53aea8280ed93d5e1673a3bac958b3b745118df4d2116d33e1836b535c5d42da25c67c753f3bd4a5a9180a1aea5c167
7
- data.tar.gz: 7c3cfffce318208ccf088d0af1448c96020970329cbe7b0d27105dbcd619ae07cf1b4cc96fabc05ff93b812637a778a8a0197125442d3824798d48277dab7cbf
6
+ metadata.gz: e533061637eb498423f7e27904796564c9607c0c0f6964ff183c657c3629e2fd2d2386569d8893a02d336c5fa03e0a1899760daa9cfd59b933a8e1a35fe33baf
7
+ data.tar.gz: 5bc8a18334263b1dfc03957a4db918969729cd0483cea220090ee36367de4a00e090c6564de3f3eecebdf002480962555b9cc1c6a93384bdb23bef2ef4ac2a01
@@ -17,6 +17,9 @@ module Jekyll
17
17
  # Getting file metadata
18
18
  shared_metadata = FileBrowser.metadata(file)
19
19
 
20
+ # If no content, we still index the metadata
21
+ raw_records = [shared_metadata] if raw_records.empty?
22
+
20
23
  # Building the list of records
21
24
  records = []
22
25
  raw_records.map do |record|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Algolia
5
- VERSION = '1.2.2'
5
+ VERSION = '1.2.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Carry