Class: Pod::Command::IPC::List
- Inherits:
-
Pod::Command::IPC
- Object
- CLAide::Command
- Pod::Command
- Pod::Command::IPC
- Pod::Command::IPC::List
- Defined in:
- lib/cocoapods/command/inter_process_communication.rb
Overview
———————————————————————–#
Instance Method Summary collapse
Methods inherited from Pod::Command::IPC
Methods inherited from Pod::Command
#ensure_master_spec_repo_exists!, #initialize, options, report_error, run
Methods included from Pod::Config::Mixin
Constructor Details
This class inherits a constructor from Pod::Command
Instance Method Details
#run ⇒ Object
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/cocoapods/command/inter_process_communication.rb', line 80 def run require 'yaml' sets = SourcesManager.aggregate.all_sets result = {} sets.each do |set| begin spec = set.specification result[spec.name] = { 'authors' => spec..keys, 'summary' => spec.summary, 'description' => spec.description, 'platforms' => spec.available_platforms.map { |p| p.name.to_s }, } rescue DSLError next end end output_pipe.puts result.to_yaml end |