-
Notifications
You must be signed in to change notification settings - Fork 51
/
activerecord-cockroachdb-adapter.gemspec
38 lines (31 loc) · 1.45 KB
/
activerecord-cockroachdb-adapter.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
36
37
38
# frozen_string_literal: true
require_relative 'lib/version'
version = ActiveRecord::COCKROACH_DB_ADAPTER_VERSION
Gem::Specification.new do |spec|
spec.name = "activerecord-cockroachdb-adapter"
spec.version = version
spec.licenses = ["Apache-2.0"]
spec.authors = ["Cockroach Labs"]
spec.email = ["cockroach-db@googlegroups.com"]
spec.summary = "CockroachDB adapter for ActiveRecord."
spec.description = "Allows the use of CockroachDB as a backend for ActiveRecord and Rails apps."
spec.homepage = "https://github.com/cockroachdb/activerecord-cockroachdb-adapter"
spec.add_dependency "activerecord", "~> 7.2.0"
spec.add_dependency "pg", "~> 1.5"
spec.add_dependency "rgeo-activerecord", "~> 7.0.0"
spec.add_development_dependency "benchmark-ips", "~> 2.9.1"
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "https://rubygems.org"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
end