Skip to content

Commit

Permalink
Merge pull request #6832 from openfoodfoundation/rails-5-upgrade
Browse files Browse the repository at this point in the history
Rails 5.0 -> master
  • Loading branch information
Matt-Yorkley authored Mar 11, 2021
2 parents 120a2c4 + 321da76 commit 2c0e9d7
Show file tree
Hide file tree
Showing 58 changed files with 408 additions and 1,286 deletions.
47 changes: 12 additions & 35 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,24 @@ source 'https://rubygems.org'
ruby "2.4.4"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}.git" }

plugin 'bootboot', '~> 0.1.1' unless Bundler.settings[:frozen]
Plugin.__send__(:load_plugin, 'bootboot') if Plugin.installed?('bootboot')
gem 'rails', '~> 5.0.0'

if ENV['DEPENDENCIES_NEXT']
enable_dual_booting if Plugin.installed?('bootboot')

# This will only be loaded when running
# bundler command prefixed with `DEPENDENCIES_NEXT=1
gem 'rails', '> 5.0', '< 5.1'

gem 'activemerchant', '>= 1.78.0'
gem 'angular-rails-templates', '>= 0.3.0', '< 1.1.0'
gem 'awesome_nested_set'
gem 'rails-controller-testing'
gem 'ransack', '2.3.0'
gem 'responders'
else
gem 'rails', '~> 4.2'

gem 'activemerchant', '~> 1.78.0'
gem 'angular-rails-templates', '~> 0.3.0'
gem 'awesome_nested_set', '~> 3.4.0'
gem 'ransack', '~> 1.8.10'
gem 'responders', '~> 2.0'

gem 'db2fog'
gem 'unicorn'

group :test do
gem 'test_after_commit' # needed to test Devise callbacks
end
end
gem 'activemerchant', '>= 1.78.0'
gem 'angular-rails-templates', '>= 0.3.0'
gem 'awesome_nested_set'
gem 'ransack', '2.3.0'
gem 'responders'
gem 'sass', '<= 4.7.1'
gem 'sass-rails', '< 6.0.0'

gem 'i18n'
gem 'i18n-js', '~> 3.8.1'
gem 'rails-i18n'
gem 'rails_safe_tasks', '~> 1.0'

gem "activerecord-import"
gem "db2fog", github: "openfoodfoundation/db2fog", branch: "rails-5"
gem "fog-aws", ">= 0.6.0"

gem "catalog", path: "./engines/catalog"
gem 'dfc_provider', path: './engines/dfc_provider'
Expand Down Expand Up @@ -104,7 +83,7 @@ gem 'roadie-rails', '~> 1.3.0'

gem 'combine_pdf'
gem 'wicked_pdf'
gem 'wkhtmltopdf-binary'
gem 'wkhtmltopdf-binary', '0.12.5' # We need to upgrade our CI before we can bump this :/

gem 'immigrant'
gem 'roo', '~> 2.8.3'
Expand All @@ -116,15 +95,12 @@ gem 'test-unit', '~> 3.4'
gem 'coffee-rails', '~> 4.2.2'
gem 'compass-rails'

gem 'libv8', '< 8'
gem 'mini_racer', '0.2.15'

gem 'uglifier', '>= 1.0.3'

gem 'angular_rails_csrf'
gem 'foundation-icons-sass-rails'
gem 'sass', '<= 4.7.1'
gem 'sass-rails', '< 6.0.0'

gem 'foundation-rails', '= 5.5.2.1'

Expand Down Expand Up @@ -168,6 +144,7 @@ group :test do
gem 'simplecov', require: false
gem 'test-prof'
gem 'webmock'
gem 'rails-controller-testing'
# See spec/spec_helper.rb for instructions
# gem 'perftools.rb'
end
Expand Down
Loading

0 comments on commit 2c0e9d7

Please sign in to comment.