dragonfly 0.7.7 → 0.8.0

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 (67) hide show
  1. data/Gemfile +1 -1
  2. data/Gemfile.rails.2.3.5 +0 -1
  3. data/History.md +12 -0
  4. data/README.md +4 -2
  5. data/VERSION +1 -1
  6. data/config.ru +1 -1
  7. data/dragonfly.gemspec +256 -179
  8. data/extra_docs/Analysers.md +15 -6
  9. data/extra_docs/Configuration.md +13 -2
  10. data/extra_docs/Encoding.md +20 -7
  11. data/extra_docs/GeneralUsage.md +8 -5
  12. data/extra_docs/Generators.md +17 -7
  13. data/extra_docs/Heroku.md +1 -2
  14. data/extra_docs/MimeTypes.md +1 -1
  15. data/extra_docs/Models.md +1 -1
  16. data/extra_docs/Mongo.md +2 -2
  17. data/extra_docs/Processing.md +15 -7
  18. data/extra_docs/Rack.md +2 -3
  19. data/extra_docs/Rails2.md +2 -3
  20. data/extra_docs/Rails3.md +2 -3
  21. data/extra_docs/Sinatra.md +2 -2
  22. data/extra_docs/URLs.md +6 -4
  23. data/features/3.0.3.feature +8 -0
  24. data/features/steps/rails_steps.rb +2 -2
  25. data/features/support/env.rb +1 -1
  26. data/fixtures/files/app/views/albums/new.html.erb +4 -4
  27. data/fixtures/rails_2.3.5/template.rb +0 -1
  28. data/fixtures/{rails_3.0.0 → rails_3.0.3}/template.rb +0 -1
  29. data/irbrc.rb +1 -1
  30. data/lib/dragonfly/analysis/image_magick_analyser.rb +47 -0
  31. data/lib/dragonfly/app.rb +2 -0
  32. data/lib/dragonfly/config/image_magick.rb +41 -0
  33. data/lib/dragonfly/data_storage/file_data_store.rb +4 -2
  34. data/lib/dragonfly/data_storage/s3data_store.rb +7 -3
  35. data/lib/dragonfly/encoding/image_magick_encoder.rb +57 -0
  36. data/lib/dragonfly/generation/hash_with_css_style_keys.rb +23 -0
  37. data/lib/dragonfly/generation/image_magick_generator.rb +140 -0
  38. data/lib/dragonfly/generation/r_magick_generator.rb +0 -18
  39. data/lib/dragonfly/image_magick_utils.rb +81 -0
  40. data/lib/dragonfly/processing/image_magick_processor.rb +99 -0
  41. data/lib/dragonfly/rails/images.rb +1 -1
  42. data/lib/dragonfly/temp_object.rb +7 -6
  43. data/spec/dragonfly/analysis/image_magick_analyser_spec.rb +15 -0
  44. data/spec/dragonfly/analysis/r_magick_analyser_spec.rb +5 -49
  45. data/spec/dragonfly/analysis/shared_analyser_spec.rb +51 -0
  46. data/spec/dragonfly/app_spec.rb +2 -0
  47. data/spec/dragonfly/data_storage/data_store_spec.rb +6 -0
  48. data/spec/dragonfly/data_storage/file_data_store_spec.rb +1 -1
  49. data/spec/dragonfly/data_storage/s3_data_store_spec.rb +11 -1
  50. data/spec/dragonfly/deprecation_spec.rb +2 -2
  51. data/spec/dragonfly/encoding/image_magick_encoder_spec.rb +41 -0
  52. data/spec/dragonfly/encoding/r_magick_encoder_spec.rb +3 -6
  53. data/spec/dragonfly/generation/hash_with_css_style_keys_spec.rb +24 -0
  54. data/spec/dragonfly/generation/image_magick_generator_spec.rb +12 -0
  55. data/spec/dragonfly/generation/r_magick_generator_spec.rb +12 -123
  56. data/spec/dragonfly/generation/shared_generator_spec.rb +91 -0
  57. data/spec/dragonfly/image_magick_utils_spec.rb +16 -0
  58. data/spec/dragonfly/processing/image_magick_processor_spec.rb +29 -0
  59. data/spec/dragonfly/processing/r_magick_processor_spec.rb +2 -212
  60. data/spec/dragonfly/processing/shared_processing_spec.rb +215 -0
  61. data/spec/image_matchers.rb +6 -0
  62. data/spec/spec_helper.rb +11 -0
  63. data/yard/templates/default/fulldoc/html/css/common.css +9 -2
  64. data/yard/templates/default/layout/html/layout.erb +12 -1
  65. metadata +310 -11
  66. data/.gitignore +0 -15
  67. data/features/rails_3.0.0.feature +0 -8
