1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00

WIP for 5.0: Don't test against old versions of Ruby and Rails

This commit is contained in:
Joshua Clayton 2018-07-25 19:46:27 -04:00 committed by Daniel Colson
parent be8c02be3e
commit 9c37d0f796
9 changed files with 2 additions and 406 deletions

View file

@ -1,8 +1,4 @@
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
@ -15,52 +11,12 @@ before_install:
install: "bundle install --jobs 8"
script: "bundle exec rake"
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.0.gemfile
- gemfiles/4.1.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
- gemfiles/5.1.gemfile
- gemfiles/5.2.gemfile
matrix:
fast_finish: true
exclude:
- rvm: 1.9
gemfile: gemfiles/5.0.gemfile
- rvm: 1.9
gemfile: gemfiles/5.1.gemfile
- rvm: 1.9
gemfile: gemfiles/5.2.gemfile
- rvm: 2.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0
gemfile: gemfiles/5.1.gemfile
- rvm: 2.0
gemfile: gemfiles/5.2.gemfile
- rvm: 2.1
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/5.1.gemfile
- rvm: 2.1
gemfile: gemfiles/5.2.gemfile
- rvm: 2.4
gemfile: gemfiles/3.2.gemfile
- rvm: 2.4
gemfile: gemfiles/4.0.gemfile
- rvm: 2.4
gemfile: gemfiles/4.1.gemfile
- rvm: 2.5
gemfile: gemfiles/3.2.gemfile
- rvm: 2.5
gemfile: gemfiles/4.0.gemfile
- rvm: 2.5
gemfile: gemfiles/4.1.gemfile
- rvm: ruby-head
gemfile: gemfiles/3.2.gemfile
- rvm: ruby-head
gemfile: gemfiles/4.0.gemfile
- rvm: ruby-head
gemfile: gemfiles/4.1.gemfile
allow_failures:
- rvm: ruby-head
- rvm: rbx-2

View file

@ -1,15 +1,3 @@
appraise "3.2" do
gem "activerecord", git: 'https://github.com/rails/rails.git', branch: '3-2-stable'
end
appraise '4.0' do
gem 'activerecord', "~> 4.0.13"
end
appraise '4.1' do
gem 'activerecord', "~> 4.1.14"
end
appraise '4.2' do
gem 'activerecord', "~> 4.2.5.1"
end

View file

@ -56,6 +56,8 @@ manually.
Supported Ruby versions
-----------------------
The factory_bot 5.x series supports MRI Ruby 2.3+.
The factory_bot 3.x+ series supports MRI Ruby 1.9. Additionally, factory_bot
3.6+ supports JRuby 1.6.7.2+ while running in 1.9 mode. See [GETTING_STARTED]
for more information on configuring the JRuby environment.

View file

@ -1,10 +0,0 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
gem "jdbc-sqlite3", :platforms => :jruby
gem "sqlite3", "~> 1.3.10", :platforms => :ruby
gem "activerecord", :git => "https://github.com/rails/rails.git", :branch => "3-2-stable"
gemspec :name => "factory_bot", :path => "../"

View file

@ -1,107 +0,0 @@
GIT
remote: https://github.com/rails/rails.git
revision: e17e25cd23e8abd45b1706463dd57c90fa6dcb7c
branch: 3-2-stable
specs:
activemodel (3.2.22.5)
activesupport (= 3.2.22.5)
builder (~> 3.0)
activerecord (3.2.22.5)
activemodel (= 3.2.22.5)
activesupport (= 3.2.22.5)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activesupport (3.2.22.5)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
PATH
remote: ..
specs:
factory_bot (4.10.0)
activesupport (>= 3.0.0)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.1.0)
bundler
rake
thor (>= 0.14.0)
arel (3.0.3)
aruba (0.14.2)
childprocess (~> 0.5.6)
contracts (~> 0.9)
cucumber (>= 1.3.19)
ffi (~> 1.9.10)
rspec-expectations (>= 2.99)
thor (~> 0.19)
builder (3.2.3)
childprocess (0.5.9)
ffi (~> 1.0, >= 1.0.11)
concurrent-ruby (1.0.5)
contracts (0.16.0)
cucumber (1.3.20)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
diff-lcs (1.3)
docile (1.1.5)
ffi (1.9.18)
gherkin (2.12.2)
multi_json (~> 1.3)
i18n (0.9.1)
concurrent-ruby (~> 1.0)
json (2.1.0)
multi_json (1.12.2)
multi_test (0.1.2)
rake (12.2.1)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.0)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-its (1.2.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.0)
simplecov (0.15.1)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sqlite3 (1.3.13)
thor (0.20.0)
timecop (0.9.1)
tzinfo (0.3.53)
yard (0.9.12)
PLATFORMS
ruby
DEPENDENCIES
activerecord!
activerecord-jdbcsqlite3-adapter
appraisal (~> 2.1.0)
aruba
cucumber (~> 1.3.15)
factory_bot!
jdbc-sqlite3
rspec (~> 3.0)
rspec-its (~> 1.0)
simplecov
sqlite3 (~> 1.3.10)
timecop
yard
BUNDLED WITH
1.16.1

