0.0
No commit activity in last 3 years
No release in over 3 years
Sass plugin for Roger based on libsass
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.1.0
~> 10.0
~> 0.31.0
~> 0.10.0
~> 3.1.2

Runtime

>= 0
~> 1.0
~> 1.11.4
 Project Readme

RogerSassc

Sass compilation based on sassc-ruby

Installation

Add this line to your application's Gemfile:

gem 'roger_sassc'

And then execute:

$ bundle

Usage

Add the following lines to your Mockupfile

Middleware

mockup.serve do |s|
    s.use(RogerSassc::Middleware)
end

Several options can be supplied, as can be seen in middleware.rb

Release

mockup.release do |r|
    r.use(:sassc)
end

Several options can be supplied, as can be seen in processor.rb

Load path

When working with files that are hard to reach with a relative path, load_paths can help out to ensure cleanness of otherwise long paths.

# Mockupfile

RogerSassc.append_path "plugins"

Example:

// Without append_path
import '../../../../plugins/my-awesome-plugin/main';

// Say we add global to the load_path as done above
import 'my-awesome-plugin/main';

Notes

The wrapper around libsass does not support ruby < 2.0.0.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Run the tests (rake)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request