Commit b7532c6f authored by Kyle Fuller's avatar Kyle Fuller

[Rubocop] Enable Style/TrailingWhitespace

parent 45704437
...@@ -73,11 +73,6 @@ Style/SpaceInsideHashLiteralBraces: ...@@ -73,11 +73,6 @@ Style/SpaceInsideHashLiteralBraces:
Style/TrailingComma: Style/TrailingComma:
Enabled: false Enabled: false
# Offense count: 17
# Cop supports --auto-correct.
Style/TrailingWhitespace:
Enabled: false
# Offense count: 1 # Offense count: 1
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
......
...@@ -415,7 +415,7 @@ module Pod ...@@ -415,7 +415,7 @@ module Pod
# # sourceforge-artsy-specs # # sourceforge-artsy-specs
# #
# @example A file URL # @example A file URL
# #
# name_for_url('file:///Artsy/Specs.git') # name_for_url('file:///Artsy/Specs.git')
# # artsy-specs # # artsy-specs
# #
......
...@@ -272,7 +272,7 @@ module Pod ...@@ -272,7 +272,7 @@ module Pod
end end
end end
end end
describe Command::Spec::Which do describe Command::Spec::Which do
it_should_check_for_existence('which') it_should_check_for_existence('which')
it_should_check_for_ambiguity('which') it_should_check_for_ambiguity('which')
...@@ -291,7 +291,7 @@ module Pod ...@@ -291,7 +291,7 @@ module Pod
describe Command::Spec::Cat do describe Command::Spec::Cat do
it_should_check_for_existence('cat') it_should_check_for_existence('cat')
it_should_check_for_ambiguity('cat') it_should_check_for_ambiguity('cat')
it 'cats the given podspec' do it 'cats the given podspec' do
lambda { command('spec', 'cat', 'AFNetworking').run }.should.not.raise 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 UI.output.should.include fixture('spec-repos/master/Specs/AFNetworking/2.4.1/AFNetworking.podspec.json').read
...@@ -319,7 +319,7 @@ module Pod ...@@ -319,7 +319,7 @@ module Pod
it_should_check_for_existence('edit') it_should_check_for_existence('edit')
it_should_check_for_ambiguity('edit') it_should_check_for_ambiguity('edit')
it 'would execute the editor specified in ENV with the given podspec' do it 'would execute the editor specified in ENV with the given podspec' do
ENV['EDITOR'] = 'podspeceditor' ENV['EDITOR'] = 'podspeceditor'
lambda { command('spec', 'edit', 'AFNetworking').run }.should.raise SystemExit lambda { command('spec', 'edit', 'AFNetworking').run }.should.raise SystemExit
......
...@@ -115,7 +115,7 @@ module Pod ...@@ -115,7 +115,7 @@ module Pod
end end
end end
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
describe '#determine_dependency_product_type' do describe '#determine_dependency_product_type' do
...@@ -449,7 +449,7 @@ module Pod ...@@ -449,7 +449,7 @@ module Pod
pod_target.stubs(:resource_bundle_targets).returns(['dummy']) pod_target.stubs(:resource_bundle_targets).returns(['dummy'])
pod_target.stubs(:should_build? => false) pod_target.stubs(:should_build? => false)
target = AggregateTarget.new(target_definition, config.sandbox) target = AggregateTarget.new(target_definition, config.sandbox)
mock_target = mock('PodNativeTarget') mock_target = mock('PodNativeTarget')
mock_target.expects(:add_dependency).with('dummy') mock_target.expects(:add_dependency).with('dummy')
......
...@@ -172,7 +172,7 @@ module Pod ...@@ -172,7 +172,7 @@ module Pod
it 'adds subgroups for a file reference if requested' do it 'adds subgroups for a file reference if requested' do
ref = @project.add_file_reference(@nested_file, @group, true) 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 end
it "it doesn't duplicate file references for a single path" do it "it doesn't duplicate file references for a single path" do
......
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