gitlab-org--gitlab-foss/lib
Robert Speicher 989a9607e6 Merge branch 'rubocop/enable-identical-conditional-branches-cop' into 'master'
Enable Style/IdenticalConditionalBranches Rubocop cop

## What does this MR do?

This MR enables Rubocop cop that checks for identical lines at the end of each branch of a conditional statement.

Examples:

```ruby
@bad
if condition
  do_x
  do_z
else
  do_y
  do_z
end

@good
if condition
  do_x
else
  do_y
end
do_z
```

## What are the relevant issue numbers?

#17478

See merge request !5011
2016-07-08 16:34:53 +00:00
..
api API: Expose shared projects in a group 2016-07-08 13:06:17 +02:00
assets
backup Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
banzai Use CGI.unescapeHTML rather than doing the gsub with a map 2016-07-05 20:57:09 -03:00
ci Merge branch 'refactor/ci-config-move-global-entries' into 'master' 2016-07-05 08:37:16 +00:00
container_registry Show proper image ID on registry page 2016-06-21 13:08:10 +02:00
gitlab Merge branch '1548-average-commits-per-day' into 'master' 2016-07-08 15:20:22 +00:00
json_web_token Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
omni_auth
rouge/formatters Enable Style/IdenticalConditionalBranches Rubocop cop 2016-07-08 11:04:04 +02:00
support Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
tasks Merge branch 'update-gemoji' into 'master' 2016-07-05 17:08:35 +00:00
banzai.rb Move pre_process into render_result 2016-06-21 17:39:01 +02:00
disable_email_interceptor.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
event_filter.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
extracts_path.rb
file_size_validator.rb Get rid of more requires, which causes warnings when code is reloaded 2016-04-19 11:48:10 +02:00
file_streamer.rb
gitlab.rb Update Gitlab.com? to support staging 2016-06-27 15:10:36 -04:00
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
version_check.rb Update version check images to use SVG 2016-01-05 14:35:29 -05:00