gitlab-org--gitlab-foss/app
Michael Kozono d9c4ebc5a0 Extract `Repository.memoize_method` method
And reuse `Gitlab::Utils::StrongMemoize`.

There is a subtle behavior change required to reuse StrongMemoize in
this case. The early fallback check now occurs *before* reading the
memoized value instead of after.

I think this is fine since a memoized value should only exist if
`exists?` is also already memoized as `true`.
2018-09-27 15:16:09 -07:00
..
assets Merge branch 'ide-remove-stage-buttons' into 'master' 2018-09-25 15:07:43 +00:00
controllers Merge branch 'fa-handle_invalid_utf8_errors' into 'master' 2018-09-25 16:35:10 +00:00
finders Move group labels AR code into finder 2018-09-21 16:34:18 +03:00
graphql Merge branch 'frozen-string-app-finders-graphql' into 'master' 2018-09-13 19:44:31 +00:00
helpers Remove background job throttling feature 2018-09-24 18:41:14 +03:00
mailers Correct Gitlab Capitalization in code files 2018-09-21 12:05:37 +00:00
models Extract `Repository.memoize_method` method 2018-09-27 15:16:09 -07:00
policies Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
presenters Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
serializers Expose runners status information in job api 2018-09-18 07:42:59 +00:00
services Auto resolve new notes of resolved discussions 2018-09-24 08:30:58 -05:00
uploaders Merge branch 'rubocop-code-reuse' into 'master' 2018-09-13 14:53:05 +00:00
validators Allow UrlValidator to work with attr_encrypted 2018-09-17 19:34:40 +01:00
views Merge branch 'fa-handle_invalid_utf8_errors' into 'master' 2018-09-25 16:35:10 +00:00
workers Use standalone diff stats RPC on every comparison view 2018-09-19 12:26:28 +00:00