Bump rubocop

This commit is contained in:
Jean Boussier 2023-12-14 10:41:58 +01:00
parent 8fbb1ce38f
commit 1bc26d1ada
2 changed files with 3 additions and 3 deletions

View File

@ -16,5 +16,5 @@ gem "minitest", "~> 5.0"
gem "mocha"
group :development do
gem "rubocop", "~> 1.28.2" # Ruby 2.5 support
gem "rubocop", "~> 1.50.2" # Ruby 2.6 support
end

View File

@ -29,7 +29,7 @@ module Bootsnap
@arr.unshift("f", "g")
@observer.expects(:push_paths).with(@arr, "h", "i")
@arr.concat(%w(h i))
@arr.push("h", "i")
@observer.expects(:unshift_paths).with(@arr, "j", "k")
@arr.prepend("j", "k")
@ -46,7 +46,7 @@ module Bootsnap
@arr.push("b", "c")
@arr.append("d", "e")
@arr.unshift("f", "g")
@arr.concat(%w(h i))
@arr.push("h", "i")
@arr.prepend("j", "k")
@arr.delete(3)
@arr.compact!