Skip to content

Commit

Permalink
require ruby2_keywords in 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
pcai committed Sep 29, 2024
1 parent 94a4122 commit ac52547
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_5_2.gemfile
# - ruby: "2.5"
# gemfile: gemfiles/rails_6_0.gemfile
# - ruby: "2.5"
# gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_6_0.gemfile
- ruby: "2.5"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_5_2.gemfile
# - ruby: "2.6"
# gemfile: gemfiles/rails_6_0.gemfile
# - ruby: "2.6"
# gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_6_0.gemfile
- ruby: "2.6"
gemfile: gemfiles/rails_6_1.gemfile
- ruby: "2.7"
gemfile: gemfiles/rails_5_1.gemfile
- ruby: "2.7"
Expand Down
3 changes: 3 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# Configure Rails Envinronment
ENV["RAILS_ENV"] = "test"


require "ruby2_keywords" if RUBY_VERSION < "2.7"

require 'rails'
require 'rails/test_help'

Expand Down

0 comments on commit ac52547

Please sign in to comment.