Update response display
This commit is contained in:
		
							parent
							
								
									e4e0b16803
								
							
						
					
					
						commit
						7982e6f3c0
					
				@ -78,9 +78,9 @@ module Homebrew
 | 
			
		||||
      title = (up_to_date?(package_details) ? "#{formula} is up to date!" : formula).to_s
 | 
			
		||||
      ohai title
 | 
			
		||||
      puts "Current formula version:  #{package_details[:current_formula_version]}"
 | 
			
		||||
      puts "Latest Repology version:  #{package_details[:repology_latest_version] || "not found"}"
 | 
			
		||||
      puts "Latest livecheck version: #{package_details[:livecheck_latest_version] || "not found"}"
 | 
			
		||||
      puts "Open pull requests:       #{package_details[:open_pull_requests] || "none"}"
 | 
			
		||||
      puts "Latest Repology version:  #{package_details[:repology_latest_version]}"
 | 
			
		||||
      puts "Latest livecheck version: #{package_details[:livecheck_latest_version]}"
 | 
			
		||||
      puts "Open pull requests:       #{package_details[:open_pull_requests]}"
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
@ -97,9 +97,9 @@ module Repology
 | 
			
		||||
    pull_requests = "none" if pull_requests.blank?
 | 
			
		||||
 | 
			
		||||
    {
 | 
			
		||||
      repology_latest_version:  latest_version,
 | 
			
		||||
      repology_latest_version:  latest_version || "not found",
 | 
			
		||||
      current_formula_version:  current_version.to_s,
 | 
			
		||||
      livecheck_latest_version: livecheck_response[:livecheck_version],
 | 
			
		||||
      livecheck_latest_version: livecheck_response[:livecheck_version] || "not found",
 | 
			
		||||
      open_pull_requests:       pull_requests,
 | 
			
		||||
    }
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user