fix rubocop Style/EmptyLinesAroundMethodBody cop

This commit is contained in:
Pavel Lobashov 2015-03-21 11:22:19 +03:00
parent b9a757e045
commit 2ac80869dd
5 changed files with 0 additions and 9 deletions

View File

@ -110,11 +110,6 @@ Style/ElseAlignment:
Style/EmptyElse:
Enabled: false
# Offense count: 4
# Cop supports --auto-correct.
Style/EmptyLinesAroundMethodBody:
Enabled: false
# Offense count: 13
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.

View File

@ -31,7 +31,6 @@ class ZipFileGenerator
private
def writeEntries(entries, path, io)
entries.each do |e|
zipFilePath = path == "" ? e : File.join(path, e)
diskFilePath = File.join(@inputDir, zipFilePath)

View File

@ -74,7 +74,6 @@ class ZipDialog < ZipDialogUI
else
zipfile { |zf| items.each { |e| zf.extract(e, File.join(d, e)) } }
end
end
slots 'add_files()', 'extract_files()'

View File

@ -25,7 +25,6 @@ class ZipFsDirIteratorTest < MiniTest::Test
assert_raises(IOError, "closed directory") do
@dirIt.tell
end
end
def test_each

View File

@ -109,7 +109,6 @@ class ZipOutputStreamTest < MiniTest::Test
::Zip::File.open(TEST_ZIP.zip_name) do |zf|
assert_equal(stored_text + stored_text2, zf.read(entry_name))
end
end
def assert_i_o_error_in_closed_stream