lib/rubocop/cop/gemspec/required_ruby_version.rb in rubocop-0.72.0 vs lib/rubocop/cop/gemspec/required_ruby_version.rb in rubocop-0.73.0

- old
+ new

@@ -39,10 +39,10 @@ MSG = '`required_ruby_version` (%<required_ruby_version>s, ' \ 'declared in %<gemspec_filename>s) and `TargetRubyVersion` ' \ '(%<target_ruby_version>s, which may be specified in ' \ '.rubocop.yml) should be equal.' - def_node_search :required_ruby_version, <<-PATTERN + def_node_search :required_ruby_version, <<~PATTERN (send _ :required_ruby_version= ${(str _) (array (str _))}) PATTERN def investigate(processed_source) required_ruby_version(processed_source.ast) do |version|