-
Notifications
You must be signed in to change notification settings - Fork 181
/
pg.gemspec
36 lines (31 loc) · 1.57 KB
/
pg.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
# frozen_string_literal: true
# -*- encoding: utf-8 -*-
require_relative 'lib/pg/version'
Gem::Specification.new do |spec|
spec.name = "pg"
spec.version = PG::VERSION
spec.authors = ["Michael Granger", "Lars Kanis"]
spec.email = ["[email protected]", "[email protected]"]
spec.summary = "Pg is the Ruby interface to the PostgreSQL RDBMS"
spec.description = "Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL 10 and later."
spec.homepage = "https://github.com/ged/ruby-pg"
spec.license = "BSD-2-Clause"
spec.required_ruby_version = ">= 2.7"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/ged/ruby-pg"
spec.metadata["changelog_uri"] = "https://github.com/ged/ruby-pg/blob/master/History.md"
spec.metadata["documentation_uri"] = "http://deveiate.org/code/pg"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{\A(?:test|spec|features|translation|\.)})
end
end
spec.extensions = ["ext/extconf.rb"]
spec.require_paths = ["lib"]
spec.cert_chain = ["certs/ged.pem"]
spec.rdoc_options = ["--main", "README.md",
"--title", "PG: The Ruby PostgreSQL Driver"]
spec.extra_rdoc_files = `git ls-files -z *.rdoc *.md lib/*.rb lib/*/*.rb lib/*/*/*.rb ext/*.c ext/*.h`.split("\x0")
end