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
d6604327
Commit
d6604327
authored
Nov 14, 2015
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Installer] Remove dead code
parent
2e892140
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
installer.rb
lib/cocoapods/installer.rb
+0
-12
installer_spec.rb
spec/unit/installer_spec.rb
+0
-2
No files found.
lib/cocoapods/installer.rb
View file @
d6604327
...
@@ -141,7 +141,6 @@ module Pod
...
@@ -141,7 +141,6 @@ module Pod
UI
.
section
'Analyzing dependencies'
do
UI
.
section
'Analyzing dependencies'
do
analyze
(
analyzer
)
analyze
(
analyzer
)
validate_build_configurations
validate_build_configurations
prepare_for_legacy_compatibility
clean_sandbox
clean_sandbox
end
end
end
end
...
@@ -243,17 +242,6 @@ module Pod
...
@@ -243,17 +242,6 @@ module Pod
end
end
end
end
# Prepares the Pods folder in order to be compatible with the most recent
# version of CocoaPods.
#
# @return [void]
#
def
prepare_for_legacy_compatibility
# move_target_support_files_if_needed
# move_Local_Podspecs_to_Podspecs_if_needed
# move_pods_to_sources_folder_if_needed
end
# @return [void] In this step we clean all the folders that will be
# @return [void] In this step we clean all the folders that will be
# regenerated from scratch and any file which might not be
# regenerated from scratch and any file which might not be
# overwritten.
# overwritten.
...
...
spec/unit/installer_spec.rb
View file @
d6604327
...
@@ -99,7 +99,6 @@ module Pod
...
@@ -99,7 +99,6 @@ module Pod
config
.
skip_repo_update
=
true
config
.
skip_repo_update
=
true
@installer
.
unstub
(
:resolve_dependencies
)
@installer
.
unstub
(
:resolve_dependencies
)
@installer
.
stubs
(
:validate_build_configurations
)
@installer
.
stubs
(
:validate_build_configurations
)
@installer
.
stubs
(
:prepare_for_legacy_compatibility
)
@installer
.
stubs
(
:clean_sandbox
)
@installer
.
stubs
(
:clean_sandbox
)
def
@installer
.
run_source_provider_hooks
def
@installer
.
run_source_provider_hooks
@hook_called
=
true
@hook_called
=
true
...
@@ -125,7 +124,6 @@ module Pod
...
@@ -125,7 +124,6 @@ module Pod
@installer
.
podfile
.
stubs
(
:plugins
).
returns
(
plugins_hash
)
@installer
.
podfile
.
stubs
(
:plugins
).
returns
(
plugins_hash
)
@installer
.
unstub
(
:resolve_dependencies
)
@installer
.
unstub
(
:resolve_dependencies
)
@installer
.
stubs
(
:validate_build_configurations
)
@installer
.
stubs
(
:validate_build_configurations
)
@installer
.
stubs
(
:prepare_for_legacy_compatibility
)
@installer
.
stubs
(
:clean_sandbox
)
@installer
.
stubs
(
:clean_sandbox
)
@installer
.
stubs
(
:ensure_plugins_are_installed!
)
@installer
.
stubs
(
:ensure_plugins_are_installed!
)
@installer
.
stubs
(
:analyze
)
@installer
.
stubs
(
:analyze
)
...
...
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