thoughtbot/clearance

View on GitHub

Showing 2 of 2 total issues

Class Session has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

  class Session
    # @param env The current rack environment
    def initialize(env)
      @env = env
      @current_user = nil
Severity: Minor
Found in lib/clearance/session.rb - About 2 hrs to fix

    Class InstallGenerator has 21 methods (exceeds 20 allowed). Consider refactoring.
    Open

        class InstallGenerator < Rails::Generators::Base
          include Rails::Generators::Migration
          source_root File.expand_path('../templates', __FILE__)
    
          def create_clearance_initializer
    Severity: Minor
    Found in lib/generators/clearance/install/install_generator.rb - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language