Sha256: ec22702dd28e188380eaa2da4872a905107964bfd1d03091cbeeb48db3fa91fd

Contents?: true

Size: 1.73 KB

Versions: 38

Compression:

Stored size: 1.73 KB

Contents

# SassC [![Build Status](https://travis-ci.org/sass/sassc-ruby.svg?branch=master)](https://travis-ci.org/sass/sassc-ruby) [![Gem Version](https://badge.fury.io/rb/sassc.svg)](http://badge.fury.io/rb/sassc)

Use `libsass` with Ruby!

This gem combines the speed of `libsass`, the [Sass C implementation](https://github.com/sass/libsass), with the ease of use of the original [Ruby Sass](https://github.com/sass/ruby-sass) library.

### libsass Version

[3.6.1](https://github.com/sass/libsass/releases/3.6.1)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sassc'
```

And then execute:

```bash
bundle
```

Or install it yourself as:

```bash
gem install sassc
```

## Usage

This library utilizes `libsass` to allow you to compile SCSS or SASS syntax
to CSS.  To compile, use a `SassC::Engine`, e.g.:

```ruby
SassC::Engine.new(sass, style: :compressed).render
```

**Note**:  If you want to use this library with Rails/Sprockets, check out
[sassc-rails](https://github.com/bolandrm/sassc-rails).

Additionally, you can use `SassC::Sass2Scss` to convert Sass syntax to Scss syntax.

## Credits

This gem is maintained by [Ryan Boland](https://ryanboland.com)
and [awesome contributors](https://github.com/bolandrm/sassc-ruby/graphs/contributors).

## Changelog

See [CHANGELOG.md](CHANGELOG.md).

## Contributing

### Project Setup

1. Clone repo
1. Install dependencies - `bundle install`
1. Run the tests - `bundle exec rake test`

### Code Changes

1. Fork it ( https://github.com/sass/sassc-ruby/fork )
1. Create your feature branch (`git checkout -b my-new-feature`)
1. Commit your changes (`git commit -am 'Add some feature'`) - try to include tests
1. Push to the branch (`git push origin my-new-feature`)
1. Create a new Pull Request

Version data entries

38 entries across 29 versions & 4 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/sassc-2.4.0/README.md
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/README.md
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/README.md
sassc-2.4.0-x64-mingw32 README.md
sassc-2.4.0 README.md
sassc-2.3.0-x64-mingw32 README.md
sassc-2.3.0 README.md
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.2.1/README.md
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.2.0/README.md
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/README.md
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.2.0/README.md
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/README.md
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.2.1/README.md
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/README.md
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.2.1/README.md
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.2.0/README.md
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/README.md
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.2.0/README.md
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.2.1/README.md
sassc-2.2.1-x86-mingw32 README.md