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
aad38343
Commit
aad38343
authored
Sep 25, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Analyzer] Clarify the deprecation message of implicit sources
Thanks @alloy
parent
185624b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
analyzer.rb
lib/cocoapods/installer/analyzer.rb
+3
-3
No files found.
lib/cocoapods/installer/analyzer.rb
View file @
aad38343
...
@@ -376,9 +376,9 @@ module Pod
...
@@ -376,9 +376,9 @@ module Pod
if
sources
.
empty?
if
sources
.
empty?
SourcesManager
.
all
.
tap
do
|
all
|
SourcesManager
.
all
.
tap
do
|
all
|
UI
.
warn
all
.
reduce
(
"The use of implicit sources has been "
\
UI
.
warn
all
.
reduce
(
"The use of implicit sources has been "
\
"deprecated. To
replicate the previous behavior, add the
"
\
"deprecated. To
continue using all of the sources currently
"
\
"
following to your Podfile:"
)
\
"
on your machine, add the following to the top of your "
\
{
|
w
,
s
|
w
<<
"
\n
source '
#{
s
.
url
}
'"
}
"Podfile:
\n
"
)
{
|
w
,
s
|
w
<<
"
\n
source '
#{
s
.
url
}
'"
}
+
"
\n
"
end
end
else
else
sources
.
map
do
|
url
|
sources
.
map
do
|
url
|
...
...
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