dynamic_paperclip 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +150 -0
  3. data/Rakefile +40 -0
  4. data/app/controllers/dynamic_paperclip/attachment_styles_controller.rb +40 -0
  5. data/lib/dynamic_paperclip/attachment.rb +64 -0
  6. data/lib/dynamic_paperclip/config.rb +5 -0
  7. data/lib/dynamic_paperclip/engine.rb +4 -0
  8. data/lib/dynamic_paperclip/errors.rb +18 -0
  9. data/lib/dynamic_paperclip/has_attached_file.rb +47 -0
  10. data/lib/dynamic_paperclip/paperclip_shim.rb +7 -0
  11. data/lib/dynamic_paperclip/url_security.rb +11 -0
  12. data/lib/dynamic_paperclip/version.rb +3 -0
  13. data/lib/dynamic_paperclip.rb +16 -0
  14. data/lib/generators/dynamic_paperclip/install_generator.rb +11 -0
  15. data/test/controllers/attachment_style_controller_test.rb +144 -0
  16. data/test/dummy/Rakefile +7 -0
  17. data/test/dummy/app/controllers/application_controller.rb +3 -0
  18. data/test/dummy/app/models/photo.rb +3 -0
  19. data/test/dummy/config/application.rb +59 -0
  20. data/test/dummy/config/boot.rb +10 -0
  21. data/test/dummy/config/database.yml +25 -0
  22. data/test/dummy/config/environment.rb +5 -0
  23. data/test/dummy/config/environments/test.rb +37 -0
  24. data/test/dummy/config/initializers/dynamic_paperclip.rb +1 -0
  25. data/test/dummy/config/initializers/secret_token.rb +7 -0
  26. data/test/dummy/config/initializers/session_store.rb +8 -0
  27. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  28. data/test/dummy/config/locales/en.yml +5 -0
  29. data/test/dummy/config/routes.rb +2 -0
  30. data/test/dummy/config.ru +4 -0
  31. data/test/dummy/db/development.sqlite3 +0 -0
  32. data/test/dummy/db/migrate/20131102002336_create_photos.rb +9 -0
  33. data/test/dummy/db/schema.rb +24 -0
  34. data/test/dummy/db/test.sqlite3 +0 -0
  35. data/test/dummy/log/development.log +24 -0
  36. data/test/dummy/log/test.log +14470 -0
  37. data/test/dummy/public/404.html +26 -0
  38. data/test/dummy/public/422.html +26 -0
  39. data/test/dummy/public/500.html +25 -0
  40. data/test/dummy/public/favicon.ico +0 -0
  41. data/test/dummy/public/system/photos/images/000/000/001/dynamic_42x42/rails.png +0 -0
  42. data/test/dummy/public/system/photos/images/000/000/001/original/rails.png +0 -0
  43. data/test/dummy/script/rails +6 -0
  44. data/test/dynamic_paperclip_test.rb +7 -0
  45. data/test/fixtures/photos.yml +4 -0
  46. data/test/fixtures/rails.png +0 -0
  47. data/test/generators/install_generator_test.rb +20 -0
  48. data/test/integration/dynamic_attachment_styles_test.rb +26 -0
  49. data/test/test_helper.rb +21 -0
  50. data/test/tmp/config/initializers/dynamic_paperclip.rb +1 -0
  51. data/test/unit/attachment_test.rb +41 -0
  52. data/test/unit/has_attached_file_test.rb +29 -0
  53. metadata +216 -0

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.