Class: Pod::Installer::Analyzer::AnalysisResult
- Inherits:
-
Object
- Object
- Pod::Installer::Analyzer::AnalysisResult
- Defined in:
- lib/cocoapods/installer/analyzer/analysis_result.rb
Instance Attribute Summary collapse
-
#podfile_state ⇒ SpecsState
The states of the Podfile specs.
-
#sandbox_state ⇒ SpecsState
The states of the Sandbox respect the resolved specifications.
-
#specifications ⇒ Array<Specification>
The specifications of the resolved version of Pods that should be installed.
-
#specs_by_target ⇒ Hash{TargetDefinition => Array<Specification>}
The specifications grouped by target.
-
#target_inspections ⇒ Hash{TargetDefinition => Array<TargetInspectionResult>}
The results of inspecting the user targets.
-
#targets ⇒ Array<Target>
The Podfile targets containing library dependencies.
Instance Method Summary collapse
-
#all_user_build_configurations ⇒ Hash{String=>Symbol}
A hash representing all the user build configurations across all integration targets.
Instance Attribute Details
#podfile_state ⇒ SpecsState
Returns the states of the Podfile specs.
7 8 9 |
# File 'lib/cocoapods/installer/analyzer/analysis_result.rb', line 7 def podfile_state @podfile_state end |
#sandbox_state ⇒ SpecsState
Returns the states of the Sandbox respect the resolved specifications.
22 23 24 |
# File 'lib/cocoapods/installer/analyzer/analysis_result.rb', line 22 def sandbox_state @sandbox_state end |
#specifications ⇒ Array<Specification>
Returns the specifications of the resolved version of Pods that should be installed.
17 18 19 |
# File 'lib/cocoapods/installer/analyzer/analysis_result.rb', line 17 def specifications @specifications end |
#specs_by_target ⇒ Hash{TargetDefinition => Array<Specification>}
Returns the specifications grouped by target.
12 13 14 |
# File 'lib/cocoapods/installer/analyzer/analysis_result.rb', line 12 def specs_by_target @specs_by_target end |
#target_inspections ⇒ Hash{TargetDefinition => Array<TargetInspectionResult>}
Returns the results of inspecting the user targets.
31 32 33 |
# File 'lib/cocoapods/installer/analyzer/analysis_result.rb', line 31 def target_inspections @target_inspections end |
#targets ⇒ Array<Target>
Returns The Podfile targets containing library dependencies.
27 28 29 |
# File 'lib/cocoapods/installer/analyzer/analysis_result.rb', line 27 def targets @targets end |
Instance Method Details
#all_user_build_configurations ⇒ Hash{String=>Symbol}
Returns A hash representing all the user build configurations across all integration targets. Each key corresponds to the name of a configuration and its value to its type (‘:debug` or `:release`).
38 39 40 41 42 |
# File 'lib/cocoapods/installer/analyzer/analysis_result.rb', line 38 def all_user_build_configurations targets.reduce({}) do |result, target| result.merge(target.user_build_configurations) end end |