Skip to content

fix: Fix CI build / CI against Ruby v3.3 #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', 'head']
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
gemfile:
- gemfiles/jekyll_3.9.gemfile
- gemfiles/jekyll_4.0.gemfile
Expand Down
3 changes: 2 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ AllCops:
- Rakefile
- Gemfile
require:
- rubocop-performance
- rubocop-minitest
- rubocop-rake
- rubocop-performance

Metrics/MethodLength:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion test/parser/test_ordered_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_ordered_list_subheadings_with_classes_nested_structure
parse_with_ordered_list_and_classes
html = @parser.toc

occurrences = html.scan(/<ol class="sublist-class">/).count
occurrences = html.scan('<ol class="sublist-class">').count

assert_equal(5, occurrences)
end
Expand Down
Loading