Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
70709a48
Commit
70709a48
authored
Jun 22, 2015
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Refactor] Rename TargetInspector#inspect! to compute_results
For disambugiation with stdlib's debugging helper #inspect.
parent
dd3663c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
analyzer.rb
lib/cocoapods/installer/analyzer.rb
+1
-1
target_inspector.rb
lib/cocoapods/installer/analyzer/target_inspector.rb
+1
-1
No files found.
lib/cocoapods/installer/analyzer.rb
View file @
70709a48
...
@@ -652,7 +652,7 @@ module Pod
...
@@ -652,7 +652,7 @@ module Pod
UI
.
section
'Inspecting targets to integrate'
do
UI
.
section
'Inspecting targets to integrate'
do
podfile
.
target_definition_list
.
each
do
|
target_definition
|
podfile
.
target_definition_list
.
each
do
|
target_definition
|
inspector
=
TargetInspector
.
new
(
target_definition
,
config
.
installation_root
)
inspector
=
TargetInspector
.
new
(
target_definition
,
config
.
installation_root
)
results
=
inspector
.
inspect!
results
=
inspector
.
compute_results
inspection_result
[
target_definition
]
=
results
inspection_result
[
target_definition
]
=
results
UI
.
message
(
'Using `ARCHS` setting to build architectures of '
\
UI
.
message
(
'Using `ARCHS` setting to build architectures of '
\
"target `
#{
target_definition
.
label
}
`: (`
#{
results
.
archs
.
join
(
'`, `'
)
}
`)"
)
"target `
#{
target_definition
.
label
}
`: (`
#{
results
.
archs
.
join
(
'`, `'
)
}
`)"
)
...
...
lib/cocoapods/installer/analyzer/target_inspector.rb
View file @
70709a48
...
@@ -27,7 +27,7 @@ module Pod
...
@@ -27,7 +27,7 @@ module Pod
#
#
# @return [TargetInspectionResult]
# @return [TargetInspectionResult]
#
#
def
inspect!
def
compute_results
project_path
=
compute_project_path
project_path
=
compute_project_path
user_project
=
Xcodeproj
::
Project
.
open
(
project_path
)
user_project
=
Xcodeproj
::
Project
.
open
(
project_path
)
targets
=
compute_targets
(
user_project
)
targets
=
compute_targets
(
user_project
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment