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

Fix new Rubocop issues #924

Merged
merged 1 commit into from
Jun 28, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/dalli/pipelined_getter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def groups_for_keys(*keys)
groups = @ring.keys_grouped_by_server(keys)
if (unfound_keys = groups.delete(nil))
Dalli.logger.debug do
"unable to get keys for #{unfound_keys.length} keys "\
"unable to get keys for #{unfound_keys.length} keys " \
'because no matching server was found'
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/rack/session/dalli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def retrieve_pool_options(options)
def ensure_connection_pool_added!
require 'connection_pool'
rescue LoadError => e
warn "You don't have connection_pool installed in your application. "\
warn "You don't have connection_pool installed in your application. " \
'Please add it to your Gemfile and run bundle install'
raise e
end
Expand Down
2 changes: 1 addition & 1 deletion test/utils/certificate_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def self.ssl_args

def self.clean
[ROOT_CA_CERT_PATH, ROOT_CA_PK_PATH, MEMCACHED_CERT_PATH, MEMCACHED_PK_PATH].each do |path|
File.delete(path) if File.exist?(path)
FileUtils.rm_rf(path)
end
end

Expand Down