-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #262 from North-Two-Five/ruby3.2-New
Ruby3.2 new
- Loading branch information
Showing
7 changed files
with
208 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,170 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2019-10-06 02:55:44 +0530 using RuboCop version 0.51.0. | ||
# on 2023-01-24 09:12:04 UTC using RuboCop version 1.44.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 2 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. | ||
# Include: **/*.gemspec | ||
Gemspec/OrderedDependencies: | ||
Exclude: | ||
- 'analytics-ruby.gemspec' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: Severity, Include. | ||
# Include: **/*.gemspec | ||
Gemspec/RubyVersionGlobalsUsage: | ||
Exclude: | ||
- 'analytics-ruby.gemspec' | ||
|
||
# Offense count: 4 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Layout/EmptyLineAfterGuardClause: | ||
Exclude: | ||
- 'lib/segment/analytics/client.rb' | ||
- 'spec/spec_helper.rb' | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. | ||
# SupportedHashRocketStyles: key, separator, table | ||
# SupportedColonStyles: key, separator, table | ||
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit | ||
Layout/HashAlignment: | ||
Exclude: | ||
- 'spec/segment/analytics/client_spec.rb' | ||
- 'spec/spec_helper.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Layout/SpaceAfterComma: | ||
Exclude: | ||
- 'Rakefile' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedMethods. | ||
# AllowedMethods: enums | ||
Lint/ConstantDefinitionInBlock: | ||
Exclude: | ||
- 'bin/analytics' | ||
|
||
# Offense count: 2 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. | ||
Lint/UnusedBlockArgument: | ||
Exclude: | ||
- 'bin/analytics' | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes. | ||
Metrics/AbcSize: | ||
Max: 24 | ||
Max: 25 | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods. | ||
# AllowedMethods: refine | ||
Metrics/BlockLength: | ||
Max: 76 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments. | ||
# Configuration parameters: CountComments, CountAsOne. | ||
Metrics/ClassLength: | ||
Max: 120 | ||
Max: 115 | ||
|
||
# Offense count: 1 | ||
# Offense count: 2 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. | ||
Metrics/CyclomaticComplexity: | ||
Max: 8 | ||
|
||
# Offense count: 8 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 147 | ||
|
||
# Offense count: 10 | ||
# Configuration parameters: CountComments. | ||
# Offense count: 11 | ||
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods. | ||
Metrics/MethodLength: | ||
Max: 16 | ||
|
||
# Offense count: 1 | ||
Metrics/PerceivedComplexity: | ||
Max: 8 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: PreferredName. | ||
Naming/RescuedExceptionsVariableName: | ||
Exclude: | ||
- 'spec/spec_helper.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Style/ExpandPathArguments: | ||
Exclude: | ||
- 'analytics-ruby.gemspec' | ||
|
||
# Offense count: 6 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns, IgnoredMethods. | ||
# SupportedStyles: annotated, template, unannotated | ||
Style/FormatStringToken: | ||
EnforcedStyle: unannotated | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Style/GlobalStdStream: | ||
Exclude: | ||
- 'lib/segment/analytics/logging.rb' | ||
|
||
# Offense count: 4 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Style/IfUnlessModifier: | ||
Exclude: | ||
- 'analytics-ruby.gemspec' | ||
- 'bin/analytics' | ||
- 'lib/segment/analytics/client.rb' | ||
|
||
# Offense count: 1 | ||
Style/MixinUsage: | ||
Exclude: | ||
- 'spec/spec_helper.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: AllowedMethods. | ||
# AllowedMethods: respond_to_missing? | ||
Style/OptionalBooleanParameter: | ||
Exclude: | ||
- 'lib/segment/analytics/utils.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Style/Proc: | ||
Exclude: | ||
- 'bin/analytics' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowMultipleReturnValues. | ||
Style/RedundantReturn: | ||
Exclude: | ||
- 'bin/analytics' | ||
|
||
# Offense count: 8 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. | ||
# SupportedStyles: single_quotes, double_quotes | ||
Style/StringLiterals: | ||
Exclude: | ||
- 'Rakefile' | ||
- 'analytics-ruby.gemspec' | ||
- 'bin/analytics' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: EnforcedStyleForMultiline. | ||
# SupportedStylesForMultiline: comma, consistent_comma, no_comma | ||
Style/TrailingCommaInArrayLiteral: | ||
Exclude: | ||
- 'Rakefile' | ||
|
||
# Offense count: 2 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Layout/LineLength: | ||
Max: 147 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters