diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b2dbee8..366e6b4 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -25,12 +25,6 @@ Layout/HashAlignment: - 'lib/hawk/model/finder.rb' - 'lib/hawk/model/schema.rb' -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment. -Layout/LeadingCommentSpace: - Exclude: - - 'lib/hawk/http/caching.rb' - # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line diff --git a/lib/hawk/http/caching.rb b/lib/hawk/http/caching.rb index ce8c23b..201a879 100644 --- a/lib/hawk/http/caching.rb +++ b/lib/hawk/http/caching.rb @@ -70,7 +70,7 @@ def try_cache(descriptor, &block) @_cache_options[:expires_in] block.call.tap do |cacheable| - #$stderr.puts "CACHE: store #{key} with ttl #{ttl}" + # $stderr.puts "CACHE: store #{key} with ttl #{ttl}" @_cache.set(key, cacheable, ttl) end end @@ -88,7 +88,7 @@ def invalidate(descriptor, &block) key = cache_key(descriptor) - #$stderr.puts "CACHE: delete #{key}" + # $stderr.puts "CACHE: delete #{key}" @_cache.delete(key) end end