tiny_tds 1.0.2-x86-mingw32 → 1.0.3-x86-mingw32
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.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -0
- data/ISSUE_TEMPLATE.md +5 -0
- data/README.md +2 -4
- data/VERSION +1 -1
- data/ext/tiny_tds/extconf.rb +6 -2
- data/ext/tiny_tds/extconsts.rb +2 -2
- data/ports/patches/freetds/{1.0rc4 → 1.0rc5}/0001-mingw_missing_inet_pton.diff +0 -0
- metadata +4 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 37b610ac78afd887a26f43a40481d2284ee64950
         | 
| 4 | 
            +
              data.tar.gz: 320474779bbf96d1fde255e945aa192c4c38787e
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4acbf5d57fb7c5d9fdb5f4daf7a3609d5f4d9acc36c1b75321c1eef14a8f3302fb6c9dbbce0df35d11a7986dd3b0dade82ece7d62d47ff64a5580c185a27dfdb
         | 
| 7 | 
            +
              data.tar.gz: 8f83067edfc376804380f5bb75712b3f4b073e363ff5e697f9302d7f85de1cfefd0b947c0447e29f270f879850e4e2caab115e3c923b6c7f3b728f5b5a6891d2
         | 
    
        data/CHANGELOG
    CHANGED
    
    
    
        data/ISSUE_TEMPLATE.md
    ADDED
    
    | @@ -0,0 +1,5 @@ | |
| 1 | 
            +
            Having problems? Have you checked these first:
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            * Are you using FreeTDS 0.95.80 or later? Check `$ tsql -C` to find out.
         | 
| 4 | 
            +
            * If not, please update then uninstall the TinyTDS gem and re-install it.
         | 
| 5 | 
            +
            * Are you using Ubuntu? If so, you may have forgotten to install FreeTDS first.
         | 
    
        data/README.md
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            # TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.
         | 
