lib/sqlite3/version.rb in sqlite3-0.1.1 vs lib/sqlite3/version.rb in sqlite3-1.3.3.beta.1

- old
+ new

@@ -1,3 +1,25 @@ module SQLite3 - VERSION = "0.1.1" + + VERSION = '1.3.3.beta.1' + + module VersionProxy + + MAJOR = 1 + MINOR = 3 + TINY = 1 + BUILD = nil + + 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