Skip to content

Commit c50a5c4

Browse files
committed
Test with Ruby v3
1 parent 731c7bb commit c50a5c4

File tree

2 files changed

+16
-19
lines changed

2 files changed

+16
-19
lines changed

.travis.yml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ language: ruby
22

33
matrix:
44
include:
5-
- name: "Rails 5.1 on Ruby 2.4.10"
6-
rvm: 2.4.10
7-
gemfile: gemfiles/rails_5.1.gemfile
8-
- name: "Rails 5.2 on Ruby 2.4.10"
9-
rvm: 2.4.10
10-
gemfile: gemfiles/rails_5.2.gemfile
11-
125
- name: "Rails 5.1 on Ruby 2.5.8"
136
rvm: 2.5.8
147
gemfile: gemfiles/rails_5.1.gemfile
@@ -26,25 +19,29 @@ matrix:
2619
rvm: 2.6.6
2720
gemfile: gemfiles/rails_6.1.gemfile
2821

29-
- name: "Rails 6.0 on Ruby 2.7.1"
30-
rvm: 2.7.1
22+
- name: "Rails 6.0 on Ruby 2.7.2"
23+
rvm: 2.7.2
3124
gemfile: gemfiles/rails_6.0.gemfile
32-
- name: "Rails 6.1 on Ruby 2.7.1"
33-
rvm: 2.7.1
25+
- name: "Rails 6.1 on Ruby 2.7.2"
26+
rvm: 2.7.2
27+
gemfile: gemfiles/rails_6.1.gemfile
28+
29+
- name: "Rails 6.1 on Ruby 3.0.0"
30+
rvm: 3.0.0
3431
gemfile: gemfiles/rails_6.1.gemfile
3532

36-
- name: "Rails 5.2 on JRuby 9.2.11.1"
37-
rvm: jruby-9.2.11.1
33+
- name: "Rails 5.2 on JRuby 9.2.14.0"
34+
rvm: jruby-9.2.14.0
3835
gemfile: gemfiles/rails_5.2.gemfile
39-
- name: "Rails 6.0 on JRuby 9.2.11.1"
40-
rvm: jruby-9.2.11.1
36+
- name: "Rails 6.0 on JRuby 9.2.14.0"
37+
rvm: jruby-9.2.14.0
4138
gemfile: gemfiles/rails_6.0.gemfile
42-
- name: "Rails 6.1 on JRuby 9.2.11.1"
43-
rvm: jruby-9.2.11.1
39+
- name: "Rails 6.1 on JRuby 9.2.14.0"
40+
rvm: jruby-9.2.14.0
4441
gemfile: gemfiles/rails_6.1.gemfile
4542

4643
allow_failures:
47-
- rvm: jruby-9.2.11.1
44+
- rvm: jruby-9.2.14.0
4845

4946
jdk:
5047
- openjdk9

test/active_record_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class ActiveRecordTest < Minitest::Test
8585
assert payload = actual[:payload], -> { actual.ai }
8686
assert payload[:sql], -> { actual.ai }
8787

88-
if Rails.version.to_f >= 5.0
88+
if Rails.version.to_f > 5.1
8989
assert binds = payload[:binds], -> { actual.ai }
9090
if Rails.version.to_f >= 6.1
9191
# Rails 6.1 dropped the bound column name

0 commit comments

Comments
 (0)