Skip to content

Commit 7494362

Browse files
committed
(MAINT) Rubocop: Fix Style/RedundantFreeze
1 parent 05f23fd commit 7494362

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@ Style/Not:
430430
Style/NumericLiterals:
431431
Enabled: false
432432

433+
Style/NumericPredicate:
434+
Enabled: false
435+
433436
Style/OneLineConditional:
434437
Enabled: false
435438

lib/puppet-strings/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PuppetStrings
4-
VERSION = '2.5.0'.freeze
4+
VERSION = '2.5.0'
55
end

lib/puppet-strings/yard/handlers/ruby/rsapi_handler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Implements the handler for Puppet resource types written in Ruby.
99
class PuppetStrings::Yard::Handlers::Ruby::RsapiHandler < PuppetStrings::Yard::Handlers::Ruby::Base
1010
# The default docstring when ensurable is used without given a docstring.
11-
DEFAULT_ENSURABLE_DOCSTRING = 'The basic property that the resource should be in.'.freeze
11+
DEFAULT_ENSURABLE_DOCSTRING = 'The basic property that the resource should be in.'
1212

1313
namespace_only
1414
handles method_call(:register_type)

lib/puppet-strings/yard/handlers/ruby/type_extras_handler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Implements the handler for Puppet resource type newparam/newproperty calls written in Ruby.
99
class PuppetStrings::Yard::Handlers::Ruby::TypeExtrasHandler < PuppetStrings::Yard::Handlers::Ruby::TypeBase
1010
# The default docstring when ensurable is used without given a docstring.
11-
DEFAULT_ENSURABLE_DOCSTRING = 'The basic property that the resource should be in.'.freeze
11+
DEFAULT_ENSURABLE_DOCSTRING = 'The basic property that the resource should be in.'
1212

1313
namespace_only
1414
handles method_call(:newparam)

lib/puppet-strings/yard/handlers/ruby/type_handler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Implements the handler for Puppet resource types written in Ruby.
99
class PuppetStrings::Yard::Handlers::Ruby::TypeHandler < PuppetStrings::Yard::Handlers::Ruby::TypeBase
1010
# The default docstring when ensurable is used without given a docstring.
11-
DEFAULT_ENSURABLE_DOCSTRING = 'The basic property that the resource should be in.'.freeze
11+
DEFAULT_ENSURABLE_DOCSTRING = 'The basic property that the resource should be in.'
1212

1313
namespace_only
1414
handles method_call(:newtype)

0 commit comments

Comments
 (0)