Gemfile in solidus_paypal_braintree-1.1.1 vs Gemfile in solidus_paypal_braintree-1.1.2
- old
+ new
@@ -2,10 +2,16 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
-gem 'solidus', github: 'solidusio/solidus', branch: branch
+solidus_git, solidus_frontend_git = if (branch == 'master') || (branch >= 'v3.2')
+ %w[solidusio/solidus solidusio/solidus_frontend]
+ else
+ %w[solidusio/solidus] * 2
+ end
+gem 'solidus', github: solidus_git, branch: branch
+gem 'solidus_frontend', github: solidus_frontend_git, branch: branch
gem 'rails', ENV.fetch('RAILS_VERSION', nil)
# Provides basic authentication functionality for testing parts of your engine
gem 'solidus_auth_devise'