Fixed rubocop warnings
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module AppInfo
|
module AppInfo
|
||||||
|
|
||||||
VERSION = '0.1.0'
|
VERSION = '0.1.0'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
# Helpers - view helper functions
|
# Helpers - view helper functions
|
||||||
module Helpers
|
module Helpers
|
||||||
|
|
||||||
def ruby_version()
|
def ruby_version
|
||||||
return RUBY_VERSION
|
return RUBY_VERSION
|
||||||
end
|
end
|
||||||
|
|
||||||
def app_version()
|
def app_version
|
||||||
return AppInfo::VERSION
|
return AppInfo::VERSION
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ require 'sinatra/json'
|
|||||||
require 'sequel'
|
require 'sequel'
|
||||||
require 'sqlite3'
|
require 'sqlite3'
|
||||||
|
|
||||||
require_relative './appinfo'
|
require_relative 'appinfo'
|
||||||
|
|
||||||
# Load the Sequel timestamps plugin
|
# Load the Sequel timestamps plugin
|
||||||
Sequel::Model.plugin(:timestamps)
|
Sequel::Model.plugin(:timestamps)
|
||||||
|
Reference in New Issue
Block a user