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
fcf06acd
Commit
fcf06acd
authored
Jan 24, 2015
by
clarkda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Analyzer] Only update git sourced spec repos
parent
e5c13c9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
analyzer_spec.rb
spec/unit/installer/analyzer_spec.rb
+6
-1
No files found.
spec/unit/installer/analyzer_spec.rb
View file @
fcf06acd
...
...
@@ -83,12 +83,17 @@ module Pod
pod
'BananaLib'
,
'1.0'
end
config
.
skip_repo_update
=
false
config
.
verbose
=
true
source
=
Source
.
new
(
non_git_repo
)
SourcesManager
.
expects
(
:update
).
never
analyzer
=
Pod
::
Installer
::
Analyzer
.
new
(
config
.
sandbox
,
podfile
,
nil
)
analyzer
.
stubs
(
:sources
).
returns
([
Source
.
new
(
non_git_repo
)
])
analyzer
.
stubs
(
:sources
).
returns
([
source
])
analyzer
.
analyze
UI
.
output
.
should
.
match
/Skipping `
#{
source
.
name
}
` update because the repository is not a git source repository./
FileUtils
.
rm_rf
(
non_git_repo
)
end
...
...
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