Commit f4f8e112 authored by Samuel Giddins's avatar Samuel Giddins

[TargetIntegrator] Avoid making helpers public

parent 940f7019
...@@ -119,8 +119,8 @@ module Pod ...@@ -119,8 +119,8 @@ module Pod
Config.instance.with_changes(:silent => true) do Config.instance.with_changes(:silent => true) do
deintegrator = Deintegrator.new deintegrator = Deintegrator.new
all_project_targets = target_integrators.map(&:user_project).flat_map(&:native_targets).uniq all_project_targets = user_projects.flat_map(&:native_targets).uniq
all_native_targets = target_integrators.flat_map(&:native_targets).uniq all_native_targets = targets_to_integrate.flat_map(&:user_targets).uniq
targets_to_deintegrate = all_project_targets - all_native_targets targets_to_deintegrate = all_project_targets - all_native_targets
targets_to_deintegrate.each do |target| targets_to_deintegrate.each do |target|
deintegrator.deintegrate_target(target) deintegrator.deintegrate_target(target)
...@@ -130,6 +130,10 @@ module Pod ...@@ -130,6 +130,10 @@ module Pod
target_integrators.each(&:integrate!) target_integrators.each(&:integrate!)
end end
# Save all user projects.
#
# @return [void]
#
def save_projects def save_projects
user_projects.each do |project| user_projects.each do |project|
if project.dirty? if project.dirty?
......
...@@ -225,9 +225,9 @@ module Pod ...@@ -225,9 +225,9 @@ module Pod
end end
end end
public private
# @!group Helpers # @!group Private Helpers
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
# @return [Array<PBXNativeTarget>] The list of all the targets that # @return [Array<PBXNativeTarget>] The list of all the targets that
...@@ -256,11 +256,6 @@ module Pod ...@@ -256,11 +256,6 @@ module Pod
target.user_project target.user_project
end end
private
# @!group Private Helpers
#---------------------------------------------------------------------#
# @return [Specification::Consumer] the consumer for the specifications. # @return [Specification::Consumer] the consumer for the specifications.
# #
def spec_consumers def spec_consumers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment