fga-gpp-mds/2017.1-OndeE-UnB

View on GitHub
darcyWeb/config/routes.rb

Summary

Maintainability
A
0 mins
Test Coverage

Block has too many lines. [48/25]
Open

Rails.application.routes.draw do
  mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)

  devise_scope :admin do
    get 'admin/login', to: 'devise/sessions#new', as: 'new_login'
Severity: Minor
Found in darcyWeb/config/routes.rb by rubocop

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

Trailing whitespace detected.
Open

  
Severity: Minor
Found in darcyWeb/config/routes.rb by rubocop

Missing space after #.
Open

  #get 'parse', to: 'parser#index'
Severity: Minor
Found in darcyWeb/config/routes.rb by rubocop

This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

Example:

# bad
#Some comment

# good
# Some comment

Missing space after #.
Open

  #This route run the parse for catch the data of buildings and rooms of matriculaweb page
Severity: Minor
Found in darcyWeb/config/routes.rb by rubocop

This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

Example:

# bad
#Some comment

# good
# Some comment

Inconsistent indentation detected.
Open

   devise_for :admins #, skip: [:sessions, :registrations, :passwords]
Severity: Minor
Found in darcyWeb/config/routes.rb by rubocop

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

Missing space after #.
Open

   devise_for :admins #, skip: [:sessions, :registrations, :passwords]
Severity: Minor
Found in darcyWeb/config/routes.rb by rubocop

This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

Example:

# bad
#Some comment

# good
# Some comment

There are no issues that match your filters.

Category
Status