lib/generators/snake/parse_generator.rb in snake-1.0.1 vs lib/generators/snake/parse_generator.rb in snake-1.0.2

- old
+ new

@@ -7,10 +7,10 @@ vars = Snake::Parser.parse(File.join(Rails.root, JSON_PATH)) Snake::Writer.write(vars) gsub_file File.join(Rails.root, STYLES_PATH), "@import 'bootstrap-sprockets';", "@import \"bootstrap-sprockets\";" gsub_file File.join(Rails.root, STYLES_PATH), "@import \"snake_vars\";", "" - inject_into_file File.join(Rails.root, STYLES_PATH), after: /"@import \"bootstrap-sprockets\";\n" do + inject_into_file File.join(Rails.root, STYLES_PATH), after: "@import \"bootstrap-sprockets\";\n" do <<-INSERT @import "snake_vars"; INSERT end end