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
d1511d4c
Commit
d1511d4c
authored
Jan 15, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[Migrator] Migrate local Ruby podspecs to JSON, allowing updating those pods to work."
This reverts commit
1eb3584a
.
parent
df183caa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
CHANGELOG.md
CHANGELOG.md
+0
-4
migrator.rb
lib/cocoapods/installer/migrator.rb
+0
-9
No files found.
CHANGELOG.md
View file @
d1511d4c
...
...
@@ -28,10 +28,6 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[
Hugo Tunius
](
https://github.com/K0nserv
)
[
#2579
](
https://github.com/CocoaPods/CocoaPods/issues/2579
)
*
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.1
...
...
lib/cocoapods/installer/migrator.rb
View file @
d1511d4c
...
...
@@ -52,15 +52,6 @@ module Pod
def
migrate_to_0_36
(
sandbox
)
UI
.
message
(
'Migrating to CocoaPods 0.36'
)
do
move
(
sandbox
.
root
+
'Headers/Build'
,
sandbox
.
root
+
'Headers/Private'
)
sandbox
.
specifications_root
.
children
.
each
do
|
child
|
unless
child
.
ext_name
.
end_with?
(
'json'
)
spec
=
Specification
.
from_file
(
child
)
child
.
delete
new_path
=
child
.
to_path
.
gsub
(
/.json$/
,
''
)
Pathname
(
new_path
).
write
(
spec
.
to_pretty_json
)
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