Commit Graph

9 Commits

Author SHA1 Message Date
GitLab Bot 6d706d5dc0 Add latest changes from gitlab-org/gitlab@master 2022-09-05 06:12:53 +00:00
GitLab Bot c03dce2dc9 Add latest changes from gitlab-org/gitlab@master 2022-08-09 21:09:21 +00:00
GitLab Bot b38fc20ae0 Add latest changes from gitlab-org/gitlab@master 2021-03-23 12:09:33 +00:00
GitLab Bot bdca097916 Add latest changes from gitlab-org/gitlab@master 2020-08-11 03:11:00 +00:00
GitLab Bot d6348d22dd Add latest changes from gitlab-org/gitlab@master 2020-06-24 09:08:32 +00:00
Thong Kuah d9db8d85b3 Fix cannot modify frozen string
Note that Performance/UnfreezeString recommends unary plus over
"".dup, but unary plus has lower precedence so we have to use
parenthesis
2019-07-26 13:25:07 +12:00
Thong Kuah f540ffcef6 Add frozen_string_literal to spec/lib (part 1)
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:25:07 +12:00
Thong Kuah d4ef3be35b Frozen string cannot change encoding
This was shown in specs but surely this will be happening in application
code as well if this method is passes a frozen string.

We were also trying to force_encode a OmniAuth::AuthHash which had the
very confusing behaviour of returning nil when it was sent a method that
it did not define. Fix that by only force_encoding a String.
2019-07-26 00:13:25 +12:00
Horatiu Eugen Vlad 1ad5df49b1 Moved o_auth/saml/ldap modules under gitlab/auth 2018-02-28 16:53:02 +01:00