version.rb 457 B

12345678910111213141516171819202122232425
  1. module SQLite3
  2. VERSION = '1.3.6'
  3. module VersionProxy
  4. MAJOR = 1
  5. MINOR = 3
  6. TINY = 6
  7. BUILD = nil
  8. STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
  9. #:beta-tag:
  10. VERSION = ::SQLite3::VERSION
  11. end
  12. def self.const_missing(name)
  13. return super unless name == :Version
  14. warn(<<-eowarn) if $VERBOSE
  15. #{caller[0]}: SQLite::Version will be removed in sqlite3-ruby version 2.0.0
  16. eowarn
  17. VersionProxy
  18. end
  19. end