dragonfly 0.8.6 → 0.9.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.
- data/{.specopts → .rspec} +0 -1
- data/.yardopts +6 -2
- data/Gemfile +14 -13
- data/History.md +47 -9
- data/README.md +25 -5
- data/Rakefile +37 -79
- data/VERSION +1 -1
- data/dragonfly.gemspec +140 -89
- data/extra_docs/Analysers.md +8 -48
- data/extra_docs/Configuration.md +40 -25
- data/extra_docs/Couch.md +49 -0
- data/extra_docs/DataStorage.md +94 -24
- data/extra_docs/Encoding.md +6 -35
- data/extra_docs/ExampleUseCases.md +113 -0
- data/extra_docs/GeneralUsage.md +7 -23
- data/extra_docs/Generators.md +15 -49
- data/extra_docs/Heroku.md +7 -8
- data/extra_docs/ImageMagick.md +126 -0
- data/extra_docs/MimeTypes.md +3 -3
- data/extra_docs/Models.md +163 -0
- data/extra_docs/Mongo.md +1 -4
- data/extra_docs/Processing.md +7 -60
- data/extra_docs/Rails2.md +3 -1
- data/extra_docs/Rails3.md +2 -10
- data/extra_docs/ServingRemotely.md +83 -0
- data/extra_docs/Sinatra.md +3 -3
- data/extra_docs/URLs.md +60 -33
- data/features/rails_3.0.5.feature +8 -0
- data/features/steps/rails_steps.rb +7 -18
- data/features/support/env.rb +10 -37
- data/features/support/setup.rb +32 -0
- data/fixtures/rails_3.0.5/files/app/models/album.rb +5 -0
- data/fixtures/rails_3.0.5/files/app/views/albums/new.html.erb +7 -0
- data/fixtures/{files → rails_3.0.5/files}/app/views/albums/show.html.erb +2 -0
- data/fixtures/{files → rails_3.0.5/files}/config/initializers/dragonfly.rb +0 -0
- data/fixtures/rails_3.0.5/files/features/manage_album_images.feature +38 -0
- data/fixtures/rails_3.0.5/files/features/step_definitions/helper_steps.rb +7 -0
- data/fixtures/{files → rails_3.0.5/files}/features/step_definitions/image_steps.rb +11 -1
- data/fixtures/{files → rails_3.0.5/files}/features/support/paths.rb +2 -0
- data/fixtures/{files → rails_3.0.5/files}/features/text_images.feature +0 -0
- data/fixtures/{rails_3.0.3 → rails_3.0.5}/template.rb +2 -2
- data/irbrc.rb +2 -1
- data/lib/dragonfly.rb +7 -0
- data/lib/dragonfly/active_model_extensions/attachment.rb +134 -46
- data/lib/dragonfly/active_model_extensions/attachment_class_methods.rb +144 -0
- data/lib/dragonfly/active_model_extensions/class_methods.rb +62 -9
- data/lib/dragonfly/active_model_extensions/instance_methods.rb +2 -2
- data/lib/dragonfly/active_model_extensions/validations.rb +10 -6
- data/lib/dragonfly/analyser.rb +0 -1
- data/lib/dragonfly/analysis/file_command_analyser.rb +1 -1
- data/lib/dragonfly/analysis/image_magick_analyser.rb +2 -43
- data/lib/dragonfly/app.rb +64 -55
- data/lib/dragonfly/config/heroku.rb +1 -1
- data/lib/dragonfly/config/image_magick.rb +2 -37
- data/lib/dragonfly/config/rails.rb +5 -2
- data/lib/dragonfly/configurable.rb +115 -35
- data/lib/dragonfly/core_ext/object.rb +1 -1
- data/lib/dragonfly/core_ext/string.rb +1 -1
- data/lib/dragonfly/data_storage/couch_data_store.rb +84 -0
- data/lib/dragonfly/data_storage/file_data_store.rb +43 -18
- data/lib/dragonfly/data_storage/mongo_data_store.rb +8 -4
- data/lib/dragonfly/data_storage/s3data_store.rb +82 -38
- data/lib/dragonfly/encoding/image_magick_encoder.rb +2 -53
- data/lib/dragonfly/function_manager.rb +4 -2
- data/lib/dragonfly/generation/image_magick_generator.rb +2 -136
- data/lib/dragonfly/hash_with_css_style_keys.rb +21 -0
- data/lib/dragonfly/image_magick/analyser.rb +51 -0
- data/lib/dragonfly/image_magick/config.rb +44 -0
- data/lib/dragonfly/{encoding/r_magick_encoder.rb → image_magick/encoder.rb} +10 -14
- data/lib/dragonfly/image_magick/generator.rb +145 -0
- data/lib/dragonfly/image_magick/processor.rb +104 -0
- data/lib/dragonfly/image_magick/utils.rb +72 -0
- data/lib/dragonfly/image_magick_utils.rb +2 -79
- data/lib/dragonfly/job.rb +152 -90
- data/lib/dragonfly/middleware.rb +5 -19
- data/lib/dragonfly/processing/image_magick_processor.rb +2 -95
- data/lib/dragonfly/rails/images.rb +15 -10
- data/lib/dragonfly/response.rb +26 -12
- data/lib/dragonfly/serializer.rb +1 -4
- data/lib/dragonfly/server.rb +103 -0
- data/lib/dragonfly/temp_object.rb +56 -101
- data/lib/dragonfly/url_mapper.rb +78 -0
- data/spec/dragonfly/active_model_extensions/model_spec.rb +772 -65
- data/spec/dragonfly/active_model_extensions/spec_helper.rb +90 -10
- data/spec/dragonfly/analyser_spec.rb +1 -1
- data/spec/dragonfly/analysis/file_command_analyser_spec.rb +5 -14
- data/spec/dragonfly/app_spec.rb +35 -180
- data/spec/dragonfly/configurable_spec.rb +259 -18
- data/spec/dragonfly/core_ext/string_spec.rb +2 -2
- data/spec/dragonfly/core_ext/symbol_spec.rb +1 -1
- data/spec/dragonfly/data_storage/couch_data_store_spec.rb +84 -0
- data/spec/dragonfly/data_storage/file_data_store_spec.rb +149 -22
- data/spec/dragonfly/data_storage/mongo_data_store_spec.rb +21 -2
- data/spec/dragonfly/data_storage/s3_data_store_spec.rb +207 -43
- data/spec/dragonfly/data_storage/{data_store_spec.rb → shared_data_store_examples.rb} +16 -15
- data/spec/dragonfly/function_manager_spec.rb +2 -2
- data/spec/dragonfly/{generation/hash_with_css_style_keys_spec.rb → hash_with_css_style_keys_spec.rb} +2 -2
- data/spec/dragonfly/{analysis/shared_analyser_spec.rb → image_magick/analyser_spec.rb} +19 -6
- data/spec/dragonfly/{encoding/image_magick_encoder_spec.rb → image_magick/encoder_spec.rb} +2 -2
- data/spec/dragonfly/image_magick/generator_spec.rb +172 -0
- data/spec/dragonfly/{processing/shared_processing_spec.rb → image_magick/processor_spec.rb} +55 -6
- data/spec/dragonfly/image_magick/utils_spec.rb +18 -0
- data/spec/dragonfly/job_builder_spec.rb +1 -1
- data/spec/dragonfly/job_definitions_spec.rb +1 -1
- data/spec/dragonfly/job_endpoint_spec.rb +26 -3
- data/spec/dragonfly/job_spec.rb +426 -208
- data/spec/dragonfly/loggable_spec.rb +2 -2
- data/spec/dragonfly/middleware_spec.rb +5 -26
- data/spec/dragonfly/routed_endpoint_spec.rb +1 -1
- data/spec/dragonfly/serializer_spec.rb +1 -14
- data/spec/dragonfly/server_spec.rb +261 -0
- data/spec/dragonfly/simple_cache_spec.rb +1 -1
- data/spec/dragonfly/temp_object_spec.rb +84 -130
- data/spec/dragonfly/url_mapper_spec.rb +130 -0
- data/spec/functional/deprecations_spec.rb +51 -0
- data/spec/functional/image_magick_app_spec.rb +27 -0
- data/spec/functional/model_urls_spec.rb +85 -0
- data/spec/functional/remote_on_the_fly_spec.rb +51 -0
- data/spec/functional/to_response_spec.rb +31 -0
- data/spec/spec_helper.rb +12 -22
- data/spec/{argument_matchers.rb → support/argument_matchers.rb} +0 -0
- data/spec/{image_matchers.rb → support/image_matchers.rb} +4 -4
- data/spec/support/simple_matchers.rb +53 -0
- data/yard/handlers/configurable_attr_handler.rb +2 -2
- data/yard/templates/default/fulldoc/html/css/common.css +12 -10
- data/yard/templates/default/layout/html/layout.erb +6 -0
- metadata +267 -308
- data/Gemfile.rails.2.3.5 +0 -20
- data/features/3.0.3.feature +0 -8
- data/features/rails_2.3.5.feature +0 -7
- data/fixtures/files/app/models/album.rb +0 -3
- data/fixtures/files/app/views/albums/new.html.erb +0 -4
- data/fixtures/files/features/manage_album_images.feature +0 -12
- data/fixtures/rails_2.3.5/template.rb +0 -10
- data/lib/dragonfly/analysis/r_magick_analyser.rb +0 -63
- data/lib/dragonfly/config/r_magick.rb +0 -46
- data/lib/dragonfly/generation/hash_with_css_style_keys.rb +0 -23
- data/lib/dragonfly/generation/r_magick_generator.rb +0 -155
- data/lib/dragonfly/processing/r_magick_processor.rb +0 -126
- data/lib/dragonfly/r_magick_utils.rb +0 -48
- data/lib/dragonfly/simple_endpoint.rb +0 -76
- data/spec/dragonfly/active_model_extensions/active_model_setup.rb +0 -97
- data/spec/dragonfly/active_model_extensions/active_record_setup.rb +0 -85
- data/spec/dragonfly/analysis/image_magick_analyser_spec.rb +0 -15
- data/spec/dragonfly/analysis/r_magick_analyser_spec.rb +0 -31
- data/spec/dragonfly/config/r_magick_spec.rb +0 -29
- data/spec/dragonfly/encoding/r_magick_encoder_spec.rb +0 -41
- data/spec/dragonfly/generation/image_magick_generator_spec.rb +0 -12
- data/spec/dragonfly/generation/r_magick_generator_spec.rb +0 -28
- data/spec/dragonfly/generation/shared_generator_spec.rb +0 -91
- data/spec/dragonfly/image_magick_utils_spec.rb +0 -16
- data/spec/dragonfly/processing/image_magick_processor_spec.rb +0 -29
- data/spec/dragonfly/processing/r_magick_processor_spec.rb +0 -30
- data/spec/dragonfly/simple_endpoint_spec.rb +0 -97
- data/spec/simple_matchers.rb +0 -44
@@ -0,0 +1,53 @@
|
|
1
|
+
RSpec::Matchers.define :match_url do |url|
|
2
|
+
match do |given|
|
3
|
+
given_path, given_query_string = given.split('?')
|
4
|
+
path, query_string = url.split('?')
|
5
|
+
|
6
|
+
path == given_path && given_query_string.split('&').sort == query_string.split('&').sort
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
RSpec::Matchers.define :be_an_empty_directory do
|
11
|
+
match do |given|
|
12
|
+
Dir.entries(given) == ['.','..']
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
RSpec::Matchers.define :include_hash do |hash|
|
17
|
+
match do |given|
|
18
|
+
given.merge(hash) == given
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def memory_usage
|
23
|
+
GC.start # Garbage collect
|
24
|
+
`ps -o rss= -p #{$$}`.strip.to_i
|
25
|
+
end
|
26
|
+
|
27
|
+
RSpec::Matchers.define :leak_memory do
|
28
|
+
match do |given|
|
29
|
+
memory_before = memory_usage
|
30
|
+
given.call
|
31
|
+
memory_after = memory_usage
|
32
|
+
result = memory_after > memory_before
|
33
|
+
puts "#{memory_after} > #{memory_before}" if result
|
34
|
+
result
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
RSpec::Matchers.define :match_attachment_classes do |classes|
|
39
|
+
match do |given_classes|
|
40
|
+
given_classes.length == classes.length &&
|
41
|
+
classes.zip(given_classes).all? do |(klass, given)|
|
42
|
+
given.model_class == klass[0] && given.attribute == klass[1] && given.app == klass[2]
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
RSpec::Matchers.define :be_a_text_response do
|
48
|
+
match do |given_response|
|
49
|
+
given_response.status.should == 200
|
50
|
+
given_response.body.length.should > 0
|
51
|
+
given_response.content_type.should == 'text/plain'
|
52
|
+
end
|
53
|
+
end
|
@@ -2,7 +2,7 @@ class ConfigurableAttrHandler < YARD::Handlers::Ruby::Legacy::Base
|
|
2
2
|
handles(/^\s*configurable_attr/)
|
3
3
|
|
4
4
|
def process
|
5
|
-
|
5
|
+
namespace[:configurable_attributes] ||= []
|
6
6
|
|
7
7
|
attribute = token_to_object(statement.tokens[2])
|
8
8
|
comments = statement.comments.join(' ') if statement.comments
|
@@ -14,7 +14,7 @@ class ConfigurableAttrHandler < YARD::Handlers::Ruby::Legacy::Base
|
|
14
14
|
# e.g. configurable_attr :fallback_mime_type, 'application/octet-stream'
|
15
15
|
default_value = token_to_object(statement.tokens[5..-1])
|
16
16
|
end
|
17
|
-
|
17
|
+
namespace[:configurable_attributes] << {
|
18
18
|
:attribute => attribute,
|
19
19
|
:default_value => default_value,
|
20
20
|
:lazy_default_value => lazy_default_value,
|
@@ -23,11 +23,16 @@ html[xmlns] .clearfix {
|
|
23
23
|
}
|
24
24
|
/************/
|
25
25
|
|
26
|
+
body {
|
27
|
+
font-family: "PT Sans",Verdana,Arial,sans-serif;
|
28
|
+
font-size: 14px;
|
29
|
+
}
|
30
|
+
|
26
31
|
pre, code, .code,
|
27
32
|
#filecontents pre.code,
|
28
33
|
.docstring pre.code,
|
29
34
|
.source_code pre {
|
30
|
-
font-family:
|
35
|
+
font-family: Inconsolata,Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
|
31
36
|
}
|
32
37
|
|
33
38
|
pre.code, code {
|
@@ -63,19 +68,16 @@ ul.main_files li {
|
|
63
68
|
margin:0;
|
64
69
|
padding:0;
|
65
70
|
}
|
66
|
-
ul.main_files li:nth-child(odd) {
|
67
|
-
background-color:#fff;
|
68
|
-
}
|
69
|
-
ul.main_files li:nth-child(even) {
|
70
|
-
background-color:#eee;
|
71
|
-
}
|
72
71
|
|
73
72
|
ul.main_files li a {
|
74
73
|
margin: 0;
|
75
|
-
padding:
|
74
|
+
padding:4px 12px;
|
76
75
|
display:block;
|
76
|
+
cursor:pointer;
|
77
|
+
}
|
78
|
+
#content ul.main_files li a:hover {
|
79
|
+
background-color:#F4F9E4;
|
77
80
|
}
|
78
|
-
|
79
81
|
/* Layout */
|
80
82
|
#header,
|
81
83
|
#content,
|
@@ -100,7 +102,7 @@ ul.main_files li a {
|
|
100
102
|
}
|
101
103
|
#content .col2 {
|
102
104
|
float:left;
|
103
|
-
margin:
|
105
|
+
margin: 0 0 0 20px;
|
104
106
|
padding: 0 0 0 20px;
|
105
107
|
width: 200px;
|
106
108
|
border-left: 1px dotted #D5D5D5;
|
@@ -3,6 +3,8 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
5
|
<%= erb(:headers) %>
|
6
|
+
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Inconsolata">
|
7
|
+
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=PT+Sans">
|
6
8
|
<script type="text/javascript" charset="utf-8">
|
7
9
|
(function($){
|
8
10
|
// YARD automatically creates a table of contents
|
@@ -60,10 +62,12 @@
|
|
60
62
|
['Rails2', 'Rails 2.3'],
|
61
63
|
['Rails3', 'Rails 3'],
|
62
64
|
['Models', 'Models (ActiveRecord, ActiveModel, etc.)'],
|
65
|
+
['ImageMagick', 'ImageMagick'],
|
63
66
|
['Rack', 'Rack'],
|
64
67
|
['Sinatra', 'Sinatra'],
|
65
68
|
['Heroku', 'Heroku'],
|
66
69
|
['Mongo', 'Mongo'],
|
70
|
+
['Couch', 'Couch'],
|
67
71
|
['DataStorage', 'Data Storage'],
|
68
72
|
['Analysers', 'Analysers'],
|
69
73
|
['Processing', 'Processing'],
|
@@ -73,6 +77,8 @@
|
|
73
77
|
['URLs', 'URLs / Endpoints'],
|
74
78
|
['MimeTypes', 'Mime Types'],
|
75
79
|
['Caching', 'Caching'],
|
80
|
+
['ServingRemotely', 'Serving Remotely'],
|
81
|
+
['ExampleUseCases', 'Example Use Cases'],
|
76
82
|
['History', 'History'],
|
77
83
|
].map{|(file, text)|
|
78
84
|
"<li>#{link_file(file, text)}</li>"
|
metadata
CHANGED
@@ -1,332 +1,242 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: dragonfly
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.6
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.9.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Mark Evans
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
|
13
|
+
date: 2011-04-27 00:00:00 +01:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rack
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
19
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
-
type: :
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
type: :runtime
|
23
25
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
31
28
|
name: capybara
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
33
30
|
none: false
|
34
|
-
requirements:
|
35
|
-
- -
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version:
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
38
35
|
type: :development
|
39
36
|
prerelease: false
|
40
|
-
version_requirements:
|
41
|
-
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
47
39
|
name: cucumber
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
49
41
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version:
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.10.0
|
54
46
|
type: :development
|
55
47
|
prerelease: false
|
56
|
-
version_requirements:
|
57
|
-
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
63
50
|
name: cucumber-rails
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
65
52
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version:
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 0.3.2
|
70
57
|
type: :development
|
71
58
|
prerelease: false
|
72
|
-
version_requirements:
|
73
|
-
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
79
61
|
name: database_cleaner
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
81
63
|
none: false
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 0
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: "0"
|
86
68
|
type: :development
|
87
69
|
prerelease: false
|
88
|
-
version_requirements:
|
89
|
-
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 0.5.0
|
94
|
-
- !ruby/object:Gem::Dependency
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
95
72
|
name: jeweler
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
97
74
|
none: false
|
98
|
-
requirements:
|
75
|
+
requirements:
|
99
76
|
- - ~>
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version:
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 1.5.2
|
102
79
|
type: :development
|
103
80
|
prerelease: false
|
104
|
-
version_requirements:
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
-
|
111
|
-
|
112
|
-
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 2.11.6
|
81
|
+
version_requirements: *id006
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: fog
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: "0"
|
118
90
|
type: :development
|
119
91
|
prerelease: false
|
120
|
-
version_requirements:
|
121
|
-
|
122
|
-
requirements:
|
123
|
-
- - ~>
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 2.11.6
|
126
|
-
- !ruby/object:Gem::Dependency
|
92
|
+
version_requirements: *id007
|
93
|
+
- !ruby/object:Gem::Dependency
|
127
94
|
name: mongo
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
129
96
|
none: false
|
130
|
-
requirements:
|
131
|
-
- -
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version:
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: "0"
|
134
101
|
type: :development
|
135
102
|
prerelease: false
|
136
|
-
version_requirements:
|
103
|
+
version_requirements: *id008
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: couchrest
|
106
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
137
107
|
none: false
|
138
|
-
requirements:
|
139
|
-
- - ! '>='
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0'
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: nokogiri
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
|
-
requirements:
|
147
|
-
- - '='
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: 1.5.0.beta.2
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
|
-
requirements:
|
155
|
-
- - '='
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: 1.5.0.beta.2
|
158
|
-
- !ruby/object:Gem::Dependency
|
159
|
-
name: rack
|
160
|
-
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
|
-
requirements:
|
108
|
+
requirements:
|
163
109
|
- - ~>
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version:
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: "1.0"
|
166
112
|
type: :development
|
167
113
|
prerelease: false
|
168
|
-
version_requirements:
|
169
|
-
|
170
|
-
requirements:
|
171
|
-
- - ~>
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '1.1'
|
174
|
-
- !ruby/object:Gem::Dependency
|
114
|
+
version_requirements: *id009
|
115
|
+
- !ruby/object:Gem::Dependency
|
175
116
|
name: rack-cache
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
117
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
177
118
|
none: false
|
178
|
-
requirements:
|
179
|
-
- -
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version:
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: "0"
|
182
123
|
type: :development
|
183
124
|
prerelease: false
|
184
|
-
version_requirements:
|
185
|
-
|
186
|
-
requirements:
|
187
|
-
- - ! '>='
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: '0'
|
190
|
-
- !ruby/object:Gem::Dependency
|
125
|
+
version_requirements: *id010
|
126
|
+
- !ruby/object:Gem::Dependency
|
191
127
|
name: rails
|
192
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
193
129
|
none: false
|
194
|
-
requirements:
|
195
|
-
- -
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version: 3.0.
|
130
|
+
requirements:
|
131
|
+
- - "="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 3.0.5
|
198
134
|
type: :development
|
199
135
|
prerelease: false
|
200
|
-
version_requirements:
|
201
|
-
|
202
|
-
requirements:
|
203
|
-
- - '='
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
version: 3.0.3
|
206
|
-
- !ruby/object:Gem::Dependency
|
136
|
+
version_requirements: *id011
|
137
|
+
- !ruby/object:Gem::Dependency
|
207
138
|
name: rake
|
208
|
-
requirement: !ruby/object:Gem::Requirement
|
139
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
209
140
|
none: false
|
210
|
-
requirements:
|
211
|
-
- -
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version: 0
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: "0"
|
214
145
|
type: :development
|
215
146
|
prerelease: false
|
216
|
-
version_requirements:
|
217
|
-
|
218
|
-
requirements:
|
219
|
-
- - '='
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version: 0.8.7
|
222
|
-
- !ruby/object:Gem::Dependency
|
147
|
+
version_requirements: *id012
|
148
|
+
- !ruby/object:Gem::Dependency
|
223
149
|
name: rspec
|
224
|
-
requirement: !ruby/object:Gem::Requirement
|
150
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
225
151
|
none: false
|
226
|
-
requirements:
|
152
|
+
requirements:
|
227
153
|
- - ~>
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version:
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: "2.5"
|
230
156
|
type: :development
|
231
157
|
prerelease: false
|
232
|
-
version_requirements:
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
-
|
158
|
+
version_requirements: *id013
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: webmock
|
161
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: "0"
|
167
|
+
type: :development
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: *id014
|
170
|
+
- !ruby/object:Gem::Dependency
|
239
171
|
name: yard
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
172
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
241
173
|
none: false
|
242
|
-
requirements:
|
243
|
-
- -
|
244
|
-
- !ruby/object:Gem::Version
|
245
|
-
version:
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: "0"
|
246
178
|
type: :development
|
247
179
|
prerelease: false
|
248
|
-
version_requirements:
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
-
|
255
|
-
|
256
|
-
|
257
|
-
none: false
|
258
|
-
requirements:
|
259
|
-
- - ! '>='
|
260
|
-
- !ruby/object:Gem::Version
|
261
|
-
version: '0'
|
180
|
+
version_requirements: *id015
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: bluecloth
|
183
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: "0"
|
262
189
|
type: :development
|
263
190
|
prerelease: false
|
264
|
-
version_requirements:
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
- !ruby/object:Gem::Version
|
269
|
-
version: '0'
|
270
|
-
- !ruby/object:Gem::Dependency
|
271
|
-
name: rmagick
|
272
|
-
requirement: !ruby/object:Gem::Requirement
|
191
|
+
version_requirements: *id016
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: bson_ext
|
194
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
273
195
|
none: false
|
274
|
-
requirements:
|
275
|
-
- -
|
276
|
-
- !ruby/object:Gem::Version
|
277
|
-
version:
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: "0"
|
278
200
|
type: :development
|
279
201
|
prerelease: false
|
280
|
-
version_requirements:
|
281
|
-
|
282
|
-
requirements:
|
283
|
-
- - '='
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: 2.12.2
|
286
|
-
- !ruby/object:Gem::Dependency
|
202
|
+
version_requirements: *id017
|
203
|
+
- !ruby/object:Gem::Dependency
|
287
204
|
name: sqlite3-ruby
|
288
|
-
requirement: !ruby/object:Gem::Requirement
|
205
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
289
206
|
none: false
|
290
|
-
requirements:
|
291
|
-
- -
|
292
|
-
- !ruby/object:Gem::Version
|
293
|
-
version:
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: "0"
|
294
211
|
type: :development
|
295
212
|
prerelease: false
|
296
|
-
version_requirements:
|
297
|
-
|
298
|
-
requirements:
|
299
|
-
- - '='
|
300
|
-
- !ruby/object:Gem::Version
|
301
|
-
version: 1.3.0
|
302
|
-
- !ruby/object:Gem::Dependency
|
213
|
+
version_requirements: *id018
|
214
|
+
- !ruby/object:Gem::Dependency
|
303
215
|
name: rack
|
304
|
-
requirement: !ruby/object:Gem::Requirement
|
216
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
305
217
|
none: false
|
306
|
-
requirements:
|
307
|
-
- -
|
308
|
-
- !ruby/object:Gem::Version
|
309
|
-
version:
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: "0"
|
310
222
|
type: :runtime
|
311
223
|
prerelease: false
|
312
|
-
version_requirements:
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
- !ruby/object:Gem::Version
|
317
|
-
version: '0'
|
318
|
-
description:
|
224
|
+
version_requirements: *id019
|
225
|
+
description: |-
|
226
|
+
Dragonfly is a framework that enables on-the-fly processing for any content type.
|
227
|
+
It is especially suited to image handling. Its uses range from image thumbnails to standard attachments to on-demand text generation.
|
319
228
|
email: mark@new-bamboo.co.uk
|
320
229
|
executables: []
|
230
|
+
|
321
231
|
extensions: []
|
322
|
-
|
232
|
+
|
233
|
+
extra_rdoc_files:
|
323
234
|
- LICENSE
|
324
235
|
- README.md
|
325
|
-
files:
|
326
|
-
- .
|
236
|
+
files:
|
237
|
+
- .rspec
|
327
238
|
- .yardopts
|
328
239
|
- Gemfile
|
329
|
-
- Gemfile.rails.2.3.5
|
330
240
|
- History.md
|
331
241
|
- LICENSE
|
332
242
|
- README.md
|
@@ -338,11 +248,14 @@ files:
|
|
338
248
|
- extra_docs/Analysers.md
|
339
249
|
- extra_docs/Caching.md
|
340
250
|
- extra_docs/Configuration.md
|
251
|
+
- extra_docs/Couch.md
|
341
252
|
- extra_docs/DataStorage.md
|
342
253
|
- extra_docs/Encoding.md
|
254
|
+
- extra_docs/ExampleUseCases.md
|
343
255
|
- extra_docs/GeneralUsage.md
|
344
256
|
- extra_docs/Generators.md
|
345
257
|
- extra_docs/Heroku.md
|
258
|
+
- extra_docs/ImageMagick.md
|
346
259
|
- extra_docs/Index.md
|
347
260
|
- extra_docs/MimeTypes.md
|
348
261
|
- extra_docs/Models.md
|
@@ -351,41 +264,41 @@ files:
|
|
351
264
|
- extra_docs/Rack.md
|
352
265
|
- extra_docs/Rails2.md
|
353
266
|
- extra_docs/Rails3.md
|
267
|
+
- extra_docs/ServingRemotely.md
|
354
268
|
- extra_docs/Sinatra.md
|
355
269
|
- extra_docs/URLs.md
|
356
|
-
- features/3.0.3.feature
|
357
270
|
- features/images.feature
|
358
271
|
- features/no_processing.feature
|
359
|
-
- features/
|
272
|
+
- features/rails_3.0.5.feature
|
360
273
|
- features/steps/common_steps.rb
|
361
274
|
- features/steps/dragonfly_steps.rb
|
362
275
|
- features/steps/rails_steps.rb
|
363
276
|
- features/support/env.rb
|
364
|
-
-
|
365
|
-
- fixtures/files/app/
|
366
|
-
- fixtures/files/app/views/albums/
|
367
|
-
- fixtures/files/
|
368
|
-
- fixtures/files/
|
369
|
-
- fixtures/files/features/
|
370
|
-
- fixtures/files/features/
|
371
|
-
- fixtures/files/features/
|
372
|
-
- fixtures/
|
373
|
-
- fixtures/rails_3.0.
|
277
|
+
- features/support/setup.rb
|
278
|
+
- fixtures/rails_3.0.5/files/app/models/album.rb
|
279
|
+
- fixtures/rails_3.0.5/files/app/views/albums/new.html.erb
|
280
|
+
- fixtures/rails_3.0.5/files/app/views/albums/show.html.erb
|
281
|
+
- fixtures/rails_3.0.5/files/config/initializers/dragonfly.rb
|
282
|
+
- fixtures/rails_3.0.5/files/features/manage_album_images.feature
|
283
|
+
- fixtures/rails_3.0.5/files/features/step_definitions/helper_steps.rb
|
284
|
+
- fixtures/rails_3.0.5/files/features/step_definitions/image_steps.rb
|
285
|
+
- fixtures/rails_3.0.5/files/features/support/paths.rb
|
286
|
+
- fixtures/rails_3.0.5/files/features/text_images.feature
|
287
|
+
- fixtures/rails_3.0.5/template.rb
|
374
288
|
- irbrc.rb
|
375
289
|
- lib/dragonfly.rb
|
376
290
|
- lib/dragonfly/active_model_extensions.rb
|
377
291
|
- lib/dragonfly/active_model_extensions/attachment.rb
|
292
|
+
- lib/dragonfly/active_model_extensions/attachment_class_methods.rb
|
378
293
|
- lib/dragonfly/active_model_extensions/class_methods.rb
|
379
294
|
- lib/dragonfly/active_model_extensions/instance_methods.rb
|
380
295
|
- lib/dragonfly/active_model_extensions/validations.rb
|
381
296
|
- lib/dragonfly/analyser.rb
|
382
297
|
- lib/dragonfly/analysis/file_command_analyser.rb
|
383
298
|
- lib/dragonfly/analysis/image_magick_analyser.rb
|
384
|
-
- lib/dragonfly/analysis/r_magick_analyser.rb
|
385
299
|
- lib/dragonfly/app.rb
|
386
300
|
- lib/dragonfly/config/heroku.rb
|
387
301
|
- lib/dragonfly/config/image_magick.rb
|
388
|
-
- lib/dragonfly/config/r_magick.rb
|
389
302
|
- lib/dragonfly/config/rails.rb
|
390
303
|
- lib/dragonfly/configurable.rb
|
391
304
|
- lib/dragonfly/core_ext/array.rb
|
@@ -394,17 +307,22 @@ files:
|
|
394
307
|
- lib/dragonfly/core_ext/string.rb
|
395
308
|
- lib/dragonfly/core_ext/symbol.rb
|
396
309
|
- lib/dragonfly/data_storage.rb
|
310
|
+
- lib/dragonfly/data_storage/couch_data_store.rb
|
397
311
|
- lib/dragonfly/data_storage/file_data_store.rb
|
398
312
|
- lib/dragonfly/data_storage/mongo_data_store.rb
|
399
313
|
- lib/dragonfly/data_storage/s3data_store.rb
|
400
314
|
- lib/dragonfly/encoder.rb
|
401
315
|
- lib/dragonfly/encoding/image_magick_encoder.rb
|
402
|
-
- lib/dragonfly/encoding/r_magick_encoder.rb
|
403
316
|
- lib/dragonfly/function_manager.rb
|
404
|
-
- lib/dragonfly/generation/hash_with_css_style_keys.rb
|
405
317
|
- lib/dragonfly/generation/image_magick_generator.rb
|
406
|
-
- lib/dragonfly/generation/r_magick_generator.rb
|
407
318
|
- lib/dragonfly/generator.rb
|
319
|
+
- lib/dragonfly/hash_with_css_style_keys.rb
|
320
|
+
- lib/dragonfly/image_magick/analyser.rb
|
321
|
+
- lib/dragonfly/image_magick/config.rb
|
322
|
+
- lib/dragonfly/image_magick/encoder.rb
|
323
|
+
- lib/dragonfly/image_magick/generator.rb
|
324
|
+
- lib/dragonfly/image_magick/processor.rb
|
325
|
+
- lib/dragonfly/image_magick/utils.rb
|
408
326
|
- lib/dragonfly/image_magick_utils.rb
|
409
327
|
- lib/dragonfly/job.rb
|
410
328
|
- lib/dragonfly/job_builder.rb
|
@@ -413,100 +331,141 @@ files:
|
|
413
331
|
- lib/dragonfly/loggable.rb
|
414
332
|
- lib/dragonfly/middleware.rb
|
415
333
|
- lib/dragonfly/processing/image_magick_processor.rb
|
416
|
-
- lib/dragonfly/processing/r_magick_processor.rb
|
417
334
|
- lib/dragonfly/processor.rb
|
418
|
-
- lib/dragonfly/r_magick_utils.rb
|
419
335
|
- lib/dragonfly/rails/images.rb
|
420
336
|
- lib/dragonfly/response.rb
|
421
337
|
- lib/dragonfly/routed_endpoint.rb
|
422
338
|
- lib/dragonfly/serializer.rb
|
339
|
+
- lib/dragonfly/server.rb
|
423
340
|
- lib/dragonfly/simple_cache.rb
|
424
|
-
- lib/dragonfly/simple_endpoint.rb
|
425
341
|
- lib/dragonfly/temp_object.rb
|
342
|
+
- lib/dragonfly/url_mapper.rb
|
426
343
|
- samples/beach.png
|
427
344
|
- samples/egg.png
|
428
345
|
- samples/round.gif
|
429
346
|
- samples/sample.docx
|
430
347
|
- samples/taj.jpg
|
431
|
-
- spec/argument_matchers.rb
|
432
|
-
- spec/dragonfly/active_model_extensions/active_model_setup.rb
|
433
|
-
- spec/dragonfly/active_model_extensions/active_record_setup.rb
|
434
348
|
- spec/dragonfly/active_model_extensions/model_spec.rb
|
435
349
|
- spec/dragonfly/active_model_extensions/spec_helper.rb
|
436
350
|
- spec/dragonfly/analyser_spec.rb
|
437
351
|
- spec/dragonfly/analysis/file_command_analyser_spec.rb
|
438
|
-
- spec/dragonfly/analysis/image_magick_analyser_spec.rb
|
439
|
-
- spec/dragonfly/analysis/r_magick_analyser_spec.rb
|
440
|
-
- spec/dragonfly/analysis/shared_analyser_spec.rb
|
441
352
|
- spec/dragonfly/app_spec.rb
|
442
|
-
- spec/dragonfly/config/r_magick_spec.rb
|
443
353
|
- spec/dragonfly/configurable_spec.rb
|
444
354
|
- spec/dragonfly/core_ext/array_spec.rb
|
445
355
|
- spec/dragonfly/core_ext/hash_spec.rb
|
446
356
|
- spec/dragonfly/core_ext/string_spec.rb
|
447
357
|
- spec/dragonfly/core_ext/symbol_spec.rb
|
448
|
-
- spec/dragonfly/data_storage/
|
358
|
+
- spec/dragonfly/data_storage/couch_data_store_spec.rb
|
449
359
|
- spec/dragonfly/data_storage/file_data_store_spec.rb
|
450
360
|
- spec/dragonfly/data_storage/mongo_data_store_spec.rb
|
451
361
|
- spec/dragonfly/data_storage/s3_data_store_spec.rb
|
452
|
-
- spec/dragonfly/
|
453
|
-
- spec/dragonfly/encoding/r_magick_encoder_spec.rb
|
362
|
+
- spec/dragonfly/data_storage/shared_data_store_examples.rb
|
454
363
|
- spec/dragonfly/function_manager_spec.rb
|
455
|
-
- spec/dragonfly/
|
456
|
-
- spec/dragonfly/
|
457
|
-
- spec/dragonfly/
|
458
|
-
- spec/dragonfly/
|
459
|
-
- spec/dragonfly/
|
364
|
+
- spec/dragonfly/hash_with_css_style_keys_spec.rb
|
365
|
+
- spec/dragonfly/image_magick/analyser_spec.rb
|
366
|
+
- spec/dragonfly/image_magick/encoder_spec.rb
|
367
|
+
- spec/dragonfly/image_magick/generator_spec.rb
|
368
|
+
- spec/dragonfly/image_magick/processor_spec.rb
|
369
|
+
- spec/dragonfly/image_magick/utils_spec.rb
|
460
370
|
- spec/dragonfly/job_builder_spec.rb
|
461
371
|
- spec/dragonfly/job_definitions_spec.rb
|
462
372
|
- spec/dragonfly/job_endpoint_spec.rb
|
463
373
|
- spec/dragonfly/job_spec.rb
|
464
374
|
- spec/dragonfly/loggable_spec.rb
|
465
375
|
- spec/dragonfly/middleware_spec.rb
|
466
|
-
- spec/dragonfly/processing/image_magick_processor_spec.rb
|
467
|
-
- spec/dragonfly/processing/r_magick_processor_spec.rb
|
468
|
-
- spec/dragonfly/processing/shared_processing_spec.rb
|
469
376
|
- spec/dragonfly/routed_endpoint_spec.rb
|
470
377
|
- spec/dragonfly/serializer_spec.rb
|
378
|
+
- spec/dragonfly/server_spec.rb
|
471
379
|
- spec/dragonfly/simple_cache_spec.rb
|
472
|
-
- spec/dragonfly/simple_endpoint_spec.rb
|
473
380
|
- spec/dragonfly/temp_object_spec.rb
|
474
|
-
- spec/
|
475
|
-
- spec/
|
381
|
+
- spec/dragonfly/url_mapper_spec.rb
|
382
|
+
- spec/functional/deprecations_spec.rb
|
383
|
+
- spec/functional/image_magick_app_spec.rb
|
384
|
+
- spec/functional/model_urls_spec.rb
|
385
|
+
- spec/functional/remote_on_the_fly_spec.rb
|
386
|
+
- spec/functional/to_response_spec.rb
|
476
387
|
- spec/spec_helper.rb
|
388
|
+
- spec/support/argument_matchers.rb
|
389
|
+
- spec/support/image_matchers.rb
|
390
|
+
- spec/support/simple_matchers.rb
|
477
391
|
- yard/handlers/configurable_attr_handler.rb
|
478
392
|
- yard/setup.rb
|
479
393
|
- yard/templates/default/fulldoc/html/css/common.css
|
480
394
|
- yard/templates/default/layout/html/layout.erb
|
481
395
|
- yard/templates/default/module/html/configuration_summary.erb
|
482
396
|
- yard/templates/default/module/setup.rb
|
397
|
+
has_rdoc: true
|
483
398
|
homepage: http://github.com/markevans/dragonfly
|
484
|
-
licenses:
|
399
|
+
licenses:
|
400
|
+
- MIT
|
485
401
|
post_install_message:
|
486
402
|
rdoc_options: []
|
487
|
-
|
403
|
+
|
404
|
+
require_paths:
|
488
405
|
- lib
|
489
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
406
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
490
407
|
none: false
|
491
|
-
requirements:
|
492
|
-
- -
|
493
|
-
- !ruby/object:Gem::Version
|
494
|
-
|
495
|
-
segments:
|
408
|
+
requirements:
|
409
|
+
- - ">="
|
410
|
+
- !ruby/object:Gem::Version
|
411
|
+
hash: 3169869758436759526
|
412
|
+
segments:
|
496
413
|
- 0
|
497
|
-
|
498
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
414
|
+
version: "0"
|
415
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
499
416
|
none: false
|
500
|
-
requirements:
|
501
|
-
- -
|
502
|
-
- !ruby/object:Gem::Version
|
503
|
-
version:
|
417
|
+
requirements:
|
418
|
+
- - ">="
|
419
|
+
- !ruby/object:Gem::Version
|
420
|
+
version: "0"
|
504
421
|
requirements: []
|
422
|
+
|
505
423
|
rubyforge_project:
|
506
|
-
rubygems_version: 1.
|
424
|
+
rubygems_version: 1.5.2
|
507
425
|
signing_key:
|
508
426
|
specification_version: 3
|
509
|
-
summary:
|
510
|
-
|
511
|
-
|
512
|
-
|
427
|
+
summary: Ideal gem for handling attachments in Rails, Sinatra and Rack applications.
|
428
|
+
test_files:
|
429
|
+
- spec/dragonfly/active_model_extensions/model_spec.rb
|
430
|
+
- spec/dragonfly/active_model_extensions/spec_helper.rb
|
431
|
+
- spec/dragonfly/analyser_spec.rb
|
432
|
+
- spec/dragonfly/analysis/file_command_analyser_spec.rb
|
433
|
+
- spec/dragonfly/app_spec.rb
|
434
|
+
- spec/dragonfly/configurable_spec.rb
|
435
|
+
- spec/dragonfly/core_ext/array_spec.rb
|
436
|
+
- spec/dragonfly/core_ext/hash_spec.rb
|
437
|
+
- spec/dragonfly/core_ext/string_spec.rb
|
438
|
+
- spec/dragonfly/core_ext/symbol_spec.rb
|
439
|
+
- spec/dragonfly/data_storage/couch_data_store_spec.rb
|
440
|
+
- spec/dragonfly/data_storage/file_data_store_spec.rb
|
441
|
+
- spec/dragonfly/data_storage/mongo_data_store_spec.rb
|
442
|
+
- spec/dragonfly/data_storage/s3_data_store_spec.rb
|
443
|
+
- spec/dragonfly/data_storage/shared_data_store_examples.rb
|
444
|
+
- spec/dragonfly/function_manager_spec.rb
|
445
|
+
- spec/dragonfly/hash_with_css_style_keys_spec.rb
|
446
|
+
- spec/dragonfly/image_magick/analyser_spec.rb
|
447
|
+
- spec/dragonfly/image_magick/encoder_spec.rb
|
448
|
+
- spec/dragonfly/image_magick/generator_spec.rb
|
449
|
+
- spec/dragonfly/image_magick/processor_spec.rb
|
450
|
+
- spec/dragonfly/image_magick/utils_spec.rb
|
451
|
+
- spec/dragonfly/job_builder_spec.rb
|
452
|
+
- spec/dragonfly/job_definitions_spec.rb
|
453
|
+
- spec/dragonfly/job_endpoint_spec.rb
|
454
|
+
- spec/dragonfly/job_spec.rb
|
455
|
+
- spec/dragonfly/loggable_spec.rb
|
456
|
+
- spec/dragonfly/middleware_spec.rb
|
457
|
+
- spec/dragonfly/routed_endpoint_spec.rb
|
458
|
+
- spec/dragonfly/serializer_spec.rb
|
459
|
+
- spec/dragonfly/server_spec.rb
|
460
|
+
- spec/dragonfly/simple_cache_spec.rb
|
461
|
+
- spec/dragonfly/temp_object_spec.rb
|
462
|
+
- spec/dragonfly/url_mapper_spec.rb
|
463
|
+
- spec/functional/deprecations_spec.rb
|
464
|
+
- spec/functional/image_magick_app_spec.rb
|
465
|
+
- spec/functional/model_urls_spec.rb
|
466
|
+
- spec/functional/remote_on_the_fly_spec.rb
|
467
|
+
- spec/functional/to_response_spec.rb
|
468
|
+
- spec/spec_helper.rb
|
469
|
+
- spec/support/argument_matchers.rb
|
470
|
+
- spec/support/image_matchers.rb
|
471
|
+
- spec/support/simple_matchers.rb
|