Skip to content

Commit 7bc4d8a

Browse files
authored
Merge pull request #178 from toshimaru/fix-ci-build
fix: Fix CI build / CI against Ruby v3.3
2 parents f24235e + bc3de06 commit 7bc4d8a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', 'head']
13+
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
1414
gemfile:
1515
- gemfiles/jekyll_3.9.gemfile
1616
- gemfiles/jekyll_4.0.gemfile

.rubocop.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ AllCops:
88
- Rakefile
99
- Gemfile
1010
require:
11-
- rubocop-performance
1211
- rubocop-minitest
12+
- rubocop-rake
13+
- rubocop-performance
1314

1415
Metrics/MethodLength:
1516
Enabled: false

test/parser/test_ordered_list.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_ordered_list_subheadings_with_classes_nested_structure
5555
parse_with_ordered_list_and_classes
5656
html = @parser.toc
5757

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

6060
assert_equal(5, occurrences)
6161
end

0 commit comments

Comments
 (0)