From 90a650bdc6f1068fc03df45161709baf626d0b6f Mon Sep 17 00:00:00 2001 From: rishabh gupta Date: Tue, 23 Jun 2020 15:03:01 +0530 Subject: [PATCH 1/2] upgraded to spree 4-1 --- Appraisals | 5 ++++ app/views/spree/admin/invoice/_a4.html.erb | 2 +- .../spree/admin/invoice/receipt.html.erb | 2 +- gemfiles/spree_4_1.gemfile | 8 +++++ lib/spree_html_invoice/engine.rb | 4 ++- spree_html_invoice.gemspec | 30 +++++++++---------- 6 files changed, 33 insertions(+), 18 deletions(-) create mode 100644 gemfiles/spree_4_1.gemfile diff --git a/Appraisals b/Appraisals index 26981c0..ea1a1e9 100644 --- a/Appraisals +++ b/Appraisals @@ -28,6 +28,11 @@ appraise 'spree-3-7' do gem 'rails-controller-testing', '~> 1.0.2' end +appraise "spree-4-1" do + gem 'spree', '~> 4.1' + gem 'rails-controller-testing', '~> 1.0.2' +end + appraise 'spree-master' do gem 'spree', github: 'spree/spree', branch: 'master' gem 'rails-controller-testing', '~> 1.0.2' diff --git a/app/views/spree/admin/invoice/_a4.html.erb b/app/views/spree/admin/invoice/_a4.html.erb index 05acf74..671d278 100644 --- a/app/views/spree/admin/invoice/_a4.html.erb +++ b/app/views/spree/admin/invoice/_a4.html.erb @@ -6,7 +6,7 @@ <%= Spree.t("#{params[:template]}.header") %> - +