2016-02-15 18:13:45 -05:00
|
|
|
# Remove these configuration records
|
2015-11-27 21:16:37 -05:00
|
|
|
# one by one as the offenses are removed from the code base.
|
|
|
|
|
2016-02-15 16:50:25 -05:00
|
|
|
# Offense count: 19
|
2015-11-27 21:16:37 -05:00
|
|
|
Metrics/AbcSize:
|
2016-03-31 15:58:45 -04:00
|
|
|
Max: 46 # Goal: 15
|
2015-11-27 21:16:37 -05:00
|
|
|
|
|
|
|
# Offense count: 6
|
|
|
|
Metrics/CyclomaticComplexity:
|
2016-02-15 16:50:25 -05:00
|
|
|
Max: 13
|
2015-11-27 21:16:37 -05:00
|
|
|
|
2016-02-15 16:50:25 -05:00
|
|
|
# Offense count: 2
|
|
|
|
# Configuration parameters: CountComments.
|
2015-11-27 21:16:37 -05:00
|
|
|
Metrics/ModuleLength:
|
2016-02-15 16:50:25 -05:00
|
|
|
Max: 281
|
2015-11-27 21:16:37 -05:00
|
|
|
|
2016-02-15 16:50:25 -05:00
|
|
|
# Offense count: 6
|
2015-11-27 21:16:37 -05:00
|
|
|
Metrics/PerceivedComplexity:
|
2016-02-15 16:50:25 -05:00
|
|
|
Max: 16
|
|
|
|
|
|
|
|
# Offense count: 11
|
2015-11-27 21:16:37 -05:00
|
|
|
# Cop supports --auto-correct.
|
2016-02-15 16:50:25 -05:00
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: prefer_alias, prefer_alias_method
|
2015-11-27 21:16:37 -05:00
|
|
|
Style/Alias:
|
|
|
|
Exclude:
|
2016-02-15 16:50:25 -05:00
|
|
|
- 'lib/paper_trail.rb'
|
|
|
|
- 'lib/paper_trail/config.rb'
|
2015-11-27 21:16:37 -05:00
|
|
|
- 'lib/paper_trail/has_paper_trail.rb'
|
2016-02-15 16:50:25 -05:00
|
|
|
- 'lib/paper_trail/version_concern.rb'
|
|
|
|
- 'test/dummy/app/models/song.rb'
|
|
|
|
- 'test/unit/model_test.rb'
|
|
|
|
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
# SupportedStyles: nested, compact
|
|
|
|
Style/ClassAndModuleChildren:
|
|
|
|
Exclude:
|
2016-02-15 22:00:56 -05:00
|
|
|
- 'test/unit/ar_id_map_test.rb'
|
2016-02-15 16:50:25 -05:00
|
|
|
|
|
|
|
# Offense count: 33
|
2015-11-27 21:16:37 -05:00
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 2
|
|
|
|
Style/ModuleFunction:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/paper_trail/serializers/json.rb'
|
|
|
|
- 'lib/paper_trail/serializers/yaml.rb'
|
|
|
|
|
2016-02-15 16:50:25 -05:00
|
|
|
# Offense count: 4
|
2015-11-27 21:16:37 -05:00
|
|
|
Style/MultilineTernaryOperator:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/paper_trail/config.rb'
|
|
|
|
- 'lib/paper_trail/has_paper_trail.rb'
|
|
|
|
- 'lib/paper_trail/reifier.rb'
|