Commit d1511d4c authored by Samuel E. Giddins's avatar Samuel E. Giddins

Revert "[Migrator] Migrate local Ruby podspecs to JSON, allowing updating those pods to work."

This reverts commit 1eb3584a.
parent df183caa
...@@ -28,10 +28,6 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -28,10 +28,6 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Hugo Tunius](https://github.com/K0nserv) [Hugo Tunius](https://github.com/K0nserv)
[#2579](https://github.com/CocoaPods/CocoaPods/issues/2579) [#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 ## 0.36.0.beta.1
......
...@@ -52,15 +52,6 @@ module Pod ...@@ -52,15 +52,6 @@ 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|
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
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment