lib/branch/name/normalizable.rb in branch-name-3.5.1 vs lib/branch/name/normalizable.rb in branch-name-3.6.0
- old
+ new
@@ -14,10 +14,10 @@
PROJECT_FOLDER_REGEX = /[\W_]/
# Acceptable project folder token separators. If options[:separator]
# returns one of these acceptable values, it will be used; otherwise
# DEFAULT_PROJECT_FOLDER_TOKEN_SEPARATOR will be used.
- PROJECT_FOLDER_TOKEN_SEPARATORS = %W[- _]
+ PROJECT_FOLDER_TOKEN_SEPARATORS = %w[- _].freeze
# The default project folder token separator if options[:separator] is
# not an acceptable project folder token separator
# (i.e. PROJECT_FOLDER_TOKEN_SEPARATORS).
DEFAULT_PROJECT_FOLDER_TOKEN_SEPARATOR = PROJECT_FOLDER_TOKEN_SEPARATORS.first