diff options
author | Florian Wininger <fw.centrale@gmail.com> | 2020-05-29 10:43:15 +0200 |
---|---|---|
committer | Florian Wininger <fw.centrale@gmail.com> | 2020-05-29 10:43:15 +0200 |
commit | d0b4ffe8984dafbfafd79ac99caef4229edb8557 (patch) | |
tree | 2b02749ef9feee1f5a9725471d19c8477dfbc6f1 | |
parent | a65c7348ad6b3dca4da299d7726588b543016707 (diff) | |
download | net-ssh-d0b4ffe8984dafbfafd79ac99caef4229edb8557.tar.gz |
Fix Layout/TrailingBlankLines
Signed-off-by: Florian Wininger <fw.centrale@gmail.com>
-rw-r--r-- | .rubocop_todo.yml | 7 | ||||
-rw-r--r-- | lib/net/ssh/test/channel.rb | 2 | ||||
-rw-r--r-- | lib/net/ssh/test/remote_packet.rb | 2 | ||||
-rw-r--r-- | lib/net/ssh/test/script.rb | 2 | ||||
-rw-r--r-- | test/authentication/methods/common.rb | 2 | ||||
-rw-r--r-- | test/integration/test_curve25519sha256.rb | 2 | ||||
-rw-r--r-- | test/integration/test_encoding.rb | 2 | ||||
-rw-r--r-- | test/integration/test_hmac_etm.rb | 2 | ||||
-rw-r--r-- | test/integration/test_http_proxy.rb | 2 | ||||
-rw-r--r-- | test/start/test_transport.rb | 2 | ||||
-rw-r--r-- | test/test/test_test.rb | 2 | ||||
-rw-r--r-- | test/test_all.rb | 2 | ||||
-rw-r--r-- | test/test_buffered_io.rb | 2 | ||||
-rw-r--r-- | test/transport/hmac/test_md5.rb | 2 | ||||
-rw-r--r-- | test/transport/hmac/test_md5_96.rb | 2 | ||||
-rw-r--r-- | test/transport/hmac/test_sha1.rb | 2 | ||||
-rw-r--r-- | test/transport/hmac/test_sha1_96.rb | 2 | ||||
-rw-r--r-- | test/transport/kex/test_curve25519_sha256.rb | 2 | ||||
-rw-r--r-- | test/transport/test_state.rb | 2 |
19 files changed, 18 insertions, 25 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 68ba713..30f7041 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -96,13 +96,6 @@ Layout/SpaceInsideReferenceBrackets: Exclude: - 'lib/net/ssh/transport/algorithms.rb' -# Offense count: 18 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: final_newline, final_blank_line -Layout/TrailingBlankLines: - Enabled: false - # Offense count: 730 # Cop supports --auto-correct. # Configuration parameters: AllowInHeredoc. diff --git a/lib/net/ssh/test/channel.rb b/lib/net/ssh/test/channel.rb index ea17019..7cebb9a 100644 --- a/lib/net/ssh/test/channel.rb +++ b/lib/net/ssh/test/channel.rb @@ -146,4 +146,4 @@ module Net end end -end
\ No newline at end of file +end diff --git a/lib/net/ssh/test/remote_packet.rb b/lib/net/ssh/test/remote_packet.rb index 90f6008..e2c6903 100644 --- a/lib/net/ssh/test/remote_packet.rb +++ b/lib/net/ssh/test/remote_packet.rb @@ -39,4 +39,4 @@ module Net end end -end
\ No newline at end of file +end diff --git a/lib/net/ssh/test/script.rb b/lib/net/ssh/test/script.rb index 4c51a7d..6200bf1 100644 --- a/lib/net/ssh/test/script.rb +++ b/lib/net/ssh/test/script.rb @@ -179,4 +179,4 @@ module Net end end -end
\ No newline at end of file +end diff --git a/test/authentication/methods/common.rb b/test/authentication/methods/common.rb index 77c6289..8cf2ca2 100644 --- a/test/authentication/methods/common.rb +++ b/test/authentication/methods/common.rb @@ -33,4 +33,4 @@ module Authentication end end -end
\ No newline at end of file +end diff --git a/test/integration/test_curve25519sha256.rb b/test/integration/test_curve25519sha256.rb index e2e38c2..2be5d98 100644 --- a/test/integration/test_curve25519sha256.rb +++ b/test/integration/test_curve25519sha256.rb @@ -46,4 +46,4 @@ unless ENV['NET_SSH_NO_ED25519'] end end end -end
\ No newline at end of file +end diff --git a/test/integration/test_encoding.rb b/test/integration/test_encoding.rb index febdfba..9396e22 100644 --- a/test/integration/test_encoding.rb +++ b/test/integration/test_encoding.rb @@ -20,4 +20,4 @@ class TestEncoding < NetSSHTest end assert_equal ret, "#{string}\n" end -end
\ No newline at end of file +end diff --git a/test/integration/test_hmac_etm.rb b/test/integration/test_hmac_etm.rb index 3254289..c077012 100644 --- a/test/integration/test_hmac_etm.rb +++ b/test/integration/test_hmac_etm.rb @@ -80,4 +80,4 @@ class TestHMacEtm < NetSSHTest ssh.close end end -end
\ No newline at end of file +end diff --git a/test/integration/test_http_proxy.rb b/test/integration/test_http_proxy.rb index bfde488..fa71faf 100644 --- a/test/integration/test_http_proxy.rb +++ b/test/integration/test_http_proxy.rb @@ -80,4 +80,4 @@ class TestHTTPProxy < NetSSHTest end end end -end
\ No newline at end of file +end diff --git a/test/start/test_transport.rb b/test/start/test_transport.rb index fcf1c4e..78e3280 100644 --- a/test/start/test_transport.rb +++ b/test/start/test_transport.rb @@ -25,4 +25,4 @@ module NetSSH end end end -end
\ No newline at end of file +end diff --git a/test/test/test_test.rb b/test/test/test_test.rb index a1dc4f4..d2b8894 100644 --- a/test/test/test_test.rb +++ b/test/test/test_test.rb @@ -73,4 +73,4 @@ class TestNetSSHTest < NetSSHTest connection.loop end end -end
\ No newline at end of file +end diff --git a/test/test_all.rb b/test/test_all.rb index c4df9b4..0d060d3 100644 --- a/test/test_all.rb +++ b/test/test_all.rb @@ -9,4 +9,4 @@ Dir.chdir(File.dirname(__FILE__)) do test_files = test_files.select { |f| f =~ Regexp.new(ENV['ONLY']) } if ENV['ONLY'] test_files = test_files.reject { |f| f =~ Regexp.new(ENV['EXCEPT']) } if ENV['EXCEPT'] test_files.each { |file| require(file) } -end
\ No newline at end of file +end diff --git a/test/test_buffered_io.rb b/test/test_buffered_io.rb index eefe7f9..1002686 100644 --- a/test/test_buffered_io.rb +++ b/test/test_buffered_io.rb @@ -60,4 +60,4 @@ class TestBufferedIo < NetSSHTest io end end -end
\ No newline at end of file +end diff --git a/test/transport/hmac/test_md5.rb b/test/transport/hmac/test_md5.rb index e0abccc..16ee10f 100644 --- a/test/transport/hmac/test_md5.rb +++ b/test/transport/hmac/test_md5.rb @@ -40,4 +40,4 @@ module Transport end end -end
\ No newline at end of file +end diff --git a/test/transport/hmac/test_md5_96.rb b/test/transport/hmac/test_md5_96.rb index 4ee1680..b45d505 100644 --- a/test/transport/hmac/test_md5_96.rb +++ b/test/transport/hmac/test_md5_96.rb @@ -26,4 +26,4 @@ module Transport end end -end
\ No newline at end of file +end diff --git a/test/transport/hmac/test_sha1.rb b/test/transport/hmac/test_sha1.rb index be64bf6..468da6d 100644 --- a/test/transport/hmac/test_sha1.rb +++ b/test/transport/hmac/test_sha1.rb @@ -35,4 +35,4 @@ module Transport end end -end
\ No newline at end of file +end diff --git a/test/transport/hmac/test_sha1_96.rb b/test/transport/hmac/test_sha1_96.rb index d5dec22..72cb6ca 100644 --- a/test/transport/hmac/test_sha1_96.rb +++ b/test/transport/hmac/test_sha1_96.rb @@ -26,4 +26,4 @@ module Transport end end -end
\ No newline at end of file +end diff --git a/test/transport/kex/test_curve25519_sha256.rb b/test/transport/kex/test_curve25519_sha256.rb index 8177a38..44ba928 100644 --- a/test/transport/kex/test_curve25519_sha256.rb +++ b/test/transport/kex/test_curve25519_sha256.rb @@ -153,4 +153,4 @@ unless ENV['NET_SSH_NO_ED25519'] end end end -end
\ No newline at end of file +end diff --git a/test/transport/test_state.rb b/test/transport/test_state.rb index aefd347..1f9b9ce 100644 --- a/test/transport/test_state.rb +++ b/test/transport/test_state.rb @@ -177,4 +177,4 @@ module Transport end end -end
\ No newline at end of file +end |