tvdeyen-fleximage 1.0.9 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/.gitignore +28 -0
  2. data/Gemfile +8 -0
  3. data/README.rdoc +3 -32
  4. data/Rakefile +23 -34
  5. data/VERSION +1 -1
  6. data/lib/dsl_accessor.rb +12 -9
  7. data/lib/fleximage.rb +0 -1
  8. data/lib/fleximage/model.rb +4 -41
  9. data/test/rails_root/README.rdoc +261 -0
  10. data/test/rails_root/Rakefile +7 -0
  11. data/test/rails_root/app/assets/javascripts/application.js +15 -0
  12. data/test/rails_root/app/assets/stylesheets/application.css +13 -0
  13. data/test/rails_root/app/controllers/application_controller.rb +3 -0
  14. data/test/rails_root/app/helpers/application_helper.rb +0 -1
  15. data/test/rails_root/app/mailers/.gitkeep +0 -0
  16. data/test/rails_root/app/models/.gitkeep +0 -0
  17. data/test/rails_root/app/models/abstract.rb +1 -1
  18. data/test/rails_root/app/models/photo_custom_error.rb +1 -1
  19. data/test/rails_root/app/views/layouts/application.html.erb +14 -0
  20. data/test/rails_root/config.ru +4 -0
  21. data/test/rails_root/config/application.rb +56 -0
  22. data/test/rails_root/config/boot.rb +7 -106
  23. data/test/rails_root/config/database.yml +19 -1
  24. data/test/rails_root/config/environment.rb +4 -65
  25. data/test/rails_root/config/environments/development.rb +33 -14
  26. data/test/rails_root/config/environments/production.rb +62 -14
  27. data/test/rails_root/config/environments/test.rb +32 -17
  28. data/test/rails_root/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/rails_root/config/initializers/inflections.rb +7 -2
  30. data/test/rails_root/config/initializers/secret_token.rb +7 -0
  31. data/test/rails_root/config/initializers/session_store.rb +8 -0
  32. data/test/rails_root/config/initializers/wrap_parameters.rb +14 -0
  33. data/test/rails_root/config/locales/en.yml +5 -0
  34. data/test/rails_root/config/routes.rb +38 -23
  35. data/test/rails_root/db/schema.rb +45 -0
  36. data/test/rails_root/lib/assets/.gitkeep +0 -0
  37. data/test/rails_root/public/404.html +15 -19
  38. data/test/rails_root/public/422.html +15 -19
  39. data/test/rails_root/public/500.html +15 -20
  40. data/test/rails_root/script/rails +6 -0
  41. data/test/test_helper.rb +4 -4
  42. data/test/unit/minimum_image_size_test.rb +3 -3
  43. data/test/unit/require_image_option_test.rb +1 -1
  44. data/tvdeyen-fleximage.gemspec +9 -163
  45. metadata +67 -62
  46. data/test/rails_root/app/controllers/application.rb +0 -10
  47. data/test/rails_root/app/models/photo_s3.rb +0 -5
  48. data/test/rails_root/db/migrate/005_create_photo_s3s.rb +0 -12
  49. data/test/s3_stubs.rb +0 -7
data/test/s3_stubs.rb DELETED
@@ -1,7 +0,0 @@
1
- class AWS::S3::Bucket
2
-
3
- def self.find(*args)
4
- return new
5
- end
6
-
7
- end