2014-07-19 23:43:16 -04:00
|
|
|
# coding: utf-8
|
|
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
require 'active_record_union/version'
|
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "active_record_union"
|
|
|
|
spec.version = ActiveRecordUnion::VERSION
|
|
|
|
spec.authors = ["Brian Hempel"]
|
|
|
|
spec.email = ["plasticchicken@gmail.com"]
|
2015-03-29 21:46:32 -04:00
|
|
|
spec.summary = %q{UNIONs in ActiveRecord! Adds proper union and union_all methods to ActiveRecord::Relation.}
|
2014-07-19 23:43:16 -04:00
|
|
|
spec.description = spec.summary
|
|
|
|
spec.homepage = "https://github.com/brianhempel/active_record_union"
|
|
|
|
spec.license = "Public Domain"
|
|
|
|
|
|
|
|
spec.files = `git ls-files -z`.split("\x0")
|
|
|
|
# spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
2014-07-24 10:42:37 -04:00
|
|
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.files.grep(%r{^bin/})
|
2014-07-19 23:43:16 -04:00
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
|
|
|
spec.add_dependency "activerecord", ">= 4.0"
|
|
|
|
|
2019-04-02 14:55:20 -04:00
|
|
|
spec.add_development_dependency "bundler"
|
2014-07-19 23:43:16 -04:00
|
|
|
spec.add_development_dependency "rake"
|
|
|
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
|
|
spec.add_development_dependency "pry"
|
2014-09-01 22:29:07 -04:00
|
|
|
spec.add_development_dependency "mysql2"
|
2014-07-19 23:43:16 -04:00
|
|
|
end
|