Upgrade to Ruby 3.0.2.

This commit is contained in:
evazion
2021-09-20 18:20:27 -05:00
parent c6bf3e7934
commit 273be55de8
4 changed files with 4 additions and 4 deletions

View File

@@ -1 +1 @@
2.7.1
3.0.2

View File

@@ -2,7 +2,7 @@
set -xeuo pipefail
RUBY_VERSION="${RUBY_VERSION:-2.7.4}"
RUBY_VERSION="${RUBY_VERSION:-3.0.2}"
VIPS_VERSION="${VIPS_VERSION:-8.10.6}"
FFMPEG_VERSION="${FFMPEG_VERSION:-4.4}"
EXIFTOOL_VERSION="${EXIFTOOL_VERSION:-12.30}"

View File

@@ -65,7 +65,7 @@ class CommentsControllerTest < ActionDispatch::IntegrationTest
assert_response :success
end
should respond_to_search({}, other_params: {group_by: "comment"}).with { [@deleted_comment, @mod_comment, @user_comment] }
should respond_to_search(other_params: {group_by: "comment"}).with { [@deleted_comment, @mod_comment, @user_comment] }
should respond_to_search(body_matches: "blah").with { @mod_comment }
should respond_to_search(score: 10).with { @user_comment }
should respond_to_search(is_sticky: "true").with { @mod_comment }

View File

@@ -9,7 +9,7 @@ module ControllerHelper
# setup { @touhou = create(:tag, name: "touhou") }
# should respond_to_search(name: "touhou").with { @touhou }
#
def respond_to_search(search_params, other_params: {})
ruby2_keywords def respond_to_search(search_params, other_params: {})
RespondToSearchMatcher.new(search_params, other_params)
end