dust-generators 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dust/version.rb +1 -1
- data/lib/generators/dust/albums/USAGE +8 -0
- data/lib/generators/dust/albums/albums_generator.rb +58 -0
- data/lib/generators/dust/albums/templates/albums_migration.rb +18 -0
- data/lib/generators/dust/albums/templates/app/controllers/albums_controller.rb +50 -0
- data/lib/generators/dust/albums/templates/app/controllers/photos_controller.rb +92 -0
- data/lib/generators/dust/albums/templates/app/controllers/view_albums_controller.rb +18 -0
- data/lib/generators/dust/albums/templates/app/helpers/albums_helper.rb +2 -0
- data/lib/generators/dust/albums/templates/app/helpers/photos_helper.rb +2 -0
- data/lib/generators/dust/albums/templates/app/helpers/view_albums_helper.rb +2 -0
- data/lib/generators/dust/albums/templates/app/models/album.rb +48 -0
- data/lib/generators/dust/albums/templates/app/models/photo.rb +18 -0
- data/lib/generators/dust/albums/templates/app/views/albums/_form.html.erb +22 -0
- data/lib/generators/dust/albums/templates/app/views/albums/_search.html.erb +6 -0
- data/lib/generators/dust/albums/templates/app/views/albums/_upload_script.html.erb +39 -0
- data/lib/generators/dust/albums/templates/app/views/albums/edit.html.erb +5 -0
- data/lib/generators/dust/albums/templates/app/views/albums/index.html.erb +61 -0
- data/lib/generators/dust/albums/templates/app/views/albums/new.html.erb +6 -0
- data/lib/generators/dust/albums/templates/app/views/albums/show.html.erb +44 -0
- data/lib/generators/dust/albums/templates/app/views/albums/show.js.erb +0 -0
- data/lib/generators/dust/albums/templates/app/views/photos/_form.html.erb +22 -0
- data/lib/generators/dust/albums/templates/app/views/photos/_photo.html.erb +23 -0
- data/lib/generators/dust/albums/templates/app/views/photos/edit.html.erb +28 -0
- data/lib/generators/dust/albums/templates/app/views/photos/index.html.erb +80 -0
- data/lib/generators/dust/albums/templates/app/views/photos/new.html.erb +7 -0
- data/lib/generators/dust/albums/templates/app/views/photos/show.html.erb +26 -0
- data/lib/generators/dust/albums/templates/app/views/photos/show.js.erb +9 -0
- data/lib/generators/dust/albums/templates/app/views/view_albums/index.html.erb +20 -0
- data/lib/generators/dust/albums/templates/app/views/view_albums/show.html.erb +20 -0
- data/lib/generators/dust/albums/templates/dust_album.css +11 -0
- data/lib/generators/dust/albums/templates/images/browse.png +0 -0
- data/lib/generators/dust/albums/templates/images/cancel.png +0 -0
- data/lib/generators/dust/albums/templates/images/upload.png +0 -0
- data/lib/generators/dust/albums/templates/initializers/flash_session_cookie_middleware.rb +19 -0
- data/lib/generators/dust/albums/templates/initializers/session_store_middleware.rb +5 -0
- data/lib/generators/dust/albums/templates/jquery-1.4.2.js +6240 -0
- data/lib/generators/dust/albums/templates/photos_migration.rb +20 -0
- data/lib/generators/dust/albums/templates/uploadify/jquery.uploadify.v2.1.0.js +258 -0
- data/lib/generators/dust/albums/templates/uploadify/swfobject.js +4 -0
- data/lib/generators/dust/albums/templates/uploadify/uploadify.swf +0 -0
- data/lib/generators/dust/albums/templates/uploadify.css +84 -0
- data/lib/generators/dust/scaffold/scaffold_generator.rb +3 -2
- data/lib/generators/dust/scaffold/templates/controller.rb +7 -1
- data/lib/generators/dust/scaffold/templates/migration.rb +2 -0
- data/lib/generators/dust/scaffold/templates/model.rb +3 -2
- data/lib/generators/dust/scaffold/templates/views/erb/_form.html.erb +4 -4
- data/lib/generators/dust/scaffold/templates/views/erb/_search.html.erb +1 -1
- data/lib/generators/dust/scaffold/templates/views/erb/edit.html.erb +1 -1
- data/lib/generators/dust/scaffold/templates/views/erb/index.html.erb +6 -6
- data/lib/generators/dust/scaffold/templates/views/erb/show.html.erb +5 -4
- metadata +43 -3
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.