0.0
No commit activity in last 3 years
No release in over 3 years
The transmogrify gem is a thin Ruby wrapper around a Node.js based webservice that compiles CoffeeScript and uglifies Javascript. It also provides an engine for the ruby-coffee-script gem so you can use it on Heroku.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.5.1
 Project Readme

Transmogrify!!!

Transmogrify is a Node.js service that compiles CoffeeScript and compresses Javascript (or both at once). This is intended to be used in environments where you can't install CoffeeScript or a decent javascript minifier for some reason (like Heroku!)

To test:

cake test

To run server:

cake server --port <NUMBER>
http://localhost:3010

Ruby Wrapper and ruby-coffee-script integration

gem install transmogrify will get you ruby-coffee-script integration. It will post to http://transmogrify.credibl.es:8080 by default, if you want to point to your own node.js endpoint running transmogrify, specify it like so (this can go in a Rails initializer):

Transmogrify.endpoint = "http://path.to/compile"