aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/descriptions.rb
AgeCommit message (Collapse)Author
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2017-05-29Fixup all RuboCop warnings.Mike McQuaid
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-13Use guard clauses.Markus Reiter
2016-10-01Add `Formatter` module.Markus Reiter
2016-10-01Refactor Tty.Markus Reiter
2016-09-23Fix Style/Semicolon.Markus Reiter
2016-09-23Auto-correct guard clauses.Markus Reiter
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-17rubocop --auto-correct all remaining files.Mike McQuaid
But remove some manual `.freeze`s on constants that shouldn't be constants.
2016-08-17descriptions: assume Ruby 2.Mike McQuaid
2016-04-16desc: print short name unless multiple formulae have the same nameJosh Hagins
2016-04-03brew search: fix `--desc` regressionAndrew Janke
Fixes homebrew/homebrew-core#22 Closes #12. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-02descriptions: update for core/formula separationXu Cheng
Update the description update logic, since now all formulae are in the taps.
2015-09-10descriptions: use each instead of mapXu Cheng
2015-09-10desc: print descriptions directly by formulae instead of cacheXu Cheng
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-10use json to cache descriptionsXu Cheng
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-10Descriptions.cache_formulae: secure formulae loadingXu Cheng
2015-09-10Descriptions.cache_fresh?: return earlyXu Cheng
2015-09-08Improve description searching and add a cache.Dan Martinez
Closes Homebrew/homebrew#42281. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>