dust-generators 0.2.3 → 0.2.4
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/albums_generator.rb +129 -34
- data/lib/generators/dust/albums/templates/app/controllers/albums_controller.rb +24 -18
- data/lib/generators/dust/albums/templates/app/controllers/photos_controller.rb +37 -40
- data/lib/generators/dust/albums/templates/app/controllers/view_albums_controller.rb +6 -7
- data/lib/generators/dust/albums/templates/app/helpers/albums_helper.rb +1 -1
- data/lib/generators/dust/albums/templates/app/helpers/photos_helper.rb +1 -1
- data/lib/generators/dust/albums/templates/app/helpers/view_albums_helper.rb +1 -1
- data/lib/generators/dust/albums/templates/app/models/album.rb +8 -4
- data/lib/generators/dust/albums/templates/app/models/photo.rb +11 -4
- data/lib/generators/dust/albums/templates/app/views/albums/_form.html.erb +48 -18
- data/lib/generators/dust/albums/templates/app/views/albums/_search.html.erb +4 -4
- data/lib/generators/dust/albums/templates/app/views/albums/_upload_script.html.erb +11 -11
- data/lib/generators/dust/albums/templates/app/views/albums/edit.html.erb +3 -3
- data/lib/generators/dust/albums/templates/app/views/albums/index.html.erb +23 -23
- data/lib/generators/dust/albums/templates/app/views/albums/manage.html.erb +65 -0
- data/lib/generators/dust/albums/templates/app/views/albums/new.html.erb +3 -3
- data/lib/generators/dust/albums/templates/app/views/albums/show.html.erb +33 -21
- data/lib/generators/dust/albums/templates/app/views/albums/show.js.erb +1 -0
- data/lib/generators/dust/albums/templates/app/views/photos/_form.html.erb +20 -19
- data/lib/generators/dust/albums/templates/app/views/photos/_photo.html.erb +25 -23
- data/lib/generators/dust/albums/templates/app/views/photos/_search.html.erb +6 -0
- data/lib/generators/dust/albums/templates/app/views/photos/array.js.erb +3 -0
- data/lib/generators/dust/albums/templates/app/views/photos/edit.html.erb +6 -6
- data/lib/generators/dust/albums/templates/app/views/photos/index.html.erb +28 -23
- data/lib/generators/dust/albums/templates/app/views/photos/new.html.erb +4 -4
- data/lib/generators/dust/albums/templates/app/views/photos/show.html.erb +9 -9
- data/lib/generators/dust/albums/templates/app/views/photos/show.js.erb +2 -2
- data/lib/generators/dust/albums/templates/app/views/view_albums/index.html.erb +25 -14
- data/lib/generators/dust/albums/templates/app/views/view_albums/show.html.erb +23 -12
- data/lib/generators/dust/albums/templates/images/save_position.png +0 -0
- data/lib/generators/dust/albums/templates/javascripts/dragsort.js +288 -0
- data/lib/generators/dust/albums/templates/javascripts/dust_album.js +28 -0
- data/lib/generators/dust/albums/templates/{uploadify → javascripts/uploadify}/jquery.uploadify.v2.1.0.js +0 -0
- data/lib/generators/dust/albums/templates/{uploadify → javascripts/uploadify}/swfobject.js +0 -0
- data/lib/generators/dust/albums/templates/{uploadify → javascripts/uploadify}/uploadify.swf +0 -0
- data/lib/generators/dust/albums/templates/migration/albums_migration.rb +39 -0
- data/lib/generators/dust/albums/templates/stylesheets/dust_album.css +16 -0
- data/lib/generators/dust/albums/templates/stylesheets/dust_album_app.css +15 -0
- data/lib/generators/dust/albums/templates/{uploadify.css → stylesheets/uploadify.css} +1 -1
- data/rails_generators/dust_albums/templates/app/controllers/view_albums_controller.rb +1 -1
- data/rails_generators/dust_albums/templates/app/views/albums/show.html.erb +1 -1
- metadata +17 -12
- data/lib/generators/dust/albums/templates/albums_migration.rb +0 -18
- data/lib/generators/dust/albums/templates/dust_album.css +0 -11
- data/lib/generators/dust/albums/templates/jquery-1.4.2.js +0 -6240
- data/lib/generators/dust/albums/templates/photos_migration.rb +0 -20
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.