ibm_db 2.5.25-x86-mingw32 → 2.5.26-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +4 -1
- data/LICENSE +1 -1
- data/README +1 -1
- data/ext/extconf.rb +1 -1
- data/ext/ibm_db.c +8 -4
- data/lib/active_record/connection_adapters/ibm_db_adapter.rb +6 -2
- data/lib/mswin32/rb19x/ibm_db.so +0 -0
- data/lib/mswin32/rb21x/i386/ibm_db.so +0 -0
- data/lib/mswin32/rb22x/i386/ibm_db.so +0 -0
- data/lib/mswin32/rb2x/i386/ibm_db.so +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f203d36d906884d58b39af4a01eaf769d1e9acd
|
4
|
+
data.tar.gz: 88c9dd7109d993f25a3e4f22a7d783eefa72b4ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78c60ed4b5a50ad8db067bb879b44cda690ac4385207b7d66f02687c95b8b03dff9182e6650d62fc20efaf00eb8fabfab8928842432f0968d36f5cc06d2da12a
|
7
|
+
data.tar.gz: 3987168631560807316e56fea1e0213ae74499d815729be65bb291e281d76147721129d0071c87886c622f4b085168d081b01372187e8ea335e3151cbdd91bed
|
data/CHANGES
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
Change Log
|
2
2
|
==============
|
3
|
+
2015/04/08 (IBM_DB adapter 2.5.26, driver 2.5.26)
|
4
|
+
- Fixed bug#22 - Error 'undefined method lookup_cast_type encountered' with rails version lesser than 4.2
|
5
|
+
|
3
6
|
2015/03/24 (IBM_DB adapter 2.5.25, driver 2.5.25)
|
4
7
|
- Support for Rails 4.2.x
|
5
|
-
- Support for Ruby 2.2.x
|
8
|
+
- Support for Ruby 2.2.x on Windows and Linus platform
|
6
9
|
|
7
10
|
2014/08/03 (IBM_DB adapter 2.5.18, driver 2.5.14) :
|
8
11
|
- Support for Rails 4.1.x
|
data/LICENSE
CHANGED
data/README
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
=====================================================================
|
2
|
-
README for the IBM_DB Adapter (2.5.
|
2
|
+
README for the IBM_DB Adapter (2.5.26) and Driver (2.5.26) (2015/04/08)
|
3
3
|
For ActiveRecord Version >= 1.15.5 (and Rails >= 1.2.5)
|
4
4
|
=====================================================================
|
5
5
|
|
data/ext/extconf.rb
CHANGED
@@ -9,7 +9,7 @@ require 'fileutils'
|
|
9
9
|
# +----------------------------------------------------------------------+
|
10
10
|
# | Licensed Materials - Property of IBM |
|
11
11
|
# | |
|
12
|
-
# | (C) Copyright IBM Corporation 2006 -
|
12
|
+
# | (C) Copyright IBM Corporation 2006 - 2015 |
|
13
13
|
# +----------------------------------------------------------------------+
|
14
14
|
|
15
15
|
TAR_LONGLINK = '././@LongLink'
|
data/ext/ibm_db.c
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
+----------------------------------------------------------------------+
|
13
13
|
*/
|
14
14
|
|
15
|
-
#define MODULE_RELEASE "2.5.
|
15
|
+
#define MODULE_RELEASE "2.5.26"
|
16
16
|
|
17
17
|
#ifdef HAVE_CONFIG_H
|
18
18
|
#include "config.h"
|
@@ -687,9 +687,13 @@ VALUE ibm_Ruby_Thread_Call(rb_blocking_function_t *func, void *data1, rb_unblock
|
|
687
687
|
{
|
688
688
|
#ifdef RUBY_API_VERSION_MAJOR
|
689
689
|
if( RUBY_API_VERSION_MAJOR >=2 && RUBY_API_VERSION_MINOR >=2)
|
690
|
-
{
|
691
|
-
|
692
|
-
|
690
|
+
{
|
691
|
+
#ifdef _WIN32
|
692
|
+
void *(*f)(void*) = (void *(*)(void*))func;
|
693
|
+
return (VALUE)rb_thread_call_without_gvl(f, data1, ubf, data2);
|
694
|
+
#else
|
695
|
+
rb_thread_call_without_gvl(func, data1, ubf, data2);
|
696
|
+
#endif
|
693
697
|
}
|
694
698
|
else
|
695
699
|
{
|
@@ -1902,8 +1902,12 @@ module ActiveRecord
|
|
1902
1902
|
if !(column_name =~ /db2_generated_rowid_for_lobs/i)
|
1903
1903
|
# Pushes into the array the *IBM_DBColumn* object, created by passing to the initializer
|
1904
1904
|
# +column_name+, +default_value+, +column_type+ and +column_nullable+.
|
1905
|
-
|
1906
|
-
|
1905
|
+
if(@arelVersion >= 6 )
|
1906
|
+
cast_type = lookup_cast_type(column_type)
|
1907
|
+
columns << IBM_DBColumn.new(column_name, column_default_value, cast_type, column_type, column_nullable)
|
1908
|
+
else
|
1909
|
+
columns << IBM_DBColumn.new(column_name, column_default_value, column_type, column_nullable)
|
1910
|
+
end
|
1907
1911
|
end
|
1908
1912
|
end
|
1909
1913
|
rescue StandardError => fetch_error # Handle driver fetch errors
|
data/lib/mswin32/rb19x/ibm_db.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.26
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- IBM
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|