lib/roger_sassc/processor.rb in roger_sassc-0.2.1 vs lib/roger_sassc/processor.rb in roger_sassc-0.4.0

- old
+ new

@@ -17,10 +17,11 @@ # @option options [Hash] # :build_files def call(release, options = {}) @options = @options.update(options) + @options[:roger_html_path] = release.build_path match = @options.delete(:match) skip = @options.delete(:skip) # Sassify SCSS files @@ -48,10 +49,10 @@ def compile_file(path) @options[:filename] = path.to_s scss = File.read(path) File.open(path.gsub(/\.scss$/, ".css"), "w+") do |file| - file.write(SassC::Engine.new(scss, @options).render) + file.write(::SassC::Engine.new(scss, @options).render) end end end end