Commit 52b465c9 authored by Kyle Fuller's avatar Kyle Fuller

Revert "[Command] Remove deprecated pod push"

This reverts commit 554e1951.

Conflicts:
	CHANGELOG.md
parent 4ab76e80
...@@ -4,12 +4,6 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -4,12 +4,6 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
## Master ## Master
##### Enhacements
* The `pod push` has been removed as it has been deprecated in favour of `pod
repo push` in CocoaPods 0.33.
[Fabio Pelosin](https://github.com/fabiopelosin)
##### Bug Fixes ##### Bug Fixes
* Fixes a crash when running `pod outdated`. * Fixes a crash when running `pod outdated`.
......
...@@ -18,6 +18,9 @@ module Pod ...@@ -18,6 +18,9 @@ module Pod
require 'cocoapods/command/spec' require 'cocoapods/command/spec'
require 'cocoapods/command/init' require 'cocoapods/command/init'
# TODO: remove
require 'cocoapods/command/push'
self.abstract_command = true self.abstract_command = true
self.command = 'pod' self.command = 'pod'
self.version = VERSION self.version = VERSION
......
module Pod
class Command
class Push < Command
self.summary = 'Temporary alias for the `pod repo push` command'
def initialize(argv)
@push_command = Repo::Push.new(argv)
super
end
def validate!
UI.puts '[!] The `pod push` command has been moved to `pod repo push`.'.ansi.yellow
@push_command.validate!
end
def run
@push_command.run
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