11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2017-03-30 10:28:14 +1100 using RuboCop version 0.48 .0.
3+ # on 2018-04-23 12:01:59 +0200 using RuboCop version 0.55 .0.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
@@ -12,12 +12,10 @@ Lint/RescueException:
1212 - ' lib/active_record_host_pool/pool_proxy.rb'
1313 - ' test/test_arhp_wrong_db.rb'
1414
15- # Offense count: 3
15+ # Offense count: 1
1616Security/Eval :
1717 Exclude :
18- - ' test/helper.rb'
1918 - ' test/test_arhp.rb'
20- - ' test/test_arhp_wrong_db.rb'
2119
2220# Offense count: 5
2321Style/Documentation :
@@ -30,33 +28,48 @@ Style/Documentation:
3028 - ' lib/active_record_host_pool/pool_proxy.rb'
3129
3230# Offense count: 3
31+ Style/EvalWithLocation :
32+ Exclude :
33+ - ' test/helper.rb'
34+ - ' test/test_arhp.rb'
35+ - ' test/test_arhp_wrong_db.rb'
36+
37+ # Offense count: 8
3338# Cop supports --auto-correct.
34- # Configuration parameters: EnforcedStyle, SupportedStyles .
39+ # Configuration parameters: EnforcedStyle.
3540# SupportedStyles: when_needed, always, never
3641Style/FrozenStringLiteralComment :
3742 Exclude :
3843 - ' Gemfile'
3944 - ' Rakefile'
4045 - ' active_record_host_pool.gemspec'
46+ - ' gemfiles/rails3.2.gemfile'
47+ - ' gemfiles/rails4.2.gemfile'
48+ - ' gemfiles/rails5.0.gemfile'
49+ - ' gemfiles/rails5.1.gemfile'
50+ - ' gemfiles/rails5.2.gemfile'
4151
4252# Offense count: 1
4353# Cop supports --auto-correct.
44- # Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles .
54+ # Configuration parameters: AutoCorrect, EnforcedStyle.
4555# SupportedStyles: predicate, comparison
4656Style/NumericPredicate :
4757 Exclude :
4858 - ' spec/**/*'
4959 - ' lib/active_record_host_pool/connection_adapter_mixin.rb'
5060
51- # Offense count: 43
61+ # Offense count: 58
5262# Cop supports --auto-correct.
53- # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
63+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
5464# SupportedStyles: single_quotes, double_quotes
5565Style/StringLiterals :
5666 Exclude :
5767 - ' Gemfile'
5868 - ' active_record_host_pool.gemspec'
5969 - ' gemfiles/common.rb'
70+ - ' gemfiles/rails3.2.gemfile'
71+ - ' gemfiles/rails4.2.gemfile'
72+ - ' gemfiles/rails5.0.gemfile'
6073 - ' lib/active_record_host_pool/connection_adapter_mixin.rb'
6174 - ' lib/active_record_host_pool/pool_proxy.rb'
6275 - ' lib/active_record_host_pool/version.rb'
@@ -71,7 +84,13 @@ Style/TrivialAccessors:
7184
7285# Offense count: 2
7386# Cop supports --auto-correct.
74- # Configuration parameters: SupportedStyles, MinSize, WordRegex.
87+ # Configuration parameters: MinSize, WordRegex.
7588# SupportedStyles: percent, brackets
7689Style/WordArray :
7790 EnforcedStyle : brackets
91+
92+ # Offense count: 27
93+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
94+ # URISchemes: http, https
95+ Metrics/LineLength :
96+ Max : 130
0 commit comments