Commit 028a8e2f authored by Marius Rackwitz's avatar Marius Rackwitz

[Style] Use hashrockets for named args to make rubocop happy

parent 95bfe7b1
...@@ -294,7 +294,7 @@ module Pod ...@@ -294,7 +294,7 @@ module Pod
# There are different sets of subspecs or the spec is used across different platforms # There are different sets of subspecs or the spec is used across different platforms
targets_by_distinctors.map do |distinctor, target_definitions| targets_by_distinctors.map do |distinctor, target_definitions|
specs, _ = *distinctor specs, _ = *distinctor
generate_pod_target(target_definitions, specs, scoped: true) generate_pod_target(target_definitions, specs, :scoped => true)
end end
else else
(specs, _), target_definitions = targets_by_distinctors.first (specs, _), target_definitions = targets_by_distinctors.first
...@@ -305,7 +305,7 @@ module Pod ...@@ -305,7 +305,7 @@ module Pod
specs_by_target.flat_map do |target_definition, specs| specs_by_target.flat_map do |target_definition, specs|
grouped_specs = specs.group_by.group_by(&:root).values.uniq grouped_specs = specs.group_by.group_by(&:root).values.uniq
grouped_specs.flat_map do |pod_specs| 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 end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment