Project

ram

0.0
No commit activity in last 3 years
No release in over 3 years
Ram is an asset packaging library for any type of web project. \ It was originalyl adapted from the excellent Jammit gem, but without any Rails dependencies or tie ins. This provides both the CSS and JavaScript concatenation and compression that you'd expect, as well as YUI Compressor and Closure Compiler compatibility, ahead-of-time gzipping, built-in JavaScript template support, and optional Data-URI / MHTML image embedding.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Ram

Ram is an asset packaging library, written in Ruby. It is entirely taken from the Jammit gem, but stripped of any Rails dependencies or helpers. It was primarily written for packaging nanoc assets, though I suppose it could be used for many types of web development projects.

Installation:

gem install ram

Status of Project

Since this is a re-purposed Jammit, this tentatively works tonight, but without any guarantees. There are 13 failing tests at the moment, but I can get my regular use case working with nanoc.

If this version of Ram doesn't work for you, you might want to try the musical version instead.

Usage

Basically add a config/assets.yml file in your project (see Jammit documentation for now). Then, from your project source:

ram

I'll put some better documentation together once I'm more comfortable that I have what I want with this gem.

Path Ahead

Just a few things:

  • Get the tests running
  • Add a few features and feedback in the CLI
  • Documentation

License

Copyright (c) 2011 David Richards, Fleet Ventures

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.