Skip to content

Commit 4233d2a

Browse files
dblockCopilot
andcommitted
Add Ruby 4.x to CI test matrix
Upgrades rspec to ~> 3.13 (was 3.4) for Ruby 4.0 compatibility. rspec 3.4 used ERB.new with positional arguments which was removed in Ruby 4.0. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5553b1a commit 4233d2a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
ruby-version: ['3.4']
12+
ruby-version: ['3.4', '4.0.2']
1313
steps:
1414
- uses: actions/checkout@v4
1515
- name: Set up Ruby

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* [#48](https://github.com/dblock/fui/pull/48): Fixed `NameError: undefined local variable or method 'project_path'` in verbose mode - [@dblock](https://github.com/dblock).
66
* [#49](https://github.com/dblock/fui/pull/49): Added summary output to `find` command: prints `Found N unused header(s).` or `No unused imports found.` - [@dblock](https://github.com/dblock).
77
* [#50](https://github.com/dblock/fui/pull/50): Fixed `delete` command to also remove `.mm` (Objective-C++) implementation files - [@dblock](https://github.com/dblock).
8+
* [#51](https://github.com/dblock/fui/pull/51): Added support for Ruby 4.x - [@dblock](https://github.com/dblock).
89
* Your contribution here.
910

1011
### 0.5.0 (2018/12/19)

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ gem 'danger-changelog'
77
gem 'danger-pr-comment', '0.1.0'
88
gem 'danger-toc'
99
gem 'rake'
10-
gem 'rspec', '~> 3.4.0'
10+
gem 'rspec', '~> 3.13'
1111
gem 'rubocop', '1.86.1'

0 commit comments

Comments
 (0)