rajangdavis/osvc_ruby

View on GitHub

Showing 72 of 72 total issues

unexpected token kDO_BLOCK (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

rn_client = OSvCRuby::Client.new do |c|
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tIDENTIFIER (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    \033[32mc.password = env['OSC_PASSWORD']\033[0m,
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token kEND (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

end
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tIDENTIFIER (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    }\033[0m
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tLSHFT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

CLIENT_NOT_DEFINED = <<~HEREDOC
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

bare backslash only allowed before newline (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    \033[32mc.username = env['OSC_ADMIN']\033[0m,
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tLSHFT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

QUERY_RESULTS_NO_QUERY = <<~HEREDOC
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token kDO_BLOCK (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

rn_client = OSvCRuby::Client.new do |c|
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tIDENTIFIER (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    \033[32mfiles: ["./setup.py"]\033[0m
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

end at 43, 5 is not aligned with def at 35, 2.
Open

        end

This cop checks whether the end keywords of method definitions are aligned properly.

Two modes are supported through the EnforcedStyleAlignWith configuration parameter. If it's set to start_of_line (which is the default), the end shall be aligned with the start of the line where the def keyword is. If it's set to def, the end shall be aligned with the def keyword.

Example: EnforcedStyleAlignWith: startofline (default)

# bad

private def foo
            end

# good

private def foo
end

Example: EnforcedStyleAlignWith: def

# bad

private def foo
            end

# good

private def foo
        end

bare backslash only allowed before newline (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    }\033[0m
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tCOMMA (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    c.username = env['OSC_ADMIN'],
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

bare backslash only allowed before newline (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    \033[32mannotation: "Running Answer Search"\033[0m
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tRPAREN (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

)
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tLSHFT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

CLIENT_NO_USERNAME_SET_EXAMPLE = <<~HEREDOC
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tIDENTIFIER (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    ]\033[0m,
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

bare backslash only allowed before newline (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        \033[32m"id" => 176,\033[0m
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

bare backslash only allowed before newline (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    \033[32mc.username = env['OSC_ADMIN']\033[0m,
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token kEND (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

end
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop

unexpected token tINTEGER (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    \033[32mc.interface = env['OSC_SITE']\033[0m,
Severity: Minor
Found in lib/osvc_ruby/modules/examples.rb by rubocop
Severity
Category
Status
Source
Language