File: pg.gemspec

package info (click to toggle)
ruby-pg 1.5.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,264 kB
  • sloc: ansic: 8,820; ruby: 2,809; makefile: 10
file content (31 lines) | stat: -rw-r--r-- 1,405 bytes parent folder | download
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
# 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         = ["ged@FaerieMUD.org", "lars@greiz-reinsdorf.de"]

  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 9.3 and later."
  spec.homepage      = "https://github.com/ged/ruby-pg"
  spec.license       = "BSD-2-Clause"
  spec.required_ruby_version = ">= 2.5"

  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.
  spec.files = Dir.glob("**/*").select {|v| v !~ /^debian/}
  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