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
f4f8e112
Commit
f4f8e112
authored
Nov 30, 2015
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TargetIntegrator] Avoid making helpers public
parent
940f7019
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
user_project_integrator.rb
lib/cocoapods/installer/user_project_integrator.rb
+6
-2
target_integrator.rb
...ds/installer/user_project_integrator/target_integrator.rb
+2
-7
No files found.
lib/cocoapods/installer/user_project_integrator.rb
View file @
f4f8e112
...
...
@@ -119,8 +119,8 @@ module Pod
Config
.
instance
.
with_changes
(
:silent
=>
true
)
do
deintegrator
=
Deintegrator
.
new
all_project_targets
=
target_integrators
.
map
(
&
:user_project
)
.
flat_map
(
&
:native_targets
).
uniq
all_native_targets
=
target
_integrators
.
flat_map
(
&
:native
_targets
).
uniq
all_project_targets
=
user_projects
.
flat_map
(
&
:native_targets
).
uniq
all_native_targets
=
target
s_to_integrate
.
flat_map
(
&
:user
_targets
).
uniq
targets_to_deintegrate
=
all_project_targets
-
all_native_targets
targets_to_deintegrate
.
each
do
|
target
|
deintegrator
.
deintegrate_target
(
target
)
...
...
@@ -130,6 +130,10 @@ module Pod
target_integrators
.
each
(
&
:integrate!
)
end
# Save all user projects.
#
# @return [void]
#
def
save_projects
user_projects
.
each
do
|
project
|
if
project
.
dirty?
...
...
lib/cocoapods/installer/user_project_integrator/target_integrator.rb
View file @
f4f8e112
...
...
@@ -225,9 +225,9 @@ module Pod
end
end
p
ublic
p
rivate
# @!group Helpers
# @!group
Private
Helpers
#---------------------------------------------------------------------#
# @return [Array<PBXNativeTarget>] The list of all the targets that
...
...
@@ -256,11 +256,6 @@ module Pod
target
.
user_project
end
private
# @!group Private Helpers
#---------------------------------------------------------------------#
# @return [Specification::Consumer] the consumer for the specifications.
#
def
spec_consumers
...
...
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