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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fa82dad048d7c93c33dae4954a26e0469db1222
4
- data.tar.gz: d6d4e83771dc15df38c5862c5108c1acd6839f7b
3
+ metadata.gz: 4f203d36d906884d58b39af4a01eaf769d1e9acd
4
+ data.tar.gz: 88c9dd7109d993f25a3e4f22a7d783eefa72b4ca
5
5
  SHA512:
6
- metadata.gz: 931e81c258e2173cf8f4c2ca2474506798401804b9b1d707f35767d7a7aff7ae32ee5c07b69da6b5719c590670212f358629e2fe9a9d8632fd99c862696f5749
7
- data.tar.gz: dd0b7895d67708dd4125151611f811942cb1c2771a3547dfca373046bcac58d6f73145d33ab8f6c3893006a2613277746a9a65dfd3807103ce9642605eff7b11
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2006, 2007, 2008, 2009, 2010 IBM Corporation
1
+ Copyright (c) 2006 - 2015 IBM Corporation
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the "Software"),
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  =====================================================================
2
- README for the IBM_DB Adapter (2.5.25) and Driver (2.5.25) (2015/03/24)
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 - 2012 |
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.25"
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
- void *(*f)(void*) = (void *(*)(void*))func;
692
- rb_thread_call_without_gvl(f, data1, ubf, data2);
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
- cast_type = lookup_cast_type(column_type)
1906
- columns << IBM_DBColumn.new(column_name, column_default_value, cast_type, column_type, column_nullable)
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
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.25
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-03-25 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord