Skip to content

Commit

Permalink
Merge pull request #130 from tvdeyen/fix-factory-girl-dep
Browse files Browse the repository at this point in the history
Fix factory girl dependency for Solidus < 2.5
  • Loading branch information
tvdeyen authored Oct 3, 2018
2 parents 1ce787e + 658178c commit 2e87ee3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
10 changes: 0 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,13 @@ rvm:
- 2.3.1
env:
matrix:
- SOLIDUS_BRANCH=v1.2 DB=postgres
- SOLIDUS_BRANCH=v1.3 DB=postgres
- SOLIDUS_BRANCH=v1.4 DB=postgres
- SOLIDUS_BRANCH=v2.0 DB=postgres
- SOLIDUS_BRANCH=v2.1 DB=postgres
- SOLIDUS_BRANCH=v2.2 DB=postgres
- SOLIDUS_BRANCH=v2.3 DB=postgres
- SOLIDUS_BRANCH=v2.4 DB=postgres
- SOLIDUS_BRANCH=v2.5 DB=postgres
- SOLIDUS_BRANCH=v2.6 DB=postgres
- SOLIDUS_BRANCH=v2.7 DB=postgres
- SOLIDUS_BRANCH=master DB=postgres
- SOLIDUS_BRANCH=v1.2 DB=mysql
- SOLIDUS_BRANCH=v1.3 DB=mysql
- SOLIDUS_BRANCH=v1.4 DB=mysql
- SOLIDUS_BRANCH=v2.0 DB=mysql
- SOLIDUS_BRANCH=v2.1 DB=mysql
- SOLIDUS_BRANCH=v2.2 DB=mysql
- SOLIDUS_BRANCH=v2.3 DB=mysql
- SOLIDUS_BRANCH=v2.4 DB=mysql
Expand Down
12 changes: 10 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ group :test do
else
gem "rails_test_params_backport"
end
if branch < "v2.5"
gem 'factory_bot', '4.10.0'
else
gem 'factory_bot', '> 4.10.0'
end
end

gem 'pg', '~> 0.21'
gem 'mysql2', '~> 0.4.10'
if ENV['DB'] == 'mysql'
gem 'mysql2', '~> 0.4.10'
else
gem 'pg', '~> 0.21'
end

group :development, :test do
gem "pry-rails"
Expand Down
1 change: 0 additions & 1 deletion solidus_auth_devise.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Gem::Specification.new do |s|
s.add_development_dependency "capybara-screenshot"
s.add_development_dependency "coffee-rails"
s.add_development_dependency "database_cleaner", "~> 1.6"
s.add_development_dependency "factory_bot", "~> 4.4"
s.add_development_dependency "ffaker"
s.add_development_dependency "poltergeist", "~> 1.5"
s.add_development_dependency "rspec-rails", "~> 3.3"
Expand Down

0 comments on commit 2e87ee3

Please sign in to comment.