Sha256: bbae84dcceed89f9282e495f6bf114d71c89b7b139186978d63aebae24a914bd

Contents?: true

Size: 975 Bytes

Versions: 2

Compression:

Stored size: 975 Bytes

Contents

source "https://rubygems.org"

branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
solidus_git, solidus_frontend_git = if (branch == 'main') || (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

# Needed to help Bundler figure out how to resolve dependencies,
# otherwise it takes forever to resolve them
if branch == 'main' || Gem::Version.new(branch[1..-1]) >= Gem::Version.new('2.10.0')
  gem 'rails', '~> 6.0'
else
  gem 'rails', '~> 5.0'
end

case ENV['DB']
when 'mysql'
  gem 'mysql2'
when 'postgres'
  gem 'pg'
end

gem "rails-controller-testing", group: :test

group :development, :test do
  gem 'factory_bot', '> 4.10.0'
  gem "pry-rails"
end

gemspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_braintree-1.4.0 Gemfile
solidus_braintree-1.3.0 Gemfile