Fixed rubocop warnings
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-07-28 10:57:40 -04:00
parent b593ef7593
commit 85dfdb163a
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
# frozen_string_literal: true
module AppInfo
VERSION = '0.1.0'
end

View File

@ -3,11 +3,11 @@
# Helpers - view helper functions
module Helpers
def ruby_version()
def ruby_version
return RUBY_VERSION
end
def app_version()
def app_version
return AppInfo::VERSION
end

View File

@ -5,7 +5,7 @@ require 'sinatra/json'
require 'sequel'
require 'sqlite3'
require_relative './appinfo'
require_relative 'appinfo'
# Load the Sequel timestamps plugin
Sequel::Model.plugin(:timestamps)