-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #581 from sparklemotion/flavorjones-version-info
Track metadata in VERSION_INFO
- Loading branch information
Showing
9 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ def self.threadsafe? | |
threadsafe > 0 | ||
end | ||
end | ||
|
||
require "sqlite3/version_info" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
module SQLite3 | ||
# (String) the version of the sqlite3 gem, e.g. "2.1.1" | ||
VERSION = "2.2.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module SQLite3 | ||
# a hash of descriptive metadata about the current version of the sqlite3 gem | ||
VERSION_INFO = { | ||
ruby: RUBY_DESCRIPTION, | ||
gem: { | ||
version: SQLite3::VERSION | ||
}, | ||
sqlite: { | ||
compiled: SQLite3::SQLITE_VERSION, | ||
loaded: SQLite3::SQLITE_LOADED_VERSION, | ||
packaged: SQLite3::SQLITE_PACKAGED_LIBRARIES, | ||
precompiled: SQLite3::SQLITE_PRECOMPILED_LIBRARIES, | ||
sqlcipher: SQLite3.sqlcipher?, | ||
threadsafe: SQLite3.threadsafe? | ||
} | ||
} | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ task :check_manifest do | |
.git | ||
.github | ||
.ruby-lsp | ||
adr | ||
bin | ||
doc | ||
gems | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters