forked from markevans/dragonfly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdragonfly.gemspec
49 lines (43 loc) · 1.96 KB
/
dragonfly.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'dragonfly/version'
Gem::Specification.new do |spec|
spec.name = "dragonfly"
spec.version = Dragonfly::VERSION
spec.authors = ["Mark Evans"]
spec.email = "[email protected]"
spec.description = "Dragonfly is a framework that enables on-the-fly processing for any content type.\n It is especially suited to image handling. Its uses range from image thumbnails to standard attachments to on-demand text generation."
spec.summary = "Ideal gem for handling attachments in Rails, Sinatra and Rack applications."
spec.homepage = "http://github.com/markevans/dragonfly"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.extra_rdoc_files = [
"LICENSE",
"README.md"
]
spec.add_runtime_dependency("rack", [">= 0"])
spec.add_runtime_dependency("multi_json", ["~> 1.0"])
spec.add_development_dependency("rspec", ["~> 2.5"])
spec.add_development_dependency("webmock")
if RUBY_VERSION < '1.9.3'
spec.add_development_dependency("activemodel", '~> 3.2')
else
spec.add_development_dependency("activemodel")
end
if RUBY_PLATFORM == "java"
spec.add_development_dependency("jruby-openssl")
end
spec.post_install_message =<<-POST_INSTALL_MESSAGE
================================================================================
Please check the documentation at <http://markevans.github.io/dragonfly/>.
--------------------------------------------------------------------------------
DEPRECATED: dragonfly/rails/images is now deprecated.
Please refer to <http://markevans.github.io/dragonfly/rails/> for instructions to setup
with Rails
--------------------------------------------------------------------------------
POST_INSTALL_MESSAGE
end