Skip to content
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

Bump rubocop to v1.61 #788

Merged
merged 1 commit into from
Jul 24, 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 Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group :test do

gem "backports"

gem "rubocop", "~> 1.57.0"
gem "rubocop", "~> 1.61.0"
gem "rubocop-performance", "~> 1.19.1"
gem "rubocop-rake", "~> 0.6.0"
gem "rubocop-rspec", "~> 2.24.1"
Expand Down
2 changes: 1 addition & 1 deletion lib/http/chainable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def timeout(options)
%i[global read write connect].each do |k|
next unless options.key? k

options["#{k}_timeout".to_sym] = options.delete k
options[:"#{k}_timeout"] = options.delete k
end

branch default_options.merge(
Expand Down
2 changes: 1 addition & 1 deletion lib/http/response/status/reasons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Status < ::Delegator
508 => "Loop Detected",
510 => "Not Extended",
511 => "Network Authentication Required"
}.each { |_, v| v.freeze }.freeze
}.each_value(&:freeze).freeze
end
end
end
4 changes: 2 additions & 2 deletions spec/support/proxy_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ProxyServer < WEBrick::HTTPProxyServer
}.freeze

def initialize
super CONFIG
super(CONFIG)
end
end

Expand All @@ -34,6 +34,6 @@ class AuthProxyServer < WEBrick::HTTPProxyServer
CONFIG = ProxyServer::CONFIG.merge ProxyAuthProc: AUTHENTICATOR

def initialize
super CONFIG
super(CONFIG)
end
end
Loading