forked from jesjos/active_record_upsert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
active_record_upsert.gemspec
27 lines (22 loc) · 1.16 KB
/
active_record_upsert.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'active_record_upsert/version'
Gem::Specification.new do |spec|
spec.name = "active_record_upsert"
spec.version = ActiveRecordUpsert::VERSION
spec.authors = ["Jesper Josefsson", "Olle Jonsson"]
spec.email = ["[email protected]", "[email protected]"]
spec.homepage = "https://github.com/jesjos/active_record_upsert/"
spec.license = 'MIT'
spec.summary = %q{Real PostgreSQL 9.5+ upserts using ON CONFLICT for ActiveRecord}
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|test|spec|features)/}) } -
%w[.gitignore .rspec .travis.yml Dockerfile Gemfile Gemfile.docker docker-compose.yml]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.platform = Gem::Platform::RUBY
spec.add_runtime_dependency 'activerecord', '>= 5.0', '< 5.2'
spec.add_runtime_dependency 'arel', '> 7.0', '< 9.0'
spec.add_runtime_dependency 'pg', '~> 0.18'
end