.rubocop.yml in hyrax-2.1.0 vs .rubocop.yml in hyrax-2.2.0

- old
+ new

@@ -2,11 +2,11 @@ bixby: bixby_default.yml inherit_from: .rubocop_fixme.yml AllCops: - TargetRubyVersion: 2.1 + TargetRubyVersion: 2.3 DisplayCopNames: true Exclude: - 'db/**/*' - 'script/**/*' - 'spec/test_app_templates/**/*' @@ -44,9 +44,16 @@ collect: 'map' collect!: 'map!' inject: 'reduce' detect: 'find' find_all: 'select' + +# disable frozen string literal comment. We can't safely introduce this +# system-wide until a major version because it freezes strings that downstream +# users might be mutating. Please use the frozen string literal pragma on new +# files +Style/FrozenStringLiteralComment: + Enabled: false Style/MethodMissing: Exclude: - 'app/models/concerns/hyrax/file_set/characterization.rb'