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
cdf94bda
Commit
cdf94bda
authored
Jan 03, 2015
by
Kyle Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Rubocop] Enable Style/SelfAssignment
parent
b7532c6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
.rubocop_todo.yml
.rubocop_todo.yml
+0
-4
target_environment_header.rb
lib/cocoapods/generator/target_environment_header.rb
+1
-1
No files found.
.rubocop_todo.yml
View file @
cdf94bda
...
@@ -57,10 +57,6 @@ Style/PercentLiteralDelimiters:
...
@@ -57,10 +57,6 @@ Style/PercentLiteralDelimiters:
Style/RegexpLiteral
:
Style/RegexpLiteral
:
Enabled
:
false
Enabled
:
false
# Offense count: 1
Style/SelfAssignment
:
Enabled
:
false
# Offense count: 28
# Offense count: 28
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
...
...
lib/cocoapods/generator/target_environment_header.rb
View file @
cdf94bda
...
@@ -74,7 +74,7 @@ module Pod
...
@@ -74,7 +74,7 @@ module Pod
def
common_specs
(
specs_by_configuration
)
def
common_specs
(
specs_by_configuration
)
result
=
specs_by_configuration
.
values
.
flatten
.
uniq
result
=
specs_by_configuration
.
values
.
flatten
.
uniq
specs_by_configuration
.
values
.
each
do
|
configuration_specs
|
specs_by_configuration
.
values
.
each
do
|
configuration_specs
|
result
=
result
&
configuration_specs
result
&=
configuration_specs
end
end
result
.
sort_by
(
&
:name
)
result
.
sort_by
(
&
:name
)
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