{"id":20399181,"url":"https://github.com/subintp/ruby-odbc","last_synced_at":"2026-05-10T10:38:18.963Z","repository":{"id":249868674,"uuid":"728226663","full_name":"subintp/ruby-odbc","owner":"subintp","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-06T13:53:01.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-15T11:15:52.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subintp.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-06T13:52:10.000Z","updated_at":"2023-12-06T13:53:05.000Z","dependencies_parsed_at":"2024-07-23T22:14:52.044Z","dependency_job_id":"503e7692-3da6-41b5-a329-92aec2da29f8","html_url":"https://github.com/subintp/ruby-odbc","commit_stats":null,"previous_names":["subintp/ruby-odbc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subintp%2Fruby-odbc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subintp%2Fruby-odbc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subintp%2Fruby-odbc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subintp%2Fruby-odbc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subintp","download_url":"https://codeload.github.com/subintp/ruby-odbc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241946555,"owners_count":20047028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T04:27:29.635Z","updated_at":"2026-05-10T10:38:13.905Z","avatar_url":"https://github.com/subintp.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# $Id: README,v 1.48 2023/09/04 09:50:46 chw Exp chw $\n\nruby-odbc-0.999992\n\nThis is an ODBC binding for Ruby. So far it has been tested with\n\n    - Ruby 1.[6-9], MySQL 3.22/MyODBC (local), unixODBC 2.1.0\n      on Linux 2.2-x86 and 2.6-x86_64\n\n    - Ruby 1.6.4, MySQL 3.22/MyODBC (local), libiodbc 2.50\n      on Linux 2.2-x86\n\n    - Ruby 1.[6-8], MySQL 3.22/MyODBC (remote), MS Jet Engine, MSVC++ 6.0\n      on Windows NT4SP6\n\n    - Ruby 1.6.[3-5], MySQL 3.22/MyODBC (remote), MS Jet Engine, cygwin,\n      on Windows NT4SP6 and 2000\n\n    - Ruby 1.8.*, SQLite/ODBC \u003e= 0.67, libiodbc 3.52.4 on Fedora Core 3 x86\n\n    - Ruby 2.0.0, SQLite/ODBC \u003e= 0.93, unixODBC 2.2.14 on Ubuntu 12.04 x86\n\n    - Ruby \u003e= 2.4\n\n    Michael Neumann \u003cneumann @nospam@ s-direktnet.de\u003e and\n    Will Merrell \u003cwmerrell @nospam@ catalystcorp.com\u003e reported successful\n    compilation with Cygwin on Win32.\n\nRequirements:\n\n    - Ruby 1.6.[3-8] or Ruby \u003e= 1.7\n    - unixODBC 2.x or libiodbc 3.52 on UN*X \n\nInstallation:\n\n    $ ruby -Cext extconf.rb [--enable-dlopen|--disable-dlopen]\n    $ make -C ext\n    # make -C ext install\n\n    --enable/disble-dlopen turns on/off special initialization\n    code to make ruby-odbc agnostic to unixODBC/iODBC driver\n    manager shared library names when GCC is used for compile.\n    In cases where unixODBC or iODBC is installed in non-standard\n    locations, use the option --with-odbc-dir=\u003cnon-standard-location\u003e\n    when running extconf.rb\n\nInstallation of utf8 version:\n\n    $ ruby -Cext/utf8 extconf.rb [--enable-dlopen|--disable-dlopen]\n    $ make -C ext/utf8\n    # make -C ext/utf8 install\n\nInstallation MSVC:\n\n    C:..\u003eruby -Cext extconf.rb\n    C:..\u003ecd ext\n    C:..\u003enmake\n    C:..\u003enmake install\n    C:..\u003eruby -Cutf8 extconf.rb\n    C:..\u003ecd utf8\n    C:..\u003enmake\n    C:..\u003enmake install\n\nTesting:\n\n    $ ruby -Ctest test.rb DSN [uid] [pwd]\n or\n    $ ruby -KU -Ctest/utf8 test.rb DSN [uid] [pwd]\n\nUsage:\n\n    Refer to doc/odbc.html\n\n    The difference between utf8 and non-utf8 versions are:\n\n      - non-utf8 version uses normal SQL.* ANSI functions\n      - utf8 version uses SQL.*W UNICODE functions and\n        requires/returns all strings in UTF8 format\n\n    Thus, depending on the -K option of ruby one could use\n    that code snippet:\n\n      ...\n      if $KCODE == \"UTF8\" then\n        require 'odbc_utf8'\n      else\n        require 'odbc'\n      fi\n\n    It is also possible to load both non-utf8 and utf8 version\n    into ruby:\n\n      ...\n      # non-utf8 version\n      require 'odbc'\n      # utf8 version\n      require 'odbc_utf8'\n\n    Whichever is loaded first, gets the module name 'ODBC'.\n    The second loaded module will be named 'ODBC_UTF8' (for\n    'odbc_utf8') or 'ODBC_NONE' (for 'odbc'). That should\n    allow to use both versions simultaneously in special\n    situations.\n\nTODO:\n\n    - heavier testing\n    - improve documentation\n\nAuthor:\n\n    Christian Werner\n    mailto:chw @nospam@ ch-werner.de\n    http://www.ch-werner.de/rubyodbc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubintp%2Fruby-odbc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubintp%2Fruby-odbc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubintp%2Fruby-odbc/lists"}