View file

@ -1,10 +0,0 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
gem "jdbc-sqlite3", :platforms => :jruby
gem "sqlite3", "~> 1.3.10", :platforms => :ruby
gem "activerecord", "~> 4.0.13"
gemspec :name => "factory_bot", :path => "../"

View file

@ -1,107 +0,0 @@
PATH
remote: ..
specs:
factory_bot (4.10.0)
activesupport (>= 3.0.0)
GEM
remote: https://rubygems.org/
specs:
activemodel (4.0.13)
activesupport (= 4.0.13)
builder (~> 3.1.0)
activerecord (4.0.13)
activemodel (= 4.0.13)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.13)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.4)
activesupport (4.0.13)
i18n (~> 0.6, >= 0.6.9)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
appraisal (2.1.0)
bundler
rake
thor (>= 0.14.0)
arel (4.0.2)
aruba (0.14.2)
childprocess (~> 0.5.6)
contracts (~> 0.9)
cucumber (>= 1.3.19)
ffi (~> 1.9.10)
rspec-expectations (>= 2.99)
thor (~> 0.19)
builder (3.1.4)
childprocess (0.5.9)
ffi (~> 1.0, >= 1.0.11)
concurrent-ruby (1.0.5)
contracts (0.16.0)
cucumber (1.3.20)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
diff-lcs (1.3)
docile (1.1.5)
ffi (1.9.18)
gherkin (2.12.2)
multi_json (~> 1.3)
i18n (0.9.1)
concurrent-ruby (~> 1.0)
json (2.1.0)
minitest (4.7.5)
multi_json (1.12.2)
multi_test (0.1.2)
rake (12.2.1)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.0)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-its (1.2.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.0)
simplecov (0.15.1)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sqlite3 (1.3.13)
thor (0.20.0)
thread_safe (0.3.6)
timecop (0.9.1)
tzinfo (0.3.53)
yard (0.9.12)
PLATFORMS
ruby
DEPENDENCIES
activerecord (~> 4.0.13)
activerecord-jdbcsqlite3-adapter
appraisal (~> 2.1.0)
aruba
cucumber (~> 1.3.15)
factory_bot!
jdbc-sqlite3
rspec (~> 3.0)
rspec-its (~> 1.0)
simplecov
sqlite3 (~> 1.3.10)
timecop
yard
BUNDLED WITH
1.16.1

View file

@ -1,10 +0,0 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
gem "jdbc-sqlite3", :platforms => :jruby
gem "sqlite3", "~> 1.3.10", :platforms => :ruby
gem "activerecord", "~> 4.1.14"
gemspec :name => "factory_bot", :path => "../"

View file

@ -1,106 +0,0 @@
PATH
remote: ..
specs:
factory_bot (4.10.0)
activesupport (>= 3.0.0)
GEM
remote: https://rubygems.org/
specs:
activemodel (4.1.16)
activesupport (= 4.1.16)
builder (~> 3.1)
activerecord (4.1.16)
activemodel (= 4.1.16)
activesupport (= 4.1.16)
arel (~> 5.0.0)
activesupport (4.1.16)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
appraisal (2.1.0)
bundler
rake
thor (>= 0.14.0)
arel (5.0.1.20140414130214)
aruba (0.14.2)
childprocess (~> 0.5.6)
contracts (~> 0.9)
cucumber (>= 1.3.19)
ffi (~> 1.9.10)
rspec-expectations (>= 2.99)
thor (~> 0.19)
builder (3.2.3)
childprocess (0.5.9)
ffi (~> 1.0, >= 1.0.11)
concurrent-ruby (1.0.5)
contracts (0.16.0)
cucumber (1.3.20)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
diff-lcs (1.3)
docile (1.1.5)
ffi (1.9.18)
gherkin (2.12.2)
multi_json (~> 1.3)
i18n (0.9.1)
concurrent-ruby (~> 1.0)
json (1.8.6)
minitest (5.10.3)
multi_json (1.12.2)
multi_test (0.1.2)
rake (12.2.1)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.0)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-its (1.2.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.0)
simplecov (0.15.1)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sqlite3 (1.3.13)
thor (0.20.0)
thread_safe (0.3.6)
timecop (0.9.1)
tzinfo (1.2.3)
thread_safe (~> 0.1)
yard (0.9.12)
PLATFORMS
ruby
DEPENDENCIES
activerecord (~> 4.1.14)
activerecord-jdbcsqlite3-adapter
appraisal (~> 2.1.0)
aruba
cucumber (~> 1.3.15)
factory_bot!
jdbc-sqlite3
rspec (~> 3.0)
rspec-its (~> 1.0)
simplecov
sqlite3 (~> 1.3.10)
timecop
yard
BUNDLED WITH
1.16.1