Sha256: f417efe46fd486fcb33a4f29d4e6ed8213418f731d28dafe2f4726732abc7147
Contents?: true
Size: 973 Bytes
Versions: 8
Compression:
Stored size: 973 Bytes
Contents
#-- # Copyright (c) 2008 Jeremy Hinegardner # All rights reserved. See LICENSE and/or COPYING for details. #++ module Amalgalite module SQLite3 module Version # Sqlite3 version number is equal to # MAJOR * 1_000_000 + MINOR * 1_000 + RELEASE # major version number of the SQLite C library MAJOR = (to_i / 1_000_000).freeze # minor version number of the SQLite C library MINOR = ((to_i % 1_000_000) / 1_000).freeze # release version number of the SQLite C library RELEASE = (to_i % 1_000).freeze # # call-seq: # Amalgalite::SQLite3::Version.to_a -> [ MAJOR, MINOR, RELEASE ] # # Return the SQLite C library version number as an array of MAJOR, MINOR, # RELEASE # def self.to_a [ MAJOR, MINOR, RELEASE ] end end # Version of SQLite that ships with Amalgalite VERSION = Version.to_s.freeze end Version.freeze end
Version data entries
8 entries across 8 versions & 1 rubygems