lib/cocoapods-schoutedenapus/converter.rb in cocoapods-schoutedenapus-0.0.1 vs lib/cocoapods-schoutedenapus/converter.rb in cocoapods-schoutedenapus-0.0.2
- old
+ new
@@ -15,10 +15,10 @@
end
private
def dependency_to_package(dep)
- set = Pod::SourcesManager.search(dep)
+ set = Pod::Config.instance.sources_manager.search(dep)
Pod::Command::help! "Could not find pod '#{dep.name}'" if set.nil?
url = set.specification.source[:git]
# FIXME: Should use the lowest matching version
major = set.versions.first.major
minor = set.versions.first.minor
\ No newline at end of file