From a462eb958d3fab07f3f287c96fae5a7786efc1cf Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Wed, 6 Feb 2013 09:47:23 +1100 Subject: [PATCH] Truncate product description using truncate_html gem Fixes #2518, Fixes #2323 --- core/spree_core.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/spree_core.gemspec b/core/spree_core.gemspec index e11baf32213..2bb6a08ec11 100644 --- a/core/spree_core.gemspec +++ b/core/spree_core.gemspec @@ -37,8 +37,8 @@ Gem::Specification.new do |s| s.add_dependency 'deface', '>= 0.9.0' s.add_dependency 'stringex', '~> 1.3.2' s.add_dependency 'cancan', '1.6.8' + s.add_dependency 'truncate_html', '0.9.2' + + # Frozen to 5.0.0 because 5.1.0 is not compatible with Ruby 1.8. s.add_dependency 'money', '5.0.0' - s.add_dependency 'rabl', '0.7.2' - # Latest truncate_html supports only Ruby 1.9 - s.add_dependency 'truncate_html', '~> 0.5.5' end