natydev/fitbark

View on GitHub
fitbark.gemspec

Summary

Maintainability
Test Coverage

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

    "documentation_uri" => "https://www.rubydoc.info/github/natydev/fitbark/master"
Severity: Minor
Found in fitbark.gemspec by rubocop

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. [83/80]
Open

    "documentation_uri" => "https://www.rubydoc.info/github/natydev/fitbark/master"
Severity: Minor
Found in fitbark.gemspec by rubocop

Extra blank line detected.
Open


  # Specify which files should be added to the gem when it is released.
Severity: Minor
Found in fitbark.gemspec by rubocop

This cops checks for two or more consecutive blank lines.

Example:

# bad - It has two empty lines.
some_method
# one empty line
# two empty lines
some_method

# good
some_method
# one empty line
some_method

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

    "documentation_uri" => "https://www.rubydoc.info/github/natydev/fitbark/master"
Severity: Minor
Found in fitbark.gemspec by rubocop

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. [89/80]
Open

  spec.description   = 'Wrapper for FitBark API: It provides simple methods to handle ' \
Severity: Minor
Found in fitbark.gemspec by rubocop

There are no issues that match your filters.

Category
Status