Skip to content

Commit cec4142

Browse files
committed
Update scripts to run compat specs against Rails 6
1 parent 1ae84fa commit cec4142

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

travis/script/predicate_functions.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ function is_mri_2plus {
5454
fi
5555
}
5656

57-
function is_ruby_23_plus {
58-
if ruby -e "exit(RUBY_VERSION.to_f >= 2.3)"; then
57+
function is_ruby_25_plus {
58+
if ruby -e "exit(RUBY_VERSION.to_f >= 2.5)"; then
5959
return 0
6060
else
6161
return 1
@@ -75,7 +75,7 @@ function is_mri_27 {
7575
}
7676

7777
function rspec_rails_compatible {
78-
if is_ruby_23_plus; then
78+
if is_ruby_25_plus; then
7979
return 0
8080
else
8181
return 1

travis/script/update_rubygems_and_install_bundler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33
source script/functions.sh
44

5-
if is_ruby_23_plus; then
5+
if is_ruby_25_plus; then
66
yes | gem update --system
77
yes | gem install bundler
88
else

0 commit comments

Comments
 (0)