[ANN] mysql 2.9.0 Released

mysql version 2.9.0 has been released!

* <http://github.com/luislavena/mysql-gem>

This is the MySQL API module for Ruby. It provides the same functions for Ruby
programs that the MySQL C API provides for C programs.

This package is offered as gem for easy installation using RubyGems. It wraps
unmodified tmtm's mysql-ruby extension into a proper gem.

Please note that tmtm (Tomita Mashahiro) has deprecated development of this
extension and only update it for bug fixes.

Changes:

### 2.9.0 / 2012-11-17

DEPRECATION: Ruby 1.8.6 is no longer supported. Do not update your production
application blindly without testing first any dependency change!

* Incompatibility:
  * Requires Ruby 1.8.7 or newer.

* Enhancements:
  * Detect MySQL version at load time and fail on mismatch [ghazel]
  * Use MySQL Connector/C for Windows binary bindings instead

* Bug fixes:
  * Use RbConfig since Config is deprecated in Ruby 2.0 [tenderlove]

···

--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

Yes.

The pre-compiled binary (x86-mingw32 gem) has been built against MySQL
Connector/C, as shown by the installation message:

C:\Users\Luis>gem install mysql
Fetching: mysql-2.9.0-x86-mingw32.gem (100%)

···

On Sun, Nov 18, 2012 at 5:00 AM, Badal <michel@demazure.com> wrote:

Does it work out of the box for mysql 64 bits on Windows ?

======================================================================================================

  You've installed the binary version of mysql.
  It was built using MySQL Connector/C version 6.0.2.
  It's recommended to use the exact same version to avoid potential issues.

  At the time of building this gem, the necessary DLL files where available
  in the following URL:

  http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick

  You can put the lib\libmysql.dll available in this package to your
Ruby bin directory.
  E.g. C:\Ruby\bin

======================================================================================================

Successfully installed mysql-2.9.0-x86-mingw32
1 gem installed

You need to follow the link shown in the instructions, download the
zip file and extract libmysql.dll from there.

I had to compile some older version against a special connector...

I believe you're talking from the instructions in my blog:

http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/

If that is the case, then the --platform=ruby from these instructions
is no longer required, as the newer gem already uses the updated
connector.

Cheers,
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry