Commit ea129af8 authored by Victor Ilyukevich's avatar Victor Ilyukevich

added printing of homepage and source to search results. issue #166

parent 4d5e6cf1
......@@ -27,6 +27,13 @@ module Pod
Source.search_by_name(@query.strip, @full_text_search).each do |set|
puts "==> #{set.name} (#{set.versions.reverse.join(", ")})"
puts " #{set.specification.summary.strip}"
puts " Homepage: #{set.specification.homepage}"
source = set.specification.source
if source
url = source[:git] || source[:hg] || source[:svn] || source[:local]
puts " Source: #{url}" if url
end
puts
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment