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
0bc82f0a
Commit
0bc82f0a
authored
Nov 30, 2013
by
Joshua Kalpin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove silent from the options for search as per @alloy's suggestion
parent
8cd43db4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
search.rb
lib/cocoapods/command/search.rb
+1
-1
search_spec.rb
spec/functional/command/search_spec.rb
+1
-1
No files found.
lib/cocoapods/command/search.rb
View file @
0bc82f0a
...
@@ -17,7 +17,7 @@ module Pod
...
@@ -17,7 +17,7 @@ module Pod
[
"--stats"
,
"Show additional stats (like GitHub watchers and forks)"
],
[
"--stats"
,
"Show additional stats (like GitHub watchers and forks)"
],
[
"--ios"
,
"Restricts the search to Pods supported on iOS"
],
[
"--ios"
,
"Restricts the search to Pods supported on iOS"
],
[
"--osx"
,
"Restricts the search to Pods supported on OS X"
]
[
"--osx"
,
"Restricts the search to Pods supported on OS X"
]
].
concat
(
super
)
].
concat
(
super
.
reject
{
|
option
,
_
|
option
==
'--silent'
}
)
end
end
def
initialize
(
argv
)
def
initialize
(
argv
)
...
...
spec/functional/command/search_spec.rb
View file @
0bc82f0a
...
@@ -46,7 +46,7 @@ module Pod
...
@@ -46,7 +46,7 @@ module Pod
output
.
should
.
not
.
include?
'BananaLib'
output
.
should
.
not
.
include?
'BananaLib'
end
end
it
"
gives output when the silent config is true
"
do
it
"
outputs with the silent parameter
"
do
output
=
run_command
(
'search'
,
'BananaLib'
,
'--silent'
)
output
=
run_command
(
'search'
,
'BananaLib'
,
'--silent'
)
output
.
should
.
include?
'BananaLib'
output
.
should
.
include?
'BananaLib'
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