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
|
||||
|
||||
VERSION = '0.1.0'
|
||||
|
||||
end
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user