Skip to content

Commit

Permalink
Fix new Rubocop issues (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
petergoldstein committed Jun 28, 2022
1 parent 7ba0f0b commit 903295c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 903295c

Please sign in to comment.