Merge pull request #8489 from reitermarkus/document-repology
Document `Repology`.
This commit is contained in:
commit
aa42677dd5
@ -27,5 +27,4 @@ Style/Documentation:
|
||||
- 'utils/shell.rb'
|
||||
- 'utils/spdx.rb'
|
||||
- 'utils/livecheck_formula.rb'
|
||||
- 'utils/repology.rb'
|
||||
- 'version.rb'
|
||||
|
@ -2,10 +2,14 @@
|
||||
|
||||
require "utils/curl"
|
||||
|
||||
# Repology API client.
|
||||
#
|
||||
# @api private
|
||||
module Repology
|
||||
module_function
|
||||
|
||||
MAX_PAGINATION = 15
|
||||
private_constant :MAX_PAGINATION
|
||||
|
||||
def query_api(last_package_in_response = "")
|
||||
last_package_in_response += "/" if last_package_in_response.present?
|
||||
|
Loading…
x
Reference in New Issue
Block a user