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
b6353e40
Commit
b6353e40
authored
Jul 01, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IntegrationSpecs] Sanitize paths from other gems source files
parent
26c4c474
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Gemfile.lock
Gemfile.lock
+2
-2
integration.rb
spec/integration.rb
+6
-0
No files found.
Gemfile.lock
View file @
b6353e40
...
@@ -49,10 +49,10 @@ GIT
...
@@ -49,10 +49,10 @@ GIT
GIT
GIT
remote: https://github.com/CocoaPods/cocoapods-stats.git
remote: https://github.com/CocoaPods/cocoapods-stats.git
revision:
3618f77cdd6540da21a6d79cf0112cf37b441ddb
revision:
565e91a425fcaa26a797115d6fcdeaaa98b4f478
branch: master
branch: master
specs:
specs:
cocoapods-stats (0.5.
0
)
cocoapods-stats (0.5.
1
)
nap (~> 0.8)
nap (~> 0.8)
GIT
GIT
...
...
spec/integration.rb
View file @
b6353e40
...
@@ -119,6 +119,12 @@ describe_cli 'pod' do
...
@@ -119,6 +119,12 @@ describe_cli 'pod' do
s
.
replace_pattern
/
#{
Dir
.
tmpdir
}
\/[\w-]+/i
,
'TMPDIR'
s
.
replace_pattern
/
#{
Dir
.
tmpdir
}
\/[\w-]+/i
,
'TMPDIR'
s
.
replace_pattern
/\d{4}-\d\d-\d\d \d\d:\d\d:\d\d [-+]\d{4}/
,
'<#DATE#>'
s
.
replace_pattern
/\d{4}-\d\d-\d\d \d\d:\d\d:\d\d [-+]\d{4}/
,
'<#DATE#>'
s
.
replace_pattern
/\(Took \d+.\d+ seconds\)/
,
'(Took <#DURATION#> seconds)'
s
.
replace_pattern
/\(Took \d+.\d+ seconds\)/
,
'(Took <#DURATION#> seconds)'
s
.
replace_path
%r{
`[^`]*? # The opening backtick on a plugin path
([[[:alnum:]]_+-]+) # The plugin name
(- ([[:xdigit:]]+ |
#{
Gem
::
Version
::
VERSION_PATTERN
}
))? # The version or SHA
/lib/cocoapods_plugin.rb # The actual plugin file that gets loaded
}ix
,
'`\1/lib/cocoapods_plugin.rb'
end
end
describe
'Pod install'
do
describe
'Pod install'
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