dragonfly 0.9.5 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of dragonfly might be problematic. Click here for more details.

Files changed (39) hide show
  1. data/Gemfile +1 -2
  2. data/History.md +29 -0
  3. data/README.md +1 -1
  4. data/VERSION +1 -1
  5. data/dragonfly.gemspec +15 -14
  6. data/extra_docs/DataStorage.md +5 -2
  7. data/extra_docs/Rails3.md +6 -4
  8. data/features/steps/rails_steps.rb +18 -6
  9. data/features/support/setup.rb +10 -1
  10. data/fixtures/rails/files/features/step_definitions/image_steps.rb +1 -1
  11. data/lib/dragonfly.rb +4 -0
  12. data/lib/dragonfly/analysis/file_command_analyser.rb +2 -1
  13. data/lib/dragonfly/data_storage/couch_data_store.rb +1 -1
  14. data/lib/dragonfly/data_storage/mongo_data_store.rb +4 -2
  15. data/lib/dragonfly/data_storage/s3data_store.rb +5 -1
  16. data/lib/dragonfly/image_magick/generator.rb +2 -2
  17. data/lib/dragonfly/image_magick/processor.rb +2 -2
  18. data/lib/dragonfly/image_magick/utils.rb +3 -25
  19. data/lib/dragonfly/rails/images.rb +17 -12
  20. data/lib/dragonfly/railtie.rb +1 -1
  21. data/lib/dragonfly/shell.rb +44 -0
  22. data/lib/dragonfly/temp_object.rb +13 -6
  23. data/spec/dragonfly/analysis/file_command_analyser_spec.rb +1 -0
  24. data/spec/dragonfly/cookie_monster_spec.rb +4 -2
  25. data/spec/dragonfly/data_storage/file_data_store_spec.rb +1 -1
  26. data/spec/dragonfly/data_storage/mongo_data_store_spec.rb +23 -8
  27. data/spec/dragonfly/image_magick/generator_spec.rb +0 -5
  28. data/spec/dragonfly/job_spec.rb +5 -1
  29. data/spec/dragonfly/shell_spec.rb +34 -0
  30. data/spec/dragonfly/temp_object_spec.rb +44 -12
  31. data/spec/functional/image_magick_app_spec.rb +1 -1
  32. data/spec/functional/remote_on_the_fly_spec.rb +6 -6
  33. data/spec/functional/shell_commands_spec.rb +23 -0
  34. data/spec/functional/to_response_spec.rb +1 -1
  35. data/spec/spec_helper.rb +6 -3
  36. data/spec/support/image_matchers.rb +1 -0
  37. data/tmp/.gitignore +2 -0
  38. metadata +71 -85
  39. data/spec/dragonfly/image_magick/utils_spec.rb +0 -18
@@ -1,18 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Dragonfly::ImageMagick::Utils do
4
-
5
- before(:each) do
6
- @obj = Object.new
7
- @obj.extend(Dragonfly::ImageMagick::Utils)
8
- end
9
-
10
- it "should raise an error if the identify command isn't found" do
11
- suppressing_stderr do
12
- lambda{
13
- @obj.send(:run, "non-existent-command")
14
- }.should raise_error(Dragonfly::ImageMagick::Utils::ShellCommandFailed)
15
- end
16
- end
17
-
18
- end