lib/core/plugin/project.rb in nucleon-0.1.7 vs lib/core/plugin/project.rb in nucleon-0.1.8
- old
+ new
@@ -829,10 +829,10 @@
url = $2
revision = $3
logger.debug("Translating project reference: #{provider} #{url} #{revision}")
- if provider && Manager.connection.loaded_plugins(:project).keys.include?(provider.to_sym)
+ if provider && Nucleon.loaded_plugins(:project).keys.include?(provider.to_sym)
klass = Nucleon.class_const([ :nucleon, :project, provider ])
expanded_url = klass.send(:expand_url, url, editable) if klass.respond_to?(:expand_url)
end
expanded_url = url unless expanded_url