Enable the Layout/EmptyLineBetweenDefs cop

This commit is contained in:
gregoirenovel 2017-06-12 15:27:16 +02:00
parent a62d5322b6
commit ff1f679c7b
5 changed files with 1 additions and 5 deletions

View file

@ -40,7 +40,7 @@ Layout/EmptyLineAfterMagicComment:
Enabled: true Enabled: true
Layout/EmptyLineBetweenDefs: Layout/EmptyLineBetweenDefs:
Enabled: false Enabled: true
Layout/EmptyLines: Layout/EmptyLines:
Enabled: false Enabled: false

View file

@ -11,7 +11,6 @@ class Admin::GestionnairesController < AdminController
@gestionnaire ||= Gestionnaire.new @gestionnaire ||= Gestionnaire.new
end end
def create def create
@gestionnaire = Gestionnaire.find_by_email(params[:gestionnaire][:email]) @gestionnaire = Gestionnaire.find_by_email(params[:gestionnaire][:email])
procedure_id = params[:procedure_id] procedure_id = params[:procedure_id]

View file

@ -172,7 +172,6 @@ class Backoffice::DossiersController < Backoffice::DossiersListController
redirect_to backoffice_dossiers_path redirect_to backoffice_dossiers_path
end end
def unarchive def unarchive
@dossier = Dossier.find(params[:id]) @dossier = Dossier.find(params[:id])
if @dossier.archived if @dossier.archived

View file

@ -34,7 +34,6 @@ class DossierService
@dossier @dossier
end end
def self.siren siret def self.siren siret
siret[0..8] siret[0..8]
end end

View file

@ -38,7 +38,6 @@ class CreateFranceConnectInformation < ActiveRecord::Migration
remove_column :users, :france_connect_particulier_id remove_column :users, :france_connect_particulier_id
end end
def down def down
add_column :users, :gender, :string add_column :users, :gender, :string
add_column :users, :given_name, :string add_column :users, :given_name, :string