module SQLite3

def self.const_missing(name)

def self.const_missing(name)
  return super unless name == :Version
  warn(<<-eowarn) if $VERBOSE
caller[0]}: SQLite::Version will be removed in sqlite3-ruby version 2.0.0
  eowarn
  VersionProxy
end

def self.threadsafe?; threadsafe > 0; end

Was sqlite3 compiled with thread safety on?
def self.threadsafe?; threadsafe > 0; end