Skip to content

Fix Hash syntax to work for both Ruby 2.1 and 2.3

Stan Hu requested to merge sh-fix-ruby-2-1 into master

Ruby 2.1 specs were failing (e.g. https://gitlab.com/gitlab-org/gitlab-ce/builds/5149275) due the error:

SyntaxError: /builds/gitlab-org/gitlab-ce/app/views/devise/shared/_tabs_normal.html.haml:3: syntax error, unexpected ':', expecting =>
...'#login-pane', data: {'toggle':'tab'}, role: 'tab')).to_s));...

Merge request reports