skcc321/dumpman

View on GitHub

Showing 151 of 151 total issues

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

fail("fdescribe left in tests") if `grep -r fdescribe spec/ `.length > 1
Severity: Minor
Found in Dangerfile 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"

class definition in method body
Open

    class Direct
Severity: Minor
Found in lib/dumpman/fetchers/direct.rb by rubymotion

Missing top-level module documentation comment.
Open

module Dumpman
Severity: Minor
Found in lib/dumpman.rb by rubocop

This cop checks for missing top-level documentation of classes and modules. Classes with no body are exempt from the check and so are namespace modules - modules that have nothing in their bodies except classes, other modules, or constant definitions.

The documentation requirement is annulled if the class or module has a "#:nodoc:" comment next to it. Likewise, "#:nodoc: all" does the same for all its children.

Example:

# bad
class Person
  # ...
end

# good
# Description/Explanation of Person class
class Person
  # ...
end

Line is too long. [82/80]
Open

    # if your application is running under the docker you can use :docker strategy

Line is too long. [82/80]
Open

  config = File.open(Rails.root.join('config', 'initializers', 'dumpman.rb')).read
Severity: Minor
Found in lib/tasks/db.rake by rubocop

Line is too long. [109/80]
Open

        "gunzip < #{Dumpman.dump_file} | MYSQL_PWD='#{password}' mysql -u #{username} -h #{host} #{database}"
Severity: Minor
Found in lib/dumpman/adapters/mysql.rb by rubocop

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

warn("PR is classed as Work in Progress") if github.pr_title.include? "[WIP]"
Severity: Minor
Found in Dangerfile 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"

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

fail("fit left in tests") if `grep -r fit spec/ `.length > 1
Severity: Minor
Found in Dangerfile 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"

unexpected token tCOMMA
Open

      def initialize(ssh_opts:, ssh_cmd:, docker_image:, app_env:, **)
Severity: Minor
Found in lib/dumpman/fetchers/docker.rb by rubymotion

unexpected token tLSHFT
Open

        <<~SSH_COMMAND
Severity: Minor
Found in lib/dumpman/fetchers/docker.rb by rubymotion

unexpected `$'
Open

            export TEMP_DIR=$(mktemp -d)
Severity: Minor
Found in lib/dumpman/fetchers/docker.rb by rubymotion
Severity
Category
Status
Source
Language