diff --git a/app/models/manageiq/providers/embedded_ansible/automation_manager/google_credential.rb b/app/models/manageiq/providers/embedded_ansible/automation_manager/google_credential.rb index f099c1c00cc..8fc45ba5b04 100644 --- a/app/models/manageiq/providers/embedded_ansible/automation_manager/google_credential.rb +++ b/app/models/manageiq/providers/embedded_ansible/automation_manager/google_credential.rb @@ -12,10 +12,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::GoogleCredential }, ].freeze - # rubocop:disable Layout/AlignHash - # - # looks better to align the nested keys to the same distance, instead of - # scope just for the hash in question (which is what rubocop does. EXTRA_ATTRIBUTES = [ { :component => 'password-field', @@ -37,7 +33,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::GoogleCredential :maxLength => 100, }, ].freeze - # rubocop:enable Layout/AlignHash API_ATTRIBUTES = (COMMON_ATTRIBUTES + EXTRA_ATTRIBUTES).freeze diff --git a/app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb b/app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb index d494f6e6417..af4b13245ad 100644 --- a/app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb +++ b/app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb @@ -17,10 +17,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::MachineCredential }, ].freeze - # rubocop:disable Layout/AlignHash - # - # looks better to align the nested keys to the same distance, instead of - # scope just for the hash in question (which is what rubocop does. EXTRA_ATTRIBUTES = [ { :component => 'password-field', @@ -81,7 +77,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::MachineCredential :type => 'password', }, ].freeze - # rubocop:enable Layout/AlignHash API_ATTRIBUTES = (COMMON_ATTRIBUTES + EXTRA_ATTRIBUTES).freeze diff --git a/app/models/manageiq/providers/embedded_ansible/automation_manager/network_credential.rb b/app/models/manageiq/providers/embedded_ansible/automation_manager/network_credential.rb index 420b84bf6ef..7078e6b6138 100644 --- a/app/models/manageiq/providers/embedded_ansible/automation_manager/network_credential.rb +++ b/app/models/manageiq/providers/embedded_ansible/automation_manager/network_credential.rb @@ -21,10 +21,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::NetworkCredential }, ].freeze - # rubocop:disable Layout/AlignHash - # - # looks better to align the nested keys to the same distance, instead of - # scope just for the hash in question (which is what rubocop does). EXTRA_ATTRIBUTES = [ { :component => 'switch', @@ -63,7 +59,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::NetworkCredential :maxLength => 1024, }, ].freeze - # rubocop:enable Layout/AlignHash API_ATTRIBUTES = (COMMON_ATTRIBUTES + EXTRA_ATTRIBUTES).freeze diff --git a/app/models/manageiq/providers/embedded_ansible/automation_manager/scm_credential.rb b/app/models/manageiq/providers/embedded_ansible/automation_manager/scm_credential.rb index ea376d12934..e3136bf57fa 100644 --- a/app/models/manageiq/providers/embedded_ansible/automation_manager/scm_credential.rb +++ b/app/models/manageiq/providers/embedded_ansible/automation_manager/scm_credential.rb @@ -17,10 +17,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::ScmCredential < M }, ].freeze - # rubocop:disable Layout/AlignHash - # - # looks better to align the nested keys to the same distance, instead of - # scope just for the hash in question (which is what rubocop does. EXTRA_ATTRIBUTES = [ { :component => 'password-field', @@ -41,7 +37,6 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::ScmCredential < M :type => 'password', }, ].freeze - # rubocop:enable Layout/AlignHash API_ATTRIBUTES = (COMMON_ATTRIBUTES + EXTRA_ATTRIBUTES).freeze