locaweb/cassette

View on GitHub
lib/cassette/client/cache.rb

Summary

Maintainability
A
0 mins
Test Coverage
C
73%

Unnecessary utf-8 encoding comment.
Open

# encoding: UTF-8
Severity: Minor
Found in lib/cassette/client/cache.rb by rubocop

Prefer to_s over string interpolation.
Open

        backend.delete("#{uses_key('Cassette::Client.tgt')}")
Severity: Minor
Found in lib/cassette/client/cache.rb by rubocop

This cop checks for strings that are just an interpolated expression.

Example:

# bad
"#{@var}"

# good
@var.to_s

# good if @var is already a String
@var

There are no issues that match your filters.

Category
Status