Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
389bbb6b
Commit
389bbb6b
authored
Jun 03, 2013
by
Michele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Last unit test updates for sandbox.
parent
83726076
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
installer.rb
lib/cocoapods/installer.rb
+1
-1
migrator.rb
lib/cocoapods/installer/migrator.rb
+8
-3
No files found.
lib/cocoapods/installer.rb
View file @
389bbb6b
...
@@ -91,7 +91,7 @@ module Pod
...
@@ -91,7 +91,7 @@ module Pod
def
migrate_installation_if_needed
def
migrate_installation_if_needed
UI
.
section
"Performing existing installation migration"
do
UI
.
section
"Performing existing installation migration"
do
migrator
=
Migrator
.
new
(
lockfile
.
cocoapods_version
,
sandbox
)
migrator
=
Migrator
.
new
(
sandbox
)
migrator
.
migrate!
migrator
.
migrate!
end
end
end
end
...
...
lib/cocoapods/installer/migrator.rb
View file @
389bbb6b
...
@@ -15,15 +15,16 @@ module Pod
...
@@ -15,15 +15,16 @@ module Pod
#
#
#
#
def
initialize
(
installation_version
,
sandbox
)
def
initialize
(
sandbox
)
@installation_version
=
installation_version
@sandbox
=
sandbox
@sandbox
=
sandbox
end
end
#
#
#
#
def
migrate!
def
migrate!
migrate_to_0_20
if
version_minor
(
'0.20'
)
if
sandbox
.
manifest
migrate_to_0_20
if
version_minor
(
'0.20'
)
end
end
end
#-----------------------------------------------------------------------#
#-----------------------------------------------------------------------#
...
@@ -67,6 +68,10 @@ module Pod
...
@@ -67,6 +68,10 @@ module Pod
installation_version
<
Version
.
new
(
target_version
)
installation_version
<
Version
.
new
(
target_version
)
end
end
def
installation_version
sandbox
.
manifest
.
cocoapods_version
end
def
mkdir
(
path
)
def
mkdir
(
path
)
path
.
mkpath
path
.
mkpath
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment