README.md in assetify-0.4.0 vs README.md in assetify-0.7.0.rc1
- old
+ new
@@ -52,11 +52,11 @@
group "forms" do
js "validator", "link"
end
-This will install as "public/javascripts/forms/validator.js"
+This will install as "vendor/assets/javascripts/forms/validator.js"
You can nest groups too:
group "forms" do
js "validator", "link"
@@ -91,10 +91,11 @@
Also, please check out the note about link inside pkgs below.
+
Dir
___
You can resource a full directory of files, too. Very useful when
dealing with pkgs:
@@ -112,10 +113,12 @@
Note: Have in mind that the "link" inside dir/packages *is a regex*
that returns the *first match* inside the archive. Check out libarchive
or the pkg.rb source for more info.
+
+
Other
-----
Set a different location per file:
@@ -130,20 +133,27 @@
Options
-------
Change some default settings:
- newname true || false
- jspath "public/javascripts"
- csspath "public/stylesheets"
- imgpath "public/images"
+ newname true || false
+ javascripts "public/javascripts"
+ stylesheets "public/stylesheets"
+ images "public/images"
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"
+
+
+Rails
+-----
+
+Out of the box support for rails 3.1, defaults to 'vendor/assets'.
+Rails 3.0< users should change the options as above.
Contributing
------------