motion-blitz.gemspec
%q
-literals should be delimited by (
and )
. Open
Open
gem.summary = %q{RubyMotion wrapper for SVProgressHUD}
- 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)
Unnecessary utf-8 encoding comment. Open
Open
# -*- encoding: utf-8 -*-
- Exclude checks
%q
-literals should be delimited by (
and )
. Open
Open
gem.description = %q{RubyMotion wrapper for SVProgressHUD}
- 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)
Use %q
only for strings that contain both single quotes and double quotes. Open
Open
gem.description = %q{RubyMotion wrapper for SVProgressHUD}
- Exclude checks
Add an empty line after magic comments. Open
Open
Gem::Specification.new do |gem|
- 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
Use %q
only for strings that contain both single quotes and double quotes. Open
Open
gem.summary = %q{RubyMotion wrapper for SVProgressHUD}
- Exclude checks