File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ group :test do
2323 gem "nokogiri" , "~> 1.7"
2424 gem "rspec"
2525 gem "rspec-mocks"
26- gem "rubocop" , "~> 1.18.3 "
26+ gem "rubocop" , "~> 1.22.0 "
2727 gem "rubocop-minitest"
2828 gem "rubocop-performance"
2929 gem "rubocop-rake"
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ class TestCollections < JekyllUnitTest
130130 assert @site . collections [ "methods" ] . docs . is_a? Array
131131 @site . collections [ "methods" ] . docs . each do |doc |
132132 assert doc . is_a? Jekyll ::Document
133+ # rubocop:disable Style/WordArray
133134 assert_includes %w(
134135 _methods/configuration.md
135136 _methods/sanitized_path.md
@@ -142,6 +143,7 @@ class TestCollections < JekyllUnitTest
142143 _methods/3940394-21-9393050-fifif1323-test.md
143144 _methods/trailing-dots...md
144145 ) , doc . relative_path
146+ # rubocop:enable Style/WordArray
145147 end
146148 end
147149
Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ def generate(site)
241241 @site . process
242242 # exclude files in symlinked directories here and insert them in the
243243 # following step when not on Windows.
244+ # rubocop:disable Style/WordArray
244245 sorted_pages = %w(
245246 %#\ +.md
246247 .htaccess
@@ -268,6 +269,7 @@ def generate(site)
268269 test-styles.scss
269270 trailing-dots...md
270271 )
272+ # rubocop:enable Style/WordArray
271273 unless Utils ::Platforms . really_windows?
272274 # files in symlinked directories may appear twice
273275 sorted_pages . push ( "main.css.map" , "main.scss" , "symlinked-file" ) . sort!
You can’t perform that action at this time.
0 commit comments