Permalink
Commits on May 24, 2016
  1. Merge pull request #99 from datamapper/postgres-bignum-insert-id

    tpitale committed May 24, 2016
    Postgres bignum insert
  2. Convert string to integer in ruby-land to handle the returning id bei…

    tpitale committed May 23, 2016
    …ng a bigint
    
    Attempt to use rb_cstr_to_inum in C instead
    
    Include the correct arguments to rb_cstr_to_inum (base, and badcheck)
    
    Replace other uses of atoi for affected rows
  3. Merge pull request #101 from datamapper/restore-193

    tpitale committed May 24, 2016
    Require 1.9.3 to work on CI if it still works
  4. Require 1.9.3 to work on CI if it still works

    tpitale committed May 24, 2016
  5. Merge pull request #100 from datamapper/allow-192-fail

    tpitale committed May 24, 2016
    Allow 1.9 series to fail
  6. Allow 1.9 series to fail

    tpitale committed May 24, 2016
Commits on Jan 24, 2016
  1. Add 2.3 to Windows builds

    dbussink committed Jan 24, 2016
  2. Merge pull request #95 from datamapper/jruby-9000-compile

    dbussink committed Jan 24, 2016
    Fix compilation for JRuby 9000
  3. Fix h2 in memory URL

    dbussink committed Jan 24, 2016
  4. Guard failing specs on JRuby for now

    dbussink committed Jan 24, 2016
  5. Fix compilation for JRuby 9000

    dbussink committed Jan 24, 2016
  6. Merge pull request #94 from datamapper/mysql-utf8-mb4

    dbussink committed Jan 24, 2016
    Fix handling of UTF-8-MB4 with MySQL
  7. Fix handling of UTF-8-MB4 with MySQL

    dbussink committed Jan 24, 2016
    This would not properly tag the returned string as UTF-8 since it would
    not see UTF-8-MB4 as UTF-8 in Ruby land. Therefore it fell back to
    binary instead of the proper encoding.
    
    Fixes #89
  8. Merge pull request #93 from datamapper/rb-fd-term-leak

    dbussink committed Jan 24, 2016
    Fix rb_init_fd leak for do_mysql and do_postgres
  9. Merge pull request #92 from datamapper/mysql-5-7

    dbussink committed Jan 24, 2016
    Add support for MySQL 5.7
  10. Also fix memory leak for do_postgres driver similar to do_mysql

    dbussink committed Jan 24, 2016
  11. memory leak fix - rb_fd_term was missing

    Dan Grunberg committed with dbussink Jan 21, 2016
  12. Merge pull request #85 from Daniel-ltw/parse_date_time_timezone_fix

    dbussink committed Jan 24, 2016
    The .utc_offset method returns the offset in seconds between the
  13. Add support for MySQL 5.7

    dbussink committed Jan 24, 2016
    This fails because the behavior for mysql_real_escape_string has changed
    in 5.7. This is documented in
    https://dev.mysql.com/doc/refman/5.7/en/mysql-real-escape-string.html in
    the explicit Note there.
    
    Because of this we need to switch to using
    mysql_real_escape_string_quote on 5.7. Also adding a guard for the
    failure code to return an exception that indicates people probably need
    to recompile the extension agains a newer version.
    
    Fixes #88
Commits on Jun 19, 2015
  1. The .utc_offset method returns the offset in seconds between the

    Daniel-ltw committed Jun 19, 2015
    timezone of the object and UTC.
    
    The offset argument to DateTime.new is the offset from UTC as a fraction of a day.
    
    Depending on the type of object provided, this offset will be adjusted
    again,internally within the DateTime class:
    
    https://github.com/ruby/ruby/blob/37055f9da04ad4d8f8d2b303fbf0c947e4661868/ext/date/date_core.c#L2328
    
    If the offset is provided in seconds, and passed as a T_FIXNUM or
    T_FLOAT type to DateTime.new, it will be multiplied by DAY_IN_SECONDS,
    resulting in an unexpected timezone offset.
    
    This change passes the timezone as a string to DateTime.new instead of
    the gmt_offset.
Commits on May 17, 2015
  1. Update changelogs

    dbussink committed May 17, 2015
  2. Bump to new version

    dbussink committed May 17, 2015
Commits on Apr 30, 2015
  1. Merge pull request #82 from alloy/master

    dbussink committed Apr 30, 2015
    [do_postgress] Get ext to build on Ruby 2.0.0 (stock OS X).
Commits on Apr 29, 2015
  1. [do_postgress] Get ext to build on Ruby 2.0.0 (stock OS X).

    alloy committed Apr 29, 2015
    For some reason the c.h PG header is not being included when building on
    older Rubies. Explicitely adding the base postgres.h header which
    includes the c.h header fixes it.
Commits on Feb 15, 2015
  1. Add changelog entries

    dbussink committed Feb 15, 2015
  2. Update to version 0.10.15

    dbussink committed Feb 15, 2015
Commits on Jan 25, 2015
  1. Merge pull request #77 from dxg/ruby2.2

    dbussink committed Jan 25, 2015
    Ruby 2.2 fix for do_mysql & do_postgres