Showing 1,009 of 1,009 total issues
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Open
Open
require 'terrapin'
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Line is too long. [81/80] Open
Open
# * +s3_headers+: A hash of headers or a Proc. You may specify a hash such as
- Exclude checks
Line is too long. [88/80] Open
Open
# method #instance is available on the attachment which will take you back to your
- Exclude checks
Line is too long. [81/80] Open
Open
# You can also specify a CNAME (which requires the CNAME to be specified as
- Exclude checks
Line is too long. [88/80] Open
Open
# shell quoting for safety. If your options require a space, please pre-split them
- Exclude checks
Line is too long. [89/80] Open
Open
# :s3_credentials => Proc.new{|a| a.instance.s3_credentials }
- Exclude checks
Line is too long. [84/80] Open
Open
# * +s3_permissions+: This is a String that should be one of the "canned" access
- Exclude checks
Line is too long. [86/80] Open
Open
# Paperclip will attempt to create it. The bucket name will not be interpolated.
- Exclude checks
Line is too long. [94/80] Open
Open
# :default_url, and :path in your model by passing a method name as a symbol as a argument
- Exclude checks
Line is too long. [82/80] Open
Open
# link in the +url+ entry for more information about S3 domains and buckets.
- Exclude checks
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Open
Open
require 'paperclip/filename_cleaner'
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Open
Open
require 'mimemagic/overlay'
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Line is too long. [94/80] Open
Open
# * +url+: There are four options for the S3 url. You can choose to have the bucket's name
- Exclude checks
Line is too long. [87/80] Open
Open
# * If you use a CNAME for use with CloudFront, you can NOT specify https as your
- Exclude checks
Line is too long. [86/80] Open
Open
# * +path+: This is the key under the bucket in which the file will be stored. The
- Exclude checks
Line is too long. [88/80] Open
Open
# to interpolate. Keys should be unique, like filenames, and despite the fact that
- Exclude checks
Line is too long. [89/80] Open
Open
# "-depth 8" to specify the bit depth of the resulting conversion. See ImageMagick
- Exclude checks
Line is too long. [93/80] Open
Open
# is typically a file stored somewhere on the filesystem and has been uploaded by a user.
- Exclude checks
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Open
Open
require 'paperclip/processor'
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Line is too long. [108/80] Open
Open
# documentation for Paperclip::Storage::Filesystem, Paperclip::Storage::Fog and Paperclip::Storage::S3
- Exclude checks