lib/space/screen.rb in space-0.0.2 vs lib/space/screen.rb in space-0.0.3
- old
+ new
@@ -7,10 +7,13 @@
end
def render
system 'clear'
puts render_project
- app.repos.each { |repo| puts render_repo(repo) }
+ repos = app.repos.scoped? ? app.repos.self_and_dependencies : app.repos
+ repos.each do |repo|
+ puts render_repo(repo)
+ end
end
private
def render_project