lib/sqlite3/version.rb



module SQLite3

  VERSION = "1.7.1"

  module VersionProxy
    MAJOR = 1
    MINOR = 7
    TINY  = 1
    BUILD = nil

    STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )

    VERSION = ::SQLite3::VERSION
  end

  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
end