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
b79c1c97
Commit
b79c1c97
authored
Apr 02, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Installer] Remove duplicates form #installed_specs
parent
848f0e5e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
library_representation.rb
lib/cocoapods/hooks/library_representation.rb
+2
-0
installer.rb
lib/cocoapods/installer.rb
+1
-1
installer_spec.rb
spec/unit/installer_spec.rb
+1
-1
No files found.
lib/cocoapods/hooks/library_representation.rb
View file @
b79c1c97
...
...
@@ -28,6 +28,8 @@ module Pod
#
def
prefix_header_path
library
.
prefix_header_path
UI
.
warn
"LibraryRepresentation#prefix_header_path is deprecated. "
\
"Use the specification `prefix_header_contents` attribute."
end
alias
:prefix_header_filename
:prefix_header_path
...
...
lib/cocoapods/installer.rb
View file @
b79c1c97
...
...
@@ -248,7 +248,7 @@ module Pod
pod_installer
.
install_docs
=
config
.
install_docs?
pod_installer
.
install!
@pod_installers
<<
pod_installer
@installed_specs
.
concat
(
specs_by_platform
.
values
.
flatten
)
@installed_specs
.
concat
(
specs_by_platform
.
values
.
flatten
.
uniq
)
end
# Cleans the sources of the Pods if the config instructs to do so.
...
...
spec/unit/installer_spec.rb
View file @
b79c1c97
...
...
@@ -174,7 +174,7 @@ module Pod
spec
=
fixture_spec
(
'banana-lib/BananaLib.podspec'
)
library
=
Library
.
new
(
nil
)
library
.
specs
=
[
spec
]
@installer
.
stubs
(
:libraries
).
returns
([
library
])
@installer
.
stubs
(
:libraries
).
returns
([
library
,
library
])
@installer
.
instance_variable_set
(
:@installed_specs
,
[])
Installer
::
PodSourceInstaller
.
any_instance
.
stubs
(
:install!
)
@installer
.
send
(
:install_source_of_pod
,
'BananaLib'
)
...
...
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