Added a better way of setting/reading the app version; fixed some of the flexbox sizing
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2025-07-28 10:23:51 -04:00
parent d59c75281e
commit 5cc3b8f824
7 changed files with 25 additions and 12 deletions

3
src/appinfo.rb Normal file
View File

@@ -0,0 +1,3 @@
module AppInfo
VERSION = '0.1.0'
end

View File

@@ -8,7 +8,7 @@ module Helpers
end
def app_version()
`git describe --tags`.strip
return AppInfo::VERSION
end
def date_format(date)

View File

@@ -5,6 +5,8 @@ require 'sinatra/json'
require 'sequel'
require 'sqlite3'
require_relative './appinfo'
# Load the Sequel timestamps plugin
Sequel::Model.plugin(:timestamps)
# Initialize Sequel gem for database actions