ruby-odbc 0.99996 → 0.99997
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/README +2 -2
- data/ext/odbc.c +5 -5
- data/ruby-odbc.gemspec +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe13750acbbaeb8c33adb7af778eaba01174229d
|
4
|
+
data.tar.gz: ab8d5d5837ea84f4dca124994e4db2fdb3cc1c24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99ac5be18b63d180ca059fde5808d654c60f8d4e014ec4903778c56830da517d38f23b63861a91dedde012a3e71b170c6a33bcd18ae70ab1dbc811d25b58a952
|
7
|
+
data.tar.gz: ce00b6f94cbc7296f20871853cff5295be26ea9a5b7b39093bf4ba7b36811d932ccc9bcd246014558288adb6aa8f781dcd7c4fed03362e68f48b64f29a1eee70
|
data/ChangeLog
CHANGED
data/README
CHANGED
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.
|
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
|
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 =
|
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;
|
data/ruby-odbc.gemspec
CHANGED
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.
|
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-
|
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
|
-
-
|
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
|
-
-
|
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/
|
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/
|
48
|
-
-
|
49
|
-
-
|
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.
|
70
|
+
rubygems_version: 2.4.5
|
71
71
|
signing_key:
|
72
72
|
specification_version: 4
|
73
73
|
summary: ODBC binding for Ruby
|