data/Gemfile CHANGED
@@ -14,7 +14,7 @@ gem 'mongo'
14
14
  gem 'nokogiri', '1.5.0.beta.2' # 1.4.3.1 segfaults on Ruby 1.9.2
15
15
  gem 'rack', '~>1.1'
16
16
  gem 'rack-cache'
17
- gem 'rails', '3.0.0', :require => nil
17
+ gem 'rails', '3.0.3', :require => nil
18
18
  gem 'rake'
19
19
  gem 'rmagick', '2.12.2', :require => nil
20
20
  gem 'rspec', '~> 1.3'
data/Gemfile.rails.2.3.5 CHANGED
@@ -8,6 +8,5 @@ gem 'gherkin', '2.1.4'
8
8
  gem 'nokogiri', '1.5.0.beta.2'
9
9
  gem 'rack-cache', :require => nil
10
10
  gem 'rails', '2.3.5', :require => nil
11
- gem 'rmagick', '2.12.2', :require => nil
12
11
  gem 'rspec', '~> 1.3'
13
12
  gem 'sqlite3-ruby', '1.3.0'
data/History.md CHANGED
@@ -1,3 +1,15 @@
1
+ 0.8.0 (2010-11-21)
2
+ ==================
3
+ Features
4
+ --------
5
+ - New ImageMagick generator, processor, encoder and analyser, which are now defaults
6
+ (thanks to Henry Phan for work on this)
7
+
8
+ Fixes
9
+ -----
10
+ - Works with Rails 3.0.2 uploaded files (which has a changed API)
11
+
12
+
1
13
  0.7.7 (2010-10-31)
2
14
  ==================
3
15
  Features
data/README.md CHANGED
@@ -9,9 +9,8 @@ For the lazy Rails user...
9
9
  --------------------------
10
10
  **Gemfile**:
11
11
 
12
- gem 'rmagick', :require => 'RMagick'
13
12
  gem 'rack-cache', :require => 'rack/cache'
14
- gem 'dragonfly', '~>0.7.5'
13
+ gem 'dragonfly', '~>0.7.7'
15
14
 
16
15
  **Initializer** (e.g. config/initializers/dragonfly.rb):
17
16
 
@@ -47,6 +46,9 @@ NB: REMEMBER THE MULTIPART BIT!!!
47
46
  <%= image_tag @album.cover_image.process(:greyscale).encode(:tiff).url %>
48
47
  ...etc.
49
48
 
49
+ The above relies on imagemagick being installed. Dragonfly doesn't depend on it per se, but the default configuration `'dragonfly/rails/images'`
50
+ uses it. For alternative configurations, see below.
51
+
50
52
  If using Capistrano with the above, you probably will want to keep the cache between deploys, so in deploy.rb:
51
53
 
52
54
  namespace :dragonfly do
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.7
1
+ 0.8.0
data/config.ru CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rack/cache'
3
3
  require File.dirname(__FILE__) + '/lib/dragonfly'
4
4
 
5
- APP = Dragonfly[:images].configure_with(:rmagick) do |c|
5
+ APP = Dragonfly[:images].configure_with(:imagemagick) do |c|
6
6
  end
7
7
 
8
8
  use Rack::Cache,
data/dragonfly.gemspec CHANGED
@@ -1,203 +1,226 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dragonfly}
8
- s.version = "0.7.7"
8
+ s.version = "0.8.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mark Evans"]
12
- s.date = %q{2010-10-31}
12
+ s.date = %q{2010-11-21}
13
13
  s.email = %q{mark@new-bamboo.co.uk}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
