Commit 249a0eea authored by Samuel E. Giddins's avatar Samuel E. Giddins

Remove references to Source#data_provider

parent ed699637
......@@ -7,7 +7,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Core.git
revision: 6f66da3988deae074feaf5e5804e791edcf2b5ad
revision: 159d93cb7576523efaf9856d069f5df23b29e646
branch: master
specs:
cocoapods-core (0.34.1)
......
......@@ -258,7 +258,7 @@ module Pod
def print_sources(sources)
sources.each do |source|
UI.title source.name do
print_source_at_path source.data_provider.repo
print_source_at_path source.repo
end
end
UI.puts "\n"
......
......@@ -191,7 +191,7 @@ module Pod
sources.each do |source|
UI.section "Updating spec repo `#{source.name}`" do
Dir.chdir(source.data_provider.repo) do
Dir.chdir(source.repo) do
begin
output = git!('pull --ff-only')
UI.puts output if show_output && !config.verbose?
......@@ -202,7 +202,7 @@ module Pod
'`pod repo update --verbose`'
end
end
check_version_information(source.data_provider.repo)
check_version_information(source.repo)
end
end
end
......@@ -350,7 +350,7 @@ module Pod
unless specified_source
raise Informative, "Unable to find the `#{name}` repo."
end
unless git_repo?(specified_source.data_provider.repo)
unless git_repo?(specified_source.repo)
raise Informative, "The `#{name}` repo is not a git repo."
end
specified_source
......@@ -360,7 +360,7 @@ module Pod
#
def git_sources
all.select do |source|
git_repo?(source.data_provider.repo)
git_repo?(source.repo)
end
end
......
......@@ -121,7 +121,7 @@ EOS
def repo_information
SourcesManager.all.map do |source|
next unless source.type == 'file system'
repo = source.data_provider.repo
repo = source.repo
Dir.chdir(repo) do
url = `git config --get remote.origin.url 2>&1`.strip
sha = `git rev-parse HEAD 2>&1`.strip
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment