pramodshinde/omniauth-box-oauth2

View on GitHub
omniauth-box-oauth2.gemspec

Summary

Maintainability
Test Coverage

Add an empty line after magic comments.
Open

lib = File.expand_path('../lib', __FILE__)
Severity: Minor
Found in omniauth-box-oauth2.gemspec by rubocop

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

%q-literals should be delimited by ( and ).
Open

  spec.summary       = %q{A Box OAuth2 strategy for OmniAuth 1.x}
Severity: Minor
Found in omniauth-box-oauth2.gemspec by rubocop

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

  spec.summary       = %q{A Box OAuth2 strategy for OmniAuth 1.x}
Severity: Minor
Found in omniauth-box-oauth2.gemspec by rubocop

Use %q only for strings that contain both single quotes and double quotes.
Open

  spec.description   = %q{A Box OAuth2 strategy for OmniAuth 1.x}
Severity: Minor
Found in omniauth-box-oauth2.gemspec by rubocop

%q-literals should be delimited by ( and ).
Open

  spec.description   = %q{A Box OAuth2 strategy for OmniAuth 1.x}
Severity: Minor
Found in omniauth-box-oauth2.gemspec by rubocop

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

# coding: utf-8
Severity: Minor
Found in omniauth-box-oauth2.gemspec by rubocop

There are no issues that match your filters.

Category
Status