lib/rubocop/cop/rails/unknown_env.rb in rubocop-0.68.1 vs lib/rubocop/cop/rails/unknown_env.rb in rubocop-0.69.0

- old
+ new

@@ -13,12 +13,12 @@ # # good # Rails.env.production? class UnknownEnv < Cop include NameSimilarity - MSG = 'Unknown environment `%<name>s`.'.freeze + MSG = 'Unknown environment `%<name>s`.' MSG_SIMILAR = 'Unknown environment `%<name>s`. ' \ - 'Did you mean `%<similar>s`?'.freeze + 'Did you mean `%<similar>s`?' def_node_matcher :unknown_environment?, <<-PATTERN (send (send {(const nil? :Rails) (const (cbase) :Rails)}