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
e7453f1d
Commit
e7453f1d
authored
Mar 24, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#188] Cleanup
parent
762400ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
16 deletions
+3
-16
list.rb
lib/cocoapods/command/list.rb
+3
-15
search.rb
lib/cocoapods/command/search.rb
+0
-1
No files found.
lib/cocoapods/command/list.rb
View file @
e7453f1d
# from https://github.com/aanand/deadweight
begin
require
'colored'
rescue
LoadError
class
String
%w(red green blue yellow)
.
each
do
|
color
|
define_method
(
color
)
{
self
}
end
end
end
module
Pod
module
Pod
class
Command
class
Command
class
List
<
Command
class
List
<
Command
include
DisplayPods
include
DisplayPods
def
self
.
banner
def
self
.
banner
%{List all pods:
%{List all pods:
$ pod list
[DAYS]
$ pod list
Lists all available pods.
Lists all available pods.
...
@@ -27,6 +14,7 @@ module Pod
...
@@ -27,6 +14,7 @@ module Pod
Lists the pods introduced in the master repo since the given number of days.}
Lists the pods introduced in the master repo since the given number of days.}
end
end
def
self
.
options
def
self
.
options
" --stats Show additional stats (like GitHub watchers and forks)
\n
"
+
" --stats Show additional stats (like GitHub watchers and forks)
\n
"
+
super
super
...
...
lib/cocoapods/command/search.rb
View file @
e7453f1d
module
Pod
module
Pod
class
Command
class
Command
class
Search
<
Command
class
Search
<
Command
include
DisplayPods
include
DisplayPods
def
self
.
banner
def
self
.
banner
...
...
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