Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-16Remove rails4 specific codeJasper Maes
2018-10-07Enable more frozen string in lib/**/*.rbgfyoung
Enables frozen for the following: * lib/*.rb * lib/banzai/**/*.rb * lib/bitbucket/**/*.rb * lib/constraints/**/*.rb * lib/container_registry/**/*.rb * lib/declarative_policy/**/*.rb Partially addresses #47424.
2018-09-21Fix UnneededRequireStatement copSemyon Pupkov
2018-07-10[Rails5] Permit concurrent loadsJan Provaznik
Rails 5 introduced a new (and safer) autoload mechanism which uses locking when loading missing constants. Under some circumstances it's possible that a deadlock occurs in multi-threaded environment (especially when running capybara tests) To avoid these deadlocks, concurrent load is enabled when loading policies - we ere hitting timeout in this case: https://gitlab.com/gitlab-org/gitlab-ce/issues/48263 Note that autoloading is enabled only in development or test envs (not in production).
2018-03-08[CE] Add Naming/FileName rule checking expected class/module per filenameGabriel Mazetto
2017-11-16Adds Rubocop rule for line break after guard clauseJacopo
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-08-03declarative_policy rubocop fixhttp://jneen.net/
2017-08-03short-circuit if there is no policy, and add :read_project checkhttp://jneen.net/
2017-07-18cache DeclarativePolicy.class_for at the class levelhttp://jneen.net/
2017-06-27add a new DeclarativePolicy frameworkhttp://jneen.net/