Browse files

Updated the History file, Manifest, README, added missing require.

  • Loading branch information...
1 parent 8ae0486 commit 21286d69389edb60403e1fad7bac135bde7e76ca @ged committed Jan 24, 2012
Showing with 41 additions and 15 deletions.
  1. +29 −0 History.rdoc
  2. +5 −10 Manifest.txt
  3. +6 −4 README.rdoc
  4. +0 −1 Rakefile
  5. +1 −0 lib/pg.rb
View
29 History.rdoc
@@ -1,3 +1,32 @@
+== v0.13.0 [] Michael Granger <ged@FaerieMUD.org>
+
+Reorganization of modules/classes to be better Ruby citizens (with backward-compatible aliases):
+- Created toplevel namespace 'PG' to correspond with the gem name.
+- Renamed PGconn to PG::Connection (with ::PGconn alias)
+- Renamed PGresult to PG::Result (with ::PGresult alias)
+- Renamed PGError to PG::Error (with ::PGError alias)
+- Declare all constants inside PG::Constants, then include them in
+ PG::Connection and PG::Result for backward-compatibility, and
+ in PG for convenience.
+- Split the extension source up by class/module.
+- Removed old compatibility code for PostgreSQL versions < 8.3
+
+Documentation:
+- Clarified licensing, updated to Ruby 1.9's license.
+- Merged authors list, added some missing people to the Contributor's
+ list.
+- Cleaned up the sample/ directory
+- Making contact info a bit clearer, link to the Google+ page and
+ the mailing list
+
+Enhancements:
+- Added a convenience method: PG.connect -> PG::Connection.new
+
+Bugfixes:
+- Fixed LATIN5-LATIN10 Postgres<->Ruby encoding conversions
+
+
+
== v0.12.2 [2012-01-03] Michael Granger <ged@FaerieMUD.org>
- Fix for the 1.8.7 breakage introduced by the st.h fix for alternative Ruby
View
15 Manifest.txt
@@ -1,18 +1,18 @@
.gemtest
-POSTGRES
+.hoerc
+.tm_properties
ChangeLog
Contributors.rdoc
History.rdoc
LICENSE
Manifest.txt
-README.OS_X.rdoc
+POSTGRES
+README-OS_X.rdoc
+README-Windows.rdoc
README.ja.rdoc
README.rdoc
-README.windows.rdoc
Rakefile
Rakefile.cross
-ext/compat.c
-ext/compat.h
ext/extconf.rb
ext/pg.c
ext/pg.h
@@ -35,11 +35,6 @@ sample/copyto.rb
sample/cursor.rb
sample/losample.rb
sample/notify_wait.rb
-sample/psql.rb
-sample/psqlHelp.rb
-sample/test1.rb
-sample/test2.rb
-sample/test4.rb
sample/test_binary_values.rb
spec/data/expected_trace.out
spec/data/random_binary_data
View
10 README.rdoc
@@ -27,7 +27,7 @@ A small example usage:
== Requirements
-* Ruby 1.8.7-p249 or later.
+* Ruby 1.8.7-p249 or 1.9.3-p0.
* PostgreSQL 8.3.x (with headers, -dev packages, etc).
It may work with earlier versions of Ruby as well, but those are not regularly tested.
@@ -47,6 +47,10 @@ Postgres:
See README-OS_X.rdoc for more information about installing under MacOS X, and
README-Windows.rdoc for Windows build/installation instructions.
+There's also {a Google+ group}[http://goo.gl/TFy1U] and a
+{mailing list}[http://groups.google.com/group/ruby-pg] if you get stuck, or just
+want to chat about something.
+
== Contributing
@@ -61,9 +65,7 @@ After checking out the source, run:
This task will install any missing dependencies, run the tests/specs, and
generate the API documentation.
-There's also {a Google+ group}[http://goo.gl/TFy1U] and a
-{mailing list}[http://groups.google.com/group/ruby-pg] if you get stuck, or just
-want to chat about something.
+The current maintainer is Michael Granger <ged@FaerieMUD.org>.
== Copying
View
1 Rakefile
@@ -52,7 +52,6 @@ $hoespec = Hoe.spec 'pg' do
self.extra_rdoc_files.include( 'POSTGRES', 'LICENSE' )
self.extra_rdoc_files.include( 'ext/*.c' )
- self.developer 'Jeff Davis', 'ruby-pg@j-davis.com'
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
self.dependency 'rake-compiler', '~> 0.7', :developer
View
1 lib/pg.rb
@@ -40,6 +40,7 @@ def self::connect( *args )
require 'pg/exceptions'
+ require 'pg/constants'
require 'pg/connection'
require 'pg/result'

0 comments on commit 21286d6

Please sign in to comment.