jekyll-algolia 1.4.11 → 1.5.0

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
  SHA256:
3
- metadata.gz: 87154f64142522b9ad8b4b7308abec7001f729a0918b92d60e10cd66810fcfff
4
- data.tar.gz: 87567e33e3af1aed3dfbb053b7f3f83bf75c99023ae0e0624f187252348ea7fa
3
+ metadata.gz: b399345773d51a54abed252a06df5c1ee0d178d901c1e1e89f8b7fef69cf70de
4
+ data.tar.gz: 7cd4b6b6248157bba8cf1b2d21e3e36bfcdba589ebb70559c6934029a33dce55
5
5
  SHA512:
6
- metadata.gz: ece70b838db1d25edbc94cabfdbe93823f55e345d867abeff30772a6bd17112a059c35da40e24bafe83fb5d60b08458948a7b6f5c8e5a827c65ef4433946080e
7
- data.tar.gz: fc57819822ada6b6d1706246b1e506c1257fdb4bfea929b2c8d568ed3fb1257784e3bca167426cdcc6b3a08a8e89a2040360f1f586e51814521a83fca9e0df6d
6
+ metadata.gz: abfeb9de90e42d25813036f91925f3c8e0fb42aaea2874648600e928d6051d8cd0bd23e8aef377e7e8ca099f7bc51ff26a7bf83daa662f7924c9eabc104471dd
7
+ data.tar.gz: 5cb35c4f376f1f8be7e8d290a9d86a30691a51f693db4e6e876df8d1f1282f6f0d42586ceb3d114e10b4545b8c6e4a701ca162391c8ea931fb35534a09a7c55a
data/README.md CHANGED
@@ -112,7 +112,7 @@ plugins.
112
112
 
113
113
  [12]: https://community.algolia.com/instantsearch.js/
114
114
 
115
- [13]: https://www.algolia.com/press#resources
115
+ [13]: https://www.algolia.com/press/?section=brand-guidelines
116
116
 
117
117
  [14]: https://github.com/ayastreb/
118
118
 
@@ -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['jekyll-archives'] = nil
258
+ config.delete('jekyll-archives')
259
259
 
260
260
  # Disable pagination from jekyll-paginate
261
- config['paginate'] = nil
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['tag_page_dir'] = nil
273
- config['tag_page_layout'] = nil
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 => error
262
- ErrorHandler.stop(error, operations: slice)
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 => error
342
- ErrorHandler.stop(error, settings: settings)
341
+ rescue StandardError => e
342
+ ErrorHandler.stop(e, settings: settings)
343
343
  end
344
344
  # rubocop:enable Naming/AccessorMethodName
345
345
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Algolia
5
- VERSION = '1.4.11'
5
+ VERSION = '1.5.0'
6
6
  end
7
7
  end
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.11
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: 2018-12-19 00:00:00.000000000 Z
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.25'
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.25'
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.0'
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.0'
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: tim@pixelastic.com
287
+ email: support@algolia.com
281
288
  executables: []
282
289
  extensions: []
283
290
  extra_rdoc_files: []