bake/modernize/gemspec.rb in bake-modernize-0.4.0 vs bake/modernize/gemspec.rb in bake-modernize-0.4.1

- old
+ new

@@ -68,11 +68,13 @@ output.puts "\t" output.puts "\tspec.extensions = #{extensions.inspect}" end if required_ruby_version = spec.required_ruby_version - output.puts "\t" - output.puts "\tspec.required_ruby_version = #{required_ruby_version.to_s.inspect}" + unless required_ruby_version.none? + output.puts "\t" + output.puts "\tspec.required_ruby_version = #{required_ruby_version.to_s.inspect}" + end end if spec.dependencies.any? output.puts "\t" spec.dependencies.sort.each do |dependency|