From 101c5550bb9cd9252e92b0ba636abcc73d9b4517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Tue, 12 Oct 2021 21:42:47 +0200 Subject: [PATCH] Drop dependency on Nokogumbo The Nokogumbo library has been deprecated by Nokogiri 1.12.0 and its whole API has been integrated into the latter. Update our dependencies to directly depend on Nokogiri only. See sparklemotion/nokogiri#2205 for details. --- Gemfile | 2 +- Gemfile.lock | 10 +++++----- _plugins/glossary-tag.rb | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 04497684..fd7ea49d 100644 --- a/Gemfile +++ b/Gemfile @@ -10,7 +10,7 @@ gem 'jekyll-redirect-from' gem 'jekyll-sitemap' gem 'htmlbeautifier' gem 'kramdown-math-katex' -gem 'nokogumbo' +gem 'nokogiri', '~> 1.12' # The plugin in the gem repository is ccurrently not maintained. # Temporarity provided locally. diff --git a/Gemfile.lock b/Gemfile.lock index 986514f1..1a6ae4fb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -69,11 +69,11 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - mini_portile2 (2.5.1) - nokogiri (1.11.5) - mini_portile2 (~> 2.5.0) + mini_portile2 (2.6.1) + nokogiri (1.12.5) + mini_portile2 (~> 2.6.1) racc (~> 1.4) - nokogiri (1.11.5-x86_64-linux) + nokogiri (1.12.5-x86_64-linux) racc (~> 1.4) nokogumbo (2.0.5) nokogiri (~> 1.8, >= 1.8.4) @@ -115,7 +115,7 @@ DEPENDENCIES jekyll-redirect-from jekyll-sitemap kramdown-math-katex - nokogumbo + nokogiri (~> 1.12) webrick (~> 1.7) BUNDLED WITH diff --git a/_plugins/glossary-tag.rb b/_plugins/glossary-tag.rb index 8dbbea4a..d04f2889 100644 --- a/_plugins/glossary-tag.rb +++ b/_plugins/glossary-tag.rb @@ -1,6 +1,6 @@ # This generator implements the glossary tag () -require 'nokogumbo' +require 'nokogiri' module Jekyll class GlossaryTag