ruby-odbc 0.9998 → 0.9999

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,6 +1,11 @@
1
1
  ODBC binding for Ruby
2
2
  ---------------------
3
3
 
4
+ Thu Feb 18 2010 version 0.9999 released
5
+
6
+ * integrated Bosko Ivanisevic's fixes in ext/utf8/extconf.rb
7
+ and test/test.rb and test/utf8/test.rb
8
+
4
9
  Fri Jan 15 2010 version 0.9998 released
5
10
 
6
11
  * documentation update
data/README CHANGED
@@ -1,6 +1,6 @@
1
- # $Id: README,v 1.36 2010/01/15 09:54:15 chw Exp chw $
1
+ # $Id: README,v 1.37 2010/02/18 12:32:13 chw Exp chw $
2
2
 
3
- ruby-odbc-0.9998
3
+ ruby-odbc-0.9999
4
4
 
5
5
  This is an ODBC binding for Ruby. So far it has been tested with
6
6
 
@@ -1,5 +1,9 @@
1
1
  require 'mkmf'
2
2
 
3
+ if ! defined? PLATFORM
4
+ PLATFORM = RUBY_PLATFORM
5
+ end
6
+
3
7
  def have_library_ex(lib, func="main", headers=nil)
4
8
  checking_for "#{func}() in -l#{lib}" do
5
9
  libs = append_library($libs, lib)
@@ -113,6 +117,11 @@ elsif PLATFORM =~ /(mingw|cygwin)/ then
113
117
  have_library("odbc32", "")
114
118
  have_library("odbccp32", "")
115
119
  have_library("user32", "")
120
+ have_func("SQLConfigDataSourceW", "odbcinst.h")
121
+ have_func("SQLWriteFileDSNW", "odbcinst.h")
122
+ have_func("SQLReadFileDSNW", "odbcinst.h")
123
+ have_func("SQLInstallerError", "odbcinst.h")
124
+ have_func("SQLInstallerErrorW", "odbcinst.h")
116
125
  elsif (testdlopen && PLATFORM !~ /(macos|darwin)/ && CONFIG["CC"] =~ /gcc/ && have_func("dlopen", "dlfcn.h") && have_library("dl", "dlopen")) then
117
126
  $LDFLAGS+=" -Wl,-init -Wl,ruby_odbc_init -Wl,-fini -Wl,ruby_odbc_fini"
118
127
  $CPPFLAGS+=" -DHAVE_SQLCONFIGDATASOURCE"
@@ -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.9998"
4
+ s.version = "0.9999"
5
5
  s.date = Date.today.to_s
6
6
  s.author = "Christian Werner"
7
7
  s.email = "chw @nospam@ ch-werner.de"
@@ -1,4 +1,4 @@
1
- # $Id: test.rb,v 1.6 2004/11/17 07:40:03 chw Exp chw $
1
+ # $Id: test.rb,v 1.7 2010/02/18 12:30:43 chw Exp chw $
2
2
  #
3
3
  # Execute in ruby-odbc top directory.
4
4
  #
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # Test creates and deletes table "test" in that DSN.
8
8
 
9
- require './odbc'
9
+ require 'odbc'
10
10
 
11
11
  $dsn = ARGV.shift
12
12
  $uid = ARGV.shift
@@ -1,4 +1,4 @@
1
- # $Id: test.rb,v 1.2 2004/11/17 07:40:03 chw Exp chw $
1
+ # $Id: test.rb,v 1.3 2010/02/18 12:30:43 chw Exp chw $
2
2
  #
3
3
  # Execute in ruby-odbc utf8 directory.
4
4
  #
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # Test creates and deletes table "test" in that DSN.
8
8
 
9
- require './odbc_utf8'
9
+ require 'odbc_utf8'
10
10
 
11
11
  $dsn = ARGV.shift
12
12
  $uid = ARGV.shift
metadata CHANGED
@@ -1,80 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
3
- specification_version: 1
4
2
  name: ruby-odbc
5
3
  version: !ruby/object:Gem::Version
6
- version: "0.9998"
7
- date: 2010-01-15 00:00:00 +01:00
8
- summary: ODBC binding for Ruby
9
- require_paths:
10
- - lib
11
- - lib
12
- email: chw @nospam@ ch-werner.de
13
- homepage: http://www.ch-werner.de/rubyodbc
14
- rubyforge_project:
15
- description:
16
- autorequire:
17
- default_executable:
18
- bindir: bin
19
- has_rdoc: false
20
- required_ruby_version: !ruby/object:Gem::Version::Requirement
21
- requirements:
22
- - - ">"
23
- - !ruby/object:Gem::Version
24
- version: 0.0.0
25
- version:
4
+ version: "0.9999"
26
5
  platform: ruby
27
- signing_key:
28
- cert_chain:
29
- post_install_message:
30
6
  authors:
31
7
  - Christian Werner
32
- files:
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-02-18 00:00:00 +01:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: chw @nospam@ ch-werner.de
18
+ executables: []
19
+
20
+ extensions:
21
+ - ext/extconf.rb
22
+ - ext/utf8/extconf.rb
23
+ extra_rdoc_files:
24
+ - README
33
25
  - COPYING
34
- - doc
26
+ - ChangeLog
27
+ - GPL
28
+ - doc/odbc.html
29
+ files:
30
+ - lib/cqgen.rb
31
+ - doc/odbc.html
35
32
  - GPL
36
- - lib
37
33
  - ruby-odbc.gemspec
38
- - README
39
34
  - ChangeLog
40
- - ext
41
- - test
42
35
  - MANIFEST
43
- - doc/odbc.html
44
- - lib/cqgen.rb
45
- - ext/utf8
46
- - ext/odbc.c
36
+ - README
47
37
  - ext/init.c
48
- - ext/extconf.rb
49
- - ext/utf8/odbc.c
50
38
  - ext/utf8/init.c
51
39
  - ext/utf8/extconf.rb
52
- - test/00connect.rb
53
- - test/50drop_table.rb
40
+ - ext/utf8/odbc.c
41
+ - ext/extconf.rb
42
+ - ext/odbc.c
43
+ - test/utf8/test.rb
54
44
  - test/test.rb
55
- - test/30select.rb
56
- - test/utf8
57
45
  - test/70close.rb
58
- - test/40update.rb
59
- - test/10create_table.rb
60
46
  - test/20insert.rb
61
- - test/utf8/test.rb
62
- test_files: []
47
+ - test/30select.rb
48
+ - test/10create_table.rb
49
+ - test/00connect.rb
50
+ - test/50drop_table.rb
51
+ - test/40update.rb
52
+ - COPYING
53
+ has_rdoc: true
54
+ homepage: http://www.ch-werner.de/rubyodbc
55
+ licenses: []
63
56
 
57
+ post_install_message:
64
58
  rdoc_options: []
65
59
 
66
- extra_rdoc_files:
67
- - README
68
- - COPYING
69
- - ChangeLog
70
- - GPL
71
- - doc/odbc.html
72
- executables: []
73
-
74
- extensions:
75
- - ext/extconf.rb
76
- - ext/utf8/extconf.rb
60
+ require_paths:
61
+ - lib
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: "0"
68
+ version:
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: "0"
74
+ version:
77
75
  requirements: []
78
76
 
79
- dependencies: []
77
+ rubyforge_project:
78
+ rubygems_version: 1.3.5
79
+ signing_key:
80
+ specification_version: 3
81
+ summary: ODBC binding for Ruby
82
+ test_files: []
80
83