jekyll-algolia 1.4.11 → 1.5.0
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 +4 -4
- data/README.md +1 -1
- data/lib/jekyll/algolia/configurator.rb +4 -4
- data/lib/jekyll/algolia/file_browser.rb +0 -2
- data/lib/jekyll/algolia/indexer.rb +4 -4
- data/lib/jekyll/algolia/version.rb +1 -1
- metadata +16 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b399345773d51a54abed252a06df5c1ee0d178d901c1e1e89f8b7fef69cf70de
|
4
|
+
data.tar.gz: 7cd4b6b6248157bba8cf1b2d21e3e36bfcdba589ebb70559c6934029a33dce55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abfeb9de90e42d25813036f91925f3c8e0fb42aaea2874648600e928d6051d8cd0bd23e8aef377e7e8ca099f7bc51ff26a7bf83daa662f7924c9eabc104471dd
|
7
|
+
data.tar.gz: 5cb35c4f376f1f8be7e8d290a9d86a30691a51f693db4e6e876df8d1f1282f6f0d42586ceb3d114e10b4545b8c6e4a701ca162391c8ea931fb35534a09a7c55a
|
data/README.md
CHANGED
@@ -255,10 +255,10 @@ module Jekyll
|
|
255
255
|
# their values to nil values from here
|
256
256
|
def self.disable_other_plugins(config)
|
257
257
|
# Disable archive pages from jekyll-archives
|
258
|
-
config
|
258
|
+
config.delete('jekyll-archives')
|
259
259
|
|
260
260
|
# Disable pagination from jekyll-paginate
|
261
|
-
config
|
261
|
+
config.delete('paginate')
|
262
262
|
|
263
263
|
# Disable pagination for jekyll-paginate-v2
|
264
264
|
config['pagination'] = {} unless config['pagination'].is_a?(Hash)
|
@@ -269,8 +269,8 @@ module Jekyll
|
|
269
269
|
config['autopages']['enabled'] = false
|
270
270
|
|
271
271
|
# Disable tags from jekyll-tagging
|
272
|
-
config
|
273
|
-
config
|
272
|
+
config.delete('tag_page_dir')
|
273
|
+
config.delete('tag_page_layout')
|
274
274
|
|
275
275
|
config
|
276
276
|
end
|
@@ -76,11 +76,9 @@ module Jekyll
|
|
76
76
|
# pages. We don't want to index those.
|
77
77
|
# Source: https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/
|
78
78
|
#
|
79
|
-
# rubocop:disable Naming/PredicateName
|
80
79
|
def self.is_404?(file)
|
81
80
|
['404.md', '404.html'].include?(File.basename(file.path))
|
82
81
|
end
|
83
|
-
# rubocop:enable Naming/PredicateName
|
84
82
|
|
85
83
|
# Public: Check if the file is redirect page
|
86
84
|
#
|
@@ -258,8 +258,8 @@ module Jekyll
|
|
258
258
|
::Algolia.batch!(slice)
|
259
259
|
|
260
260
|
progress_bar.increment if should_have_progress_bar
|
261
|
-
rescue StandardError =>
|
262
|
-
ErrorHandler.stop(
|
261
|
+
rescue StandardError => e
|
262
|
+
ErrorHandler.stop(e, operations: slice)
|
263
263
|
end
|
264
264
|
end
|
265
265
|
end
|
@@ -338,8 +338,8 @@ module Jekyll
|
|
338
338
|
# rubocop:disable Naming/AccessorMethodName
|
339
339
|
def self.set_settings(settings)
|
340
340
|
index.set_settings!(settings)
|
341
|
-
rescue StandardError =>
|
342
|
-
ErrorHandler.stop(
|
341
|
+
rescue StandardError => e
|
342
|
+
ErrorHandler.stop(e, settings: settings)
|
343
343
|
end
|
344
344
|
# rubocop:enable Naming/AccessorMethodName
|
345
345
|
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-algolia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Carry
|
8
|
+
- Sylvain Utard
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2019-09-18 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: algolia_html_extractor
|
@@ -30,14 +31,14 @@ dependencies:
|
|
30
31
|
requirements:
|
31
32
|
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
34
|
+
version: '1.26'
|
34
35
|
type: :runtime
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
39
|
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
41
|
+
version: '1.26'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: filesize
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +57,22 @@ dependencies:
|
|
56
57
|
name: jekyll
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- - "
|
60
|
+
- - ">="
|
60
61
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
62
|
+
version: '3.6'
|
63
|
+
- - "<"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '5.0'
|
62
66
|
type: :runtime
|
63
67
|
prerelease: false
|
64
68
|
version_requirements: !ruby/object:Gem::Requirement
|
65
69
|
requirements:
|
66
|
-
- - "
|
70
|
+
- - ">="
|
67
71
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
72
|
+
version: '3.6'
|
73
|
+
- - "<"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '5.0'
|
69
76
|
- !ruby/object:Gem::Dependency
|
70
77
|
name: json
|
71
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -277,7 +284,7 @@ dependencies:
|
|
277
284
|
- !ruby/object:Gem::Version
|
278
285
|
version: '0.10'
|
279
286
|
description: Index all your content into Algolia by running `jekyll algolia`
|
280
|
-
email:
|
287
|
+
email: support@algolia.com
|
281
288
|
executables: []
|
282
289
|
extensions: []
|
283
290
|
extra_rdoc_files: []
|