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
a28445d0
Commit
a28445d0
authored
May 11, 2015
by
Orta Therox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Appeasing the rubocop / segiddinscop
parent
a0a26baf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
CHANGELOG.md
CHANGELOG.md
+0
-1
installer.rb
lib/cocoapods/installer.rb
+2
-2
pre_install_hooks_context.rb
lib/cocoapods/installer/pre_install_hooks_context.rb
+3
-3
No files found.
CHANGELOG.md
View file @
a28445d0
...
...
@@ -17,7 +17,6 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
does its work, and offers easy access to the sandbox, podfile and lockfile via a
PreInstallHooksContext object. This also renames the post-install hooks from HooksContext
to PostInstallHooksContext.
[
Orta Therox
](
https://github.com/orta
)
[
cocoapods#3540
](
https://github.com/CocoaPods/cocoapods/issues/3409
)
...
...
lib/cocoapods/installer.rb
View file @
a28445d0
...
...
@@ -399,7 +399,7 @@ module Pod
end
end
end
# Runs the registered callbacks for the plugins pre install hooks.
#
# @return [void]
...
...
@@ -408,7 +408,7 @@ module Pod
context
=
PreInstallHooksContext
.
generate
(
sandbox
,
podfile
,
lockfile
)
HooksManager
.
run
(
:pre_install
,
context
,
podfile
.
plugins
)
end
# Performs any post-installation actions
#
# @return [void]
...
...
lib/cocoapods/installer/pre_install_hooks_context.rb
View file @
a28445d0
...
...
@@ -11,15 +11,15 @@ module Pod
# @return [Podfile] The Podfile for the project.
#
attr_accessor
:podfile
# @return [Sandbox] The Sandbox for the project.
#
attr_accessor
:sandbox
# @return [Lockfile] The Lockfile for the project.
#
attr_accessor
:lockfile
# @return [PreInstallHooksContext] Convenience class method to generate the
# static context.
#
...
...
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