 2cbce1fbf0
			
		
	
	
		2cbce1fbf0
		
	
	
	
	
		
			
			Add more `odeprecated` calls to places that have been deprecated for a while in the wild and move some of the existing `odeprecated` calls to be `odisabled` to allow deleting the compatibility code.
		
			
				
	
	
		
			24 lines
		
	
	
		
			588 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			588 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| class ScriptFileFormula < Formula
 | |
|   def install
 | |
|     odisabled "ScriptFileFormula#install", "Formula#install"
 | |
|   end
 | |
| end
 | |
| 
 | |
| class GithubGistFormula < ScriptFileFormula
 | |
|   def self.url(_val)
 | |
|     odisabled "GithubGistFormula.url", "Formula.url"
 | |
|   end
 | |
| end
 | |
| 
 | |
| class AmazonWebServicesFormula < Formula
 | |
|   def install
 | |
|     odisabled "AmazonWebServicesFormula#install", "Formula#install"
 | |
|   end
 | |
|   alias standard_install install
 | |
| 
 | |
|   # Use this method to generate standard caveats.
 | |
|   def standard_instructions(_, _)
 | |
|     odisabled "AmazonWebServicesFormula#standard_instructions", "Formula#caveats"
 | |
|   end
 | |
| end
 |