cask: add installed_time to JSON output.
				
					
				
			This is provided for formulae in `installed.time` and is useful to have for casks as well as formulae so let's output it here too.
This commit is contained in:
		
							parent
							
								
									a4b4b90940
								
							
						
					
					
						commit
						54012f14ce
					
				@ -321,6 +321,7 @@ module Cask
 | 
			
		||||
        "appcast"              => appcast,
 | 
			
		||||
        "version"              => version,
 | 
			
		||||
        "installed"            => installed_version,
 | 
			
		||||
        "installed_time"       => install_time&.to_i,
 | 
			
		||||
        "outdated"             => outdated?,
 | 
			
		||||
        "sha256"               => sha256,
 | 
			
		||||
        "artifacts"            => artifacts_list,
 | 
			
		||||
 | 
			
		||||
@ -20,6 +20,7 @@
 | 
			
		||||
  "appcast": null,
 | 
			
		||||
  "version": "1.2.3",
 | 
			
		||||
  "installed": null,
 | 
			
		||||
  "installed_time": null,
 | 
			
		||||
  "outdated": false,
 | 
			
		||||
  "sha256": "c64c05bdc0be845505d6e55e69e696a7f50d40846e76155f0c85d5ff5e7bbb84",
 | 
			
		||||
  "artifacts": [
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user