Module: Dragonfly
- Defined in:
- lib/dragonfly.rb,
lib/dragonfly/app.rb,
lib/dragonfly/job.rb,
lib/dragonfly/model.rb,
lib/dragonfly/shell.rb,
lib/dragonfly/utils.rb,
lib/dragonfly/server.rb,
lib/dragonfly/content.rb,
lib/dragonfly/railtie.rb,
lib/dragonfly/version.rb,
lib/dragonfly/job/step.rb,
lib/dragonfly/register.rb,
lib/dragonfly/response.rb,
lib/dragonfly/job/fetch.rb,
lib/dragonfly/whitelist.rb,
lib/dragonfly/middleware.rb,
lib/dragonfly/serializer.rb,
lib/dragonfly/url_mapper.rb,
lib/dragonfly/job/process.rb,
lib/dragonfly/temp_object.rb,
lib/dragonfly/configurable.rb,
lib/dragonfly/has_filename.rb,
lib/dragonfly/job/generate.rb,
lib/dragonfly/job_endpoint.rb,
lib/dragonfly/job/fetch_url.rb,
lib/dragonfly/cookie_monster.rb,
lib/dragonfly/job/fetch_file.rb,
lib/dragonfly/url_attributes.rb,
lib/dragonfly/file_data_store.rb,
lib/dragonfly/routed_endpoint.rb,
lib/dragonfly/model/attachment.rb,
lib/dragonfly/param_validators.rb,
lib/dragonfly/memory_data_store.rb,
lib/dragonfly/model/validations.rb,
lib/dragonfly/image_magick/plugin.rb,
lib/dragonfly/model/class_methods.rb,
lib/dragonfly/image_magick/commands.rb,
lib/dragonfly/model/instance_methods.rb,
lib/dragonfly/hash_with_css_style_keys.rb,
lib/dragonfly/image_magick/generators/text.rb,
lib/dragonfly/image_magick/generators/plain.rb,
lib/dragonfly/image_magick/processors/thumb.rb,
lib/dragonfly/image_magick/generators/plasma.rb,
lib/dragonfly/image_magick/processors/encode.rb,
lib/dragonfly/model/attachment_class_methods.rb,
lib/dragonfly/image_magick/analysers/image_properties.rb
Defined Under Namespace
Modules: Configurable, HasFilename, ImageMagick, Model, ParamValidators, Serializer, Utils
Classes: App, Content, CookieMonster, FileDataStore, HashWithCssStyleKeys, Job, JobEndpoint, MemoryDataStore, Middleware, Railtie, Register, Response, RoutedEndpoint, Server, Shell, TempObject, UrlAttributes, UrlMapper, Whitelist
Constant Summary
collapse
- VERSION =
"1.4.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
35
36
37
38
|
# File 'lib/dragonfly.rb', line 35
def logger
@logger = Logger.new('dragonfly.log') unless instance_variable_defined?(:@logger)
@logger
end
|
Class Method Details
26
27
28
|
# File 'lib/dragonfly.rb', line 26
def [](name)
App[name]
end
|
.app(name = nil) ⇒ Object
22
23
24
|
# File 'lib/dragonfly.rb', line 22
def app(name=nil)
App.instance(name)
end
|
.running_on_windows? ⇒ Boolean
30
31
32
|
# File 'lib/dragonfly.rb', line 30
def running_on_windows?
!!(RbConfig::CONFIG['host_os'] =~ %r!(msdos|mswin|djgpp|mingw)!)
end
|