ibm_db 2.5.16-x86-mingw32 → 2.5.17-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,7 +1,15 @@
1
1
  Change Log
2
2
  ==============
3
+ 2014/03/03 (IBM_DB adapter 2.5.17, driver 2.5.14) :
4
+ - Shipping binaries compatible with Ruby 2.0 for linux x86_64 systems (#29871)
5
+ - Fixed #29869
6
+ - Support microsecond timestamp.
7
+
8
+ 2014/02/26 (IBM_DB adapter 2.5.16, driver 2.5.14) :
9
+ - Yanked version 2.5.15. Hence using new version number
10
+
3
11
  2014/02/17 (IBM_DB adapter 2.5.15, driver 2.5.14) :
4
- - Re-uploading gem to gemcutter with new version number as 2.5.14 was yanked
12
+ - Yanked version 2.5.14. Hence using new version number
5
13
 
6
14
  2014/02/11 (IBM_DB adapter 2.5.14, driver 2.5.14) :
7
15
  - Support for Rails 4
@@ -1,2 +1,3 @@
1
1
  require (RUBY_PLATFORM =~ /mswin32/ || RUBY_PLATFORM =~ /mingw32/ ) ? 'mswin32/ibm_db' : 'ibm_db.so'
2
+ require 'active_record'
2
3
  require 'active_record/connection_adapters/ibm_db_adapter'
@@ -619,7 +619,9 @@ module ActiveRecord
619
619
  when /DB2\//i # DB2 for Linux, Unix and Windows (LUW)
620
620
  case server_info.DBMS_VER
621
621
  when /09.07/i # DB2 Version 9.7 (Cobra)
622
- @servertype = IBM_DB2_LUW_COBRA.new(self, isAr3)
622
+ @servertype = IBM_DB2_LUW_COBRA.new(self, @isAr3)
623
+ when /10./i #DB2 version 10.1 and above
624
+ @servertype = IBM_DB2_LUW_COBRA.new(self, @isAr3)
623
625
  else # DB2 Version 9.5 or below
624
626
  @servertype = IBM_DB2_LUW.new(self, @isAr3)
625
627
  end
@@ -1374,7 +1376,16 @@ module ActiveRecord
1374
1376
  # QUOTING
1375
1377
  #==============================================
1376
1378
 
1377
- #Praveen
1379
+ # Quote date/time values for use in SQL input.
1380
+ # Includes microseconds, if the value is a Time responding to usec.
1381
+ def quoted_date(value) #:nodoc:
1382
+ if value.respond_to?(:usec)
1383
+ "#{super}.#{sprintf("%06d", value.usec)}"
1384
+ else
1385
+ super
1386
+ end
1387
+ end
1388
+
1378
1389
  def quote_value_for_pstmt(value, column=nil)
1379
1390
 
1380
1391
  return value.quoted_id if value.respond_to?(:quoted_id)
metadata CHANGED
@@ -1,27 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibm_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.16
4
+ version: 2.5.17
5
+ prerelease:
5
6
  platform: x86-mingw32
6
7
  authors:
7
8
  - IBM
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-02-26 00:00:00.000000000 Z
12
+ date: 2014-03-02 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activerecord
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: 1.15.1
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 1.15.1
27
30
  description:
@@ -82,28 +85,29 @@ files:
82
85
  - test/schema/zOS/ibm_db_specific_schema.rb
83
86
  homepage: http://rubyforge.org/projects/rubyibm/
84
87
  licenses: []
85
- metadata: {}
86
88
  post_install_message:
87
89
  rdoc_options: []
88
90
  require_paths:
89
91
  - lib
90
92
  required_ruby_version: !ruby/object:Gem::Requirement
93
+ none: false
91
94
  requirements:
92
- - - '>='
95
+ - - ! '>='
93
96
  - !ruby/object:Gem::Version
94
97
  version: 1.8.6
95
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
+ none: false
96
100
  requirements:
97
- - - '>='
101
+ - - ! '>='
98
102
  - !ruby/object:Gem::Version
99
103
  version: '0'
100
104
  requirements:
101
105
  - ActiveRecord, at least 1.15.1
102
106
  rubyforge_project: rubyibm
103
- rubygems_version: 2.0.14
107
+ rubygems_version: 1.8.23
104
108
  signing_key:
105
- specification_version: 4
106
- summary: 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
109
+ specification_version: 3
110
+ summary: ! 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
107
111
  DB2 on zOS, DB2 on i5/OS, Informix (IDS)}'
108
112
  test_files:
109
113
  - test/ibm_db_test.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 84f173231a637d041cd8dc97181a4dba15aca218
4
- data.tar.gz: 87f7d62428cf68da42806f554edf88d8dae5ac69
5
- SHA512:
6
- metadata.gz: 32395af5a881968d3ae716110a4a31a2ca0fda91eb04b2ac1ad6d6e352cf46247bffe0f105c44e5b81dd540a7a5075b76a604908c0555eddf9ea0c08adaaf66d
7
- data.tar.gz: a87331f5f48a3468a7904dc7c16f79d7bbe7f2b03db37634b7b7f21d8fbd1e49b718bcac27823bbb4aa5c0dc2c154b6a139b28148301cbf0dd213ae62170078c