ibm_db 2.5.25 → 2.5.26

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d50152d17a18bc400467f6c85b5689870f688609
4
+ data.tar.gz: e4455dc46f73a6504c4f873fc844332f390118a5
5
+ SHA512:
6
+ metadata.gz: 10a9813e79df57c56f30e64ea859d04b9d482e741c0df19fbb1a17fef89e44638e27cc57eb5a8237d948eb004e16dae9cfe55e987345dbcfcf91ce13f5c093ad
7
+ data.tar.gz: 027918efec7dd30e9ce1ca8ed12668401a327320cc40cb34637c39bc6167c79229ffa7d4c464b3ae42968ccf595a854f0d7ddf0f150529d383f53c53d7fe99d3
data/CHANGES CHANGED
@@ -1,8 +1,12 @@
1
1
  Change Log
2
2
  ==============
3
+
4
+ 2015/04/08 (IBM_DB adapter 2.5.26, driver 2.5.26)
5
+ - Fixed bug#22 - Error 'undefined method lookup_cast_type encountered' with rails version lesser than 4.2
6
+
3
7
  2015/03/24 (IBM_DB adapter 2.5.25, driver 2.5.25)
4
8
  - Support for Rails 4.2.x
5
- - Support for Ruby 2.2.x
9
+ - Support for Ruby 2.2.x on Windows and Linux platform
6
10
 
7
11
  2014/08/03 (IBM_DB adapter 2.5.18, driver 2.5.14) :
8
12
  - 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"
@@ -688,7 +688,12 @@ VALUE ibm_Ruby_Thread_Call(rb_blocking_function_t *func, void *data1, rb_unblock
688
688
  #ifdef RUBY_API_VERSION_MAJOR
689
689
  if( RUBY_API_VERSION_MAJOR >=2 && RUBY_API_VERSION_MINOR >=2)
690
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
691
695
  rb_thread_call_without_gvl(func, data1, ubf, data2);
696
+ #endif
692
697
  }
693
698
  else
694
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
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibm_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.25
5
- prerelease:
4
+ version: 2.5.26
6
5
  platform: ruby
7
6
  authors:
8
7
  - IBM
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-03-26 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activerecord
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.15.1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.15.1
30
27
  description:
@@ -37,91 +34,78 @@ extra_rdoc_files:
37
34
  - README
38
35
  - MANIFEST
39
36
  files:
37
+ - CHANGES
38
+ - LICENSE
39
+ - MANIFEST
40
+ - ParameterizedQueries README
40
41
  - README
41
- - lib/active_record/connection_adapters/ibmdb_adapter.rb
42
+ - ext/Makefile.nt32
43
+ - ext/Makefile.nt32.191
44
+ - ext/extconf.rb
45
+ - ext/ibm_db.c
46
+ - ext/ruby_ibm_db.h
47
+ - ext/ruby_ibm_db_cli.c
48
+ - ext/ruby_ibm_db_cli.h
49
+ - init.rb
50
+ - lib/IBM_DB.rb
42
51
  - lib/active_record/connection_adapters/ibm_db_adapter.rb
43
52
  - lib/active_record/connection_adapters/ibm_db_pstmt.rb
53
+ - lib/active_record/connection_adapters/ibmdb_adapter.rb
44
54
  - lib/active_record/vendor/db2-i5-zOS.yaml
45
- - lib/IBM_DB.rb
46
- - test/connections/native_ibm_db/connection.rb
47
- - test/models/warehouse_thing.rb
55
+ - test/cases/adapter_test.rb
56
+ - test/cases/associations/belongs_to_associations_test.rb
57
+ - test/cases/associations/cascaded_eager_loading_test.rb
58
+ - test/cases/associations/has_and_belongs_to_many_associations_test.rb
59
+ - test/cases/associations/join_model_test.rb
48
60
  - test/cases/attribute_methods_test.rb
61
+ - test/cases/base_test.rb
62
+ - test/cases/calculations_test.rb
63
+ - test/cases/migration_test.rb
64
+ - test/cases/persistence_test.rb
65
+ - test/cases/query_cache_test.rb
49
66
  - test/cases/relations_test.rb
50
67
  - test/cases/schema_dumper_test.rb
51
68
  - test/cases/transaction_callbacks_test.rb
52
- - test/cases/xml_serialization_test.rb
53
69
  - test/cases/validations/uniqueness_validation_test.rb
