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
80fce21d
Commit
80fce21d
authored
May 12, 2016
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5280 from CocoaPods/update-update-copy
Update copy around updating to the latest build
parents
94d5bd65
46b085f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
sources_manager.rb
lib/cocoapods/sources_manager.rb
+0
-2
sources_manager_spec.rb
spec/unit/sources_manager_spec.rb
+0
-7
No files found.
lib/cocoapods/sources_manager.rb
View file @
80fce21d
...
@@ -141,8 +141,6 @@ module Pod
...
@@ -141,8 +141,6 @@ module Pod
"CocoaPods
#{
latest_cocoapods_version
}
is available."
.
green
,
"CocoaPods
#{
latest_cocoapods_version
}
is available."
.
green
,
"To update use: `
#{
install_message
}
`"
.
green
,
"To update use: `
#{
install_message
}
`"
.
green
,
(
"[!] This is a test version we'd love you to try."
.
yellow
if
rc
),
(
"[!] This is a test version we'd love you to try."
.
yellow
if
rc
),
(
"Until we reach version 1.0 the features of CocoaPods can and will change.
\n
"
\
'We strongly recommend that you use the latest version at all times.'
.
yellow
unless
rc
),
''
,
''
,
'For more information, see https://blog.cocoapods.org '
\
'For more information, see https://blog.cocoapods.org '
\
'and the CHANGELOG for this version at '
\
'and the CHANGELOG for this version at '
\
...
...
spec/unit/sources_manager_spec.rb
View file @
80fce21d
...
@@ -135,13 +135,6 @@ and the repository exists.
...
@@ -135,13 +135,6 @@ and the repository exists.
UI
.
output
.
should
.
match
/CocoaPods 999.0 is available/
UI
.
output
.
should
.
match
/CocoaPods 999.0 is available/
end
end
it
'recommends the user to use the latest stable version'
do
master
=
@sources_manager
.
master
.
first
master
.
stubs
(
:metadata
).
returns
(
Source
::
Metadata
.
new
(
'last'
=>
'999.0'
))
master
.
verify_compatibility!
UI
.
output
.
should
.
match
/We strongly recommend that you use the/
end
it
'skips the update message if the user disabled the notification'
do
it
'skips the update message if the user disabled the notification'
do
config
.
new_version_message
=
false
config
.
new_version_message
=
false
master
=
@sources_manager
.
master
.
first
master
=
@sources_manager
.
master
.
first
...
...
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