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
4817c4c0
Commit
4817c4c0
authored
Mar 18, 2012
by
Victor
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #173 from yas375/issue-166
added printing of homepage and source to search results. issue #166
parents
6777a55e
ea129af8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
search.rb
lib/cocoapods/command/search.rb
+7
-0
No files found.
lib/cocoapods/command/search.rb
View file @
4817c4c0
...
@@ -27,6 +27,13 @@ module Pod
...
@@ -27,6 +27,13 @@ module Pod
Source
.
search_by_name
(
@query
.
strip
,
@full_text_search
).
each
do
|
set
|
Source
.
search_by_name
(
@query
.
strip
,
@full_text_search
).
each
do
|
set
|
puts
"==>
#{
set
.
name
}
(
#{
set
.
versions
.
reverse
.
join
(
", "
)
}
)"
puts
"==>
#{
set
.
name
}
(
#{
set
.
versions
.
reverse
.
join
(
", "
)
}
)"
puts
"
#{
set
.
specification
.
summary
.
strip
}
"
puts
"
#{
set
.
specification
.
summary
.
strip
}
"
puts
" Homepage:
#{
set
.
specification
.
homepage
}
"
source
=
set
.
specification
.
source
if
source
url
=
source
[
:git
]
||
source
[
:hg
]
||
source
[
:svn
]
||
source
[
:local
]
puts
" Source:
#{
url
}
"
if
url
end
puts
puts
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