lib/skippy/lib_source.rb in skippy-0.5.1.a vs lib/skippy/lib_source.rb in skippy-0.5.2.a
- old
+ new
@@ -5,10 +5,11 @@
require 'pathname'
require 'uri'
require 'skippy/error'
require 'skippy/library'
+require 'skippy/os'
class Skippy::LibrarySource
attr_reader :origin, :options
@@ -91,9 +92,11 @@
private
# @param [String] source
def resolve(source)
+ os = Skippy::OS.new
+ source = os.normalize_path(source)
if git_source?(source)
resolve_from_git_uri(source)
elsif lib_name?(source)
resolve_from_lib_name(source, @project.sources)
else