ruby-odbc 0.99996 → 0.99997

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +4 -0
  3. data/README +2 -2
  4. data/ext/odbc.c +5 -5
  5. data/ruby-odbc.gemspec +1 -1
  6. metadata +18 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7504ee7d8bcf0055aa40cdb22f44a7bf697f3494
4
- data.tar.gz: 10f13522e517035268aaee2af4964911e06068d2
3
+ metadata.gz: fe13750acbbaeb8c33adb7af778eaba01174229d
4
+ data.tar.gz: ab8d5d5837ea84f4dca124994e4db2fdb3cc1c24
5
5
  SHA512:
6
- metadata.gz: b7d6a796455a8bd4e9cdb8dfff99b30424a4cc15a4346a95bdedb7975dcdc48e729090ae7d1c34f589c29d705c8f8b8c1ba153234373f9cf0f75707043922002
7
- data.tar.gz: 3478edc7204561c5b930e203b0879bf93d3d19a15b653750e4395a2b22c9c0ec2de49b37f9b8d45659760acaf0a9584cc91ddcccfb27f441f2334d0523f791b1
6
+ metadata.gz: 99ac5be18b63d180ca059fde5808d654c60f8d4e014ec4903778c56830da517d38f23b63861a91dedde012a3e71b170c6a33bcd18ae70ab1dbc811d25b58a952
7
+ data.tar.gz: ce00b6f94cbc7296f20871853cff5295be26ea9a5b7b39093bf4ba7b36811d932ccc9bcd246014558288adb6aa8f781dcd7c4fed03362e68f48b64f29a1eee70
data/ChangeLog CHANGED
@@ -1,6 +1,10 @@
1
1
  ODBC binding for Ruby
2
2
  ---------------------
3
3
 
4
+ Wed Apr 15 2015 version 0.99997 released
5
+
6
+ * fixed bug (typo) when compiling with Ruby < 2.0
7
+
4
8
  Wed Mar 25 2015 version 0.99996 released
5
9
 
6
10
  * when built for Ruby >= 2.0 release GVL for potentially
data/README CHANGED
@@ -1,6 +1,6 @@
1
- # $Id: README,v 1.43 2015/03/25 10:54:58 chw Exp chw $
1
+ # $Id: README,v 1.44 2015/04/15 13:58:39 chw Exp chw $
2
2
 
3
- ruby-odbc-0.99996
3
+ ruby-odbc-0.99997
4
4
 
5
5
  This is an ODBC binding for Ruby. So far it has been tested with
6
6
 
data/ext/odbc.c CHANGED
@@ -8,7 +8,7 @@
8
8
  * and redistribution of this file and for a
9
9
  * DISCLAIMER OF ALL WARRANTIES.
10
10
  *
11
- * $Id: odbc.c,v 1.76 2015/03/25 10:55:52 chw Exp chw $
11
+ * $Id: odbc.c,v 1.77 2015/04/15 06:03:11 chw Exp chw $
12
12
  */
13
13
 
14
14
  #undef ODBCVER
@@ -1240,7 +1240,7 @@ SQLEXTENDEDFETCH(SQLHSTMT hstmt, SQLUSMALLINT type, SQLROWOFFSET row,
1240
1240
  #define SQLTABLES SQLTables
1241
1241
  #define SQLCOLUMNS SQLColumns
1242
1242
  #define SQLPRIMARYKEYS SQLPrimaryKeys
1243
- #define SQLFOREGINKEYS SQLForeignKeys
1243
+ #define SQLFOREIGNKEYS SQLForeignKeys
1244
1244
  #define SQLPROCEDURES SQLProcedures
1245
1245
  #define SQLPROCEDURECOLUMNS SQLProcedureColumns
1246
1246
  #define SQLTABLEPRIVILEGES SQLTablePrivileges
@@ -4291,7 +4291,7 @@ make_paraminfo(SQLHSTMT hstmt, int nump, char **msgp)
4291
4291
  #ifdef UNICODE
4292
4292
  paraminfo[i].outtype = SQL_WCHAR;
4293
4293
  #else
4294
- paraminfo[i].outtype = SQL_WCHAR;
4294
+ paraminfo[i].outtype = SQL_CHAR;
4295
4295
  #endif
4296
4296
  paraminfo[i].coldef_max = 0;
4297
4297
  if (!succeeded(SQL_NULL_HENV, SQL_NULL_HDBC, hstmt,
@@ -4684,9 +4684,9 @@ make_param(STMT *q, int i)
4684
4684
 
4685
4685
  obj = rb_obj_alloc(Cparam);
4686
4686
  #ifdef UNICODE
4687
- v = q->paraminfo ? q->paraminfo[i].type : SQL_VARCHAR;
4688
- #else
4689
4687
  v = q->paraminfo ? q->paraminfo[i].type : SQL_WVARCHAR;
4688
+ #else
4689
+ v = q->paraminfo ? q->paraminfo[i].type : SQL_VARCHAR;
4690
4690
  #endif
4691
4691
  rb_iv_set(obj, "@type", INT2NUM(v));
4692
4692
  v = q->paraminfo ? q->paraminfo[i].coldef : 0;
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
  spec = Gem::Specification.new do |s|
3
3
  s.name = "ruby-odbc"
4
- s.version = "0.99996"
4
+ s.version = "0.99997"
5
5
  s.date = Date.today.to_s
6
6
  s.author = "Christian Werner"
7
7
  s.email = "chw @nospam@ ch-werner.de"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-odbc
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.99996'
4
+ version: '0.99997'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Werner
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-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: chw @nospam@ ch-werner.de
@@ -24,29 +24,29 @@ extra_rdoc_files:
24
24
  - doc/odbc.html
25
25
  files:
26
26
  - COPYING
27
- - ext/init.c
27
+ - ChangeLog
28
+ - GPL
29
+ - MANIFEST
30
+ - README
31
+ - doc/odbc.html
28
32
  - ext/extconf.rb
33
+ - ext/init.c
29
34
  - ext/odbc.c
30
- - ext/utf8/init.c
31
35
  - ext/utf8/extconf.rb
36
+ - ext/utf8/init.c
32
37
  - ext/utf8/odbc.c
38
+ - lib/cqgen.rb
33
39
  - ruby-odbc.gemspec
34
- - README
35
- - MANIFEST
36
- - doc/odbc.html
37
- - ChangeLog
38
- - test/45delete.rb
39
- - test/20insert.rb
40
+ - test/00connect.rb
40
41
  - test/10create_table.rb
41
- - test/test.rb
42
- - test/50drop_table.rb
42
+ - test/20insert.rb
43
43
  - test/30select.rb
44
- - test/utf8/test.rb
45
- - test/70close.rb
46
44
  - test/40update.rb
47
- - test/00connect.rb
48
- - lib/cqgen.rb
49
- - GPL
45
+ - test/45delete.rb
46
+ - test/50drop_table.rb
47
+ - test/70close.rb
48
+ - test/test.rb
49
+ - test/utf8/test.rb
50
50
  homepage: http://www.ch-werner.de/rubyodbc
51
51
  licenses: []
52
52
  metadata: {}
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.0.0
70
+ rubygems_version: 2.4.5
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: ODBC binding for Ruby