Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed search and iterate over each source and corresponding pod_set.

Thanks to @alloy
  • Loading branch information...
commit a8c7f085c2593a2f2f6efc3388f1b874905913cc 1 parent 8c8c6de
@chriseidhof chriseidhof authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 lib/cocoapods/command/list.rb
View
10 lib/cocoapods/command/list.rb
@@ -13,10 +13,12 @@ def initialize(argv)
end
def run
- Source.search_by_name('', false).each do |set|
- puts "==> #{set.name} (#{set.versions.reverse.join(", ")})"
- puts " #{set.specification.summary.strip}"
- puts
+ Source.all.each do |source|
+ source.pod_sets.each do |set|
+ puts "==> #{set.name} (#{set.versions.reverse.join(", ")})"
+ puts " #{set.specification.summary.strip}"
+ puts
+ end
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.