Skip to content

Commit

Permalink
Merge pull request #245 from sue445/fix_ci
Browse files Browse the repository at this point in the history
Requires rubocop-performance 1.20.0+
  • Loading branch information
sue445 authored Dec 22, 2023
2 parents 1f66279 + 4cb8144 commit b44d08c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rubocop/isucon/memorize_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def #{method_name}_with_cache
end
RUBY

alias_method "#{method_name}_without_cache", method_name
alias_method :"#{method_name}_without_cache", method_name
alias_method method_name, "#{method_name}_with_cache"
end
end
Expand Down
2 changes: 1 addition & 1 deletion rubocop-isucon.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "activerecord", ">= 6.1.0"
spec.add_runtime_dependency "gda", "!= 1.1.2"
spec.add_runtime_dependency "rubocop", ">= 1.49.0"
spec.add_runtime_dependency "rubocop-performance"
spec.add_runtime_dependency "rubocop-performance", ">= 1.20.0"

spec.add_development_dependency "benchmark-ips"
spec.add_development_dependency "pry-byebug"
Expand Down

0 comments on commit b44d08c

Please sign in to comment.