Commit 389bbb6b authored by Michele's avatar Michele

Last unit test updates for sandbox.

parent 83726076
......@@ -91,7 +91,7 @@ module Pod
def migrate_installation_if_needed
UI.section "Performing existing installation migration" do
migrator = Migrator.new(lockfile.cocoapods_version, sandbox)
migrator = Migrator.new(sandbox)
migrator.migrate!
end
end
......
......@@ -15,16 +15,17 @@ module Pod
#
#
def initialize(installation_version, sandbox)
@installation_version = installation_version
def initialize(sandbox)
@sandbox = sandbox
end
#
#
def migrate!
if sandbox.manifest
migrate_to_0_20 if version_minor('0.20')
end
end
#-----------------------------------------------------------------------#
......@@ -67,6 +68,10 @@ module Pod
installation_version < Version.new(target_version)
end
def installation_version
sandbox.manifest.cocoapods_version
end
def mkdir(path)
path.mkpath
end
......
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