forked from hzamani/active_record-acts_as
-
Notifications
You must be signed in to change notification settings - Fork 6
/
active_record-acts_as.gemspec
35 lines (30 loc) · 1.41 KB
/
active_record-acts_as.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'active_record/acts_as/version'
Gem::Specification.new do |spec|
spec.name = 'active_record-acts_as'
spec.version = ActiveRecord::ActsAs::VERSION
spec.authors = ['Hassan Zamani']
spec.email = ['[email protected]']
spec.summary = 'Simulate multi-table inheritance for activerecord models'
spec.description = 'Simulate multi-table inheritance for activerecord models using a plymorphic association'
spec.homepage = 'http://github.com/hzamani/active_record-acts_as'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
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.required_ruby_version = '>= 1.9'
spec.add_development_dependency 'sqlite3', '~> 1.3'
spec.add_development_dependency 'bundler', '~> 1.6'
spec.add_development_dependency 'rspec', '~> 3'
spec.add_development_dependency 'rake', '~> 10'
if RUBY_VERSION >= '2.2.3'
spec.add_dependency 'activesupport', '>= 4', '<= 5.0.0.beta1'
spec.add_dependency 'activerecord', '>= 4.1.2', '<= 5.0.0.beta1'
else
spec.add_dependency 'activesupport', '~> 4'
spec.add_dependency 'activerecord', '~> 4', '~> 4.1.2'
end
end