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
45bde7fc
Commit
45bde7fc
authored
Mar 24, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#188] cleanup
parent
5f8ba914
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
list.rb
lib/cocoapods/command/list.rb
+3
-5
No files found.
lib/cocoapods/command/list.rb
View file @
45bde7fc
...
...
@@ -66,12 +66,10 @@ module Pod
end
def
list_new
#TODO: find the changes of all repos
pods_past
=
pods_at_days_ago
(
@days
)
pods_now
=
pods_at_days_ago
(
0
)
pods_diff
=
pods_now
-
pods_past
#TODO: find the changes for all repos
new_pods
=
pods_at_days_ago
(
0
)
-
pods_at_days_ago
(
@days
)
sets
=
all_pods_sets
.
select
{
|
set
|
new_pods
.
include?
(
set
.
name
)
}
sets
=
all_pods_sets
.
select
{
|
set
|
pods_diff
.
include?
(
set
.
name
)
}
puts
if
sets
.
count
!=
0
puts
"
#{
sets
.
count
}
new pods were added in the last
#{
@days
}
days"
...
...
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