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
2b7afa5e
Commit
2b7afa5e
authored
Sep 11, 2011
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cleaning
parent
f679d65f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
set.rb
lib/cocoa_pods/specification/set.rb
+1
-3
No files found.
lib/cocoa_pods/specification/set.rb
View file @
2b7afa5e
...
@@ -69,10 +69,8 @@ module Pod
...
@@ -69,10 +69,8 @@ module Pod
end
end
alias_method
:inspect
,
:to_s
alias_method
:inspect
,
:to_s
private
# Returns Pod::Version instances, for each version directory, sorted from
# Returns Pod::Version instances, for each version directory, sorted from
#
lowest version to high
est.
#
highest version to low
est.
def
versions
def
versions
@pod_dir
.
children
.
map
{
|
v
|
Version
.
new
(
v
.
basename
)
}.
sort
.
reverse
@pod_dir
.
children
.
map
{
|
v
|
Version
.
new
(
v
.
basename
)
}.
sort
.
reverse
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