File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ def run
34
34
#!svn(command)
35
35
`svn #{ command } `
36
36
end
37
- SourcesManager . check_version_information ( dir ) #todo: TEST ME
37
+ # SourcesManager.check_version_information(dir) #todo: TEST ME
38
+ Config . instance . sources_manager . sources ( [ dir . basename . to_s ] ) . each ( &:verify_compatibility! ) #todo: TEST ME
38
39
end
39
40
end
40
41
end
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ def run
36
36
dirs = config . repos_dir . children . select { |c | c . directory? }
37
37
end
38
38
dirs . each do |dir |
39
- SourcesManager . check_version_information ( dir ) #todo: test me
39
+ # SourcesManager.check_version_information(dir) #todo: test me
40
+ Config . instance . sources_manager . sources ( [ dir . basename . to_s ] ) . each ( &:verify_compatibility! ) #todo: TEST ME
40
41
UI . puts "\n Linting spec repo `#{ dir . realpath . basename } `\n " . yellow
41
42
42
43
validator = Source ::HealthReporter . new ( dir )
Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ def update(source_name = nil, show_output = false)
68
68
'`pod repo-svn update --verbose`'
69
69
end
70
70
end
71
- SourcesManager . check_version_information ( source . repo )
71
+ # SourcesManager.check_version_information(source.repo)
72
+ Config . instance . sources_manager . sources ( [ source . repo . basename . to_s ] ) . each ( &:verify_compatibility! ) #todo: TEST ME
72
73
end
73
74
end
74
75
end
@@ -93,7 +94,10 @@ def svn_source_named(name)
93
94
# @return [Source] The list of the svn sources.
94
95
#
95
96
def svn_sources
96
- SourcesManager . all . select do |source |
97
+ # SourcesManager.all.select do |source|
98
+ # svn_repo?(source.repo)
99
+ # end
100
+ Config . instance . sources_manager . all . select do |source |
97
101
svn_repo? ( source . repo )
98
102
end
99
103
end
You can’t perform that action at this time.
0 commit comments