Update Vendored sqlite3-ruby
This commit is contained in:
parent
9874650e4b
commit
a71e64a172
26 changed files with 6501 additions and 4335 deletions
|
@ -1,4 +1,12 @@
|
|||
require 'sqlite3_api'
|
||||
# support multiple ruby version (fat binaries under windows)
|
||||
begin
|
||||
require 'sqlite3_api'
|
||||
rescue LoadError
|
||||
if RUBY_PLATFORM =~ /mingw|mswin/ then
|
||||
RUBY_VERSION =~ /(\d+.\d+)/
|
||||
require "#{$1}/sqlite3_api"
|
||||
end
|
||||
end
|
||||
|
||||
module SQLite3 ; module Driver ; module Native
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue