Skip to content

Commit

Permalink
Remove deprecated constants in preparation for 1.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ged committed Jan 10, 2018
1 parent a79ced3 commit a35fdb2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 33 deletions.
1 change: 0 additions & 1 deletion Manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ lib/pg/basic_type_mapping.rb
lib/pg/coder.rb
lib/pg/connection.rb
lib/pg/constants.rb
lib/pg/deprecated_constants.rb
lib/pg/exceptions.rb
lib/pg/result.rb
lib/pg/text_decoder.rb
Expand Down
4 changes: 0 additions & 4 deletions lib/pg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,3 @@ def self::connect( *args )
end # module PG


autoload :PGError, 'pg/deprecated_constants'
autoload :PGconn, 'pg/deprecated_constants'
autoload :PGresult, 'pg/deprecated_constants'

24 changes: 0 additions & 24 deletions lib/pg/deprecated_constants.rb

This file was deleted.

8 changes: 4 additions & 4 deletions pg.gemspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# -*- encoding: utf-8 -*-
# stub: pg 0.22.0.pre20171227221214 ruby lib
# stub: pg 0.22.0.pre20180110074041 ruby lib
# stub: ext/extconf.rb

Gem::Specification.new do |s|
s.name = "pg".freeze
s.version = "0.22.0.pre20171227221214"
s.version = "0.22.0.pre20180110074041"

s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib".freeze]
s.authors = ["Michael Granger".freeze, "Lars Kanis".freeze]
s.cert_chain = ["certs/ged.pem".freeze]
s.date = "2017-12-27"
s.description = "Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].\n\nIt works with {PostgreSQL 9.1 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('procpid', 'usename', 'current_query')\n end\n end".freeze
s.date = "2018-01-10"
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('procpid', 'usename', 'current_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_result.c".freeze, "ext/pg_text_decoder.c".freeze, "ext/pg_text_encoder.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/util.c".freeze]
Expand Down

0 comments on commit a35fdb2

Please sign in to comment.