Sha256: 1784f90422a34cbaa2f77a78b9ea7c4721c12d7e0e433b0047ee64dbfe26e622
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
[](https://travis-ci.org/jbr/sibilant-gem) [](https://coveralls.io/r/jbr/sibilant-gem) # Sibilant Ruby Gem This is a ruby wrapper for the sibilant compiler, which is written in javascript. Instead of depending on ExecJS, it expects to find NodeJS available on the path as node. Sibilant doesn't need to be installed. # Tilt support Providing sibilant code inside of a [tilt](https://github.com/rtomayko/tilt/) environment is provided by require 'sibilant/tilt' Tilt['test.sibilant'].new { "(+ 1 2 3)" }.render #=> '(1 + 2 + 3)' # Sinatra require 'sinatra' require 'sibilant/sinatra' helpers Sinatra::Sibilant get('/inline.js') { sibilant "(alert 'here)" } #./views/templated.sibilant get('/templated.js') { sibilant :templated } ## When it's ready, here's how you'll install it Add this line to your application's Gemfile: gem 'sibilant' And then execute: $ bundle Or install it yourself as: $ gem install sibilant ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sibilant-0.0.1 | README.md |