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
09f86af3
Commit
09f86af3
authored
Oct 02, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Outdated] Update for release CocoaPods version
parent
5ea67129
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
CHANGELOG.md
CHANGELOG.md
+7
-0
outdated.rb
lib/cocoapods/command/outdated.rb
+9
-5
No files found.
CHANGELOG.md
View file @
09f86af3
...
@@ -4,6 +4,13 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
...
@@ -4,6 +4,13 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
## Master
## Master
##### Enhancements
*
Make the output of
`pod outdated`
show what running
`pod update`
will do.
Takes into account the sources specified in the
`Podfile`
.
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#2470
](
https://github.com/CocoaPods/CocoaPods/issues/2470
)
##### Bug Fixes
##### Bug Fixes
*
Improved sanitizing of configuration names to avoid generating invalid
*
Improved sanitizing of configuration names to avoid generating invalid
...
...
lib/cocoapods/command/outdated.rb
View file @
09f86af3
...
@@ -29,7 +29,7 @@ module Pod
...
@@ -29,7 +29,7 @@ module Pod
UI
.
section
'The following updates are available:'
do
UI
.
section
'The following updates are available:'
do
updates
.
each
do
|
(
name
,
from_version
,
matching_version
,
to_version
)
|
updates
.
each
do
|
(
name
,
from_version
,
matching_version
,
to_version
)
|
UI
.
puts
"-
#{
name
}
#{
from_version
}
->
#{
matching_version
}
"
\
UI
.
puts
"-
#{
name
}
#{
from_version
}
->
#{
matching_version
}
"
\
"(last version
#{
to_version
}
)"
"(la
te
st version
#{
to_version
}
)"
end
end
end
end
end
end
...
@@ -78,9 +78,13 @@ module Pod
...
@@ -78,9 +78,13 @@ module Pod
def
unlocked_pods
def
unlocked_pods
@unlocked_pods
||=
begin
@unlocked_pods
||=
begin
Installer
::
Analyzer
.
new
(
config
.
sandbox
,
config
.
podfile
).
pods
=
[]
analyze
(
false
).
UI
.
titled_section
(
'Analyzing dependencies'
)
do
specs_by_target
.
values
.
flatten
.
uniq
pods
=
Installer
::
Analyzer
.
new
(
config
.
sandbox
,
config
.
podfile
).
analyze
(
false
).
specs_by_target
.
values
.
flatten
.
uniq
end
pods
end
end
end
end
...
@@ -94,7 +98,7 @@ module Pod
...
@@ -94,7 +98,7 @@ module Pod
def
spec_sets
def
spec_sets
@spec_sets
||=
begin
@spec_sets
||=
begin
aggregate
=
Source
::
Aggregate
.
new
(
analyzer
.
sources
.
map
(
&
:name
)
)
aggregate
=
Source
::
Aggregate
.
new
(
analyzer
.
sources
)
installed_pods
.
map
do
|
pod_name
|
installed_pods
.
map
do
|
pod_name
|
aggregate
.
search
(
Dependency
.
new
(
pod_name
))
aggregate
.
search
(
Dependency
.
new
(
pod_name
))
end
.
compact
.
uniq
end
.
compact
.
uniq
...
...
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