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
028a8e2f
Commit
028a8e2f
authored
Jun 01, 2015
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Style] Use hashrockets for named args to make rubocop happy
parent
95bfe7b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
analyzer.rb
lib/cocoapods/installer/analyzer.rb
+2
-2
No files found.
lib/cocoapods/installer/analyzer.rb
View file @
028a8e2f
...
...
@@ -294,7 +294,7 @@ module Pod
# There are different sets of subspecs or the spec is used across different platforms
targets_by_distinctors
.
map
do
|
distinctor
,
target_definitions
|
specs
,
_
=
*
distinctor
generate_pod_target
(
target_definitions
,
specs
,
scoped:
true
)
generate_pod_target
(
target_definitions
,
specs
,
:scoped
=>
true
)
end
else
(
specs
,
_
),
target_definitions
=
targets_by_distinctors
.
first
...
...
@@ -305,7 +305,7 @@ module Pod
specs_by_target
.
flat_map
do
|
target_definition
,
specs
|
grouped_specs
=
specs
.
group_by
.
group_by
(
&
:root
).
values
.
uniq
grouped_specs
.
flat_map
do
|
pod_specs
|
generate_pod_target
([
target_definition
],
pod_specs
,
scoped:
true
)
generate_pod_target
([
target_definition
],
pod_specs
,
:scoped
=>
true
)
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