From f9869d43608df6bc68307a203040217d3ce1494d Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Wed, 11 Nov 2020 13:18:23 +0100 Subject: [PATCH] Remove unused truncate_html gem It seems that we don't use this gem in OFN. It was used in Spree in https://github.com/openfoodfoundation/spree/blob/2-1-0-stable/core/app/helpers/spree/orders_helper.rb to truncate the product description. We don't because we show it in the product modal, and there's no trace of that helper method in our codebase nor I see the gem used at all. --- Gemfile | 1 - Gemfile.lock | 2 -- 2 files changed, 3 deletions(-) diff --git a/Gemfile b/Gemfile index f5e229439e..c4e6747427 100644 --- a/Gemfile +++ b/Gemfile @@ -65,7 +65,6 @@ gem 'haml' gem 'redcarpet' gem 'sass' gem 'sass-rails' -gem 'truncate_html', '0.9.2' gem 'unicorn' gem 'actionpack-action_caching' diff --git a/Gemfile.lock b/Gemfile.lock index cfbf660ce3..59fc928e28 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -634,7 +634,6 @@ GEM thread_safe (0.3.6) tilt (1.4.1) timecop (0.9.2) - truncate_html (0.9.2) tzinfo (0.3.57) uglifier (4.2.0) execjs (>= 0.3.0, < 3) @@ -778,7 +777,6 @@ DEPENDENCIES test-prof test-unit (~> 3.3) timecop - truncate_html (= 0.9.2) uglifier (>= 1.0.3) unicorn unicorn-rails