This repository has been archived by the owner on May 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
carrierwave-activerecord.gemspec
54 lines (39 loc) · 1.79 KB
/
carrierwave-activerecord.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'carrierwave-activerecord/storage/version'
Gem::Specification.new do |gem|
gem.name = 'carrierwave-activerecord'
gem.authors = ['Richard Michael', 'Julien Gantner']
gem.email = ['[email protected]', '[email protected]']
gem.homepage = %q{http://github.com/richardkmichael/carrierwave-activerecord}
gem.version = CarrierWave::Storage::ActiveRecord::VERSION
gem.require_paths = ['lib']
gem.description = %q{Store CarrierWave uploaded files using ActiveRecord.}
gem.summary = %q{Store CarrierWave uploaded files using ActiveRecord.}
files_to_include = %w{
LICENSE
README.md
Rakefile
carrierwave-activerecord.gemspec
lib/carrierwave-activerecord.rb
lib/carrierwave-activerecord/storage/active_record_file.rb
lib/carrierwave-activerecord/storage/file.rb
lib/carrierwave-activerecord/storage/storage_provider.rb
lib/carrierwave-activerecord/storage/version.rb
spec/spec_helper.rb
spec/database_setup.rb
spec/lib/carrierwave-activerecord/storage/file_spec.rb
spec/lib/carrierwave-activerecord/storage/storage_provider_spec.rb
spec/lib/carrierwave-activerecord/carrierwave-activerecord_spec.rb
}
gem.files = files_to_include
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
# CarrierWave has broken in 0.x releases.
gem.add_runtime_dependency 'carrierwave', '~> 0.8.0'
# ActiveRecord 3.3 is unlikely, but prevent it just in case.
gem.add_runtime_dependency 'activerecord', '~> 3.2.0'
gem.add_development_dependency 'sqlite3', '~> 1.3'
gem.add_development_dependency 'rspec', '~> 2.12'
gem.platform = Gem::Platform::RUBY
gem.required_ruby_version = '>= 1.9.3'
end