Document Repology.
				
					
				
			This commit is contained in:
		
							parent
							
								
									5cd8b609f7
								
							
						
					
					
						commit
						e5a9072422
					
				@ -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