54
- - test/cases/persistence_test.rb
55
- - test/cases/calculations_test.rb
56
- - test/cases/query_cache_test.rb
57
- - test/cases/migration_test.rb
58
- - test/cases/base_test.rb
59
- - test/cases/associations/belongs_to_associations_test.rb
60
- - test/cases/associations/has_and_belongs_to_many_associations_test.rb
61
- - test/cases/associations/cascaded_eager_loading_test.rb
62
- - test/cases/associations/join_model_test.rb
63
- - test/cases/adapter_test.rb
70
+ - test/cases/xml_serialization_test.rb
64
71
  - test/config.yml
65
- - test/schema/zOS/ibm_db_specific_schema.rb
66
- - test/schema/ids/ibm_db_specific_schema.rb
72
+ - test/connections/native_ibm_db/connection.rb
73
+ - test/ibm_db_test.rb
74
+ - test/models/warehouse_thing.rb
67
75
  - test/schema/i5/ibm_db_specific_schema.rb
68
- - test/schema/schema.rb
76
+ - test/schema/ids/ibm_db_specific_schema.rb
69
77
  - test/schema/luw/ibm_db_specific_schema.rb
70
- - test/ibm_db_test.rb
71
- - ParameterizedQueries README
72
- - ext/ruby_ibm_db.h
73
- - ext/Makefile.nt32
74
- - ext/ruby_ibm_db_cli.c
75
- - ext/ruby_ibm_db_cli.h
76
- - ext/extconf.rb
77
- - ext/ibm_db.c
78
- - ext/Makefile.nt32.191
79
- - LICENSE
80
- - init.rb
81
- - CHANGES
82
- - MANIFEST
78
+ - test/schema/schema.rb
79
+ - test/schema/zOS/ibm_db_specific_schema.rb
83
80
  homepage: https://github.com/ibmdb/ruby-ibmdb
84
81
  licenses: []
85
- post_install_message: ! '
82
+ metadata: {}
83
+ post_install_message: |2+
86
84
 
87
85
  *****************************************************************************
88
-
89
- Successfully installed ibm_db, the Ruby gem for IBM DB2/Informix. The Ruby gem
90
- is licensed under the MIT License. The package also includes IBM ODBC and CLI
91
- Driver from IBM, which could have been automatically downloaded as the Ruby gem
92
- is installed on your system/device. The license agreement to the IBM driver is
93
- available in the folder "$GEM_HOME/ibm_db-*/lib/clidriver/license". Check for additional
94
- dependencies, which may come with their own license agreement(s). Your use of the
95
- components of the package and dependencies constitutes your acceptance of their
96
- respective license agreements. If you do not accept the terms of any license agreement(s),
97
- then delete the relevant component(s) from your system/device.
98
-
86
+ Successfully installed ibm_db, the Ruby gem for IBM DB2/Informix. The Ruby gem is licensed under the MIT License. The package also includes IBM ODBC and CLI Driver from IBM, which could have been automatically downloaded as the Ruby gem is installed on your system/device. The license agreement to the IBM driver is available in the folder "$GEM_HOME/ibm_db-*/lib/clidriver/license". Check for additional dependencies, which may come with their own license agreement(s). Your use of the components of the package and dependencies constitutes your acceptance of their respective license agreements. If you do not accept the terms of any license agreement(s), then delete the relevant component(s) from your system/device.
99
87
  *****************************************************************************
100
88
 
101
-
102
- '
103
89
  rdoc_options: []
104
90
  require_paths:
105
91
  - lib
106
92
  required_ruby_version: !ruby/object:Gem::Requirement
107
- none: false
108
93
  requirements:
109
- - - ! '>='
94
+ - - ">="
110
95
  - !ruby/object:Gem::Version
111
96
  version: 1.8.6
112
97
  required_rubygems_version: !ruby/object:Gem::Requirement
113
- none: false
114
98
  requirements:
115
- - - ! '>='
99
+ - - ">="
116
100
  - !ruby/object:Gem::Version
117
101
  version: '0'
118
102
  requirements:
119
103
  - ActiveRecord, at least 1.15.1
120
104
  rubyforge_project: rubyibm
121
- rubygems_version: 1.8.23.2
105
+ rubygems_version: 2.4.5
122
106
  signing_key:
123
- specification_version: 3
124
- summary: ! 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
107
+ specification_version: 4
108
+ summary: 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
125
109
  DB2 on zOS, DB2 on i5/OS, Informix (IDS)}'
126
110
  test_files:
127
111
  - test/ibm_db_test.rb