jp_shipping_rate.gemspec
Use %q
only for strings that contain both single quotes and double quotes. Open
Open
spec.summary = %q{A Ruby gem for Japan shipping rate calculation.}
- Exclude checks
%q
-literals should be delimited by (
and )
. Open
Open
spec.description = %q{it provides EMS shipping rate calculation for Japan}
- 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
spec.description = %q{it provides EMS shipping rate calculation for Japan}
- Exclude checks
%q
-literals should be delimited by (
and )
. Open
Open
spec.summary = %q{A Ruby gem for Japan shipping rate calculation.}
- 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)