diff --git a/.travis.yml b/.travis.yml index 73123453..2f1ab945 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,14 +4,12 @@ env: before_script: - "bundle exec rake db:prepare" rvm: - - 2.2.7 - - 2.3.4 - - 2.4.1 + - 2.5.8 + - 2.6.6 + - 2.7.2 gemfile: - - gemfiles/rails42.gemfile - - gemfiles/rails5.gemfile - - gemfiles/rails51.gemfile - gemfiles/rails52.gemfile + - gemfiles/rails6.gemfile notifications: recipients: - gabriel.sobrinho@gmail.com diff --git a/Appraisals b/Appraisals index 223fb4dc..506f2650 100644 --- a/Appraisals +++ b/Appraisals @@ -1,16 +1,8 @@ -appraise "rails42" do - gem "activerecord", "~> 4.2.0" -end - -appraise "rails5" do - gem "activerecord", "~> 5.0.0" -end - -appraise "rails51" do - gem "activerecord", "~> 5.1.0" -end - appraise "rails52" do gem "activerecord", "~> 5.2.0" end + +appraise "rails6" do + gem "activerecord", "~> 6.0.0" +end # vim: ft=ruby diff --git a/ar-octopus.gemspec b/ar-octopus.gemspec index 6e8c1017..c3007c7d 100644 --- a/ar-octopus.gemspec +++ b/ar-octopus.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |s| 'Octopus now stores schema version information in each shard and migrations will not ' \ 'work properly unless this task is invoked.' - s.required_ruby_version = '>= 2.2.0' + s.required_ruby_version = '>= 2.5.0' s.add_dependency 'activerecord', '>= 4.2.0' s.add_dependency 'activesupport', '>= 4.2.0' diff --git a/gemfiles/rails6.gemfile b/gemfiles/rails6.gemfile new file mode 100644 index 00000000..b07bd133 --- /dev/null +++ b/gemfiles/rails6.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 6.0.0" + +gemspec path: "../"