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
1f99b4ea
Commit
1f99b4ea
authored
Oct 05, 2015
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PodspecFinder] Only consider toplevel podspecs
parent
17fcb6d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
podspec_finder.rb
lib/cocoapods/sandbox/podspec_finder.rb
+1
-1
No files found.
lib/cocoapods/sandbox/podspec_finder.rb
View file @
1f99b4ea
...
@@ -10,7 +10,7 @@ module Pod
...
@@ -10,7 +10,7 @@ module Pod
def
podspecs
def
podspecs
return
@specs_by_name
if
@specs_by_name
return
@specs_by_name
if
@specs_by_name
@specs_by_name
=
{}
@specs_by_name
=
{}
spec_files
=
Pathname
.
glob
(
root
+
'{,*
,*/*
}.podspec{,.json}'
)
spec_files
=
Pathname
.
glob
(
root
+
'{,*}.podspec{,.json}'
)
spec_files
.
sort_by
{
|
p
|
-
p
.
to_path
.
split
(
File
::
SEPARATOR
).
size
}.
each
do
|
file
|
spec_files
.
sort_by
{
|
p
|
-
p
.
to_path
.
split
(
File
::
SEPARATOR
).
size
}.
each
do
|
file
|
begin
begin
spec
=
Specification
.
from_file
(
file
)
spec
=
Specification
.
from_file
(
file
)
...
...
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