Gemfile in solidus_reviews-1.3.0 vs Gemfile in solidus_reviews-1.4.0

- old
+ new

@@ -1,32 +1,28 @@ # frozen_string_literal: true source 'https://rubygems.org' +git_source(:github) { |repo| "https://github.com/#{repo}.git" } branch = ENV.fetch('SOLIDUS_BRANCH', 'master') -gem 'solidus', git: 'https://github.com/solidusio/solidus.git', branch: branch -gem 'solidus_auth_devise' +gem 'solidus', github: 'solidusio/solidus', branch: branch # Needed to help Bundler figure out how to resolve dependencies, -# otherwise it takes forever to resolve them -if branch == 'master' || Gem::Version.new(branch[1..-1]) >= Gem::Version.new('2.10.0') - gem 'rails', '~> 6.0' -else - gem 'rails', '~> 5.0' -end +# otherwise it takes forever to resolve them. +# See https://github.com/bundler/bundler/issues/6677 +gem 'rails', '>0.a' +# Provides basic authentication functionality for testing parts of your engine +gem 'solidus_auth_devise' + case ENV['DB'] when 'mysql' gem 'mysql2' when 'postgresql' gem 'pg' else gem 'sqlite3' end -group :test do - gem 'rails-controller-testing' -end - -gem 'solidus_extension_dev_tools', github: 'solidusio-contrib/solidus_extension_dev_tools' +gem 'rails-controller-testing', group: :test gemspec