-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactive_record-progresql.gemspec
More file actions
44 lines (37 loc) · 2.08 KB
/
Copy pathactive_record-progresql.gemspec
File metadata and controls
44 lines (37 loc) · 2.08 KB
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
39
40
41
42
43
44
require_relative 'lib/active_record/progresql/version'
Gem::Specification.new do |spec|
spec.name = 'active_record-progresql'
spec.version = ActiveRecord::ProgreSQL::VERSION
spec.authors = ['Dale Stevens']
spec.email = ['dale@twilightcoders.net']
spec.summary = 'ActiveRecord adapter extension for ProgreSQL — GLOBAL spanning indexes & cross-child foreign keys'
spec.description = 'Extends ActiveRecord to express and round-trip ProgreSQL fork features: ' \
'GLOBAL spanning indexes (cross-partition / cross-inheritance-child uniqueness) ' \
'and foreign keys that resolve across an inheritance/partition hierarchy. ' \
'Keeps schema.rb canonical for a ProgreSQL database. Composes with active_record-mti.'
spec.homepage = 'https://github.com/TwilightCoders/active_record-progresql'
spec.license = 'MIT'
spec.metadata = {
'allowed_push_host' => 'https://rubygems.org',
'homepage_uri' => spec.homepage,
'source_code_uri' => spec.homepage,
'changelog_uri' => "#{spec.homepage}/blob/main/CHANGELOG.md",
'bug_tracker_uri' => "#{spec.homepage}/issues"
}
spec.files = Dir['CHANGELOG.md', 'README.md', 'LICENSE.txt', 'lib/**/*']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 3.1'
spec.add_runtime_dependency 'activerecord', '>= 7.0'
spec.add_runtime_dependency 'pg', '>= 1.1'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'pry-byebug', '~> 3'
spec.add_development_dependency 'combustion'
spec.add_development_dependency 'database_cleaner-active_record'
spec.add_development_dependency 'simplecov'
# Companion gem — used together in integration tests (the INHERITS hierarchy the
# spanning placement reasons over). NOT a runtime dep: progresql's GLOBAL spanning
# also serves declarative partitioning, independent of MTI.
spec.add_development_dependency 'active_record-mti'
end