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
502de5a5
Commit
502de5a5
authored
Aug 25, 2013
by
Marin Usalj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made namespacing safer
parent
5e81227e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
command.rb
lib/cocoapods/command.rb
+1
-1
list.rb
lib/cocoapods/command/list.rb
+1
-1
search.rb
lib/cocoapods/command/search.rb
+1
-1
No files found.
lib/cocoapods/command.rb
View file @
502de5a5
...
...
@@ -56,7 +56,7 @@ module Pod
def
self
.
report_error
(
exception
)
if
exception
.
is_a?
(
Interrupt
)
puts
"[!] Cancelled"
.
red
Config
.
instance
.
verbose?
?
raise
:
exit
(
1
)
Pod
::
Config
.
instance
.
verbose?
?
raise
:
exit
(
1
)
else
if
ENV
[
'COCOA_PODS_ENV'
]
!=
'development'
puts
UI
::
ErrorReport
.
report
(
exception
)
...
...
lib/cocoapods/command/list.rb
View file @
502de5a5
...
...
@@ -48,7 +48,7 @@ module Pod
dates
,
groups
=
{},
{}
days
.
each
{
|
d
|
dates
[
d
]
=
Time
.
now
-
60
*
60
*
24
*
d
}
sets
=
SourcesManager
.
all_sets
statistics_provider
=
Config
.
instance
.
spec_statistics_provider
statistics_provider
=
Pod
::
Config
.
instance
.
spec_statistics_provider
creation_dates
=
statistics_provider
.
creation_dates
(
sets
)
sets
.
each
do
|
set
|
...
...
lib/cocoapods/command/search.rb
View file @
502de5a5
...
...
@@ -43,7 +43,7 @@ module Pod
sets
.
reject!
{
|
set
|
!
set
.
specification
.
available_platforms
.
map
(
&
:name
).
include?
(
:osx
)
}
end
statistics_provider
=
Config
.
instance
.
spec_statistics_provider
statistics_provider
=
Pod
::
Config
.
instance
.
spec_statistics_provider
sets
.
each
do
|
set
|
begin
if
@stats
...
...
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