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 2a83533
Show file tree
Hide file tree
Showing 3 changed files with 12 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Repair tests, support ruby-statistics in ruby < 3.0 (https://github.com/zombocom/derailed_benchmarks/pull/241)
- Test Rails 7.1 and 7.2 (https://github.com/zombocom/derailed_benchmarks/pull/242)
- Switch from dead_end to syntax_suggest (https://github.com/zombocom/derailed_benchmarks/pull/243)
- require `ruby2_keywords` so drb doesn't break in ruby < 2.7 (https://github.com/zombocom/derailed_benchmarks/pull/244)

## 2.1.2

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 2a83533

Please sign in to comment.