Skip to content

Commit

Permalink
rails 6.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gigorok committed Dec 17, 2020
1 parent c87b59d commit 692639c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ 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
script: bundle exec rake
env:
matrix:
- AR=5.2.0
- AR=6.0.0
- AR=6.1.0
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in pg_sql_caller.gemspec
gemspec

gem 'activerecord', "~> #{ENV.fetch('AR', '6.0.0')}"
gem 'database_cleaner'
gem 'pg'
gem 'rake', '~> 12.0'
Expand Down

0 comments on commit 692639c

Please sign in to comment.