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
0d3eaa31
Commit
0d3eaa31
authored
May 26, 2017
by
Dimitris Koutsogiorgas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use unique temp folder during lint for parallel execution
parent
5ccfbe23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
CHANGELOG.md
CHANGELOG.md
+4
-0
validator.rb
lib/cocoapods/validator.rb
+1
-1
validator_spec.rb
spec/unit/validator_spec.rb
+1
-1
No files found.
CHANGELOG.md
View file @
0d3eaa31
...
@@ -30,6 +30,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -30,6 +30,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
##### Bug Fixes
*
Use unique temp folder during lint for parallel execuition
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#5117
](
https://github.com/CocoaPods/CocoaPods/issues/5117
)
*
Only check for valid Swift version for pod targets that use Swift
*
Only check for valid Swift version for pod targets that use Swift
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#6733
](
https://github.com/CocoaPods/CocoaPods/pull/6733
)
[
#6733
](
https://github.com/CocoaPods/CocoaPods/pull/6733
)
...
...
lib/cocoapods/validator.rb
View file @
0d3eaa31
...
@@ -242,7 +242,7 @@ module Pod
...
@@ -242,7 +242,7 @@ module Pod
# @return [Pathname] the temporary directory used by the linter.
# @return [Pathname] the temporary directory used by the linter.
#
#
def
validation_dir
def
validation_dir
Pathname
(
Dir
.
tmpdir
)
+
'CocoaPods/Lint'
@validation_dir
||=
Pathname
(
Dir
.
mktmpdir
([
'CocoaPods-Lint-'
,
"-
#{
spec
.
name
}
"
]))
end
end
# @return [String] the SWIFT_VERSION to use for validation.
# @return [String] the SWIFT_VERSION to use for validation.
...
...
spec/unit/validator_spec.rb
View file @
0d3eaa31
...
@@ -88,7 +88,7 @@ module Pod
...
@@ -88,7 +88,7 @@ module Pod
validator
.
quick
=
true
validator
.
quick
=
true
validator
.
stubs
(
:validate_url
)
validator
.
stubs
(
:validate_url
)
validator
.
validate
validator
.
validate
validator
.
validat
ion_dir
.
should
.
be
==
Pathname
.
new
(
Dir
.
tmpdir
)
+
'CocoaPods/Lint'
validator
.
validat
ed?
.
should
.
be
.
true
end
end
describe
'#only_subspec'
do
describe
'#only_subspec'
do
...
...
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