@@ -194,6 +194,12 @@ Gemspec/AddRuntimeDependency:
194194 VersionAdded : ' 1.65'
195195 Include :
196196 - " **/*.gemspec"
197+ Gemspec/AttributeAssignment :
198+ Description : Use consistent style for Gemspec attributes assignment.
199+ Enabled : true
200+ VersionAdded : ' 1.77'
201+ Include :
202+ - " **/*.gemspec"
197203Gemspec/DependencyVersion :
198204 Description : Requires or forbids specifying gem dependency versions.
199205 Enabled : false
@@ -742,6 +748,7 @@ Layout/LineLength:
742748 Max : 120
743749 AllowHeredoc : true
744750 AllowURI : true
751+ AllowQualifiedName : true
745752 URISchemes :
746753 - http
747754 - https
@@ -1776,6 +1783,7 @@ Lint/SelfAssignment:
17761783 Description : Checks for self-assignments.
17771784 Enabled : true
17781785 VersionAdded : ' 0.89'
1786+ AllowRBSInlineAnnotation : false
17791787Lint/SendWithMixinArgument :
17801788 Description : Checks for `send` method when using mixin.
17811789 Enabled : true
@@ -2019,7 +2027,7 @@ Metrics/AbcSize:
20192027 Description : A calculated magnitude based on number of assignments, branches, and
20202028 conditions.
20212029 References :
2022- - http ://c2.com/cgi/wiki ?AbcMetric
2030+ - https ://wiki. c2.com/?AbcMetric
20232031 - https://en.wikipedia.org/wiki/ABC_Software_Metric
20242032 Enabled : false
20252033 VersionAdded : ' 0.27'
@@ -2326,9 +2334,12 @@ Naming/PredicateMethod:
23262334 do not.
23272335 Enabled : false
23282336 VersionAdded : ' 1.76'
2337+ VersionChanged : ' 1.76'
23292338 Mode : conservative
23302339 AllowedMethods :
23312340 - call
2341+ AllowedPatterns : []
2342+ AllowBangMethods : false
23322343Naming/PredicatePrefix :
23332344 Description : Predicate method names should not be prefixed and end with a `?`.
23342345 StyleGuide : " #bool-methods-qmark"
@@ -2729,6 +2740,12 @@ Style/CollectionMethods:
27292740 MethodsAcceptingSymbol :
27302741 - inject
27312742 - reduce
2743+ Style/CollectionQuerying :
2744+ Description : Prefer `Enumerable` predicate methods over expressions with `count`.
2745+ StyleGuide : " #collection-querying"
2746+ Enabled : true
2747+ VersionAdded : ' 1.77'
2748+ Safe : false
27322749Style/ColonMethodCall :
27332750 Description : ' Do not use :: for method call.'
27342751 StyleGuide : " #double-colons"
@@ -3045,6 +3062,7 @@ Style/FetchEnvVar:
30453062 Enabled : false
30463063 VersionAdded : ' 1.28'
30473064 AllowedVars : []
3065+ DefaultToNil : true
30483066Style/FileEmpty :
30493067 Description : Prefer to use `File.empty?('path/to/file')` when checking if a file
30503068 is empty.
@@ -3793,7 +3811,7 @@ Style/OpenStructUse:
37933811 Description : Avoid using OpenStruct. As of Ruby 3.0, use is officially discouraged
37943812 due to performance, version compatibility, and potential security issues.
37953813 References :
3796- - https://docs.ruby-lang.org/en/3.0.0 /OpenStruct.html#class-OpenStruct-label-Caveats
3814+ - https://docs.ruby-lang.org/en/3.0/OpenStruct.html#class-OpenStruct-label-Caveats
37973815 Enabled : false
37983816 Safe : false
37993817 VersionAdded : ' 1.23'
0 commit comments