-
Notifications
You must be signed in to change notification settings - Fork 56
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 #485 from puppetlabs/CONT-806-add_ruby_3
(CONT-806) Add Ruby 3.2 support
- Loading branch information
Showing
13 changed files
with
176 additions
and
172 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2023-04-06 13:31:56 UTC using RuboCop version 1.48.1. | ||
# 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: 17 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. | ||
Metrics/AbcSize: | ||
Max: 116 | ||
|
||
# Offense count: 8 | ||
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. | ||
# AllowedMethods: refine | ||
Metrics/BlockLength: | ||
Max: 345 | ||
|
||
# Offense count: 8 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/CyclomaticComplexity: | ||
Max: 33 | ||
|
||
# Offense count: 20 | ||
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. | ||
Metrics/MethodLength: | ||
Max: 79 | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: CountComments, CountAsOne. | ||
Metrics/ModuleLength: | ||
Max: 324 | ||
|
||
# Offense count: 7 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/PerceivedComplexity: | ||
Max: 38 | ||
|
||
# Offense count: 22 | ||
RSpec/AnyInstance: | ||
Exclude: | ||
- 'spec/lib/puppet_litmus/puppet_helpers_spec.rb' | ||
- 'spec/lib/puppet_litmus/rake_helper_spec.rb' | ||
- 'spec/lib/puppet_litmus/rake_tasks_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: IgnoredMetadata. | ||
RSpec/DescribeClass: | ||
Exclude: | ||
- '**/spec/features/**/*' | ||
- '**/spec/requests/**/*' | ||
- '**/spec/routing/**/*' | ||
- '**/spec/system/**/*' | ||
- '**/spec/views/**/*' | ||
- 'spec/exe/matrix_from_metadata_v2_spec.rb' | ||
- 'spec/lib/puppet_litmus/rake_tasks_spec.rb' | ||
|
||
# Offense count: 31 | ||
# Configuration parameters: CountAsOne. | ||
RSpec/ExampleLength: | ||
Max: 19 | ||
|
||
# Offense count: 129 | ||
# Configuration parameters: . | ||
# SupportedStyles: have_received, receive | ||
RSpec/MessageSpies: | ||
EnforcedStyle: receive | ||
|
||
# Offense count: 38 | ||
RSpec/MultipleExpectations: | ||
Max: 8 | ||
|
||
# Offense count: 12 | ||
# Configuration parameters: AllowSubject. | ||
RSpec/MultipleMemoizedHelpers: | ||
Max: 9 | ||
|
||
# Offense count: 5 | ||
# Configuration parameters: AllowedPatterns. | ||
# AllowedPatterns: ^expect_, ^assert_ | ||
RSpec/NoExpectationExample: | ||
Exclude: | ||
- 'spec/lib/puppet_litmus/rake_helper_spec.rb' | ||
|
||
# Offense count: 113 | ||
RSpec/StubbedMock: | ||
Exclude: | ||
- 'spec/lib/puppet_litmus/puppet_helpers_spec.rb' | ||
- 'spec/lib/puppet_litmus/rake_helper_spec.rb' | ||
- 'spec/lib/puppet_litmus/rake_tasks_spec.rb' | ||
|
||
# Offense count: 2 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: . | ||
# SupportedStyles: constant, string | ||
RSpec/VerifiedDoubleReference: | ||
EnforcedStyle: string | ||
|
||
# Offense count: 6 | ||
Style/OpenStructUse: | ||
Exclude: | ||
- 'lib/puppet_litmus/puppet_helpers.rb' | ||
- 'spec/spec_helper.rb' |
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
Oops, something went wrong.