ruby-odbc 0.99991 → 0.99992
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +15 -0
- data/README +2 -2
- data/doc/odbc.html +29 -4
- data/ext/extconf.rb +1 -1
- data/ext/odbc.c +800 -294
- data/ext/utf8/extconf.rb +2 -1
- data/ext/utf8/odbc.c +4 -2
- data/ruby-odbc.gemspec +1 -1
- metadata +2 -2
    
        data/ext/utf8/extconf.rb
    CHANGED
    
    | @@ -48,7 +48,7 @@ have_header("sqlext.h") || begin | |
| 48 48 | 
             
              puts "ERROR: sqlext.h not found"
         | 
| 49 49 | 
             
              exit 1
         | 
| 50 50 | 
             
            end
         | 
| 51 | 
            -
            testdlopen = enable_config("dlopen",  | 
| 51 | 
            +
            testdlopen = enable_config("dlopen", false)
         | 
| 52 52 | 
             
            begin
         | 
| 53 53 | 
             
              if PLATFORM !~ /(mingw|cygwin)/ then
         | 
| 54 54 | 
             
                header = "sqltypes.h"
         | 
| @@ -134,6 +134,7 @@ elsif (testdlopen && PLATFORM !~ /(macos|darwin)/ && CONFIG["CC"] =~ /gcc/ && ha | |
| 134 134 | 
             
              have_func_nolink("SQLReadFileDSNW", "odbcinst.h")
         | 
| 135 135 | 
             
              have_func_nolink("SQLInstallerErrorW", "odbcinst.h")
         | 
| 136 136 | 
             
            else
         | 
| 137 | 
            +
              $CPPFLAGS+=" -DUNICODE -D_UNICODE"
         | 
| 137 138 | 
             
              have_library("odbc", "SQLAllocConnect") ||
         | 
| 138 139 | 
             
                have_library("iodbc", "SQLAllocConnect")
         | 
| 139 140 | 
             
              ($have_odbcinst_h &&
         | 
    
        data/ext/utf8/odbc.c
    CHANGED
    
    | @@ -1,14 +1,16 @@ | |
| 1 1 | 
             
            /*
         | 
| 2 2 | 
             
             * ODBC-Ruby binding
         | 
| 3 | 
            -
             * Copyright (c) 2001- | 
| 3 | 
            +
             * Copyright (c) 2001-2010 Christian Werner <chw@ch-werner.de>
         | 
| 4 4 | 
             
             *
         | 
| 5 5 | 
             
             * See the file "COPYING" for information on usage
         | 
| 6 6 | 
             
             * and redistribution of this file and for a
         | 
| 7 7 | 
             
             * DISCLAIMER OF ALL WARRANTIES.
         | 
| 8 8 | 
             
             *
         | 
| 9 | 
            -
             * $Id: odbc.c,v 1. | 
| 9 | 
            +
             * $Id: odbc.c,v 1.5 2010/09/16 06:47:00 chw Exp chw $
         | 
| 10 10 | 
             
             */
         | 
| 11 11 |  | 
| 12 | 
            +
            #undef  UNICODE
         | 
| 13 | 
            +
            #undef  _UNICODE
         | 
| 12 14 | 
             
            #define UNICODE
         | 
| 13 15 | 
             
            #define _UNICODE
         | 
| 14 16 |  | 
    
        data/ruby-odbc.gemspec
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: ruby-odbc
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              version: "0. | 
| 4 | 
            +
              version: "0.99992"
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors: 
         | 
| 7 7 | 
             
            - Christian Werner
         | 
| @@ -9,7 +9,7 @@ autorequire: | |
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 11 |  | 
| 12 | 
            -
            date: 2010- | 
| 12 | 
            +
            date: 2010-09-16 00:00:00 +02:00
         | 
| 13 13 | 
             
            default_executable: 
         | 
| 14 14 | 
             
            dependencies: []
         | 
| 15 15 |  |