-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f230261
commit 9655358
Showing
10 changed files
with
185 additions
and
33 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 |
---|---|---|
|
@@ -11,3 +11,4 @@ locale/*/*.po.time_stamp | |
locale/*/*.pox | ||
|
||
Gemfile.lock | ||
.ruby-version |
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,128 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2022-02-23 12:58:32 UTC using RuboCop version 1.10.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: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. | ||
# Include: **/*.gemspec | ||
Gemspec/OrderedDependencies: | ||
Exclude: | ||
- 'foreman_dlm.gemspec' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: Include. | ||
# Include: **/*.gemspec | ||
Gemspec/RequiredRubyVersion: | ||
Exclude: | ||
- 'foreman_dlm.gemspec' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyleAlignWith, Severity. | ||
# SupportedStylesAlignWith: start_of_line, begin | ||
Layout/BeginEndAlignment: | ||
Exclude: | ||
- 'lib/foreman_dlm/engine.rb' | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
Layout/ClosingHeredocIndentation: | ||
Exclude: | ||
- 'app/controllers/api/v2/dlmlocks_controller.rb' | ||
|
||
# Offense count: 11 | ||
# Cop supports --auto-correct. | ||
Layout/EmptyLineAfterGuardClause: | ||
Exclude: | ||
- 'app/controllers/api/v2/dlmlock_events_controller.rb' | ||
- 'app/controllers/api/v2/dlmlocks_controller.rb' | ||
- 'app/controllers/concerns/foreman_dlm/update_checkin_time.rb' | ||
- 'app/controllers/foreman_dlm/dlmlocks_controller.rb' | ||
- 'app/helpers/foreman_dlm/dlmlock_helper.rb' | ||
- 'app/models/concerns/foreman_dlm/expirable.rb' | ||
- 'app/models/concerns/foreman_dlm/host_extensions.rb' | ||
- 'app/models/concerns/foreman_dlm/host_monitoring_extensions.rb' | ||
- 'app/models/foreman_dlm/dlmlock.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Layout/RescueEnsureAlignment: | ||
Exclude: | ||
- 'lib/foreman_dlm/engine.rb' | ||
|
||
# Offense count: 4 | ||
# Cop supports --auto-correct. | ||
Lint/SendWithMixinArgument: | ||
Exclude: | ||
- 'lib/foreman_dlm/engine.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. | ||
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to | ||
Naming/MethodParameterName: | ||
Exclude: | ||
- 'app/models/foreman_dlm/dlmlock.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Performance/StringInclude: | ||
Exclude: | ||
- 'test/controllers/hosts_controller_test.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Rails/ActiveRecordAliases: | ||
Exclude: | ||
- 'app/controllers/api/v2/dlmlocks_controller.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: Include. | ||
# Include: **/Rakefile, **/*.rake | ||
Rails/RakeEnvironment: | ||
Exclude: | ||
- 'lib/tasks/foreman_dlm_tasks.rake' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Rails/RedundantForeignKey: | ||
Exclude: | ||
- 'app/models/foreman_dlm/dlmlock.rb' | ||
|
||
# Offense count: 19 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, Include. | ||
# SupportedStyles: assert_not, refute | ||
# Include: **/test/**/* | ||
Rails/RefuteMethods: | ||
Exclude: | ||
- 'test/controllers/api/v2/dlmlocks_controller_test.rb' | ||
- 'test/controllers/foreman_dlm/dlmlocks_test.rb' | ||
- 'test/models/foreman_dlm/dlmlock_test.rb' | ||
- 'test/models/host_managed_test.rb' | ||
- 'test/models/host_status/dlmlock_status_test.rb' | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
Style/ExpandPathArguments: | ||
Exclude: | ||
- 'foreman_dlm.gemspec' | ||
- 'lib/foreman_dlm/engine.rb' | ||
|
||
# Offense count: 67 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: always, always_true, never | ||
Style/FrozenStringLiteralComment: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Style/RedundantBegin: | ||
Exclude: | ||
- 'lib/foreman_dlm/engine.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
This file was deleted.
Oops, something went wrong.
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