From e8381304f950d8f5afd72fcd83722bedea359473 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Tue, 1 Sep 2020 18:44:47 +0100 Subject: [PATCH] Remove spree_core dependency --- Gemfile | 11 +---------- Gemfile.lock | 38 +++----------------------------------- 2 files changed, 4 insertions(+), 45 deletions(-) diff --git a/Gemfile b/Gemfile index 38e15fb73e..1cbbb69c9c 100644 --- a/Gemfile +++ b/Gemfile @@ -18,18 +18,11 @@ gem 'web', path: './engines/web' gem 'activerecord-postgresql-adapter' gem 'pg', '~> 0.21.0' -# OFN-maintained and patched version of Spree v2.0.4. See -# https://github.com/openfoodfoundation/openfoodnetwork/wiki/Tech-Doc:-OFN's-Spree-fork%F0%9F%8D%B4 -# for details. -gem 'spree_core', github: 'openfoodfoundation/spree', branch: '2-1-0-stable' - -### Dependencies brought from spree core gem 'acts_as_list', '= 0.2.0' gem 'awesome_nested_set', '~> 3.0.0.rc.1' gem 'cancan', '~> 1.6.10' gem 'ffaker', '~> 1.16' gem 'highline', '= 1.6.18' # Necessary for the install generator -gem 'httparty', '~> 0.18' # Used to check alerts in spree_core, this is not used in OFN. gem 'json', '>= 1.7.7' gem 'money', '5.1.1' gem 'paranoia', '~> 2.0' @@ -37,7 +30,7 @@ gem 'ransack', '~> 1.8.10' gem 'state_machine', '1.2.0' gem 'stringex', '~> 1.5.1' -gem 'spree_i18n', github: 'spree/spree_i18n', branch: '1-3-stable' +gem 'spree_i18n', github: 'openfoodfoundation/spree_i18n', branch: '1-3-stable' # Our branch contains the following changes: # - Pass customer email and phone number to PayPal (merged to upstream master) @@ -61,8 +54,6 @@ gem 'daemons' gem 'delayed_job_active_record' gem 'delayed_job_web' -# Spree's default pagination gem (locked to the current version used by Spree) -# We use it's methods in OFN code as well, so this is a direct dependency gem 'kaminari', '~> 0.14.1' gem 'andand' diff --git a/Gemfile.lock b/Gemfile.lock index 35004a2532..c8bd1cf570 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,12 +6,11 @@ GIT GIT remote: https://github.com/openfoodfoundation/better_spree_paypal_express.git - revision: 1736e3268239a841576d2719a1f276cf9b74c5c5 + revision: 3ae54d8eaeee6c0a8bc4f0e5ee03b1e48b2450c0 branch: 2-1-0-stable specs: spree_paypal_express (2.0.3) paypal-sdk-merchant (= 1.106.1) - spree_core (~> 2.1.0) GIT remote: https://github.com/openfoodfoundation/ofn-qz.git @@ -21,39 +20,13 @@ GIT ofn-qz (0.1.0) GIT - remote: https://github.com/openfoodfoundation/spree.git - revision: cbb24a6ed701166ffaf2ab60a402154100d74766 - branch: 2-1-0-stable - specs: - spree_core (2.1.0) - activemerchant (= 1.78.0) - acts_as_list (= 0.2.0) - awesome_nested_set (~> 3.0.0.rc.1) - aws-sdk (= 1.11.1) - cancan (~> 1.6.10) - ffaker (~> 1.16) - highline (= 1.6.18) - httparty (~> 0.11) - json (>= 1.7.7) - kaminari (~> 0.14.1) - money (= 5.1.1) - paperclip (~> 3.4.1) - paranoia (~> 2.0) - rails (~> 4.0) - ransack (~> 1.0) - state_machine (= 1.2.0) - stringex (~> 1.5.1) - truncate_html (= 0.9.2) - -GIT - remote: https://github.com/spree/spree_i18n.git - revision: 752eb67204e9c5a4e22b62591a8fd55fe2285e43 + remote: https://github.com/openfoodfoundation/spree_i18n.git + revision: 12f18312232f0ce70270d47859d2951d12f7791c branch: 1-3-stable specs: spree_i18n (1.0.0) i18n (~> 0.5) rails-i18n - spree_core (>= 1.1) PATH remote: engines/catalog @@ -417,9 +390,6 @@ GEM hashdiff (1.0.1) highline (1.6.18) hike (1.2.3) - httparty (0.18.1) - mime-types (~> 3.0) - multi_xml (>= 0.5.2) i18n (0.6.11) i18n-js (3.8.0) i18n (>= 0.6.6) @@ -752,7 +722,6 @@ DEPENDENCIES gmaps4rails haml highline (= 1.6.18) - httparty (~> 0.18) i18n (~> 0.6.11) i18n-js (~> 3.8.0) immigrant @@ -799,7 +768,6 @@ DEPENDENCIES selenium-webdriver shoulda-matchers simplecov - spree_core! spree_i18n! spree_paypal_express! spring