Rubocop update

This commit is contained in:
Priit Tark 2015-08-19 11:10:11 +03:00
parent 2d1166cd08
commit 4abf005241

View file

@ -114,7 +114,6 @@ class Ability
can(:delete, Epp::Contact) { |c, pw| c.registrar_id == @user.registrar_id || c.auth_info == pw } can(:delete, Epp::Contact) { |c, pw| c.registrar_id == @user.registrar_id || c.auth_info == pw }
can(:renew, Epp::Contact) can(:renew, Epp::Contact)
can(:view_password, Epp::Contact) { |c, pw| c.registrar_id == @user.registrar_id || c.auth_info == pw } can(:view_password, Epp::Contact) { |c, pw| c.registrar_id == @user.registrar_id || c.auth_info == pw }
end end
def static_registrar def static_registrar
@ -141,11 +140,7 @@ class Ability
can :show, :dashboard can :show, :dashboard
end end
# rubocop: enable Metrics/LineLength # rubocop: enable Metrics/LineLength
# rubocop: enable Metrics/CyclomaticComplexity # rubocop: enable Metrics/CyclomaticComplexity
# rubocop: enable Metrics/PerceivedComplexity # rubocop: enable Metrics/PerceivedComplexity
end end