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
8b4bbf7d
Commit
8b4bbf7d
authored
Apr 01, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3343 from CocoaPods/seg-0.36-migration
[Migrator] Update spec checksums in the manifest
parents
57678a9e
904e1a7c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
CHANGELOG.md
CHANGELOG.md
+9
-2
migrator.rb
lib/cocoapods/installer/migrator.rb
+4
-0
No files found.
CHANGELOG.md
View file @
8b4bbf7d
...
@@ -6,13 +6,20 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -6,13 +6,20 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
## Master
## Master
####
Enhancement
s
####
Bug Fixe
s
*
Unique resources passed to the script generator
*
Unique resources passed to the script generator
.
[
Diego Torres
](
https://github.com/dtorres
)
[
Diego Torres
](
https://github.com/dtorres
)
[
#3315
](
https://github.com/CocoaPods/CocoaPods/issues/3315
)
[
#3315
](
https://github.com/CocoaPods/CocoaPods/issues/3315
)
[
#3327
](
https://github.com/CocoaPods/CocoaPods/issues/3327
)
[
#3327
](
https://github.com/CocoaPods/CocoaPods/issues/3327
)
*
Update the
`Manifest.lock`
when migrating local podspecs to JSON. This fixes
running
`pod install`
after upgrading to
`0.36`
.
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#3292
](
https://github.com/CocoaPods/CocoaPods/issues/3292
)
[
#3299
](
https://github.com/CocoaPods/CocoaPods/issues/3299
)
## 0.36.1
## 0.36.1
[
Xcodeproj
](
https://github.com/CocoaPods/Xcodeproj/compare/0.23.0...0.23.1
)
[
Xcodeproj
](
https://github.com/CocoaPods/Xcodeproj/compare/0.23.0...0.23.1
)
...
...
lib/cocoapods/installer/migrator.rb
View file @
8b4bbf7d
...
@@ -53,13 +53,17 @@ module Pod
...
@@ -53,13 +53,17 @@ module Pod
UI
.
message
(
'Migrating to CocoaPods 0.36'
)
do
UI
.
message
(
'Migrating to CocoaPods 0.36'
)
do
move
(
sandbox
.
root
+
'Headers/Build'
,
sandbox
.
root
+
'Headers/Private'
)
move
(
sandbox
.
root
+
'Headers/Build'
,
sandbox
.
root
+
'Headers/Private'
)
lockfile
=
sandbox
.
manifest
.
to_hash
sandbox
.
specifications_root
.
children
.
each
do
|
child
|
sandbox
.
specifications_root
.
children
.
each
do
|
child
|
next
unless
child
.
basename
.
to_s
=~
/\.podspec$/
next
unless
child
.
basename
.
to_s
=~
/\.podspec$/
spec
=
Specification
.
from_file
(
child
)
spec
=
Specification
.
from_file
(
child
)
child
.
delete
child
.
delete
child
=
Pathname
(
"
#{
child
}
.json"
)
child
=
Pathname
(
"
#{
child
}
.json"
)
File
.
open
(
child
,
'w'
)
{
|
f
|
f
.
write
spec
.
to_pretty_json
}
File
.
open
(
child
,
'w'
)
{
|
f
|
f
.
write
spec
.
to_pretty_json
}
lockfile
[
'SPEC CHECKSUMS'
][
spec
.
name
]
=
Specification
.
from_file
(
child
).
checksum
end
end
sandbox
.
manifest
=
Lockfile
.
new
(
lockfile
)
File
.
open
(
sandbox
.
manifest_path
,
'w'
)
{
|
f
|
f
.
write
sandbox
.
manifest
.
to_yaml
}
end
end
end
end
...
...
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