class Sprockets::SassProcessor

def call(input)

def call(input)
  context = input[:environment].context_class.new(input)
  options = {
    filename: input[:filename],
    syntax: self.class.syntax,
    cache_store: CacheStore.new(input[:cache], @cache_version),
    load_paths: input[:environment].paths,
    sprockets: {
      context: context,
      environment: input[:environment],
      dependencies: context.metadata[:dependencies]
    }
  }
  engine = ::Sass::Engine.new(input[:data], options)
  css = Utils.module_include(::Sass::Script::Functions, @functions) do
    engine.render
  end
  # Track all imported files
  engine.dependencies.map do |dependency|
    context.metadata[:dependencies] << URIUtils.build_file_digest_uri(dependency.options[:filename])
  end
  context.metadata.merge(data: css)
end