1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
local noop = function() end
local function get_version_record(i)
__feedmaker_version = i
return {
checkVersion = noop,
getConfigFileName = noop,
getConfigHandler = noop,
getLogger = noop,
getVersionNumber = noop,
getVersionString = noop,
loadConfig = noop,
loadModule = noop,
moveFile = noop,
register = noop,
registerMacro = noop,
registerMacros = noop,
registerTests = noop,
requireModules = noop,
writeConfig = noop,
getUpdaterErrorMsg = noop,
getUpdaterLock = noop,
releaseUpdaterLock = noop,
update = noop,
}
end
return get_version_record
|