Commit 554e1951 authored by Fabio Pelosin's avatar Fabio Pelosin

[Command] Remove deprecated pod push

parent 5d85cdd2
...@@ -4,6 +4,12 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -4,6 +4,12 @@ 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 an issue where `pod lib lint` would crash if a podspec couldn't be * Fixes an issue where `pod lib lint` would crash if a podspec couldn't be
......
...@@ -18,9 +18,6 @@ module Pod ...@@ -18,9 +18,6 @@ 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