Sha256: 820301cb61aa6c8f715eb296b809d76195c765fe927ec13e8d79da0ba8687cdd

Contents?: true

Size: 336 Bytes

Versions: 15

Compression:

Stored size: 336 Bytes

Contents

require 'sass'

module Sass
  module Rails
    class CssCompressor
      def compress(css)
        Sass::Engine.new(css,
                         :syntax => :scss,
                         :cache => false,
                         :read_cache => false,
                         :style => :compressed).render
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
sass-rails-3.2.0 lib/sass/rails/compressor.rb
sass-rails-3.1.4 lib/sass/rails/compressor.rb
sass-rails-3.1.3 lib/sass/rails/compressor.rb
sass-rails-3.1.2 lib/sass/rails/compressor.rb
sass-rails-3.1.1 lib/sass/rails/compressor.rb
wireframe-sass-rails-3.1.0.1 lib/sass/rails/compressor.rb
wireframe-sass-rails-3.1.1.alpha.1 lib/sass/rails/compressor.rb
wireframe-sass-rails-3.1.1.alpha.0 lib/sass/rails/compressor.rb
sass-rails-3.1.0 lib/sass/rails/compressor.rb
sass-rails-3.1.0.rc.7 lib/sass/rails/compressor.rb
sass-rails-3.1.0.rc.6 lib/sass/rails/compressor.rb
sass-rails-3.1.0.rc.5 lib/sass/rails/compressor.rb
sass-rails-3.1.0.rc.4 lib/sass/rails/compressor.rb
sass-rails-3.1.0.rc.3 lib/sass/rails/compressor.rb
sass-rails-3.1.0.rc.2 lib/sass/rails/compressor.rb