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
c3a755bf
Unverified
Commit
c3a755bf
authored
May 04, 2016
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Spec::Lint] Don't recurse to find podspecs
parent
f80bb0a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
CHANGELOG.md
CHANGELOG.md
+5
-0
lint.rb
lib/cocoapods/command/spec/lint.rb
+1
-1
No files found.
CHANGELOG.md
View file @
c3a755bf
...
...
@@ -16,6 +16,11 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#5236
](
https://github.com/CocoaPods/CocoaPods/issues/5236
)
*
Don't recurse into child directories to find podspecs when running
`pod spec lint`
.
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#5244
](
https://github.com/CocoaPods/CocoaPods/issues/5244
)
## 1.0.0.rc.1 (2016-04-30)
...
...
lib/cocoapods/command/spec/lint.rb
View file @
c3a755bf
...
...
@@ -99,7 +99,7 @@ module Pod
end
files
<<
output_path
elsif
(
pathname
=
Pathname
.
new
(
path
)).
directory?
files
+=
Pathname
.
glob
(
pathname
+
'*
*/*
.podspec{.json,}'
)
files
+=
Pathname
.
glob
(
pathname
+
'*.podspec{.json,}'
)
raise
Informative
,
'No specs found in the current directory.'
if
files
.
empty?
else
files
<<
(
pathname
=
Pathname
.
new
(
path
))
...
...
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