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
db45e7a6
Commit
db45e7a6
authored
Feb 17, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3147 from CocoaPods/seg-podspec-migrator
Migrate local Ruby podspecs to JSON
parents
546557cc
3e82d50f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
CHANGELOG.md
CHANGELOG.md
+4
-0
migrator.rb
lib/cocoapods/installer/migrator.rb
+8
-0
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
No files found.
CHANGELOG.md
View file @
db45e7a6
...
@@ -53,6 +53,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -53,6 +53,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[
Samuel Giddins
][
https://github.com/segiddins
]
[
Samuel Giddins
][
https://github.com/segiddins
]
[
#3141
](
https://github.com/CocoaPods/CocoaPods/issues/3141
)
[
#3141
](
https://github.com/CocoaPods/CocoaPods/issues/3141
)
*
Migrate local Ruby podspecs to JSON, allowing updating those pods to work.
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#3038
](
https://github.com/CocoaPods/CocoaPods/issues/3038
)
## 0.36.0.beta.2
## 0.36.0.beta.2
...
...
lib/cocoapods/installer/migrator.rb
View file @
db45e7a6
...
@@ -52,6 +52,14 @@ module Pod
...
@@ -52,6 +52,14 @@ module Pod
def
migrate_to_0_36
(
sandbox
)
def
migrate_to_0_36
(
sandbox
)
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'
)
sandbox
.
specifications_root
.
children
.
each
do
|
child
|
next
unless
child
.
basename
.
to_s
=~
/\.podspec$/
spec
=
Specification
.
from_file
(
child
)
child
.
delete
child
=
Pathname
(
"
#{
child
}
.json"
)
child
.
write
(
spec
.
to_pretty_json
)
end
end
end
end
end
...
...
cocoapods-integration-specs
@
a6bbd0cb
Subproject commit
05d1f9a8e4f28691c5c5fd5a68a2634763b54bba
Subproject commit
a6bbd0cbc48c3038cd9374c3b7b259a2505ab067
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