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