gitlab-org--gitlab-foss/app/models/concerns
Robert Speicher 34c083a184 Merge branch 'rubocop/enable-access-modifiers-cops' into 'master'
Enable Rubocop cops that check access modifiers

## What does this MR do?

This MR enables Rubocop cops that detect methods that should be restricted but are the part of public API because of access modifiers used improperly.

This also fixes existing offenses.

## Why was this MR needed?

Some method in our codebase are public instead of being private because it is sometimes difficult to get it right without static analysis.

## What are the relevant issue numbers?

See #17478  
Closes #17372 

See merge request !5014
2016-07-29 15:58:09 +00:00
..
access_requestable.rb
awardable.rb Fix not normalized emoji paths 2016-07-14 08:51:00 +02:00
case_sensitivity.rb
importable.rb
internal_id.rb
issuable.rb Reduce number of queries made for merge_requests/:id/diffs 2016-07-28 16:52:19 +02:00
mentionable.rb Use cattr_accessor instead duplicating code on NoteOnDiff concern 2016-07-15 13:49:16 -03:00
milestoneish.rb
note_on_diff.rb Add Discussion model to represent MR/diff discussion 2016-07-20 16:18:18 -06:00
participable.rb Use cattr_accessor instead duplicating code on NoteOnDiff concern 2016-07-15 13:49:16 -03:00
referable.rb
sortable.rb
spammable.rb Refactor spam validation to a concern that can be easily reused and improve legibility in `SpamCheckService` 2016-07-26 19:29:16 -05:00
statuseable.rb Mark builds with manual actions as skipped 2016-07-18 14:48:36 +02:00
strip_attribute.rb
subscribable.rb
taskable.rb
token_authenticatable.rb Enable Rubocop cops for invalid access modifiers 2016-07-19 15:12:15 +02:00