PatchBot/modules/Lazydocker.php
2020-12-16 21:38:37 +01:00

14 lines
367 B
PHP

<?php
class Lazydocker extends PatchBase {
function __construct() {
parent::__construct('Jesse Duffield', 'lazydocker', 'https://github.com/jesseduffield/lazydocker');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/jesseduffield/lazydocker/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>