16
- "README.md"
16
+ "README.md"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
20
- ".specopts",
21
- ".yardopts",
22
- "Gemfile",
23
- "Gemfile.rails.2.3.5",
24
- "History.md",
25
- "LICENSE",
26
- "README.md",
27
- "Rakefile",
28
- "VERSION",
29
- "config.ru",
30
- "docs.watchr",
31
- "dragonfly.gemspec",
32
- "extra_docs/Analysers.md",
33
- "extra_docs/Caching.md",
34
- "extra_docs/Configuration.md",
35
- "extra_docs/DataStorage.md",
36
- "extra_docs/Encoding.md",
37
- "extra_docs/GeneralUsage.md",
38
- "extra_docs/Generators.md",
39
- "extra_docs/Heroku.md",
40
- "extra_docs/Index.md",
41
- "extra_docs/MimeTypes.md",
42
- "extra_docs/Models.md",
43
- "extra_docs/Mongo.md",
44
- "extra_docs/Processing.md",
45
- "extra_docs/Rack.md",
46
- "extra_docs/Rails2.md",
47
- "extra_docs/Rails3.md",
48
- "extra_docs/Sinatra.md",
49
- "extra_docs/URLs.md",
50
- "features/images.feature",
51
- "features/no_processing.feature",
52
- "features/rails_2.3.5.feature",
53
- "features/rails_3.0.0.feature",
54
- "features/steps/common_steps.rb",
55
- "features/steps/dragonfly_steps.rb",
56
- "features/steps/rails_steps.rb",
57
- "features/support/env.rb",
58
- "fixtures/files/app/models/album.rb",
59
- "fixtures/files/app/views/albums/new.html.erb",
60
- "fixtures/files/app/views/albums/show.html.erb",
61
- "fixtures/files/config/initializers/dragonfly.rb",
62
- "fixtures/files/features/manage_album_images.feature",
63
- "fixtures/files/features/step_definitions/image_steps.rb",
64
- "fixtures/files/features/support/paths.rb",
65
- "fixtures/files/features/text_images.feature",
66
- "fixtures/rails_2.3.5/template.rb",
67
- "fixtures/rails_3.0.0/template.rb",
68
- "irbrc.rb",
69
- "lib/dragonfly.rb",
70
- "lib/dragonfly/active_model_extensions.rb",
71
- "lib/dragonfly/active_model_extensions/attachment.rb",
72
- "lib/dragonfly/active_model_extensions/class_methods.rb",
73
- "lib/dragonfly/active_model_extensions/instance_methods.rb",
74
- "lib/dragonfly/active_model_extensions/validations.rb",
75
- "lib/dragonfly/analyser.rb",
76
- "lib/dragonfly/analysis/file_command_analyser.rb",
77
- "lib/dragonfly/analysis/r_magick_analyser.rb",
78
- "lib/dragonfly/app.rb",
79
- "lib/dragonfly/config/heroku.rb",
80
- "lib/dragonfly/config/r_magick.rb",
81
- "lib/dragonfly/config/rails.rb",
82
- "lib/dragonfly/configurable.rb",
83
- "lib/dragonfly/core_ext/object.rb",
84
- "lib/dragonfly/core_ext/string.rb",
85
- "lib/dragonfly/core_ext/symbol.rb",
86
- "lib/dragonfly/data_storage.rb",
87
- "lib/dragonfly/data_storage/file_data_store.rb",
88
- "lib/dragonfly/data_storage/mongo_data_store.rb",
89
- "lib/dragonfly/data_storage/s3data_store.rb",
90
- "lib/dragonfly/encoder.rb",
91
- "lib/dragonfly/encoding/r_magick_encoder.rb",
92
- "lib/dragonfly/function_manager.rb",
93
- "lib/dragonfly/generation/r_magick_generator.rb",
94
- "lib/dragonfly/generator.rb",
95
- "lib/dragonfly/job.rb",
96
- "lib/dragonfly/job_builder.rb",
97
- "lib/dragonfly/job_definitions.rb",
98
- "lib/dragonfly/job_endpoint.rb",
99
- "lib/dragonfly/loggable.rb",
100
- "lib/dragonfly/middleware.rb",
101
- "lib/dragonfly/processing/r_magick_processor.rb",
102
- "lib/dragonfly/processor.rb",
103
- "lib/dragonfly/r_magick_utils.rb",
104
- "lib/dragonfly/rails/images.rb",
105
- "lib/dragonfly/response.rb",
106
- "lib/dragonfly/routed_endpoint.rb",
107
- "lib/dragonfly/serializer.rb",
108
- "lib/dragonfly/simple_cache.rb",
109
- "lib/dragonfly/simple_endpoint.rb",
110
- "lib/dragonfly/temp_object.rb",
111
- "samples/beach.png",
112
- "samples/egg.png",
113
- "samples/round.gif",
114
- "samples/sample.docx",
115
- "samples/taj.jpg",
116
- "spec/argument_matchers.rb",
117
- "spec/dragonfly/active_model_extensions/active_model_setup.rb",
118
- "spec/dragonfly/active_model_extensions/active_record_setup.rb",
119
- "spec/dragonfly/active_model_extensions/model_spec.rb",
120
- "spec/dragonfly/active_model_extensions/spec_helper.rb",
121
- "spec/dragonfly/analyser_spec.rb",
122
- "spec/dragonfly/analysis/file_command_analyser_spec.rb",
123
- "spec/dragonfly/analysis/r_magick_analyser_spec.rb",
124
- "spec/dragonfly/app_spec.rb",
125
- "spec/dragonfly/config/r_magick_spec.rb",
126
- "spec/dragonfly/configurable_spec.rb",
127
- "spec/dragonfly/core_ext/string_spec.rb",
128
- "spec/dragonfly/core_ext/symbol_spec.rb",
129
- "spec/dragonfly/data_storage/data_store_spec.rb",
130
- "spec/dragonfly/data_storage/file_data_store_spec.rb",
131
- "spec/dragonfly/data_storage/mongo_data_store_spec.rb",
132
- "spec/dragonfly/data_storage/s3_data_store_spec.rb",
133
- "spec/dragonfly/deprecation_spec.rb",
134
- "spec/dragonfly/encoding/r_magick_encoder_spec.rb",
135
- "spec/dragonfly/function_manager_spec.rb",
136
- "spec/dragonfly/generation/r_magick_generator_spec.rb",
137
- "spec/dragonfly/job_builder_spec.rb",
138
- "spec/dragonfly/job_definitions_spec.rb",
139
- "spec/dragonfly/job_endpoint_spec.rb",
140
- "spec/dragonfly/job_spec.rb",
141
- "spec/dragonfly/loggable_spec.rb",
142
- "spec/dragonfly/middleware_spec.rb",
143
- "spec/dragonfly/processing/r_magick_processor_spec.rb",
144
- "spec/dragonfly/routed_endpoint_spec.rb",
145
- "spec/dragonfly/serializer_spec.rb",
146
- "spec/dragonfly/simple_cache_spec.rb",
147
- "spec/dragonfly/simple_endpoint_spec.rb",
148
- "spec/dragonfly/temp_object_spec.rb",
149
- "spec/image_matchers.rb",
150
- "spec/simple_matchers.rb",
151
- "spec/spec_helper.rb",
152
- "yard/handlers/configurable_attr_handler.rb",
153
- "yard/setup.rb",
154
- "yard/templates/default/fulldoc/html/css/common.css",
155
- "yard/templates/default/layout/html/layout.erb",
156
- "yard/templates/default/module/html/configuration_summary.erb",
157
- "yard/templates/default/module/setup.rb"
19
+ ".specopts",
20
+ ".yardopts",
21
+ "Gemfile",
22
+ "Gemfile.rails.2.3.5",
23
+ "History.md",
24
+ "LICENSE",
25
+ "README.md",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "config.ru",
29
+ "docs.watchr",
30
+ "dragonfly.gemspec",
31
+ "extra_docs/Analysers.md",
32
+ "extra_docs/Caching.md",
33
+ "extra_docs/Configuration.md",
34
+ "extra_docs/DataStorage.md",
35
+ "extra_docs/Encoding.md",
36
+ "extra_docs/GeneralUsage.md",
37
+ "extra_docs/Generators.md",
38
+ "extra_docs/Heroku.md",
39
+ "extra_docs/Index.md",
40
+ "extra_docs/MimeTypes.md",
41
+ "extra_docs/Models.md",
42
+ "extra_docs/Mongo.md",
43
+ "extra_docs/Processing.md",
44
+ "extra_docs/Rack.md",
45
+ "extra_docs/Rails2.md",
46
+ "extra_docs/Rails3.md",
47
+ "extra_docs/Sinatra.md",
48
+ "extra_docs/URLs.md",
49
+ "features/3.0.3.feature",
50
+ "features/images.feature",
51
+ "features/no_processing.feature",
52
+ "features/rails_2.3.5.feature",
53
+ "features/steps/common_steps.rb",
54
+ "features/steps/dragonfly_steps.rb",
55
+ "features/steps/rails_steps.rb",
56
+ "features/support/env.rb",
57
+ "fixtures/files/app/models/album.rb",
58
+ "fixtures/files/app/views/albums/new.html.erb",
59
+ "fixtures/files/app/views/albums/show.html.erb",
60
+ "fixtures/files/config/initializers/dragonfly.rb",
61
+ "fixtures/files/features/manage_album_images.feature",
62
+ "fixtures/files/features/step_definitions/image_steps.rb",
63
+ "fixtures/files/features/support/paths.rb",
64
+ "fixtures/files/features/text_images.feature",
65
+ "fixtures/rails_2.3.5/template.rb",
66
+ "fixtures/rails_3.0.3/template.rb",
67
+ "irbrc.rb",
68
+ "lib/dragonfly.rb",
69
+ "lib/dragonfly/active_model_extensions.rb",
70
+ "lib/dragonfly/active_model_extensions/attachment.rb",
71
+ "lib/dragonfly/active_model_extensions/class_methods.rb",
72
+ "lib/dragonfly/active_model_extensions/instance_methods.rb",
73
+ "lib/dragonfly/active_model_extensions/validations.rb",
74
+ "lib/dragonfly/analyser.rb",
75
+ "lib/dragonfly/analysis/file_command_analyser.rb",
76
+ "lib/dragonfly/analysis/image_magick_analyser.rb",
77
+ "lib/dragonfly/analysis/r_magick_analyser.rb",
78
+ "lib/dragonfly/app.rb",
79
+ "lib/dragonfly/config/heroku.rb",
80
+ "lib/dragonfly/config/image_magick.rb",
81
+ "lib/dragonfly/config/r_magick.rb",
82
+ "lib/dragonfly/config/rails.rb",
83
+ "lib/dragonfly/configurable.rb",
84
+ "lib/dragonfly/core_ext/object.rb",
85
+ "lib/dragonfly/core_ext/string.rb",
86
+ "lib/dragonfly/core_ext/symbol.rb",
87
+ "lib/dragonfly/data_storage.rb",
88
+ "lib/dragonfly/data_storage/file_data_store.rb",
89
+ "lib/dragonfly/data_storage/mongo_data_store.rb",
90
+ "lib/dragonfly/data_storage/s3data_store.rb",
91
+ "lib/dragonfly/encoder.rb",
92
+ "lib/dragonfly/encoding/image_magick_encoder.rb",
93
+ "lib/dragonfly/encoding/r_magick_encoder.rb",
94
+ "lib/dragonfly/function_manager.rb",
95
+ "lib/dragonfly/generation/hash_with_css_style_keys.rb",
96
+ "lib/dragonfly/generation/image_magick_generator.rb",
97
+ "lib/dragonfly/generation/r_magick_generator.rb",
98
+ "lib/dragonfly/generator.rb",
99
+ "lib/dragonfly/image_magick_utils.rb",
100
+ "lib/dragonfly/job.rb",
101
+ "lib/dragonfly/job_builder.rb",
102
+ "lib/dragonfly/job_definitions.rb",
103
+ "lib/dragonfly/job_endpoint.rb",
104
+ "lib/dragonfly/loggable.rb",
105
+ "lib/dragonfly/middleware.rb",
106
+ "lib/dragonfly/processing/image_magick_processor.rb",
107
+ "lib/dragonfly/processing/r_magick_processor.rb",
108
+ "lib/dragonfly/processor.rb",
109
+ "lib/dragonfly/r_magick_utils.rb",
110
+ "lib/dragonfly/rails/images.rb",
111
+ "lib/dragonfly/response.rb",
112
+ "lib/dragonfly/routed_endpoint.rb",
113
+ "lib/dragonfly/serializer.rb",
114
+ "lib/dragonfly/simple_cache.rb",
115
+ "lib/dragonfly/simple_endpoint.rb",
116
+ "lib/dragonfly/temp_object.rb",
117
+ "samples/beach.png",
118
+ "samples/egg.png",
119
+ "samples/round.gif",
120
+ "samples/sample.docx",
121
+ "samples/taj.jpg",
122
+ "spec/argument_matchers.rb",
123
+ "spec/dragonfly/active_model_extensions/active_model_setup.rb",
124
+ "spec/dragonfly/active_model_extensions/active_record_setup.rb",
125
+ "spec/dragonfly/active_model_extensions/model_spec.rb",
126
+ "spec/dragonfly/active_model_extensions/spec_helper.rb",
127
+ "spec/dragonfly/analyser_spec.rb",
128
+ "spec/dragonfly/analysis/file_command_analyser_spec.rb",
129
+ "spec/dragonfly/analysis/image_magick_analyser_spec.rb",
130
+ "spec/dragonfly/analysis/r_magick_analyser_spec.rb",
131
+ "spec/dragonfly/analysis/shared_analyser_spec.rb",
132
+ "spec/dragonfly/app_spec.rb",
133
+ "spec/dragonfly/config/r_magick_spec.rb",
134
+ "spec/dragonfly/configurable_spec.rb",
135
+ "spec/dragonfly/core_ext/string_spec.rb",
136
+ "spec/dragonfly/core_ext/symbol_spec.rb",
137
+ "spec/dragonfly/data_storage/data_store_spec.rb",
138
+ "spec/dragonfly/data_storage/file_data_store_spec.rb",
139
+ "spec/dragonfly/data_storage/mongo_data_store_spec.rb",
140
+ "spec/dragonfly/data_storage/s3_data_store_spec.rb",
141
+ "spec/dragonfly/deprecation_spec.rb",
142
+ "spec/dragonfly/encoding/image_magick_encoder_spec.rb",
143
+ "spec/dragonfly/encoding/r_magick_encoder_spec.rb",
144
+ "spec/dragonfly/function_manager_spec.rb",
145
+ "spec/dragonfly/generation/hash_with_css_style_keys_spec.rb",
146
+ "spec/dragonfly/generation/image_magick_generator_spec.rb",
147
+ "spec/dragonfly/generation/r_magick_generator_spec.rb",
148
+ "spec/dragonfly/generation/shared_generator_spec.rb",
149
+ "spec/dragonfly/image_magick_utils_spec.rb",
150
+ "spec/dragonfly/job_builder_spec.rb",
151
+ "spec/dragonfly/job_definitions_spec.rb",
152
+ "spec/dragonfly/job_endpoint_spec.rb",
153
+ "spec/dragonfly/job_spec.rb",
154
+ "spec/dragonfly/loggable_spec.rb",
155
+ "spec/dragonfly/middleware_spec.rb",
156
+ "spec/dragonfly/processing/image_magick_processor_spec.rb",
157
+ "spec/dragonfly/processing/r_magick_processor_spec.rb",
158
+ "spec/dragonfly/processing/shared_processing_spec.rb",
159
+ "spec/dragonfly/routed_endpoint_spec.rb",
160
+ "spec/dragonfly/serializer_spec.rb",
161
+ "spec/dragonfly/simple_cache_spec.rb",
162
+ "spec/dragonfly/simple_endpoint_spec.rb",
163
+ "spec/dragonfly/temp_object_spec.rb",
164
+ "spec/image_matchers.rb",
165
+ "spec/simple_matchers.rb",
166
+ "spec/spec_helper.rb",
167
+ "yard/handlers/configurable_attr_handler.rb",
168
+ "yard/setup.rb",
169
+ "yard/templates/default/fulldoc/html/css/common.css",
170
+ "yard/templates/default/layout/html/layout.erb",
171
+ "yard/templates/default/module/html/configuration_summary.erb",
172
+ "yard/templates/default/module/setup.rb"
158
173
  ]
