1. Michael Granger
  2. ruby-pg
  3. Issues


Issue #4 resolved

supply PGconn::VERSION constant or similar

Michael Granger
repo owner created an issue

Via Mike Pomraning in [[http://rubyforge.org/tracker/index.php?func=detail&aid=27161&group_id=3214&atid=12399|Rubyforge feature request 27161]]:

It'd be quite useful to programmatically determine ruby-pg's version, so that one could apply conditional monkeypatches as needed to older versions of the library.

{{{PGconn::VERSION}}} would be great!

Comments (1)

  1. Michael Granger reporter

    New build system, build with rake-compiler, added PGconn::VERSION.

    • Replaced the existing Rakefile with a small core set of tasks and task libraries under rake/.
    • Added a PGconn::VERSION constant (closes #4).
    • Replaced the ARCHFLAGS warning under Darwin with code to duplicate the archflags Postgres was compiled with.


  2. Log in to comment