From b937ef4dd29542197ffa8b8bedfb29d0cc85eee4 Mon Sep 17 00:00:00 2001 From: Daniel Colson Date: Wed, 30 Jan 2019 21:19:05 -0500 Subject: [PATCH] Test against activerecord 6.0 --- .travis.yml | 6 ++ Appraisals | 4 ++ gemfiles/6.0.gemfile | 7 +++ gemfiles/6.0.gemfile.lock | 127 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 144 insertions(+) create mode 100644 gemfiles/6.0.gemfile create mode 100644 gemfiles/6.0.gemfile.lock diff --git a/.travis.yml b/.travis.yml index 00e046d..058cb10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,13 @@ gemfile: - gemfiles/5.0.gemfile - gemfiles/5.1.gemfile - gemfiles/5.2.gemfile + - gemfiles/6.0.gemfile matrix: + exclude: + - rvm: 2.3 + gemfile: gemfiles/6.0.gemfile + - rvm: 2.4 + gemfile: gemfiles/6.0.gemfile fast_finish: true allow_failures: - rvm: ruby-head diff --git a/Appraisals b/Appraisals index 2482732..ef3d3b3 100644 --- a/Appraisals +++ b/Appraisals @@ -13,3 +13,7 @@ end appraise "5.2" do gem "activerecord", "~> 5.2.0" end + +appraise "6.0" do + gem "activerecord", "~> 6.0.0.beta1" +end diff --git a/gemfiles/6.0.gemfile b/gemfiles/6.0.gemfile new file mode 100644 index 0000000..485700e --- /dev/null +++ b/gemfiles/6.0.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 6.0.0.beta1" + +gemspec name: "factory_bot", path: "../" diff --git a/gemfiles/6.0.gemfile.lock b/gemfiles/6.0.gemfile.lock new file mode 100644 index 0000000..9c0a283 --- /dev/null +++ b/gemfiles/6.0.gemfile.lock @@ -0,0 +1,127 @@ +PATH + remote: .. + specs: + factory_bot (5.0.0.rc2) + activesupport (>= 4.2.0) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (6.0.0.beta1) + activesupport (= 6.0.0.beta1) + activerecord (6.0.0.beta1) + activemodel (= 6.0.0.beta1) + activesupport (= 6.0.0.beta1) + activesupport (6.0.0.beta1) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + appraisal (2.2.0) + bundler + rake + thor (>= 0.14.0) + aruba (0.14.6) + 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) + ast (2.4.0) + backports (3.11.4) + builder (3.2.3) + childprocess (0.9.0) + ffi (~> 1.0, >= 1.0.11) + concurrent-ruby (1.1.4) + contracts (0.16.0) + cucumber (3.1.2) + builder (>= 2.1.2) + cucumber-core (~> 3.2.0) + cucumber-expressions (~> 6.0.1) + cucumber-wire (~> 0.0.1) + diff-lcs (~> 1.3) + gherkin (~> 5.1.0) + multi_json (>= 1.7.5, < 2.0) + multi_test (>= 0.1.2) + cucumber-core (3.2.1) + backports (>= 3.8.0) + cucumber-tag_expressions (~> 1.1.0) + gherkin (~> 5.0) + cucumber-expressions (6.0.1) + cucumber-tag_expressions (1.1.1) + cucumber-wire (0.0.1) + diff-lcs (1.3) + docile (1.3.1) + ffi (1.9.25) + gherkin (5.1.0) + i18n (1.5.3) + concurrent-ruby (~> 1.0) + json (2.1.0) + minitest (5.11.3) + multi_json (1.13.1) + multi_test (0.1.2) + parallel (1.12.1) + parser (2.6.0.0) + ast (~> 2.4.0) + powerpack (0.1.2) + rainbow (3.0.0) + rake (12.3.2) + rspec (3.8.0) + rspec-core (~> 3.8.0) + rspec-expectations (~> 3.8.0) + rspec-mocks (~> 3.8.0) + rspec-core (3.8.0) + rspec-support (~> 3.8.0) + rspec-expectations (3.8.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.8.0) + rspec-its (1.2.0) + rspec-core (>= 3.0.0) + rspec-expectations (>= 3.0.0) + rspec-mocks (3.8.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.8.0) + rspec-support (3.8.0) + rubocop (0.54.0) + parallel (~> 1.10) + parser (>= 2.5) + powerpack (~> 0.1) + rainbow (>= 2.2.2, < 4.0) + ruby-progressbar (~> 1.7) + unicode-display_width (~> 1.0, >= 1.0.1) + ruby-progressbar (1.10.0) + 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.3) + thread_safe (0.3.6) + timecop (0.9.1) + tzinfo (1.2.5) + thread_safe (~> 0.1) + unicode-display_width (1.4.1) + yard (0.9.18) + +PLATFORMS + ruby + +DEPENDENCIES + activerecord (~> 6.0.0.beta1) + appraisal + aruba + cucumber + factory_bot! + rake + rspec + rspec-its + rubocop (= 0.54) + simplecov + sqlite3 + timecop + yard + +BUNDLED WITH + 1.17.2