diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:15:44 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:15:44 -0800 |
commit | cc39bca3fa71930421f1c46844b4d02d5ff93e8b (patch) | |
tree | f9a600dee04bca35f0319a64ce23bdff7ea724d9 /lib | |
parent | c427bf08e41342957632289e084604f53e65e353 (diff) | |
download | gitlab-ce-cc39bca3fa71930421f1c46844b4d02d5ff93e8b.tar.gz |
Rubocop: Style/AlignHash enabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ldap/adapter.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/gitlab/ldap/adapter.rb b/lib/gitlab/ldap/adapter.rb index 256cdb4c2f1..577a890a7d9 100644 --- a/lib/gitlab/ldap/adapter.rb +++ b/lib/gitlab/ldap/adapter.rb @@ -63,8 +63,10 @@ module Gitlab end def dn_matches_filter?(dn, filter) - ldap_search(base: dn, filter: filter, - scope: Net::LDAP::SearchScope_BaseObject, attributes: %w{dn}).any? + ldap_search(base: dn, + filter: filter, + scope: Net::LDAP::SearchScope_BaseObject, + attributes: %w{dn}).any? end def ldap_search(*args) |