An open API service indexing awesome lists of open source software.

https://github.com/caneroj1/snake

Parses Twitter Bootstrap's config.json for easy customization.
https://github.com/caneroj1/snake

Last synced: about 1 month ago
JSON representation

Parses Twitter Bootstrap's config.json for easy customization.

Awesome Lists containing this project

README

        

Snake


[![Build Status](https://travis-ci.org/caneroj1/snake.svg?branch=master)](https://travis-ci.org/caneroj1/snake)
Ruby Gems Page

Snake is a Rails plugin that parses custom downloads of Twitter Bootstrap v3. When you customize your own version of Twitter Bootstrap here, one of the files you receive is a config.json file that specifies all of the customization you just made.

If you are using `gem "bootstrap-sass"`, I've found it slightly difficult to load up all of this customization without having to write it yourself. Using Snake, you can just customize your download of Bootstrap and get it loaded in right away.

Usage


Create a new directory under `app/assets/` called json and put your config.json file there.

Add `gem "snake"` to your Gemfile.

Update and run tests: `bundle update && rake`.

Parse config.json by running `rails g snake:parse`.

Contributing


If there are any bugs, make an issue.


If there are any desired features, either let me know or send me a pull request. Be sure to write tests and have them pass!


Licensing


This project uses the MIT-LICENSE.