159
174
  s.homepage = %q{http://github.com/markevans/dragonfly}
160
- s.rdoc_options = ["--charset=UTF-8"]
161
175
  s.require_paths = ["lib"]
162
176
  s.rubygems_version = %q{1.3.7}
163
177
  s.summary = %q{Dragonfly is an on-the-fly Rack-based image handling framework. It is suitable for use with Rails, Sinatra and other web frameworks. Although it's mainly used for images, it can handle any content type.}
164
178
  s.test_files = [
165
179
  "spec/argument_matchers.rb",
166
- "spec/dragonfly/active_model_extensions/active_model_setup.rb",
167
- "spec/dragonfly/active_model_extensions/active_record_setup.rb",
168
- "spec/dragonfly/active_model_extensions/model_spec.rb",
169
- "spec/dragonfly/active_model_extensions/spec_helper.rb",
170
- "spec/dragonfly/analyser_spec.rb",
171
- "spec/dragonfly/analysis/file_command_analyser_spec.rb",
172
- "spec/dragonfly/analysis/r_magick_analyser_spec.rb",
173
- "spec/dragonfly/app_spec.rb",
174
- "spec/dragonfly/config/r_magick_spec.rb",
175
- "spec/dragonfly/configurable_spec.rb",
176
- "spec/dragonfly/core_ext/string_spec.rb",
177
- "spec/dragonfly/core_ext/symbol_spec.rb",
178
- "spec/dragonfly/data_storage/data_store_spec.rb",
179
- "spec/dragonfly/data_storage/file_data_store_spec.rb",
180
- "spec/dragonfly/data_storage/mongo_data_store_spec.rb",
181
- "spec/dragonfly/data_storage/s3_data_store_spec.rb",
182
- "spec/dragonfly/deprecation_spec.rb",
183
- "spec/dragonfly/encoding/r_magick_encoder_spec.rb",
184
- "spec/dragonfly/function_manager_spec.rb",
185
- "spec/dragonfly/generation/r_magick_generator_spec.rb",
186
- "spec/dragonfly/job_builder_spec.rb",
187
- "spec/dragonfly/job_definitions_spec.rb",
188
- "spec/dragonfly/job_endpoint_spec.rb",
189
- "spec/dragonfly/job_spec.rb",
190
- "spec/dragonfly/loggable_spec.rb",
191
- "spec/dragonfly/middleware_spec.rb",
192
- "spec/dragonfly/processing/r_magick_processor_spec.rb",
193
- "spec/dragonfly/routed_endpoint_spec.rb",
194
- "spec/dragonfly/serializer_spec.rb",
195
- "spec/dragonfly/simple_cache_spec.rb",
196
- "spec/dragonfly/simple_endpoint_spec.rb",
197
- "spec/dragonfly/temp_object_spec.rb",
198
- "spec/image_matchers.rb",
199
- "spec/simple_matchers.rb",
200
- "spec/spec_helper.rb"
180
+ "spec/dragonfly/active_model_extensions/active_model_setup.rb",
181
+ "spec/dragonfly/active_model_extensions/active_record_setup.rb",
182
+ "spec/dragonfly/active_model_extensions/model_spec.rb",
183
+ "spec/dragonfly/active_model_extensions/spec_helper.rb",
184
+ "spec/dragonfly/analyser_spec.rb",
185
+ "spec/dragonfly/analysis/file_command_analyser_spec.rb",
186
+ "spec/dragonfly/analysis/image_magick_analyser_spec.rb",
187
+ "spec/dragonfly/analysis/r_magick_analyser_spec.rb",
188
+ "spec/dragonfly/analysis/shared_analyser_spec.rb",
189
+ "spec/dragonfly/app_spec.rb",
190
+ "spec/dragonfly/config/r_magick_spec.rb",
191
+ "spec/dragonfly/configurable_spec.rb",
192
+ "spec/dragonfly/core_ext/string_spec.rb",
193
+ "spec/dragonfly/core_ext/symbol_spec.rb",
194
+ "spec/dragonfly/data_storage/data_store_spec.rb",
195
+ "spec/dragonfly/data_storage/file_data_store_spec.rb",
196
+ "spec/dragonfly/data_storage/mongo_data_store_spec.rb",
197
+ "spec/dragonfly/data_storage/s3_data_store_spec.rb",
198
+ "spec/dragonfly/deprecation_spec.rb",
199
+ "spec/dragonfly/encoding/image_magick_encoder_spec.rb",
200
+ "spec/dragonfly/encoding/r_magick_encoder_spec.rb",
201
+ "spec/dragonfly/function_manager_spec.rb",
202
+ "spec/dragonfly/generation/hash_with_css_style_keys_spec.rb",
203
+ "spec/dragonfly/generation/image_magick_generator_spec.rb",
204
+ "spec/dragonfly/generation/r_magick_generator_spec.rb",
205
+ "spec/dragonfly/generation/shared_generator_spec.rb",
206
+ "spec/dragonfly/image_magick_utils_spec.rb",
207
+ "spec/dragonfly/job_builder_spec.rb",
208
+ "spec/dragonfly/job_definitions_spec.rb",
209
+ "spec/dragonfly/job_endpoint_spec.rb",
210
+ "spec/dragonfly/job_spec.rb",
211
+ "spec/dragonfly/loggable_spec.rb",
212
+ "spec/dragonfly/middleware_spec.rb",
213
+ "spec/dragonfly/processing/image_magick_processor_spec.rb",
214
+ "spec/dragonfly/processing/r_magick_processor_spec.rb",
215
+ "spec/dragonfly/processing/shared_processing_spec.rb",
216
+ "spec/dragonfly/routed_endpoint_spec.rb",
217
+ "spec/dragonfly/serializer_spec.rb",
218
+ "spec/dragonfly/simple_cache_spec.rb",
219
+ "spec/dragonfly/simple_endpoint_spec.rb",
220
+ "spec/dragonfly/temp_object_spec.rb",
221
+ "spec/image_matchers.rb",
222
+ "spec/simple_matchers.rb",
223
+ "spec/spec_helper.rb"
201
224
  ]
202
225
 
203
226
  if s.respond_to? :specification_version then
@@ -205,11 +228,65 @@ Gem::Specification.new do |s|
205
228
  s.specification_version = 3
206
229
 
207
230
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
231
+ s.add_runtime_dependency(%q<aws-s3>, [">= 0"])
232
+ s.add_runtime_dependency(%q<bson_ext>, [">= 0"])
233
+ s.add_runtime_dependency(%q<capybara>, [">= 0"])
234
+ s.add_runtime_dependency(%q<cucumber>, ["= 0.8.5"])
235
+ s.add_runtime_dependency(%q<cucumber-rails>, [">= 0"])
236
+ s.add_runtime_dependency(%q<database_cleaner>, [">= 0.5.0"])
237
+ s.add_runtime_dependency(%q<jeweler>, ["~> 1.4"])
238
+ s.add_runtime_dependency(%q<gherkin>, ["= 2.1.4"])
239
+ s.add_runtime_dependency(%q<mongo>, [">= 0"])
240
+ s.add_runtime_dependency(%q<nokogiri>, ["= 1.5.0.beta.2"])
241
+ s.add_runtime_dependency(%q<rack>, ["~> 1.1"])
242
+ s.add_runtime_dependency(%q<rack-cache>, [">= 0"])
243
+ s.add_runtime_dependency(%q<rails>, ["= 3.0.3"])
244
+ s.add_runtime_dependency(%q<rake>, [">= 0"])
245
+ s.add_runtime_dependency(%q<rmagick>, ["= 2.12.2"])
246
+ s.add_runtime_dependency(%q<rspec>, ["~> 1.3"])
247
+ s.add_runtime_dependency(%q<sqlite3-ruby>, ["= 1.3.0"])
248
+ s.add_runtime_dependency(%q<yard>, [">= 0"])
208
249
  s.add_runtime_dependency(%q<rack>, [">= 0"])
209
250
  else
251
+ s.add_dependency(%q<aws-s3>, [">= 0"])
252
+ s.add_dependency(%q<bson_ext>, [">= 0"])
253
+ s.add_dependency(%q<capybara>, [">= 0"])
254
+ s.add_dependency(%q<cucumber>, ["= 0.8.5"])
255
+ s.add_dependency(%q<cucumber-rails>, [">= 0"])
256
+ s.add_dependency(%q<database_cleaner>, [">= 0.5.0"])
257
+ s.add_dependency(%q<jeweler>, ["~> 1.4"])
258
+ s.add_dependency(%q<gherkin>, ["= 2.1.4"])
259
+ s.add_dependency(%q<mongo>, [">= 0"])
260
+ s.add_dependency(%q<nokogiri>, ["= 1.5.0.beta.2"])
261
+ s.add_dependency(%q<rack>, ["~> 1.1"])
262
+ s.add_dependency(%q<rack-cache>, [">= 0"])
263
+ s.add_dependency(%q<rails>, ["= 3.0.3"])
264
+ s.add_dependency(%q<rake>, [">= 0"])
265
+ s.add_dependency(%q<rmagick>, ["= 2.12.2"])
266
+ s.add_dependency(%q<rspec>, ["~> 1.3"])
267
+ s.add_dependency(%q<sqlite3-ruby>, ["= 1.3.0"])
268
+ s.add_dependency(%q<yard>, [">= 0"])
210
269
  s.add_dependency(%q<rack>, [">= 0"])
211
270
  end
212
271
  else
272
+ s.add_dependency(%q<aws-s3>, [">= 0"])
273
+ s.add_dependency(%q<bson_ext>, [">= 0"])
274
+ s.add_dependency(%q<capybara>, [">= 0"])
275
+ s.add_dependency(%q<cucumber>, ["= 0.8.5"])
276
+ s.add_dependency(%q<cucumber-rails>, [">= 0"])
277
+ s.add_dependency(%q<database_cleaner>, [">= 0.5.0"])
278
+ s.add_dependency(%q<jeweler>, ["~> 1.4"])
279
+ s.add_dependency(%q<gherkin>, ["= 2.1.4"])
280
+ s.add_dependency(%q<mongo>, [">= 0"])
281
+ s.add_dependency(%q<nokogiri>, ["= 1.5.0.beta.2"])
282
+ s.add_dependency(%q<rack>, ["~> 1.1"])
283
+ s.add_dependency(%q<rack-cache>, [">= 0"])
284
+ s.add_dependency(%q<rails>, ["= 3.0.3"])
285
+ s.add_dependency(%q<rake>, [">= 0"])
286
+ s.add_dependency(%q<rmagick>, ["= 2.12.2"])
287
+ s.add_dependency(%q<rspec>, ["~> 1.3"])
288
+ s.add_dependency(%q<sqlite3-ruby>, ["= 1.3.0"])
289
+ s.add_dependency(%q<yard>, [">= 0"])
213
290
  s.add_dependency(%q<rack>, [">= 0"])
214
291
  end
215
292
  end