199 Commits

Author SHA1 Message Date
Sam Ford
7f40198506
Make Strategy#page_headers more general purpose 2020-12-19 19:34:26 -05:00
Sam Ford
1bd2be5e04
Rename page_contents to page_content 2020-12-19 19:34:25 -05:00
Sam Ford
f5774c1af4
Sparkle: Use demodulized class name in error text 2020-12-19 19:34:25 -05:00
Markus Reiter
0d7c8c8c61
Revert priority for Git strategy. 2020-12-19 19:34:25 -05:00
Markus Reiter
b8de4e8b21
Simplify strategies. 2020-12-19 19:34:24 -05:00
Markus Reiter
71104a27ef
Pass page directly instead of hash containing :page. 2020-12-19 19:34:24 -05:00
Markus Reiter
1a18742366
Pass headers directly instead of hash containing :headers. 2020-12-19 19:34:24 -05:00
Markus Reiter
3723cd7dec
Remove detection for Sparkle strategy. 2020-12-19 19:34:23 -05:00
Markus Reiter
4aaa2de6c4
Fix syntax. 2020-12-19 19:34:23 -05:00
Markus Reiter
71759035dd
Fix Sparkle detection if content type is missing. 2020-12-19 19:34:23 -05:00
Markus Reiter
75eb6d1780
Add Item for Sparkle strategy. 2020-12-19 19:34:23 -05:00
Markus Reiter
0deceac28c
Allow regex without capture groups. 2020-12-19 19:34:23 -05:00
Markus Reiter
c58fbe000e
Revert priority of GithubLatest strategy. 2020-12-19 19:34:22 -05:00
Markus Reiter
3aa5395f75
Look in more places for URL, short version and version. 2020-12-19 19:34:22 -05:00
Markus Reiter
02849cf3e7
Don't pass nice_version to block. 2020-12-19 19:34:21 -05:00
Markus Reiter
d3e2a98136
Remove debug output. 2020-12-19 19:34:21 -05:00
Markus Reiter
54a3eb2adb
Include item title in Sparkle strategy. 2020-12-19 19:34:21 -05:00
Markus Reiter
d5e1d004e8
Fix Sparkle strategy when only URLs but no versions are found. 2020-12-19 19:34:21 -05:00
Markus Reiter
a8d893f134
Handle Sparkle appcast which specify the version next to the enclosure. 2020-12-19 19:34:20 -05:00
Markus Reiter
5ae726e2b4
Match Sparkle appcasts with HTTPS namespace. 2020-12-19 19:34:20 -05:00
Markus Reiter
82535696fa
Fix code style. 2020-12-19 19:34:20 -05:00
Markus Reiter
cf40f7b8f6
Rename FollowRedirection to HeaderMatch. 2020-12-19 19:34:20 -05:00
Markus Reiter
f76b5f105f
Skip fetching headers if URL has .xml extension. 2020-12-19 19:34:19 -05:00
Markus Reiter
775c2fd245
Clarify error message. 2020-12-19 19:34:19 -05:00
Markus Reiter
9017778326
Don't use Cask::DSL::Version in Sparkle strategy. 2020-12-19 19:34:19 -05:00
Markus Reiter
7555556be8
Support block in PageMatch strategy. 2020-12-19 19:34:18 -05:00
Markus Reiter
aba4eac8ab
Support multiple capture groups in PageMatch strategy. 2020-12-19 19:34:18 -05:00
Markus Reiter
df70296403
Allow extracting file name in FollowRedirection strategy. 2020-12-19 19:34:18 -05:00
Markus Reiter
b3c46ba2b9
Allow extracting URL in Sparkle strategy. 2020-12-19 19:34:17 -05:00
Markus Reiter
51274fb02a
Increase priority of GithubLatest livecheck strategy. 2020-12-19 19:34:17 -05:00
Markus Reiter
c24af82a25
Add Sparkle livecheck strategy. 2020-12-19 19:34:17 -05:00
Markus Reiter
b293acc89b
Add FollowRedirection livecheck strategy. 2020-12-19 19:34:16 -05:00
Markus Reiter
f5d311490c
Add page_headers and page_contents helpers. 2020-12-19 19:34:16 -05:00
Markus Reiter
cbbc932c21 Don't replace string inside of MatchData. 2020-12-19 20:12:42 +01:00
Markus Reiter
4abcfdb7c6 Use more exact regex as URL_MATCH_REGEX for Bitbucket strategy. 2020-12-19 20:12:16 +01:00
Sam Ford
1c8022ef48
Pypi: Update page_url to avoid redirection 2020-12-13 16:21:37 -05:00
Sam Ford
0ab449c577
Hackage: Update page_url to avoid redirection 2020-12-13 16:21:28 -05:00
Sam Ford
5b770e9965
Cpan: Reimplement strategy and improve tests
Co-authored-by: Dario Vladovic <d.vladimyr@gmail.com>
2020-12-11 17:45:03 -05:00
Dario Vladovic
1f30f27c2d
livecheck: CPAN strategy 2020-12-11 17:43:09 -05:00
Sam Ford
28bfa0c93f
GithubLatest: Rework documentation comments 2020-12-05 11:53:50 -05:00
nandahkrishna
d173b57c42
github_latest: modify strategy and tests 2020-12-05 20:37:28 +05:30
nandahkrishna
f96b8e7138
livecheck: add GithubLatest strategy 2020-12-05 20:37:27 +05:30
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes. 2020-12-02 10:43:04 +00:00
Jonathan Chang
556c81b540 rubocop: fix Security/Open 2020-11-10 23:28:31 +11:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Dustin Rodrigues
16d4f51a84 livecheck/pypi: minor edit to PyPI post version 2020-10-02 22:01:35 -04:00
Dustin Rodrigues
6735debcd4 livecheck/pypi: allow post in pypi version 2020-10-02 01:13:51 -04:00
nandahkrishna
f520301180
livecheck migration: add strategies
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-27 20:00:30 +05:30