Commit graph

7 commits

Author SHA1 Message Date
taca
e5d892fd50 Update ruby-mysql2 to 0.4.1.
0.4.1

0.4.0

@sodabrew sodabrew released this 26 days ago · 54 commits to master since this
release

New Features

* Support for Prepared Statements!
* Add connection option :sslverify
* Use mariadb_config for MariaDB builds
Bugfixes

* Fix Mysql2::Result#count always returns 0 when using stored procedures and
  MULTI_STATEMENTS

Changes

* Prevent Timeout::timeout from interrupting query execution
* Use Ruby's String#encode to remove unrecognized characters from error messages
* Convert specs to RSpec 3 expect sytnax
* Refactored the Travis CI test scripts
* Misc cleanups with Rubocop
* Stricter CFLAGS

0.3.20

@sodabrew sodabrew released this on 25 Aug · 205 commits to master since this
release

Bugfixes

* Check if O_CLOEXEC is defined before using it in open()
* Fix an infinite loop while searching for libmysqlclient when mysql_config is
  not found

Changes

* Call RakeCompilerDock.sh twice, once for 32-bit and once for 64-bit, when
  building Windows binary gems

0.3.19

@sodabrew sodabrew released this on 30 Jul · 205 commits to master since this
release

New Features

* Mysql2::Client#info class method for easier debugging, and both the class
  and instance method return US_ASCII output rather than using the connection
  encoding.
* When streaming results, continue result.count across calls to result.each

Bugfixes

* Search for mariadb_config on compile
* Update to Connector/C 6.1.6 in the Windows builds
* Fix Mysql2::Client#escape to set the encoding even if the string was not
  modified
* Fix LICENSE filename in gem file list
* Make the result.count return type consistent and match the source type

Changes

* Rename macro GetMysql2Result to GET_RESULT
* Convert StringValuePtr to either RSTRING_PTR or StringValueCStr
* Fix unused variable warning on Windows in rb_mysql_client_socket
* Add Ruby 2.2 to the AppVeyor matrix
* Test default client flag equality instead of bitwise truthiness
* Add rake-compiler-dock for building Windows binary gems
* Friendly ext build error <3
* Process :stream option in rb_mysql_result_to_obj once instead of
  rb_mysql_result_each for each call to each
* Tests for streaming and stored procedures with multiple result sets
2015-10-04 08:49:01 +00:00
taca
17a1a339eb Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby. 2015-03-08 15:17:17 +00:00
taca
8fe4a6529c Update ruby-mysql2 to 0.3.18.
Changes are not available.  Frmo commit log,

* Fix msec is not passed when calling db_timezone by rb_funcall().
* match callbacks_run inside event loop.

Other changes are Windows and cross build improvements.x
2015-02-17 15:06:10 +00:00
taca
c1d9c09c4c Update ruby-mysql2 to 0.3.15.
Exact changes nor release note isn't available but several bug fixes and
better support for Ruby 2.1.  For more information, please refer commit
log <https://github.com/brianmario/mysql2/commits/master>.
2014-03-14 15:00:07 +00:00
taca
4e2587aa9b Update ruby-mysql2 to 0.3.14.
Various bug fixes.
2013-12-08 16:48:02 +00:00
taca
666a233020 Update ruby-mysql2 package to 0.3.13.
Exact changes aren't available.  Please refer change log in github.
2013-09-13 12:52:30 +00:00
taca
c499df3830 Add ruby-mysql2 version 0.3.11 package.
Mysql2

Mysql2 is a modern, simple and very fast Mysql library for Ruby - binding to
libmysql.

The Mysql2 gem is meant to serve the extremely common use-case of connecting,
querying and iterating on results.  Some database libraries out there serve as
direct 1:1 mappings of the already complex C API's available.  This one is
not.

It also forces the use of UTF-8 (or binary) for the connection (and all
strings in 1.9, unless Encoding.default_internal is set then it'll convert
from UTF-8 to that encoding) and uses encoding-aware MySQL API calls where it
can.
2012-06-15 11:38:48 +00:00