Add ESPurna

This commit is contained in:
Steffen Lange 2020-02-06 14:34:37 +01:00
parent 5678222910
commit 17f93182f2

14
modules/ESPurna.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class ESPurna extends PatchBase {
function __construct() {
parent::__construct('Xose Pérez', 'ESPurna', 'https://github.com/xoseperez/espurna');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/xoseperez/espurna/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>