forked from thoughtbot/paperclip
-
Notifications
You must be signed in to change notification settings - Fork 2
/
paperclip.gemspec
55 lines (49 loc) · 2.22 KB
/
paperclip.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
50
51
52
53
54
55
$LOAD_PATH.push File.expand_path("../lib", __FILE__)
require 'paperclip/version'
Gem::Specification.new do |s|
s.name = "paperclip"
s.version = Paperclip::VERSION
s.platform = Gem::Platform::RUBY
s.author = "Jon Yurek"
s.email = ["[email protected]"]
s.homepage = "https://github.com/thoughtbot/paperclip"
s.summary = "File attachments as attributes for ActiveRecord"
s.description = "Easy upload management for ActiveRecord"
s.license = "MIT"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
if File.exist?('UPGRADING')
s.post_install_message = File.read("UPGRADING")
end
s.requirements << "ImageMagick"
s.required_ruby_version = ">= 1.9.2"
s.add_dependency('activemodel', '>= 3.2.0')
s.add_dependency('activesupport', '>= 3.2.0')
s.add_dependency('cocaine', '~> 0.5.5')
s.add_dependency('mime-types')
s.add_dependency('mimemagic', '~> 0.3.0')
s.add_development_dependency('activerecord', '>= 3.2.0')
s.add_development_dependency('shoulda')
s.add_development_dependency('rspec', '~> 3.0')
s.add_development_dependency('appraisal')
s.add_development_dependency('mocha')
s.add_development_dependency('aws-sdk', '>= 1.5.7', "< 3.0", *((0..33).to_a.collect{ |release_number| "!= 2.0.#{release_number}" }))
s.add_development_dependency('bourne')
s.add_development_dependency('cucumber', '~> 1.3.18')
s.add_development_dependency('aruba', '~> 0.9.0')
s.add_development_dependency('nokogiri')
# Ruby version < 1.9.3 can't install capybara > 2.0.3.
s.add_development_dependency('capybara')
s.add_development_dependency('bundler')
s.add_development_dependency('fog-aws')
s.add_development_dependency('fog-local')
s.add_development_dependency('launchy')
s.add_development_dependency('rake')
s.add_development_dependency('fakeweb')
s.add_development_dependency('railties')
s.add_development_dependency('actionmailer', '>= 3.2.0')
s.add_development_dependency('generator_spec')
s.add_development_dependency('timecop')
end