-
Notifications
You must be signed in to change notification settings - Fork 51
/
active_record_upsert.gemspec
26 lines (21 loc) · 1.11 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
# 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{^(.github|bin|test|spec|features)/}) } -
%w[.gitignore .rspec 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.2', '< 8.0'
spec.add_runtime_dependency 'pg', '>= 0.18', '< 2.0'
end