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
4064048d
Commit
4064048d
authored
Oct 18, 2013
by
Marin Usalj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned some stuff
parent
853cccc1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
15 deletions
+6
-15
downloader.rb
lib/cocoapods/downloader.rb
+1
-0
installer_representation.rb
lib/cocoapods/hooks/installer_representation.rb
+3
-14
pre_flight.rb
spec/spec_helper/pre_flight.rb
+1
-1
installer_representation_spec.rb
spec/unit/hooks/installer_representation_spec.rb
+1
-0
No files found.
lib/cocoapods/downloader.rb
View file @
4064048d
...
@@ -57,3 +57,4 @@ module Pod
...
@@ -57,3 +57,4 @@ module Pod
end
end
end
end
end
end
lib/cocoapods/hooks/installer_representation.rb
View file @
4064048d
...
@@ -13,7 +13,7 @@ module Pod
...
@@ -13,7 +13,7 @@ module Pod
UI
.
warn
"TargetDefinition#copy_resources_script_name is deprecated. "
\
UI
.
warn
"TargetDefinition#copy_resources_script_name is deprecated. "
\
"The value is accessible directly from the representation of the "
\
"The value is accessible directly from the representation of the "
\
"library using the #copy_resources_script_path method."
"library using the #copy_resources_script_path method."
Config
.
instance
.
sandbox
.
root
+
"
#{
label
}
-resources.sh"
Pod
::
Config
::
Environment
.
instance
.
sandbox
.
root
+
"
#{
label
}
-resources.sh"
end
end
end
end
...
@@ -23,6 +23,8 @@ module Pod
...
@@ -23,6 +23,8 @@ module Pod
#
#
class
InstallerRepresentation
class
InstallerRepresentation
include
Pod
::
Config
public
public
# @!group Public Hooks API
# @!group Public Hooks API
...
@@ -98,19 +100,6 @@ module Pod
...
@@ -98,19 +100,6 @@ module Pod
# The interface of the following objects might change at any time.
# The interface of the following objects might change at any time.
# If there some information which is needed, please open an issue.
# If there some information which is needed, please open an issue.
# @return [Sandbox] sandbox the sandbox where the support files should
# be generated.
#
def
sandbox
installer
.
sandbox
end
# @return [Config] The config singleton used for the installation.
#
def
config
Config
.
instance
end
# @return [Installer] The installer described by this instance.
# @return [Installer] The installer described by this instance.
#
#
attr_reader
:installer
attr_reader
:installer
...
...
spec/spec_helper/pre_flight.rb
View file @
4064048d
...
@@ -8,7 +8,7 @@ module Bacon
...
@@ -8,7 +8,7 @@ module Bacon
environment
.
stubs
(
:repos_dir
).
returns
(
fixture
(
'spec-repos'
))
environment
.
stubs
(
:repos_dir
).
returns
(
fixture
(
'spec-repos'
))
environment
.
stubs
(
:installation_root
).
returns
(
SpecHelper
.
temporary_directory
)
environment
.
stubs
(
:installation_root
).
returns
(
SpecHelper
.
temporary_directory
)
environment
.
stubs
(
:
home_dir
).
returns
(
SpecHelper
.
temporary_directory
)
environment
.
stubs
(
:
verbose
).
returns
(
true
)
config
.
stubs
(
:silent
).
returns
(
true
)
config
.
stubs
(
:silent
).
returns
(
true
)
config
.
stubs
(
:skip_repo_update
).
returns
(
true
)
config
.
stubs
(
:skip_repo_update
).
returns
(
true
)
...
...
spec/unit/hooks/installer_representation_spec.rb
View file @
4064048d
...
@@ -80,3 +80,4 @@ module Pod
...
@@ -80,3 +80,4 @@ module Pod
end
end
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