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
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-15Require rubocop-rspec in the correct locationRobert Speicher
Resolves the `codeclimate` CI failure
2017-06-14Add a custom RSpec/SingleLineHook copRobert Speicher
This cop adds an offense when `before`, `after`, or `around` are used as single-line blocks.
2017-06-13Add database helpers 'add_timestamps_with_timezone' and ↵blackst0ne
'timestamps_with_timezone'
2017-06-07Added Cop to blacklist polymorphic associationsYorick Peterse
One should really use a separate table instead of using polymorphic associations. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11168 for more information.
2017-06-07Add a rubocop rule to check if a method 'redirect_to' is used without ↵blackst0ne
explicitly set 'status' in 'destroy' actions of controllers
2017-05-31Added Cop to blacklist the use of serializeYorick Peterse
This Cop blacklists the use of ActiveRecord's "serialize" method, except for cases where we already use this.
2017-05-29New Migration/UpdateColumnInBatches copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-28Add AddColumnWithDefaultToLargeTable copRobert Speicher
2017-04-28Rename AddColumnWithDefault to ReversibleAddColumnWithDefaultRobert Speicher
We're going to add another cop that deals with another aspect of `add_column_with_default`, so we need to separate them.
2017-04-06Add remove_concurrent_index to database helperblackst0ne
2017-03-07Add cop to ensure reversibility of add_concurrent_indexDouwe Maan
2017-03-01Add RuboCop cop for custom error classesSean McGivern
From the Ruby style guide: # bad class FooError < StandardError end # okish class FooError < StandardError; end # good FooError = Class.new(StandardError) This cop does that, but only for error classes (classes where the superclass ends in 'Error'). We have empty controllers and models, which are perfectly valid empty classes.
2017-02-10Enforce use of add_concurrent_foreign_keyYorick Peterse
This adds a Rubocop rule to enforce the use of add_concurrent_foreign_key instead of the regular add_foreign_key method. This cop has been disabled for existing migrations so we don't need to change those.
2017-02-09Add a spec for our custom GemFetcher copRobert Speicher
2017-02-09Add cop that checks if add_column_with_default is used with up/down methodsDouwe Maan