-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #383
- Loading branch information
Showing
7 changed files
with
64 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
# -*- ruby -*- | ||
|
||
# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`. | ||
# Specify your gem's runtime dependencies in pg.gemspec | ||
gemspec | ||
|
||
source "https://rubygems.org/" | ||
|
||
|
||
gem "hoe-mercurial", "~>1.4", :group => [:development, :test] | ||
gem "hoe-deveiate", "~>0.9", :group => [:development, :test] | ||
gem "hoe-highline", "~>0.2", :group => [:development, :test] | ||
gem "rake-compiler", "1.1.1", :group => [:development, :test] | ||
gem "rake-compiler-dock", "~>1.0", :group => [:development, :test] | ||
gem "hoe-bundler", "~>1.0", :group => [:development, :test] | ||
gem "rspec", "~>3.5", :group => [:development, :test] | ||
gem "rdoc", "~>5.1", :group => [:development, :test] | ||
gem "hoe", "~>3.22", :group => [:development, :test] | ||
|
||
# vim: syntax=ruby | ||
group :development, :test do | ||
gem "bundler", ">= 1.16", "< 3.0" | ||
gem "rake-compiler", "~> 1.0" | ||
gem "rake-compiler-dock", "~> 1.0" | ||
gem "rdoc", "~> 5.1" | ||
gem "rspec", "~> 3.5" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module PG | ||
# Library version | ||
VERSION = '1.2.3' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,32 @@ | ||
# frozen_string_literal: true | ||
# -*- encoding: utf-8 -*- | ||
# stub: pg 1.3.0.pre20210319181010 ruby lib | ||
# stub: ext/extconf.rb | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "pg".freeze | ||
s.version = "1.3.0.pre20210319181010" | ||
require_relative 'lib/pg/version' | ||
|
||
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version= | ||
s.metadata = { "changelog_uri" => "https://github.com/ged/ruby-pg/blob/master/History.rdoc", "documentation_uri" => "http://deveiate.org/code/pg", "homepage_uri" => "https://github.com/ged/ruby-pg" } if s.respond_to? :metadata= | ||
s.require_paths = ["lib".freeze] | ||
s.authors = ["Michael Granger".freeze, "Lars Kanis".freeze] | ||
s.cert_chain = ["certs/ged.pem".freeze] | ||
s.date = "2021-03-19" | ||
s.description = "Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].\n\nIt works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/].\n\nA small example usage:\n\n #!/usr/bin/env ruby\n\n require 'pg'\n\n # Output a table of current connections to the DB\n conn = PG.connect( dbname: 'sales' )\n conn.exec( \"SELECT * FROM pg_stat_activity\" ) do |result|\n puts \" PID | User | Query\"\n result.each do |row|\n puts \" %7d | %-16s | %s \" %\n row.values_at('pid', 'usename', 'query')\n end\n end".freeze | ||
s.email = ["ged@FaerieMUD.org".freeze, "lars@greiz-reinsdorf.de".freeze] | ||
s.extensions = ["ext/extconf.rb".freeze] | ||
s.extra_rdoc_files = ["Contributors.rdoc".freeze, "History.rdoc".freeze, "Manifest.txt".freeze, "README-OS_X.rdoc".freeze, "README-Windows.rdoc".freeze, "README.ja.rdoc".freeze, "README.rdoc".freeze, "ext/errorcodes.txt".freeze, "Contributors.rdoc".freeze, "History.rdoc".freeze, "README-OS_X.rdoc".freeze, "README-Windows.rdoc".freeze, "README.ja.rdoc".freeze, "README.rdoc".freeze, "POSTGRES".freeze, "LICENSE".freeze, "ext/gvl_wrappers.c".freeze, "ext/pg.c".freeze, "ext/pg_binary_decoder.c".freeze, "ext/pg_binary_encoder.c".freeze, "ext/pg_coder.c".freeze, "ext/pg_connection.c".freeze, "ext/pg_copy_coder.c".freeze, "ext/pg_errors.c".freeze, "ext/pg_record_coder.c".freeze, "ext/pg_result.c".freeze, "ext/pg_text_decoder.c".freeze, "ext/pg_text_encoder.c".freeze, "ext/pg_tuple.c".freeze, "ext/pg_type_map.c".freeze, "ext/pg_type_map_all_strings.c".freeze, "ext/pg_type_map_by_class.c".freeze, "ext/pg_type_map_by_column.c".freeze, "ext/pg_type_map_by_mri_type.c".freeze, "ext/pg_type_map_by_oid.c".freeze, "ext/pg_type_map_in_ruby.c".freeze, "ext/pg_util.c".freeze] | ||
s.files = ["BSDL".freeze, "Contributors.rdoc".freeze, "History.rdoc".freeze, "LICENSE".freeze, "Manifest.txt".freeze, "POSTGRES".freeze, "README-OS_X.rdoc".freeze, "README-Windows.rdoc".freeze, "README.ja.rdoc".freeze, "README.rdoc".freeze, "Rakefile".freeze, "Rakefile.cross".freeze, "ext/errorcodes.def".freeze, "ext/errorcodes.rb".freeze, "ext/errorcodes.txt".freeze, "ext/extconf.rb".freeze, "ext/gvl_wrappers.c".freeze, "ext/gvl_wrappers.h".freeze, "ext/pg.c".freeze, "ext/pg.h".freeze, "ext/pg_binary_decoder.c".freeze, "ext/pg_binary_encoder.c".freeze, "ext/pg_coder.c".freeze, "ext/pg_connection.c".freeze, "ext/pg_copy_coder.c".freeze, "ext/pg_errors.c".freeze, "ext/pg_record_coder.c".freeze, "ext/pg_result.c".freeze, "ext/pg_text_decoder.c".freeze, "ext/pg_text_encoder.c".freeze, "ext/pg_tuple.c".freeze, "ext/pg_type_map.c".freeze, "ext/pg_type_map_all_strings.c".freeze, "ext/pg_type_map_by_class.c".freeze, "ext/pg_type_map_by_column.c".freeze, "ext/pg_type_map_by_mri_type.c".freeze, "ext/pg_type_map_by_oid.c".freeze, "ext/pg_type_map_in_ruby.c".freeze, "ext/pg_util.c".freeze, "ext/pg_util.h".freeze, "ext/vc/pg.sln".freeze, "ext/vc/pg_18/pg.vcproj".freeze, "ext/vc/pg_19/pg_19.vcproj".freeze, "lib/pg.rb".freeze, "lib/pg/basic_type_mapping.rb".freeze, "lib/pg/binary_decoder.rb".freeze, "lib/pg/coder.rb".freeze, "lib/pg/connection.rb".freeze, "lib/pg/constants.rb".freeze, "lib/pg/exceptions.rb".freeze, "lib/pg/result.rb".freeze, "lib/pg/text_decoder.rb".freeze, "lib/pg/text_encoder.rb".freeze, "lib/pg/tuple.rb".freeze, "lib/pg/type_map_by_column.rb".freeze, "spec/data/expected_trace.out".freeze, "spec/data/random_binary_data".freeze, "spec/helpers.rb".freeze, "spec/pg/basic_type_mapping_spec.rb".freeze, "spec/pg/connection_spec.rb".freeze, "spec/pg/connection_sync_spec.rb".freeze, "spec/pg/result_spec.rb".freeze, "spec/pg/tuple_spec.rb".freeze, "spec/pg/type_map_by_class_spec.rb".freeze, "spec/pg/type_map_by_column_spec.rb".freeze, "spec/pg/type_map_by_mri_type_spec.rb".freeze, "spec/pg/type_map_by_oid_spec.rb".freeze, "spec/pg/type_map_in_ruby_spec.rb".freeze, "spec/pg/type_map_spec.rb".freeze, "spec/pg/type_spec.rb".freeze, "spec/pg_spec.rb".freeze] | ||
s.homepage = "https://github.com/ged/ruby-pg".freeze | ||
s.licenses = ["BSD-2-Clause".freeze] | ||
s.rdoc_options = ["--main".freeze, "README.rdoc".freeze] | ||
s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze) | ||
s.rubygems_version = "3.2.3".freeze | ||
s.summary = "Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]".freeze | ||
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"] | ||
|
||
if s.respond_to? :specification_version then | ||
s.specification_version = 4 | ||
end | ||
spec.summary = "Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]" | ||
spec.description = "Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].\n\nIt works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/].\n\nA small example usage:\n\n #!/usr/bin/env ruby\n\n require 'pg'\n\n # Output a table of current connections to the DB\n conn = PG.connect( dbname: 'sales' )\n conn.exec( \"SELECT * FROM pg_stat_activity\" ) do |result|\n puts \" PID | User | Query\"\n result.each do |row|\n puts \" %7d | %-16s | %s \" %\n row.values_at('pid', 'usename', 'query')\n end\n end" | ||
spec.homepage = "https://github.com/ged/ruby-pg" | ||
spec.license = "BSD-2-Clause" | ||
spec.required_ruby_version = ">= 2.2" | ||
|
||
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.rdoc" | ||
spec.metadata["documentation_uri"] = "http://deveiate.org/code/pg" | ||
|
||
if s.respond_to? :add_runtime_dependency then | ||
s.add_development_dependency(%q<hoe-mercurial>.freeze, ["~> 1.4"]) | ||
s.add_development_dependency(%q<hoe-deveiate>.freeze, ["~> 0.9"]) | ||
s.add_development_dependency(%q<hoe-highline>.freeze, ["~> 0.2"]) | ||
s.add_development_dependency(%q<rake-compiler>.freeze, ["~> 1.0"]) | ||
s.add_development_dependency(%q<rake-compiler-dock>.freeze, ["~> 1.0"]) | ||
s.add_development_dependency(%q<hoe-bundler>.freeze, ["~> 1.0"]) | ||
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5"]) | ||
s.add_development_dependency(%q<rdoc>.freeze, ["~> 5.1"]) | ||
s.add_development_dependency(%q<hoe>.freeze, ["~> 3.22"]) | ||
else | ||
s.add_dependency(%q<hoe-mercurial>.freeze, ["~> 1.4"]) | ||
s.add_dependency(%q<hoe-deveiate>.freeze, ["~> 0.9"]) | ||
s.add_dependency(%q<hoe-highline>.freeze, ["~> 0.2"]) | ||
s.add_dependency(%q<rake-compiler>.freeze, ["~> 1.0"]) | ||
s.add_dependency(%q<rake-compiler-dock>.freeze, ["~> 1.0"]) | ||
s.add_dependency(%q<hoe-bundler>.freeze, ["~> 1.0"]) | ||
s.add_dependency(%q<rspec>.freeze, ["~> 3.5"]) | ||
s.add_dependency(%q<rdoc>.freeze, ["~> 5.1"]) | ||
s.add_dependency(%q<hoe>.freeze, ["~> 3.22"]) | ||
# 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)/}) } | ||
end | ||
spec.extensions = ["ext/extconf.rb"] | ||
spec.require_paths = ["lib"] | ||
spec.cert_chain = ["certs/ged.pem"] | ||
spec.rdoc_options = ["--main", "README.rdoc"] | ||
end |