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
446771ef
Commit
446771ef
authored
May 21, 2014
by
Ash Furrow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closes #2136.
parent
ddfd715f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletion
+25
-1
CHANGELOG.md
CHANGELOG.md
+7
-0
outdated.rb
lib/cocoapods/command/outdated.rb
+1
-1
outdated_spec.rb
spec/functional/command/outdated_spec.rb
+17
-0
No files found.
CHANGELOG.md
View file @
446771ef
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
To install or update CocoaPods see this
[
guide
](
http://docs.cocoapods.org/guides/installing_cocoapods.html
)
.
To install or update CocoaPods see this
[
guide
](
http://docs.cocoapods.org/guides/installing_cocoapods.html
)
.
## Master
*
Fixed
`pod outdated`
to not include subspecs.
[
Ash Furrow
](
ashfurrow]
[
#2136
](
https://github.com/CocoaPods/CocoaPods/issues/2136
)
## 0.33.1
## 0.33.1
##### Bug Fixes
##### Bug Fixes
...
...
lib/cocoapods/command/outdated.rb
View file @
446771ef
...
@@ -56,7 +56,7 @@ module Pod
...
@@ -56,7 +56,7 @@ module Pod
spec_sets
.
map
do
|
set
|
spec_sets
.
map
do
|
set
|
spec
=
set
.
specification
spec
=
set
.
specification
source_version
=
set
.
versions
.
first
source_version
=
set
.
versions
.
first
pod_name
=
spec
.
name
pod_name
=
spec
.
root
.
name
lockfile_version
=
lockfile
.
version
(
pod_name
)
lockfile_version
=
lockfile
.
version
(
pod_name
)
if
source_version
>
lockfile_version
if
source_version
>
lockfile_version
[
pod_name
,
lockfile_version
,
source_version
]
[
pod_name
,
lockfile_version
,
source_version
]
...
...
spec/functional/command/outdated_spec.rb
View file @
446771ef
...
@@ -18,6 +18,23 @@ module Pod
...
@@ -18,6 +18,23 @@ module Pod
end
end
end
end
it
'tells the user only about podspecs that have no parent'
do
spec
=
Specification
.
new
(
nil
,
'BlocksKit'
)
subspec
=
Specification
.
new
(
spec
,
'UIKit'
)
set
=
mock
set
.
stubs
(
:versions
).
returns
([
'2.0'
])
set
.
stubs
(
:specification
).
returns
(
spec
)
subset
=
mock
subset
.
stubs
(
:specification
).
returns
(
subspec
)
subset
.
stubs
(
:versions
).
returns
([
'2.0'
])
version
=
mock
version
.
stubs
(
:version
).
returns
(
'1.0'
)
Command
::
Outdated
.
any_instance
.
stubs
(
:spec_sets
).
returns
([
set
,
subset
])
Command
::
Outdated
.
any_instance
.
stubs
(
:lockfile
).
returns
(
version
)
run_command
(
'outdated'
,
'--no-repo-update'
)
UI
.
output
.
should
.
not
.
include
(
'UIKit'
)
end
it
'tells the user about deprecated pods'
do
it
'tells the user about deprecated pods'
do
spec
=
Specification
.
new
(
nil
,
'AFNetworking'
)
spec
=
Specification
.
new
(
nil
,
'AFNetworking'
)
spec
.
deprecated_in_favor_of
=
'BlocksKit'
spec
.
deprecated_in_favor_of
=
'BlocksKit'
...
...
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