Sha256: 63efaec852c78b7be92222ca16d8a4404a7123a8a740718b9ddd95f89889ad92

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

Assetify
========

Downloads/updates assets. Any framework.


Install
-------

    gem install assetify


Use
---

On any project`s root:

    assetify


This will create a Jsfile if not found.


Jsfile
------

Just like a Gemfile, but you choose the filetype before:

    type "name", "url", <version>

    js "jquery", "http://code.jquery.com/jquery-{VERSION}.min.js", "1.6"
    js "tipsy", "https://github.com/jaz303/tipsy/.../jquery.tipsy.js"

Now just run assetify to make sure everything is installed/up-to-date.

Options:

    newname true || false
    jspath "new/path"
    csspath "new/path"
    imgpath "new/path"


If newname is set to true (default) the file will be renamed. Ex:

    js "validator", "http//.../jquery.validator.min.js"

Filename will be: "validator.js"


Contributing
------------

* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
* Fork the project
* Start a feature/bugfix branch
* Commit and push until you are happy with your contribution
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.


Copyright
---------

Copyright (c) 2011 Marcos Piccinini. See LICENSE.txt for
further details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
assetify-0.0.2 README.md
assetify-0.0.1 README.md