Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update voxpupuli-rubocop requirement from ~> 2.0.0 to ~> 2.1.0 #291

Merged
merged 3 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 6 additions & 26 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-06-21 07:47:32 UTC using RuboCop version 1.50.2.
# on 2023-12-12 12:48:14 UTC using RuboCop version 1.57.2.
# 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 unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'Gemfile'
- 'facts/Gemfile'

# Offense count: 1
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Expand All @@ -27,6 +19,7 @@ Lint/SuppressedException:
- 'Rakefile'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/UselessAssignment:
Exclude:
- 'spec/facts_spec.rb'
Expand Down Expand Up @@ -56,7 +49,7 @@ Performance/StringInclude:
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/facterdb_spec.rb'
- 'spec/facter_db_spec.rb'

# Offense count: 1
# Configuration parameters: IgnoredMetadata.
Expand All @@ -75,26 +68,13 @@ RSpec/DescribeClass:
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Exclude:
- 'spec/facterdb_spec.rb'
- 'spec/facter_db_spec.rb'

# Offense count: 3
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 9

# Offense count: 1
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/facterdb_spec.rb'

# Offense count: 4
# Configuration parameters: Max.
RSpec/IndexedLet:
Exclude:
- 'spec/facterdb_spec.rb'

# Offense count: 4
RSpec/MultipleExpectations:
Max: 7
Expand All @@ -115,7 +95,7 @@ RSpec/NestedGroups:
# SupportedStyles: inflected, explicit
RSpec/PredicateMatcher:
Exclude:
- 'spec/facterdb_spec.rb'
- 'spec/facter_db_spec.rb'

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
Expand Down Expand Up @@ -150,7 +130,7 @@ Style/FrozenStringLiteralComment:
- 'lib/facterdb/bin.rb'
- 'lib/facterdb/version.rb'
- 'rakelib/rhel_alts.rake'
- 'spec/facterdb_spec.rb'
- 'spec/facter_db_spec.rb'
- 'spec/facts_spec.rb'
- 'spec/spec_helper.rb'

Expand Down
2 changes: 1 addition & 1 deletion facterdb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'

s.add_development_dependency 'voxpupuli-rubocop', '~> 2.0.0'
s.add_development_dependency 'voxpupuli-rubocop', '~> 2.1.0'
s.add_runtime_dependency 'facter', '< 5.0.0'
s.add_runtime_dependency 'jgrep'
end
File renamed without changes.