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.
Files changed (51) hide show
  1. data/lib/dust/version.rb +1 -1
  2. data/lib/generators/dust/albums/USAGE +8 -0
  3. data/lib/generators/dust/albums/albums_generator.rb +58 -0
  4. data/lib/generators/dust/albums/templates/albums_migration.rb +18 -0
  5. data/lib/generators/dust/albums/templates/app/controllers/albums_controller.rb +50 -0
  6. data/lib/generators/dust/albums/templates/app/controllers/photos_controller.rb +92 -0
  7. data/lib/generators/dust/albums/templates/app/controllers/view_albums_controller.rb +18 -0
  8. data/lib/generators/dust/albums/templates/app/helpers/albums_helper.rb +2 -0
  9. data/lib/generators/dust/albums/templates/app/helpers/photos_helper.rb +2 -0
  10. data/lib/generators/dust/albums/templates/app/helpers/view_albums_helper.rb +2 -0
  11. data/lib/generators/dust/albums/templates/app/models/album.rb +48 -0
  12. data/lib/generators/dust/albums/templates/app/models/photo.rb +18 -0
  13. data/lib/generators/dust/albums/templates/app/views/albums/_form.html.erb +22 -0
  14. data/lib/generators/dust/albums/templates/app/views/albums/_search.html.erb +6 -0
  15. data/lib/generators/dust/albums/templates/app/views/albums/_upload_script.html.erb +39 -0
  16. data/lib/generators/dust/albums/templates/app/views/albums/edit.html.erb +5 -0
  17. data/lib/generators/dust/albums/templates/app/views/albums/index.html.erb +61 -0
  18. data/lib/generators/dust/albums/templates/app/views/albums/new.html.erb +6 -0
  19. data/lib/generators/dust/albums/templates/app/views/albums/show.html.erb +44 -0
  20. data/lib/generators/dust/albums/templates/app/views/albums/show.js.erb +0 -0
  21. data/lib/generators/dust/albums/templates/app/views/photos/_form.html.erb +22 -0
  22. data/lib/generators/dust/albums/templates/app/views/photos/_photo.html.erb +23 -0
  23. data/lib/generators/dust/albums/templates/app/views/photos/edit.html.erb +28 -0
  24. data/lib/generators/dust/albums/templates/app/views/photos/index.html.erb +80 -0
  25. data/lib/generators/dust/albums/templates/app/views/photos/new.html.erb +7 -0
  26. data/lib/generators/dust/albums/templates/app/views/photos/show.html.erb +26 -0
  27. data/lib/generators/dust/albums/templates/app/views/photos/show.js.erb +9 -0
  28. data/lib/generators/dust/albums/templates/app/views/view_albums/index.html.erb +20 -0
  29. data/lib/generators/dust/albums/templates/app/views/view_albums/show.html.erb +20 -0
  30. data/lib/generators/dust/albums/templates/dust_album.css +11 -0
  31. data/lib/generators/dust/albums/templates/images/browse.png +0 -0
  32. data/lib/generators/dust/albums/templates/images/cancel.png +0 -0
  33. data/lib/generators/dust/albums/templates/images/upload.png +0 -0
  34. data/lib/generators/dust/albums/templates/initializers/flash_session_cookie_middleware.rb +19 -0
  35. data/lib/generators/dust/albums/templates/initializers/session_store_middleware.rb +5 -0
  36. data/lib/generators/dust/albums/templates/jquery-1.4.2.js +6240 -0
  37. data/lib/generators/dust/albums/templates/photos_migration.rb +20 -0
  38. data/lib/generators/dust/albums/templates/uploadify/jquery.uploadify.v2.1.0.js +258 -0
  39. data/lib/generators/dust/albums/templates/uploadify/swfobject.js +4 -0
  40. data/lib/generators/dust/albums/templates/uploadify/uploadify.swf +0 -0
  41. data/lib/generators/dust/albums/templates/uploadify.css +84 -0
  42. data/lib/generators/dust/scaffold/scaffold_generator.rb +3 -2
  43. data/lib/generators/dust/scaffold/templates/controller.rb +7 -1
  44. data/lib/generators/dust/scaffold/templates/migration.rb +2 -0
  45. data/lib/generators/dust/scaffold/templates/model.rb +3 -2
  46. data/lib/generators/dust/scaffold/templates/views/erb/_form.html.erb +4 -4
  47. data/lib/generators/dust/scaffold/templates/views/erb/_search.html.erb +1 -1
  48. data/lib/generators/dust/scaffold/templates/views/erb/edit.html.erb +1 -1
  49. data/lib/generators/dust/scaffold/templates/views/erb/index.html.erb +6 -6
  50. data/lib/generators/dust/scaffold/templates/views/erb/show.html.erb +5 -4
  51. 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.