thoughtbot/paperclip

View on GitHub
lib/paperclip/io_adapters/stringio_adapter.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [99/80]
Open

      self.original_filename = @target.original_filename if @target.respond_to?(:original_filename)

Surrounding space missing for operator *.
Open

      while data = source.read(16*1024)

Checks that operators have space around them, except for ** which should not have surrounding space.

Example:

# bad
total = 3*4
"apple"+"juice"
my_number = 38/4
a ** b

# good
total = 3 * 4
"apple" + "juice"
my_number = 38 / 4
a**b

There are no issues that match your filters.

Category
Status