redlock_for_collection.gemspec
Line is too long. [151/80] Open
Open
spec.description = %q{This is just a Redlock wrapper for collection of objects. Also it used a connection pool for restrict the redis connections.}
- Exclude checks
Use %q
only for strings that contain both single quotes and double quotes. Open
Open
spec.summary = %q{This is just a Redlock wrapper for collection of objects.}
- Exclude checks
Unnecessary utf-8 encoding comment. Open
Open
# coding: utf-8
- Exclude checks
%q
-literals should be delimited by (
and )
. Open
Open
spec.description = %q{This is just a Redlock wrapper for collection of objects. Also it used a connection pool for restrict the redis connections.}
- Read upRead up
- Exclude checks
This cop enforces the consistent usage of %
-literal delimiters.
Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.
Example:
# Style/PercentLiteralDelimiters:
# PreferredDelimiters:
# default: '[]'
# '%i': '()'
# good
%w[alpha beta] + %i(gamma delta)
# bad
%W(alpha #{beta})
# bad
%I(alpha beta)
Line is too long. [84/80] Open
Open
spec.summary = %q{This is just a Redlock wrapper for collection of objects.}
- Exclude checks
Add an empty line after magic comments. Open
Open
lib = File.expand_path('../lib', __FILE__)
- Read upRead up
- Exclude checks
Checks for a newline after the final magic comment.
Example:
# good
# frozen_string_literal: true
# Some documentation for Person
class Person
# Some code
end
# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
# Some code
end
Line is too long. [104/80] Open
Open
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- Exclude checks
Use %q
only for strings that contain both single quotes and double quotes. Open
Open
spec.description = %q{This is just a Redlock wrapper for collection of objects. Also it used a connection pool for restrict the redis connections.}
- Exclude checks
%q
-literals should be delimited by (
and )
. Open
Open
spec.summary = %q{This is just a Redlock wrapper for collection of objects.}
- Read upRead up
- Exclude checks
This cop enforces the consistent usage of %
-literal delimiters.
Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.
Example:
# Style/PercentLiteralDelimiters:
# PreferredDelimiters:
# default: '[]'
# '%i': '()'
# good
%w[alpha beta] + %i(gamma delta)
# bad
%W(alpha #{beta})
# bad
%I(alpha beta)