11AllCops :
22 NewCops : enable
3- TargetRubyVersion : 3.3
3+ TargetRubyVersion : 4.0
44 SuggestExtensions : false
55 Exclude :
66 - ' vendor/**/*'
@@ -14,18 +14,26 @@ Layout/LineLength:
1414Metrics/MethodLength :
1515 Max : 35
1616 Exclude :
17+ - ' lib/active_postgres/configuration.rb'
1718 - ' lib/active_postgres/components/repmgr.rb'
1819 - ' lib/active_postgres/connection_pooler.rb'
1920 - ' lib/active_postgres/generators/active_postgres/install_generator.rb'
2021 - ' lib/active_postgres/performance_tuner.rb'
2122 - ' lib/active_postgres/ssh_executor.rb'
23+ - ' lib/active_postgres/health_checker.rb'
24+ - ' lib/active_postgres/overview.rb'
25+ - ' test/components/pgbouncer_test.rb'
2226
2327Metrics/ClassLength :
2428 Max : 250
2529 Exclude :
2630 - ' lib/active_postgres/components/repmgr.rb'
2731 - ' lib/active_postgres/connection_pooler.rb'
2832 - ' lib/active_postgres/ssh_executor.rb'
33+ - ' lib/active_postgres/components/pgbouncer.rb'
34+ - ' lib/active_postgres/health_checker.rb'
35+ - ' lib/active_postgres/overview.rb'
36+ - ' test/components/pgbouncer_test.rb'
2937
3038Metrics/AbcSize :
3139 Max : 40
@@ -36,26 +44,42 @@ Metrics/AbcSize:
3644 - ' lib/active_postgres/performance_tuner.rb'
3745 - ' lib/active_postgres/ssh_executor.rb'
3846 - ' lib/active_postgres/validator.rb'
47+ - ' lib/active_postgres/components/pgbouncer.rb'
48+ - ' lib/active_postgres/configuration.rb'
49+ - ' lib/active_postgres/health_checker.rb'
50+ - ' lib/active_postgres/overview.rb'
3951
4052Metrics/CyclomaticComplexity :
4153 Max : 12
4254 Exclude :
4355 - ' lib/active_postgres/components/repmgr.rb'
4456 - ' lib/active_postgres/connection_pooler.rb'
4557 - ' lib/active_postgres/generators/active_postgres/install_generator.rb'
58+ - ' lib/active_postgres/configuration.rb'
59+ - ' lib/active_postgres/error_handler.rb'
60+ - ' lib/active_postgres/health_checker.rb'
61+ - ' lib/active_postgres/overview.rb'
62+ - ' test/test_helper.rb'
4663
4764Metrics/PerceivedComplexity :
4865 Max : 12
4966 Exclude :
5067 - ' lib/active_postgres/components/repmgr.rb'
5168 - ' lib/active_postgres/connection_pooler.rb'
5269 - ' lib/active_postgres/generators/active_postgres/install_generator.rb'
70+ - ' lib/active_postgres/configuration.rb'
71+ - ' lib/active_postgres/error_handler.rb'
72+ - ' lib/active_postgres/health_checker.rb'
73+ - ' lib/active_postgres/overview.rb'
74+ - ' test/test_helper.rb'
5375
5476Metrics/BlockLength :
5577 Enabled : false
5678
5779Metrics/ParameterLists :
5880 Max : 6
81+ Exclude :
82+ - ' lib/active_postgres/ssh_executor.rb'
5983
6084Style/Documentation :
6185 Enabled : false
@@ -82,5 +106,14 @@ Lint/FormatParameterMismatch:
82106 Exclude :
83107 - ' lib/active_postgres/performance_tuner.rb'
84108
85- Gemspec/DevelopmentDependencies :
86- Enabled : false
109+ Naming/VariableNumber :
110+ Exclude :
111+ - ' test/components/pgbouncer_templates_test.rb'
112+
113+ Style/TrivialAccessors :
114+ Exclude :
115+ - ' test/components/pgbouncer_test.rb'
116+
117+ Style/CombinableLoops :
118+ Exclude :
119+ - ' lib/active_postgres/components/repmgr.rb'
0 commit comments