Test with Rails 5.2 (#1146)

* Appraise with Rails 5.2
* Drop specific tiny versions for Ruby

This will reduce churn on this file as we try to keep up to date with
TEENY Ruby releases.

Travis installs Ruby via rvm with the --fuzzy flag. They also keep up to
date with the latest releases, so --fuzzy will likely always give us the
latest TEENY release.
This commit is contained in:
Daniel Colson 2018-06-17 09:08:17 -04:00 committed by GitHub
parent f71053bc26
commit 3256842209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 144 additions and 19 deletions

View File

@ -1,11 +1,11 @@
rvm:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- ruby-head
- rbx-2
before_install:
@ -21,32 +21,39 @@ 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.3
- rvm: 1.9
gemfile: gemfiles/5.0.gemfile
- rvm: 1.9.3
- rvm: 1.9
gemfile: gemfiles/5.1.gemfile
- rvm: 2.0.0
- rvm: 1.9
gemfile: gemfiles/5.2.gemfile
- rvm: 2.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0.0
- rvm: 2.0
gemfile: gemfiles/5.1.gemfile
- rvm: 2.1.10
- rvm: 2.0
gemfile: gemfiles/5.2.gemfile
- rvm: 2.1
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1.10
- rvm: 2.1
gemfile: gemfiles/5.1.gemfile
- rvm: 2.4.4
- rvm: 2.1
gemfile: gemfiles/5.2.gemfile
- rvm: 2.4
gemfile: gemfiles/3.2.gemfile
- rvm: 2.4.4
- rvm: 2.4
gemfile: gemfiles/4.0.gemfile
- rvm: 2.4.4
- rvm: 2.4
gemfile: gemfiles/4.1.gemfile
- rvm: 2.5.1
- rvm: 2.5
gemfile: gemfiles/3.2.gemfile
- rvm: 2.5.1
- rvm: 2.5
gemfile: gemfiles/4.0.gemfile
- rvm: 2.5.1
- rvm: 2.5
gemfile: gemfiles/4.1.gemfile
- rvm: ruby-head
gemfile: gemfiles/3.2.gemfile

View File

@ -21,3 +21,7 @@ end
appraise '5.1' do
gem 'activerecord', "~> 5.1.0"
end
appraise '5.2' do
gem 'activerecord', "~> 5.2.0"
end

10
gemfiles/5.2.gemfile Normal file
View File

@ -0,0 +1,10 @@
# 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", "~> 5.2.0"
gemspec :name => "factory_bot", :path => "../"

104
gemfiles/5.2.gemfile.lock Normal file
View File

@ -0,0 +1,104 @@
PATH
remote: ..
specs:
factory_bot (4.10.0)
activesupport (>= 3.0.0)
GEM
remote: https://rubygems.org/
specs:
activemodel (5.2.0)
activesupport (= 5.2.0)
activerecord (5.2.0)
activemodel (= 5.2.0)
activesupport (= 5.2.0)
arel (>= 9.0)
activesupport (5.2.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
appraisal (2.1.0)
bundler
rake
thor (>= 0.14.0)
arel (9.0.0)
aruba (0.14.5)
childprocess (>= 0.6.3, < 0.10.0)
contracts (~> 0.9)
cucumber (>= 1.3.19)
ffi (~> 1.9.10)
rspec-expectations (>= 2.99)
thor (~> 0.19)
builder (3.2.3)
childprocess (0.9.0)
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.3.1)
ffi (1.9.25)
gherkin (2.12.2)
multi_json (~> 1.3)
i18n (1.0.1)
concurrent-ruby (~> 1.0)
json (2.1.0)
minitest (5.11.3)
multi_json (1.13.1)
multi_test (0.1.2)
rake (12.3.1)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.1)
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.1)
simplecov (0.16.1)
docile (~> 1.1)
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.5)
thread_safe (~> 0.1)
yard (0.9.14)
PLATFORMS
ruby
DEPENDENCIES
activerecord (~> 5.2.0)
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.2