From 783c0976536f664a49ffb9fb53bdd7015d195adc Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 18 Jan 2022 10:56:13 +0000 Subject: [PATCH] Update roo gem for Ruby 3 compatibility --- Gemfile | 2 +- Gemfile.lock | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 46893c855e..e16eeb329b 100644 --- a/Gemfile +++ b/Gemfile @@ -94,7 +94,7 @@ gem 'wicked_pdf' gem 'wkhtmltopdf-binary' gem 'immigrant' -gem 'roo', '~> 2.8.3' +gem 'roo', github: "roo-rb/roo" # master is currently needed for Ruby 3.x (awaiting new release) gem 'spreadsheet_architect' gem 'whenever', require: false diff --git a/Gemfile.lock b/Gemfile.lock index bd2165f3a8..0eea10bf40 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -24,6 +24,14 @@ GIT sass-rails thor (>= 0.14) +GIT + remote: https://github.com/roo-rb/roo.git + revision: 709464c77623be2bc09b2103405d90ded7604a75 + specs: + roo (2.8.3) + nokogiri (~> 1) + rubyzip (>= 1.3.0, < 3.0.0) + PATH remote: engines/catalog specs: @@ -500,9 +508,6 @@ GEM builder (>= 3.0) dry-inflector (~> 0.1) rubyzip (>= 1.0) - roo (2.8.3) - nokogiri (~> 1) - rubyzip (>= 1.3.0, < 3.0.0) rspec (3.10.0) rspec-core (~> 3.10.0) rspec-expectations (~> 3.10.0) @@ -769,7 +774,7 @@ DEPENDENCIES redis (>= 4.0) responders roadie-rails - roo (~> 2.8.3) + roo! rspec-rails (>= 3.5.2) rspec-retry rswag