gitlab-org--gitlab-foss/lib
Robert Speicher e7586cfbdc Merge branch 'rubocop/enable-negatedif-style-cop' into 'master'
Enable Style/NegatedIf Rubocop cop

Favor `unless` over `if` for negative conditions (or control flow ||).

```ruby
# bad
do_something if !some_condition
# bad
do_something if not some_condition

# good
do_something unless some_condition
# good
some_condition || do_something
```

See #17478

See merge request !4355
2016-05-30 17:59:10 +00:00
..
api Merge branch 'style/enable-rubocop-indent-assignment-cop' into 'master' 2016-05-30 17:41:43 +00:00
assets
backup Improve after review 2016-05-24 22:52:31 -05:00
banzai Merge branch 'adambutler/gitlab-ce-feature/support-diff-of-issue-title-rename' 2016-05-20 16:23:04 -05:00
ci Enable Style/NegatedIf Rubocop cop 2016-05-30 13:53:25 +02:00
container_registry Provide full test coverage to lib/container_registry API implementation 2016-05-17 13:20:11 -05:00
gitlab Merge branch 'rubocop/enable-literal-in-condition-cop' into 'master' 2016-05-30 17:56:15 +00:00
json_web_token Rename JWT to JSONWebToken 2016-05-14 18:23:31 -05:00
omni_auth
rouge/formatters
support Add note about port needed in NGINX config 2016-05-22 19:20:28 -05:00
tasks Switch the gitlab:db:configure task to use tables.any? instead of looking specifically for the schema_migrations table 2016-05-25 10:47:09 -07:00
award_emoji.rb
banzai.rb
disable_email_interceptor.rb
event_filter.rb Enable Style/SpaceBeforeComment rubocop cop 2016-05-30 14:36:28 +02:00
extracts_path.rb
file_size_validator.rb
file_streamer.rb
gitlab.rb Fix a few places where autoloading would fail 2016-05-10 11:51:19 +02:00
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb