Skip to content
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
1 change: 0 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
{
"name": "VoxBox",
"image": "ghcr.io/voxpupuli/voxbox:latest"
Expand Down
2 changes: 1 addition & 1 deletion .msync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

modulesync_config_version: '10.5.0'
modulesync_config_version: '10.6.0'
77 changes: 29 additions & 48 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2025-10-09 09:45:58 UTC using RuboCop version 1.50.2.
# `rubocop --auto-gen-config --no-auto-gen-timestamp`
# using RuboCop version 1.85.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
Expand Down Expand Up @@ -63,7 +63,7 @@ Layout/SpaceInsideHashLiteralBraces:
- 'spec/classes/os_patching_spec.rb'

# Offense count: 7
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
Lint/DuplicateBranch:
Exclude:
- 'lib/facter/os_patching.rb'
Expand All @@ -89,8 +89,8 @@ Lint/SymbolConversion:
Exclude:
- 'spec/classes/os_patching_spec.rb'

# Offense count: 4
# Configuration parameters: CountBlocks.
# Offense count: 3
# Configuration parameters: CountBlocks, CountModifierForms.
Metrics/BlockNesting:
Max: 5

Expand All @@ -114,11 +114,9 @@ RSpec/EmptyLineAfterFinalLet:
- 'spec/classes/os_patching_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: .
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
EnforcedStyle: each
RSpec/LeakyLocalVariable:
Exclude:
- 'spec/acceptance/os_patching_spec.rb'

# Offense count: 1
RSpec/MultipleDescribes:
Expand Down Expand Up @@ -159,7 +157,7 @@ Style/ConditionalAssignment:

# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedVars.
# Configuration parameters: AllowedVars, DefaultToNil.
Style/FetchEnvVar:
Exclude:
- 'tasks/patch_server.rb'
Expand All @@ -171,6 +169,11 @@ Style/FileEmpty:
Exclude:
- 'lib/facter/os_patching.rb'

# Offense count: 13
Style/FileOpen:
Exclude:
- 'lib/facter/os_patching.rb'

# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
Style/FileRead:
Expand All @@ -183,6 +186,7 @@ Style/FileRead:
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Exclude:
- '**/*.arb'
- 'lib/facter/os_patching.rb'
- 'spec/acceptance/os_patching_spec.rb'
- 'spec/classes/os_patching_spec.rb'
Expand All @@ -196,57 +200,51 @@ Style/GlobalStdStream:
Exclude:
- 'tasks/patch_server.rb'

# Offense count: 42
# Offense count: 43
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either, consistent
# SupportedShorthandSyntax: always, never, either, consistent, either_consistent
Style/HashSyntax:
Exclude:
- 'lib/facter/os_patching.rb'
- 'tasks/clean_cache.rb'
- 'tasks/patch_server.rb'
- 'tasks/refresh_fact.rb'

# Offense count: 11
# Offense count: 12
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- 'lib/facter/os_patching.rb'
- 'tasks/clean_cache.rb'
- 'tasks/patch_server.rb'

# Offense count: 4
# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowedMethods.
# AllowedMethods: nonzero?
# AllowedMethods: infinite?, nonzero?
Style/IfWithBooleanLiteralBranches:
Exclude:
- 'lib/facter/os_patching.rb'
- 'tasks/patch_server.rb'

# Offense count: 1
Style/MixinUsage:
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/MapIntoArray:
Exclude:
- 'spec/spec_helper.rb'
- 'tasks/patch_server.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Style/NegatedIfElseCondition:
Exclude:
- 'tasks/patch_server.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'tasks/patch_server.rb'

# Offense count: 4
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedMethods.
# AllowedMethods: infinite?, nonzero?
Style/RedundantCondition:
Exclude:
- 'tasks/patch_server.rb'
Expand All @@ -270,7 +268,7 @@ Style/RedundantStringEscape:
Exclude:
- 'tasks/patch_server.rb'

# Offense count: 34
# Offense count: 35
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Expand All @@ -283,14 +281,6 @@ Style/RegexpLiteral:
- 'tasks/patch_server.rb'
- 'tasks/refresh_fact.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
Exclude:
- 'spec/spec_helper.rb'

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
Expand All @@ -299,7 +289,7 @@ Style/SafeNavigation:
Exclude:
- 'tasks/patch_server.rb'

# Offense count: 52
# Offense count: 53
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
Expand All @@ -309,16 +299,7 @@ Style/StringConcatenation:
- 'spec/classes/os_patching_spec.rb'
- 'tasks/patch_server.rb'

# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArguments:
Exclude:
- 'spec/classes/os_patching_spec.rb'
- 'tasks/patch_server.rb'

# Offense count: 3
# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MinSize, WordRegex.
# SupportedStyles: percent, brackets
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'

group :test do
gem 'voxpupuli-test', '~> 13.0', :require => false
gem 'voxpupuli-test', '~> 14.0', :require => false
gem 'puppet_metadata', '~> 6.0', :require => false
end

Expand All @@ -18,7 +18,7 @@ group :system_tests do
end

group :release do
gem 'voxpupuli-release', '~> 5.0', :require => false
gem 'voxpupuli-release', '~> 5.3', :require => false
end

gem 'rake', :require => false
Expand Down
Loading
Loading