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
b7532c6f
Commit
b7532c6f
authored
Jan 03, 2015
by
Kyle Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Rubocop] Enable Style/TrailingWhitespace
parent
45704437
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
12 deletions
+7
-12
.rubocop_todo.yml
.rubocop_todo.yml
+0
-5
sources_manager.rb
lib/cocoapods/sources_manager.rb
+1
-1
spec_spec.rb
spec/functional/command/spec_spec.rb
+3
-3
installer_spec.rb
spec/unit/installer_spec.rb
+2
-2
project_spec.rb
spec/unit/project_spec.rb
+1
-1
No files found.
.rubocop_todo.yml
View file @
b7532c6f
...
...
@@ -73,11 +73,6 @@ Style/SpaceInsideHashLiteralBraces:
Style/TrailingComma
:
Enabled
:
false
# Offense count: 17
# Cop supports --auto-correct.
Style/TrailingWhitespace
:
Enabled
:
false
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
...
...
lib/cocoapods/sources_manager.rb
View file @
b7532c6f
...
...
@@ -415,7 +415,7 @@ module Pod
# # sourceforge-artsy-specs
#
# @example A file URL
#
#
# name_for_url('file:///Artsy/Specs.git')
# # artsy-specs
#
...
...
spec/functional/command/spec_spec.rb
View file @
b7532c6f
...
...
@@ -272,7 +272,7 @@ module Pod
end
end
end
describe
Command
::
Spec
::
Which
do
it_should_check_for_existence
(
'which'
)
it_should_check_for_ambiguity
(
'which'
)
...
...
@@ -291,7 +291,7 @@ module Pod
describe
Command
::
Spec
::
Cat
do
it_should_check_for_existence
(
'cat'
)
it_should_check_for_ambiguity
(
'cat'
)
it
'cats the given podspec'
do
lambda
{
command
(
'spec'
,
'cat'
,
'AFNetworking'
).
run
}.
should
.
not
.
raise
UI
.
output
.
should
.
include
fixture
(
'spec-repos/master/Specs/AFNetworking/2.4.1/AFNetworking.podspec.json'
).
read
...
...
@@ -319,7 +319,7 @@ module Pod
it_should_check_for_existence
(
'edit'
)
it_should_check_for_ambiguity
(
'edit'
)
it
'would execute the editor specified in ENV with the given podspec'
do
ENV
[
'EDITOR'
]
=
'podspeceditor'
lambda
{
command
(
'spec'
,
'edit'
,
'AFNetworking'
).
run
}.
should
.
raise
SystemExit
...
...
spec/unit/installer_spec.rb
View file @
b7532c6f
...
...
@@ -115,7 +115,7 @@ module Pod
end
end
#-------------------------------------------------------------------------#
describe
'#determine_dependency_product_type'
do
...
...
@@ -449,7 +449,7 @@ module Pod
pod_target
.
stubs
(
:resource_bundle_targets
).
returns
([
'dummy'
])
pod_target
.
stubs
(
:should_build?
=>
false
)
target
=
AggregateTarget
.
new
(
target_definition
,
config
.
sandbox
)
mock_target
=
mock
(
'PodNativeTarget'
)
mock_target
.
expects
(
:add_dependency
).
with
(
'dummy'
)
...
...
spec/unit/project_spec.rb
View file @
b7532c6f
...
...
@@ -172,7 +172,7 @@ module Pod
it
'adds subgroups for a file reference if requested'
do
ref
=
@project
.
add_file_reference
(
@nested_file
,
@group
,
true
)
ref
.
hierarchy_path
.
should
==
'/Pods/BananaLib/Dir/SubDir/nested_file.m'
ref
.
hierarchy_path
.
should
==
'/Pods/BananaLib/Dir/SubDir/nested_file.m'
end
it
"it doesn't duplicate file references for a single path"
do
...
...
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