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
86e6e697
Commit
86e6e697
authored
May 06, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3498 from CocoaPods/mr-fix-download-cache
[Cache] Fix the cache to handle re-downloads properly
parents
b4abe85e
7a41272b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
CHANGELOG.md
CHANGELOG.md
+5
-0
cache.rb
lib/cocoapods/downloader/cache.rb
+1
-0
No files found.
CHANGELOG.md
View file @
86e6e697
...
@@ -8,6 +8,11 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -8,6 +8,11 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
##### Bug Fixes
*
[
Cache
]
Fixes a bug that caused that a pod, which was cached once is not updated
correctly when needed e.g. for
`pod spec lint`
.
[
Marius Rackwitz
](
https://github.com/mrackwitz
)
[
#3498
](
https://github.com/CocoaPods/CocoaPods/issues/3498
)
*
Only add the "Embed Pods Frameworks" script for application and unit test targets.
*
Only add the "Embed Pods Frameworks" script for application and unit test targets.
[
Marius Rackwitz
](
https://github.com/mrackwitz
)
[
Marius Rackwitz
](
https://github.com/mrackwitz
)
[
#3440
](
https://github.com/CocoaPods/CocoaPods/issues/3440
)
[
#3440
](
https://github.com/CocoaPods/CocoaPods/issues/3440
)
...
...
lib/cocoapods/downloader/cache.rb
View file @
86e6e697
...
@@ -184,6 +184,7 @@ module Pod
...
@@ -184,6 +184,7 @@ module Pod
def
copy_and_clean
(
source
,
destination
,
spec
)
def
copy_and_clean
(
source
,
destination
,
spec
)
specs_by_platform
=
group_subspecs_by_platform
(
spec
)
specs_by_platform
=
group_subspecs_by_platform
(
spec
)
destination
.
parent
.
mkpath
destination
.
parent
.
mkpath
FileUtils
.
rm_rf
(
destination
)
FileUtils
.
cp_r
(
source
,
destination
)
FileUtils
.
cp_r
(
source
,
destination
)
Pod
::
Installer
::
PodSourcePreparer
.
new
(
spec
,
destination
).
prepare!
Pod
::
Installer
::
PodSourcePreparer
.
new
(
spec
,
destination
).
prepare!
Sandbox
::
PodDirCleaner
.
new
(
destination
,
specs_by_platform
).
clean!
Sandbox
::
PodDirCleaner
.
new
(
destination
,
specs_by_platform
).
clean!
...
...
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