diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 879cd261..c4a09799 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2022-01-17 09:39:27 UTC using RuboCop version 1.22.3. +# on 2022-11-16 15:12:16 UTC using RuboCop version 1.22.3. # 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 @@ -56,7 +56,7 @@ Lint/Void: Exclude: - 'lib/puppet/type/cs_colocation.rb' -# Offense count: 13 +# Offense count: 5 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to Naming/MethodParameterName: @@ -64,12 +64,7 @@ Naming/MethodParameterName: - 'lib/puppet/provider/cs_colocation/pcs.rb' - 'lib/puppet/provider/cs_primitive/crm.rb' - 'lib/puppet/provider/cs_primitive/pcs.rb' - - 'lib/puppet/type/cs_commit.rb' - - 'lib/puppet/type/cs_group.rb' - - 'lib/puppet/type/cs_location.rb' - 'lib/puppet/type/cs_primitive.rb' - - 'lib/puppet/type/cs_property.rb' - - 'lib/puppet/type/cs_shadow.rb' - 'lib/puppet_x/voxpupuli/corosync/provider/cib_helper.rb' # Offense count: 1 @@ -80,11 +75,6 @@ Naming/VariableNumber: Exclude: - 'lib/puppet_x/voxpupuli/corosync/provider/pcs.rb' -# Offense count: 1 -RSpec/EmptyExampleGroup: - Exclude: - - 'spec/classes/corosync_qdevice_spec.rb' - # Offense count: 1 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: @@ -101,12 +91,3 @@ RSpec/RepeatedExampleGroupBody: Style/CaseLikeIf: Exclude: - 'lib/puppet/provider/cs_colocation/pcs.rb' - -# Offense count: 7 -# Configuration parameters: AllowedMethods. -# AllowedMethods: respond_to_missing? -Style/OptionalBooleanParameter: - Exclude: - - 'lib/puppet_x/voxpupuli/corosync/provider/cib_helper.rb' - - 'lib/puppet_x/voxpupuli/corosync/provider/crmsh.rb' - - 'lib/puppet_x/voxpupuli/corosync/provider/pcs.rb' diff --git a/lib/puppet/provider/cs_colocation/crm.rb b/lib/puppet/provider/cs_colocation/crm.rb index b6a5453b..ecd8f5b1 100644 --- a/lib/puppet/provider/cs_colocation/crm.rb +++ b/lib/puppet/provider/cs_colocation/crm.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: true +# frozen_string_literal: false begin require 'puppet_x/voxpupuli/corosync/provider/crmsh' diff --git a/lib/puppet/provider/cs_primitive/crm.rb b/lib/puppet/provider/cs_primitive/crm.rb index 96a309c9..4bc5a15f 100644 --- a/lib/puppet/provider/cs_primitive/crm.rb +++ b/lib/puppet/provider/cs_primitive/crm.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: true +# frozen_string_literal: false begin require 'puppet_x/voxpupuli/corosync/provider/crmsh'