lib/sqlite3/version.rb



module SQLite3

  VERSION = "1.5.0.rc1"

  module VersionProxy

    MAJOR = 1
    MINOR = 5
    TINY  = 0
    BUILD = "rc1"

    STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
    #:beta-tag:

    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