Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							24ae318a3d 
							
						 
					 
					
						
						
							
							Move type annotations into files.  
						
						
						
						
					 
					
						2020-10-10 14:59:39 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							8f468d0c13 
							
						 
					 
					
						
						
							
							Document Descriptions.  
						
						
						
						
					 
					
						2020-08-26 03:13:58 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36dbad3922 
							
						 
					 
					
						
						
							
							Add frozen_string_literal to all files.  
						
						
						
						
					 
					
						2019-04-20 13:27:36 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fe6b78a3f3 
							
						 
					 
					
						
						
							
							Use cache_store for descriptions  
						
						... 
						
						
						
						This makes use of both the existing interfaces and could use the
existing cache file but we'll create a new one and cleanup the old one
to avoid issues and use a more consistent name. 
						
						
					 
					
						2018-10-13 08:22:52 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							e9b9ea49a1 
							
						 
					 
					
						
						
							
							Update to RuboCop 0.59.1.  
						
						
						
						
					 
					
						2018-09-17 03:45:59 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							717032d86d 
							
						 
					 
					
						
						
							
							Use Searchable module.  
						
						
						
						
					 
					
						2018-06-07 14:02:31 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							6fcc5d14de 
							
						 
					 
					
						
						
							
							Simplify strings for search.  
						
						
						
						
					 
					
						2018-06-07 13:50:10 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							9fca172d03 
							
						 
					 
					
						
						
							
							Fix HOMEBREW_RUBY_WARNINGS="-w"  
						
						... 
						
						
						
						Fix various circular requirements, method redefinitions, etc. 
						
						
					 
					
						2018-04-07 20:28:56 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							175ca909ee 
							
						 
					 
					
						
						
							
							Clean up code style and remove .rubocop_todo.yml.  
						
						
						
						
					 
					
						2017-10-08 16:10:37 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							7a38bab333 
							
						 
					 
					
						
						
							
							Fixup all RuboCop warnings.  
						
						
						
						
					 
					
						2017-05-29 18:43:18 +01:00 
						 
				 
			
				
					
						
							
							
								William Woodruff 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d07b9ed7f2 
							
						 
					 
					
						
						
							
							Replace Utils::JSON with corelib JSON calls.  
						
						
						
						
					 
					
						2016-11-20 20:06:25 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							84b2276fd8 
							
						 
					 
					
						
						
							
							Use guard clauses.  
						
						
						
						
					 
					
						2016-11-13 23:00:47 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							75e8b59aad 
							
						 
					 
					
						
						
							
							Add Formatter module.  
						
						
						
						
					 
					
						2016-10-01 20:00:49 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							6d8ee395fa 
							
						 
					 
					
						
						
							
							Refactor Tty.  
						
						
						
						
					 
					
						2016-10-01 20:00:49 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							4861ee6c2d 
							
						 
					 
					
						
						
							
							Fix Style/Semicolon.  
						
						
						
						
					 
					
						2016-09-23 15:30:07 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							0581dda187 
							
						 
					 
					
						
						
							
							Auto-correct guard clauses.  
						
						
						
						
					 
					
						2016-09-23 15:30:05 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							3982950e61 
							
						 
					 
					
						
						
							
							rubocop --auto-correct all hash-rocket usage.  
						
						
						
						
					 
					
						2016-09-17 16:14:13 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							6693915399 
							
						 
					 
					
						
						
							
							rubocop --auto-correct all remaining files.  
						
						... 
						
						
						
						But remove some manual `.freeze`s on constants that shouldn't be
constants. 
						
						
					 
					
						2016-09-17 16:14:13 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							7c278319ed 
							
						 
					 
					
						
						
							
							descriptions: assume Ruby 2.  
						
						
						
						
					 
					
						2016-08-17 09:19:56 +01:00 
						 
				 
			
				
					
						
							
							
								Josh Hagins 
							
						 
					 
					
						
						
						
						
							
						
						
							abff8a0cc8 
							
						 
					 
					
						
						
							
							desc: print short name unless multiple formulae have the same name  
						
						
						
						
					 
					
						2016-04-16 16:14:15 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							ac80883046 
							
						 
					 
					
						
						
							
							brew search: fix --desc regression  
						
						... 
						
						
						
						Fixes homebrew/homebrew-core#22
Closes  #12 .
Signed-off-by: Andrew Janke <andrew@apjanke.net> 
						
						
					 
					
						2016-04-03 19:49:20 -04:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							e9886cac6c 
							
						 
					 
					
						
						
							
							descriptions: update for core/formula separation  
						
						... 
						
						
						
						Update the description update logic, since now all formulae are in the taps. 
						
						
					 
					
						2016-04-02 21:51:36 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							43ba72fb57 
							
						 
					 
					
						
						
							
							descriptions: use each instead of map  
						
						
						
						
					 
					
						2015-09-10 13:38:51 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							c75207c1e0 
							
						 
					 
					
						
						
							
							desc: print descriptions directly by formulae instead of cache  
						
						... 
						
						
						
						We allow passing formulae by URL, file path, etc whose descriptions won't be cached
Closes  Homebrew/homebrew#43726 .
Signed-off-by: Xu Cheng <xucheng@me.com> 
						
						
					 
					
						2015-09-10 13:37:58 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							65996b5887 
							
						 
					 
					
						
						
							
							use json to cache descriptions  
						
						... 
						
						
						
						We need to use `atomic_write` when saving the cache. And it seems that
CSV module doesn't support dump, so let's use JSON instead. 
						
						
					 
					
						2015-09-10 13:37:58 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							c5536e1e08 
							
						 
					 
					
						
						
							
							Descriptions.cache_formulae: secure formulae loading  
						
						
						
						
					 
					
						2015-09-10 13:37:58 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							71be19235f 
							
						 
					 
					
						
						
							
							Descriptions.cache_fresh?: return early  
						
						
						
						
					 
					
						2015-09-10 13:37:58 +08:00 
						 
				 
			
				
					
						
							
							
								Dan Martinez 
							
						 
					 
					
						
						
						
						
							
						
						
							8374374168 
							
						 
					 
					
						
						
							
							Improve description searching and add a cache.  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#42281 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> 
					
						2015-09-08 15:23:37 +01:00