From 73b640d73a1ec40a61eca24de16fb1b953e9cd6c Mon Sep 17 00:00:00 2001 From: Igor Gonchar Date: Thu, 17 Dec 2020 20:38:45 +0200 Subject: [PATCH] rails 6.1 compatibility --- .travis.yml | 6 ++++++ Gemfile | 1 + 2 files changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index d3f734a..c8fc4e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,13 @@ services: - postgresql rvm: - 2.5.7 + - 2.7.2 before_install: gem install bundler -v 2.1.4 before_script: - psql -c 'CREATE DATABASE pg_sql_caller_test;' -U postgres - cp -v spec/config/database.travis.yml spec/config/database.yml +env: + matrix: + - AR=5.2.0 + - AR=6.0.0 + - AR=6.1.0 diff --git a/Gemfile b/Gemfile index cbdb778..5a654d2 100644 --- a/Gemfile +++ b/Gemfile @@ -10,3 +10,4 @@ gem 'pg' gem 'rake', '~> 12.0' gem 'rspec', '~> 3.0' gem 'rubocop', '~> 0.80.1' +gem 'activerecord', "~> #{ENV.fetch('AR', '6.0.0')}"