-
Notifications
You must be signed in to change notification settings - Fork 5
/
schema_auto_foreign_keys.gemspec
31 lines (26 loc) · 1.33 KB
/
schema_auto_foreign_keys.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'schema_auto_foreign_keys/version'
Gem::Specification.new do |gem|
gem.name = "schema_auto_foreign_keys"
gem.version = SchemaAutoForeignKeys::VERSION
gem.authors = ["ronen barzel"]
gem.email = ["ronen@barzel.org"]
gem.summary = %q{Automatically define foreign key constraints in ActiveRecord}
gem.description = %q{In an ActiveRecord migration, set the default to create a foreign key and index for all columns that define relatoins.}
gem.homepage = "https://github.com/SchemaPlus/schema_auto_foreign_keys"
gem.license = "MIT"
gem.files = `git ls-files -z`.split("\x0")
gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.required_ruby_version = ">= 2.5.0"
gem.add_dependency "activerecord", ">= 5.2", "< 7.1"
gem.add_dependency "schema_plus_foreign_keys", "~> 1.1.0"
gem.add_dependency "schema_plus_indexes", "~> 1.0.1"
gem.add_development_dependency "bundler"
gem.add_development_dependency "rake", "~> 13.0"
gem.add_development_dependency "rspec", "~> 3.0"
gem.add_development_dependency "schema_dev", "~> 4.2.0"
end