From e66fb33dc69898a14fe3ae1530f467f65f701ef6 Mon Sep 17 00:00:00 2001 From: Mark Bussey Date: Sun, 3 Oct 2021 16:36:54 -0500 Subject: [PATCH] Update Nokogumbo version to address dependency warnings Partially addresses the following notification triggered on application launch. ``` NOTE: nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri. See https://github.com/sparklemotion/nokogiri/issues/2205 for more information. ``` This change updates `sanitize` to a verzion that removes the dependency on nokogumbo. The remaining dependency comes from the `linkeddata` data gem which has a more complicated dependency chain to address. --- Gemfile | 2 +- Gemfile.lock | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 566b73c1..e9a24a37 100644 --- a/Gemfile +++ b/Gemfile @@ -38,7 +38,7 @@ gem 'rack', '>= 2.1.4' gem 'rails', '>= 5.2.4.5' gem 'rsolr', '~> 1.0' gem 'rubyzip' -gem 'sanitize', '~> 5.2' +gem 'sanitize', '~> 6.0' # Use SCSS for stylesheets gem 'sass-rails', '~> 5.0' gem 'sidekiq' diff --git a/Gemfile.lock b/Gemfile.lock index e92a32c2..73c4d46e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -879,10 +879,9 @@ GEM rubyzip (2.3.0) samvera-nesting_indexer (2.0.0) dry-equalizer - sanitize (5.2.3) + sanitize (6.0.0) crass (~> 1.0.2) - nokogiri (>= 1.8.0) - nokogumbo (~> 2.0) + nokogiri (>= 1.12.0) sass (3.7.4) sass-listen (~> 4.0.0) sass-listen (4.0.0) @@ -1101,7 +1100,7 @@ DEPENDENCIES rspec-rails (~> 3.5) rspec_junit_formatter rubyzip - sanitize (~> 5.2) + sanitize (~> 6.0) sass-rails (~> 5.0) selenium-webdriver shoulda-matchers