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 |
|