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.
- Host: GitHub
- URL: https://github.com/caneroj1/snake
- Owner: caneroj1
- License: mit
- Created: 2015-01-19T00:58:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-19T18:47:20.000Z (over 10 years ago)
- Last Synced: 2025-03-25T10:42:17.135Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 499 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
Snake
[](https://travis-ci.org/caneroj1/snake)
Ruby Gems PageSnake 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.