Project

General

Profile

Download (1.22 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
6c77d09b 03/19/2024 01:42 PM Ewoud Kohl van Wijngaarden

Fixes #37273 - Use delegation syntax for resource_scope

In Ruby 3 you need to explicitly delegate keyword arguments, or if you
don't care about Ruby 2.6 or prior then you can use the new delegation
syntax1.

It deals with the difference in calling where. When calling `.where([])`...

375c2bcc 12/01/2020 07:22 AM Ondřej Ezr

Fixes #30925 - use the organization style gem

Use `theforeman-rubocop` gem to share common RuboCop rules with plugins.
It serves as base for our rubocop styles and rules.

86f52c72 10/12/2020 10:52 AM Ondřej Ezr

Fixes #31031 - no rocket hash keys in routes

ed3abb68 10/11/2020 10:45 AM Ondřej Ezr

Refs #31031 - no mixed hash keys

Disable mixing hash keys.
Exclude routes for now as those should be transfered consistantly.

366c5b7f 03/25/2020 10:49 AM Michael Moll

Fixes #29350 - Disable Layout/EmptyLineAfterGuardClause cop

17b5c3c6 03/23/2020 08:10 AM Michael Moll

Fixes #29388 - Add rubocop-minitest

daa02fca 03/14/2020 10:06 PM Michael Moll

Fixes #19904 - Configure Style/SymbolArray cop

8823aa3a 03/08/2020 01:17 PM Michael Moll

Fixes #29163 - Update Rubocop to 0.80

5f60fc8f 02/24/2020 06:53 PM Michael Moll

Sort Rubocop rules

4485b8e8 01/29/2020 10:12 AM Michael Moll

Fixes #28575 - Disable Performance/RegexpMatch cop

cb2cb36a 01/08/2020 10:24 AM Michael Moll

Fixes #28561 - Configure and fix Layout/AlignArguments cop

3d5fcfdd 01/02/2020 01:44 PM Michael Moll

Fixes #19884 - Disable Style/NumericPredicate cop

86fa34ae 12/26/2019 08:59 AM Michael Moll

Fixes #28572 - Bump TargetRubyVersion to 2.5 for Rubocop

fc89e514 12/23/2019 07:09 PM Michael Moll

Refs #28512 - Enable Layout/ClosingHeredocIndentation cop

5d5407e7 12/17/2019 02:55 PM Michael Moll

Fixes #28512 - Disable Layout/ClosingHeredocIndentation cop

43773332 07/10/2019 01:48 PM Michael Moll

Fixes #26782 - Update Rubocop to 0.71.0

f2ee562e 07/09/2019 08:44 AM Marek Hulán

Fixes #27249 - flip the comma cop

08578999 04/05/2019 01:46 PM Michael Moll

Fixes #25365 - Disable Rails/RefuteMethods cop

814aa0da 04/05/2019 12:27 PM Michael Moll

Fixes #19875 - Disable Style/MultipleComparison cop

3f494310 01/10/2019 01:41 PM Marek Hulán

Disable Metrics cops

77095417 11/14/2018 03:21 PM Michael Moll

Fixes #19891 - Disable Style/PreferredHashMethods cop

587cfbc9 10/03/2018 05:28 AM Michael Moll

Fixes #19886 - Disable Style/ParallelAssignment cop

4b3bc699 09/13/2018 02:52 PM Michael Moll

Fixes #19869 - Disable Style/LineEndConcatenation cop

1fd15c9c 09/06/2018 08:33 AM Michael Moll

Fixes #22612 - Switch Rails to 5.2

8eed63f1 07/01/2018 12:59 PM Michael Moll

Fixes #19766 - Disable Layout/AlignParameters cop

3faf952d 07/01/2018 12:48 PM Michael Moll

Fixes #19765 - Disable Layout/AlignHash cop

1b94e8a5 07/01/2018 12:31 PM Michael Moll

Fixes #19887 - Disable Style/ParenthesesAroundCondition cop

6ebba152 06/20/2018 07:22 AM Michael Moll

Fixes #19858 - Configure Style/EmptyMethod cop (#5703)

  • Refs #20891 - fix for new rubocop rules
  • Fixes #19858 - Configure Style/EmptyMethod cop
b697e513 06/14/2018 09:50 AM Michael Moll

Refs #22058 - refresh rubocop config and apply autofixes

a927f6b8 05/22/2018 10:21 AM Michael Moll

Fixes #19855 - Disable Style/ConditionalAssignment cop

95446862 04/23/2018 07:20 AM Michael Moll

Fixes #23235 - Disable Style/IfUnlessModifier cop

fcc85343 04/11/2018 09:31 AM Michael Moll

Fixes #19770 - Disable Layout/DotPosition cop

92a61281 04/08/2018 10:46 AM Michael Moll

Fixes #23157 - Enable Performance/FixedSize cop

23fb0c99 04/08/2018 08:14 AM Michael Moll

Fixes #19848 - Set Style/Alias cop to prefer_alias_method

d0e13314 04/04/2018 01:59 PM Michael Moll

Refs #23011 - set TargetRubyVersion: to 2.3

879f984f 01/29/2018 01:04 PM Michael Moll

Fixes #19763 - Disable Bundler/OrderedGems cop

b7d400f6 01/15/2018 04:28 PM Michael Moll

Fixes #19776 - Configure Layout/FirstParameterIndentation cop

b9c73b5d 01/15/2018 04:28 PM Michael Moll

Fixes #19868 - Disable Style/InverseMethods cop

da9865b8 01/15/2018 04:28 PM Michael Moll

Fixes #19907 - Configure Style/TernaryParentheses cop

531cb94a 01/15/2018 04:28 PM Michael Moll

Fixes #19849 - Configure Style/AndOr cop

4ab4ef31 12/22/2017 05:34 PM Michael Moll

Fixes #21576 - Always use Rails 5.1, drop Rails 5.0

272386b5 12/18/2017 06:13 PM Tomer Brisker

Fixes #19820, #19822, #19824 - Fix some performance cops

86b50aa3 12/14/2017 02:59 PM Tomer Brisker

Fixes #21977 - Stop enforcing detect/select/etc methods

ce761fd9 10/25/2017 11:59 AM Tomer Brisker

Fixes #21450 - Update rubocop to 0.51.0

d29ddf5d 09/18/2017 05:01 AM Tomer Brisker

Fixes #19912 - Allow all styles of word arrays

4dec807a 07/06/2017 03:15 PM Tomer Brisker

Fixes #19828 - Fix Rails/Blank cop

I disabled the default UnlessPresent value since sometimes it's clearer
to use `unless attribute.present?` instead of `if attribute.blank?`.

cabe2c2e 06/01/2017 07:45 AM Ohad Levy

Fixes #19700 - update rubocop rules

The following changes have been made:

- Performance/RedundantMerge:
changes lines such as:
```not_found_message.merge! :message => options```
to:
```not_found_message[:message] = options```

- converts str.match() to str =~ ()...

d89db8e2 02/16/2017 08:24 AM Dominic Cleal

fixes #18534 - configure rubocop for Ruby 2.0 compatibility

7eca94c5 01/11/2017 03:18 AM Daniel Lobato Garcia

Fixes #18017 - Allow single/double quotes for HoundCI

e1c55843 09/15/2016 04:37 AM Tomer Brisker

Fixes #16564 - Disable FrozenStringLiteralComment cop

Also fixes a failng cop in config/initializers/secure_headers.rb

44439fae 09/08/2016 04:36 AM David Davis

Refs #7233 - Fixing erroneous rubocop config

bdd9d608 08/18/2016 10:16 AM Dominic Cleal

fixes #16166 - exclude node_modules/ directory from rubocop

f7320cb8 08/15/2016 11:02 AM Marek Hulán

Fixes #15364 - disable Style/ClassCheck cop

e263719a 07/25/2016 05:18 AM David Davis

Refs #3809 - Using defaults for AndOr cop

287082a5 07/12/2016 04:41 AM David Davis

Refs #3809 - Turning on the AndOr cop

f0091ac8 05/06/2016 10:29 AM Dominic Cleal

fixes #14133 - update to rubocop 0.39.0

Replaces hirb-unicode with the maintained hirb-unicode-steakknife fork,
due to conflicting requirements on unicode-display_width with the older
hirb-unicode and new rubocop.

Rake is unpinned due to the newer rubocop's compatibility with it, and...

84579c3a 12/28/2015 01:46 AM David Davis

Fixes #12911 - Turning on 0.35.1 cops

bb3572ff 09/02/2015 05:58 AM Daniel Lobato Garcia

Refs #3809 - Stabby lambda syntax for oneliners

I started by spotting log.rb which didn't have a lambda wrapping its
default scope, as needed by Rails 4. Since the style guide and most
Rails 4 documents used the stabby lambda, I turned on the cop so that we...

b2b7a13b 05/07/2015 09:32 AM Daniel Lobato Garcia

Refs #3809 - Remove nested ternary and nil checking

8a11eff7 02/18/2015 04:19 AM Dominic Cleal

refs #3809 - exclude auto-generated schema.rb from rubocop checks

51a88438 11/25/2014 07:37 AM Shlomi Zadok

Fixes #7233 - Drop Ruby 1.8.7 and revert Ruby 1.8.7 specifics

a1b2ee53 10/24/2014 12:04 PM Marek Hulán

Fixes #2089 - Add network configuration to ENC

7ebd35e7 08/29/2014 12:27 PM David Davis

Fixes #3809 - Add rubocop to check Ruby code