Skip to content

Commit 903295c

Browse files
Fix new Rubocop issues (#924)
1 parent 7ba0f0b commit 903295c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/dalli/pipelined_getter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def groups_for_keys(*keys)
167167
groups = @ring.keys_grouped_by_server(keys)
168168
if (unfound_keys = groups.delete(nil))
169169
Dalli.logger.debug do
170-
"unable to get keys for #{unfound_keys.length} keys "\
170+
"unable to get keys for #{unfound_keys.length} keys " \
171171
'because no matching server was found'
172172
end
173173
end

lib/rack/session/dalli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def retrieve_pool_options(options)
170170
def ensure_connection_pool_added!
171171
require 'connection_pool'
172172
rescue LoadError => e
173-
warn "You don't have connection_pool installed in your application. "\
173+
warn "You don't have connection_pool installed in your application. " \
174174
'Please add it to your Gemfile and run bundle install'
175175
raise e
176176
end

test/utils/certificate_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def self.ssl_args
2424

2525
def self.clean
2626
[ROOT_CA_CERT_PATH, ROOT_CA_PK_PATH, MEMCACHED_CERT_PATH, MEMCACHED_PK_PATH].each do |path|
27-
File.delete(path) if File.exist?(path)
27+
FileUtils.rm_rf(path)
2828
end
2929
end
3030

0 commit comments

Comments
 (0)