| 2 2 |  | 
| 3 | 
            -
            [](https://ci.appveyor.com/project/rails-sqlserver/tiny-tds/branch/master) [](https://ci.appveyor.com/project/rails-sqlserver/tiny-tds/branch/master) [](https://rubygems.org/gems/tiny_tds) [](https://gitter.im/rails-sqlserver/activerecord-sqlserver-adapter)
         | 
| 4 4 |  | 
| 5 5 | 
             
            The TinyTDS gem is meant to serve the extremely common use-case of connecting, querying and iterating over results to Microsoft SQL Server or Sybase databases from Ruby using the FreeTDS's DB-Library API.
         | 
| 6 6 |  | 
| @@ -62,9 +62,7 @@ TinyTDS is developed against FreeTDS 0.95, 0.99, and 1.0 current. Our default an | |
| 62 62 |  | 
| 63 63 | 
             
            Our goal is to support every SQL Server data type and covert it to a logical Ruby object. When dates or times are returned, they are instantiated to either `:utc` or `:local` time depending on the query options. Only [datetimeoffset] types are excluded. All strings are associated the to the connection's encoding and all binary data types are associated to Ruby's `ASCII-8BIT/BINARY` encoding.
         | 
| 64 64 |  | 
| 65 | 
            -
            Below is a list of the data types we support when using the 7.3 TDS protocol version.  | 
| 66 | 
            -
             | 
| 67 | 
            -
            Using a lower protocol version will result in these types being returned as strings.
         | 
| 65 | 
            +
            Below is a list of the data types we support when using the 7.3 TDS protocol version. Using a lower protocol version will result in these types being returned as strings.
         | 
| 68 66 |  | 
| 69 67 | 
             
            * [date]
         | 
| 70 68 | 
             
            * [datetime2]
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1.0. | 
| 1 | 
            +
            1.0.3
         | 
    
        data/ext/tiny_tds/extconf.rb
    CHANGED
    
    | @@ -292,13 +292,17 @@ else | |
| 292 292 | 
             
            end
         | 
| 293 293 |  | 
| 294 294 | 
             
            def asplode(lib)
         | 
| 295 | 
            -
               | 
| 295 | 
            +
              msg = "-----\n"
         | 
| 296 | 
            +
              msg << "#{lib} is missing.\n"
         | 
| 297 | 
            +
              msg << "Do you have FreeTDS 0.95.80 or higher installed?\n" if lib == 'freetds'
         | 
| 298 | 
            +
              msg << "-----"
         | 
| 299 | 
            +
              abort(msg)
         | 
| 296 300 | 
             
            end
         | 
| 297 301 |  | 
| 298 302 | 
             
            def freetds_usable?(lib_prefix)
         | 
| 299 303 | 
             
              have_header('sybfront.h') && have_header('sybdb.h') &&
         | 
| 300 304 | 
             
                find_library("#{lib_prefix}sybdb", 'tdsdbopen') &&
         | 
| 301 | 
            -
                find_library("#{lib_prefix} | 
| 305 | 
            +
                find_library("#{lib_prefix}sybdb", 'dbanydatecrack')
         | 
| 302 306 | 
             
            end
         | 
| 303 307 |  | 
| 304 308 | 
             
            # We use freetds, when available already, and fallback to compilation of ports
         | 
    
        data/ext/tiny_tds/extconsts.rb
    CHANGED
    
    | @@ -5,11 +5,11 @@ ICONV_SOURCE_URI = "http://ftp.gnu.org/pub/gnu/libiconv/libiconv-#{ICONV_VERSION | |
| 5 5 | 
             
            OPENSSL_VERSION = ENV['TINYTDS_OPENSSL_VERSION'] || '1.0.2g'
         | 
| 6 6 | 
             
            OPENSSL_SOURCE_URI = "https://www.openssl.org/source/openssl-#{OPENSSL_VERSION}.tar.gz"
         | 
| 7 7 |  | 
| 8 | 
            -
            FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "1. | 
| 8 | 
            +
            FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "1.0rc5"
         | 
| 9 9 | 
             
            FREETDS_VERSION_INFO = Hash.new { |h,k|
         | 
| 10 10 | 
             
              h[k] = {files: "ftp://ftp.freetds.org/pub/freetds/stable/freetds-#{k}.tar.bz2"}
         | 
| 11 11 | 
             
            }
         | 
| 12 | 
            -
            FREETDS_VERSION_INFO['1. | 
| 12 | 
            +
            FREETDS_VERSION_INFO['1.0rc5'] = {files: 'ftp://ftp.freetds.org/pub/freetds/stable/release_candidates/freetds-1.0rc5.tar.bz2'}
         | 
| 13 13 | 
             
            FREETDS_VERSION_INFO['0.99'] = {files: 'ftp://ftp.freetds.org/pub/freetds/current/freetds-dev.0.99.678.tar.gz'}
         | 
| 14 14 | 
             
            FREETDS_VERSION_INFO['0.95'] = {files: 'ftp://ftp.freetds.org/pub/freetds/stable/freetds-0.95.92.tar.gz'}
         | 
| 15 15 | 
             
            FREETDS_SOURCE_URI = FREETDS_VERSION_INFO[FREETDS_VERSION][:files]
         | 
| 
            File without changes
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tiny_tds
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0. | 
| 4 | 
            +
              version: 1.0.3
         | 
| 5 5 | 
             
            platform: x86-mingw32
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Ken Collins
         | 
| @@ -10,7 +10,7 @@ authors: | |
| 10 10 | 
             
            autorequire: 
         | 
| 11 11 | 
             
            bindir: bin
         | 
| 12 12 | 
             
            cert_chain: []
         | 
| 13 | 
            -
            date: 2016-05- | 
| 13 | 
            +
            date: 2016-05-13 00:00:00.000000000 Z
         | 
| 14 14 | 
             
            dependencies:
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 16 16 | 
             
              name: mini_portile2
         | 
| @@ -111,6 +111,7 @@ files: | |
| 111 111 | 
             
            - CHANGELOG
         | 
| 112 112 | 
             
            - CODE_OF_CONDUCT.md
         | 
| 113 113 | 
             
            - Gemfile
         | 
| 114 | 
            +
            - ISSUE_TEMPLATE.md
         | 
| 114 115 | 
             
            - MIT-LICENSE
         | 
| 115 116 | 
             
            - README.md
         | 
| 116 117 | 
             
            - Rakefile
         | 
| @@ -143,7 +144,7 @@ files: | |
| 143 144 | 
             
            - ports/i686-w64-mingw32/bin/libiconv-2.dll
         | 
| 144 145 | 
             
            - ports/i686-w64-mingw32/bin/libsybdb-5.dll
         | 
| 145 146 | 
             
            - ports/i686-w64-mingw32/bin/ssleay32-1.0.2g-i686-w64-mingw32.dll
         | 
| 146 | 
            -
            - ports/patches/freetds/1. | 
| 147 | 
            +
            - ports/patches/freetds/1.0rc5/0001-mingw_missing_inet_pton.diff
         | 
| 147 148 | 
             
            - test/appveyor/dbsetup.ps1
         | 
| 148 149 | 
             
            - test/appveyor/dbsetup.sql
         | 
| 149 150 | 
             
            - test/benchmark/query.rb
         |