 8eba9b86ab
			
		
	
	
		8eba9b86ab
		
			
		
	
	
	
	
		
			
			- Depending on context, I've gone for either "denylist" or "disallow" here. "Disallow" for things in sentences, or actions, and "denylist" for list of things.
		
			
				
	
	
		
			17 lines
		
	
	
		
			463 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			463 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # frozen_string_literal: true
 | |
| 
 | |
| module Cask
 | |
|   module Denylist
 | |
|     def self.reason(name)
 | |
|       case name
 | |
|       when /^adobe-(after|illustrator|indesign|photoshop|premiere)/
 | |
|         "Adobe casks were removed because they are too difficult to maintain."
 | |
|       when /^audacity$/
 | |
|         "Audacity was removed because it is too difficult to download programmatically."
 | |
|       when /^pharo$/
 | |
|         "Pharo developers maintain their own tap."
 | |
|       end
 | |
|     end
 | |
|   end
 | |
| end
 |