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
52b465c9
Commit
52b465c9
authored
Oct 18, 2014
by
Kyle Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[Command] Remove deprecated pod push"
This reverts commit
554e1951
. Conflicts: CHANGELOG.md
parent
4ab76e80
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
CHANGELOG.md
CHANGELOG.md
+0
-6
command.rb
lib/cocoapods/command.rb
+3
-0
push.rb
lib/cocoapods/command/push.rb
+21
-0
No files found.
CHANGELOG.md
View file @
52b465c9
...
@@ -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`
.
...
...
lib/cocoapods/command.rb
View file @
52b465c9
...
@@ -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
...
...
lib/cocoapods/command/push.rb
0 → 100644
View file @
52b465c9
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
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