Sha256: a21863a9489ebdd9774549c643ccc544e820527354fa0882c0d58a9944e36ef0
Contents?: true
Size: 1.47 KB
Versions: 5
Compression:
Stored size: 1.47 KB
Contents
= Compressit Compressit provides a simple way to compress your project .css and .js files to not only reduce their size, but also reduce web requests improving the overall performance of your site. == Features * Command Line Input (CLI) * Rake tasks (discontinued) * Thor tasks (discontinued) == Install === Rails (discontinued support) NOTE: This will still work with Rails, however I have discontinued a specific rails 'integration' due to a very similar feature being added with the release of Rails 3.1 Add this line to your Gemfile: gem 'compressit' Then do a bundle install: bundle install --- === Non Rails gem install compressit == Usage Usage: compressit [option] [FOLDER] [VERSION] -h, --help Display this screen -v, --version Display current gem version -c, --css FOLDER VERSION Compress css files from [FOLDER] into [FOLDER]/compressed -j, --js FOLDER VERSION Compress javascript files from [FOLDER] into [FOLDER]/compressed --- == TODO * May add a better versioning system * Initially had the ability to specify a destination folder, may add this back if requested * Tests * One final pass of cleanup and refactoring * Implement the ability to skip files in the compression process * It would be awesome if it could replace all your current css/js calls with itself so you didn't have to (we'll see about this) == Copyright Copyright (c) 2011 Steve Domino. See LICENSE.txt for further details
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
compressit-1.1.0 | README.rdoc |
compressit-1.0.4 | README.rdoc |
compressit-1.0.3 | README.rdoc |
compressit-1.0.2 | README.rdoc |
compressit-1.0.1 | README.rdoc |