lib/rubysmith/builders/rake.rb in rubysmith-5.2.0 vs lib/rubysmith/builders/rake.rb in rubysmith-5.3.0
- old
+ new
@@ -37,10 +37,10 @@
builder.call(configuration.merge(template_path: "%project_name%/Rakefile.erb"))
.render
.replace(/\[\s+/, "[")
.replace(/\s+\]/, "]")
.replace(" ", "")
- .replace("task.", " task.")
+ .replace("task.options", " task.options")
.replace(/\n+(?=require)/, "\n")
.replace(/\n{2,}/, "\n\n")
end
end
end