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
c4641c52
Commit
c4641c52
authored
Jul 30, 2013
by
Ian Ynda-Hummel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move tempo repos generated by spec_helper to a repos subdir.
parent
798459a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
temporary_repos.rb
spec/spec_helper/temporary_repos.rb
+1
-1
config_spec.rb
spec/unit/config_spec.rb
+2
-2
No files found.
spec/spec_helper/temporary_repos.rb
View file @
c4641c52
...
@@ -60,7 +60,7 @@ module SpecHelper
...
@@ -60,7 +60,7 @@ module SpecHelper
#--------------------------------------#
#--------------------------------------#
def
tmp_repos_path
def
tmp_repos_path
SpecHelper
.
temporary_directory
+
'cocoapods'
SpecHelper
.
temporary_directory
+
'cocoapods
/master
'
end
end
module_function
:tmp_repos_path
module_function
:tmp_repos_path
...
...
spec/unit/config_spec.rb
View file @
c4641c52
...
@@ -24,7 +24,7 @@ module Pod
...
@@ -24,7 +24,7 @@ module Pod
end
end
it
"returns the path to the deprecated spec-repos dir"
do
it
"returns the path to the deprecated spec-repos dir"
do
@sut
.
repos_dir
.
should
==
Pathname
.
new
(
"~/.cocoapods"
).
expand_path
@sut
.
old_
repos_dir
.
should
==
Pathname
.
new
(
"~/.cocoapods"
).
expand_path
end
end
it
"allows to specify whether the aggressive cache should be used with an environment variable"
do
it
"allows to specify whether the aggressive cache should be used with an environment variable"
do
...
@@ -36,7 +36,7 @@ module Pod
...
@@ -36,7 +36,7 @@ module Pod
it
"allows to specify the home dir with an environment variable"
do
it
"allows to specify the home dir with an environment variable"
do
ENV
[
'CP_HOME_DIR'
]
=
'~/custom_home_dir'
ENV
[
'CP_HOME_DIR'
]
=
'~/custom_home_dir'
@sut
.
cocoapods
_dir
.
should
==
Pathname
.
new
(
"~/custom_home_dir"
).
expand_path
@sut
.
home
_dir
.
should
==
Pathname
.
new
(
"~/custom_home_dir"
).
expand_path
ENV
.
delete
(
'CP_HOME_DIR'
)
ENV
.
delete
(
'CP_HOME_DIR'
)
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