# frozen_string_literal: true # -*- encoding: utf-8 -*- require_relative 'lib/pg/version' Gem::Specification.new do |spec| spec.name = "yugabyte_ysql" spec.version = YugabyteYSQL::VERSION spec.authors = ["Michael Granger", "Lars Kanis", "YugabyteDB Dev Team"] spec.email = ["ged@FaerieMUD.org", "lars@greiz-reinsdorf.de", "info@yugabyte.com"] spec.summary = "The Ruby interface to YugabyteDB, based on PG Ruby Driver v#{YugabyteYSQL::PG_VERSION}" spec.description = "Pg_YugabyteDB is the Ruby interface to the PostgreSQL-compatible YugabyteDB. It works with YugabyteDB 2.20 and later." spec.homepage = "https://github.com/yugabyte/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/yugabyte/ruby-pg" spec.metadata["changelog_uri"] = "https://github.com/yugabyte/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 { |f| f.match(%r{\A(?:test|spec|features|translation)/}) } end spec.extensions = ["ext/extconf.rb"] spec.require_paths = ["lib"] spec.rdoc_options = ["--main", "README.md", "--title", "YugabyteYSQL: The Ruby Driver for YugabyteDB (YSQL)"] spec.extra_rdoc_files = `git ls-files -z *.rdoc *.md lib/*.rb lib/*/*.rb lib/*/*/*.rb ext/*.c ext/*.h`.split("\x0") end