update_check: add support for rubygems.org
This commit is contained in:
parent
56d8f13acb
commit
9ead6eef92
|
@ -66,6 +66,9 @@ update_check() {
|
|||
*download.kde.org/stable/applications*|*download.kde.org/stable/frameworks*|*download.kde.org/stable/plasma*)
|
||||
url="${url%%${version%.*}*}"
|
||||
rx='href="\K[\d\.]+(?=/")';;
|
||||
*rubygems.org*)
|
||||
url="https://rubygems.org/gems/${pkgname#ruby-}"
|
||||
rx='versions/\K[\d\.]+' ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue