Skip to content

Commit 9a8b94f

Browse files
committed
jq: get_latest_version
1 parent 8fdca1d commit 9a8b94f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/docs/scrapers/jq.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ class Jq < UrlScraper
1919
Licensed under the <a href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 license</a>
2020
HTML
2121

22+
def get_latest_version(opts)
23+
get_latest_github_release('stedolan', 'jq', opts).split('-')[1]
24+
end
25+
2226
end
2327
end

0 commit comments

Comments
 (0)