Fix all Layout/SpaceAroundEqualsInParameterDefault rubocop issues from rubocop_todo list

This commit is contained in:
Bertocq
2017-06-26 18:03:40 +02:00
parent e6dd33bd66
commit d7b8777395
15 changed files with 19 additions and 41 deletions

View File

@@ -25,7 +25,7 @@ module ActsAsParanoidAliases
update_attribute(:confirmed_hide_at, Time.current)
end
def restore(opts={})
def restore(opts = {})
return false unless hidden?
super(opts)
update_attribute(:confirmed_hide_at, nil)

View File

@@ -1,6 +1,6 @@
class ManagerAuthenticator
def initialize(data={})
def initialize(data = {})
@manager = {login: data[:login], user_key: data[:clave_usuario], date: data[:fecha_conexion]}.with_indifferent_access
end