diff options
author | Miklós Fazekas <mfazekas@szemafor.com> | 2020-06-10 10:28:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 10:28:38 +0200 |
commit | 13dac94b46a48c9ad4c085d0bb2e5e52ca049ece (patch) | |
tree | 171fb7c65aba1a7733339687b00405ae08184e40 | |
parent | b38f7ba0bf7aa83e49c2e8e17444804b1fce4bcc (diff) | |
parent | ee26aad6bb4f7c1c53a140889478b73d34daf4d5 (diff) | |
download | net-ssh-13dac94b46a48c9ad4c085d0bb2e5e52ca049ece.tar.gz |
Merge pull request #770 from fwininger/rubocop
Some coding style improvement
-rw-r--r-- | .rubocop_todo.yml | 187 | ||||
-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_forward.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 |
20 files changed, 58 insertions, 167 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a1b7067..d554db7 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,19 +1,19 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2019-09-10 17:13:26 +0200 using RuboCop version 0.74.0. +# on 2020-05-29 10:37:36 +0200 using RuboCop version 0.74.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 76 +# Offense count: 75 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: with_first_argument, with_fixed_indentation Layout/AlignArguments: Enabled: false -# Offense count: 57 +# Offense count: 63 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table @@ -32,39 +32,13 @@ Layout/AlignHash: Layout/EmptyLineAfterGuardClause: Enabled: false -# Offense count: 170 +# Offense count: 172 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundModuleBody: Enabled: false -# Offense count: 2 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, IndentationWidth. -# SupportedStyles: special_inside_parentheses, consistent, align_brackets -Layout/IndentFirstArrayElement: - Exclude: - - 'lib/net/ssh/transport/openssl.rb' - -# Offense count: 3 -# Cop supports --auto-correct. -Layout/LeadingBlankLines: - Exclude: - - 'Rakefile' - - 'lib/net/ssh/authentication/pub_key_fingerprint.rb' - - 'support/arcfour_check.rb' - -# Offense count: 14 -# Cop supports --auto-correct. -# Configuration parameters: AllowDoxygenCommentStyle. -Layout/LeadingCommentSpace: - Exclude: - - 'test/integration/test_ed25519_pkeys.rb' - - 'test/integration/test_forward.rb' - - 'test/integration/test_id_rsa_keys.rb' - - 'test/integration/test_proxy.rb' - # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. @@ -87,7 +61,7 @@ Layout/SpaceAfterColon: - 'test/integration/test_ed25519_pkeys.rb' - 'test/verifiers/test_always.rb' -# Offense count: 281 +# Offense count: 291 # Cop supports --auto-correct. Layout/SpaceAfterComma: Enabled: false @@ -99,7 +73,7 @@ Layout/SpaceAfterComma: Layout/SpaceAroundEqualsInParameterDefault: Enabled: false -# Offense count: 10 +# Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space @@ -122,14 +96,7 @@ Layout/SpaceInsideReferenceBrackets: Exclude: - 'lib/net/ssh/transport/algorithms.rb' -# Offense count: 17 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: final_newline, final_blank_line -Layout/TrailingBlankLines: - Enabled: false - -# Offense count: 739 +# Offense count: 730 # Cop supports --auto-correct. # Configuration parameters: AllowInHeredoc. Layout/TrailingWhitespace: @@ -177,14 +144,6 @@ Lint/Loop: - 'lib/net/ssh/authentication/methods/password.rb' - 'lib/net/ssh/key_factory.rb' -# Offense count: 3 -# Configuration parameters: MaximumRangeSize. -Lint/MissingCopEnableDirective: - Exclude: - - 'test/authentication/test_agent.rb' - - 'test/authentication/test_certificate.rb' - - 'test/integration/test_agent.rb' - # Offense count: 1 Lint/NonLocalExitFromIterator: Exclude: @@ -207,12 +166,6 @@ Lint/UnderscorePrefixedVariableName: Exclude: - 'lib/net/ssh/test/local_packet.rb' -# Offense count: 1 -# Cop supports --auto-correct. -Lint/UnneededRequireStatement: - Exclude: - - 'lib/net/ssh/ruby_compat.rb' - # Offense count: 60 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. @@ -229,7 +182,7 @@ Lint/UnusedBlockArgument: - 'test/transport/test_algorithms.rb' - 'test/transport/test_hmac.rb' -# Offense count: 62 +# Offense count: 65 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: @@ -251,11 +204,11 @@ Lint/UselessAssignment: - 'test/integration/common.rb' - 'test/integration/test_forward.rb' -# Offense count: 229 +# Offense count: 239 Metrics/AbcSize: - Max: 89 + Max: 71 -# Offense count: 15 +# Offense count: 17 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: @@ -266,23 +219,21 @@ Metrics/BlockLength: Metrics/BlockNesting: Max: 4 -# Offense count: 31 +# Offense count: 33 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 488 -# Offense count: 38 +# Offense count: 40 Metrics/CyclomaticComplexity: - Max: 27 - Exclude: - - 'lib/net/ssh/config.rb' + Max: 28 -# Offense count: 211 +# Offense count: 224 # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: - Max: 82 + Max: 72 -# Offense count: 2 +# Offense count: 3 # Configuration parameters: CountComments. Metrics/ModuleLength: Max: 160 @@ -292,11 +243,11 @@ Metrics/ModuleLength: Metrics/ParameterLists: Max: 6 -# Offense count: 30 +# Offense count: 32 Metrics/PerceivedComplexity: Max: 20 -# Offense count: 9 +# Offense count: 10 Naming/AccessorMethodName: Exclude: - 'lib/net/ssh/authentication/methods/password.rb' @@ -313,25 +264,9 @@ Naming/BinaryOperatorParameterName: - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/version.rb' -# Offense count: 12 +# Offense count: 16 Naming/ClassAndModuleCamelCase: - Exclude: - - 'lib/net/ssh/transport/hmac/md5_96.rb' - - 'lib/net/ssh/transport/hmac/sha1_96.rb' - - 'lib/net/ssh/transport/hmac/sha2_256.rb' - - 'lib/net/ssh/transport/hmac/sha2_256_96.rb' - - 'lib/net/ssh/transport/hmac/sha2_256_etm.rb' - - 'lib/net/ssh/transport/hmac/sha2_512.rb' - - 'lib/net/ssh/transport/hmac/sha2_512_96.rb' - - 'lib/net/ssh/transport/hmac/sha2_512_etm.rb' - - 'test/transport/hmac/test_md5_96.rb' - - 'test/transport/hmac/test_sha1_96.rb' - - 'test/transport/hmac/test_sha2_256.rb' - - 'test/transport/hmac/test_sha2_256_96.rb' - - 'test/transport/hmac/test_sha2_256_etm.rb' - - 'test/transport/hmac/test_sha2_512.rb' - - 'test/transport/hmac/test_sha2_512_96.rb' - - 'test/transport/hmac/test_sha2_512_etm.rb' + Enabled: false # Offense count: 4 Naming/ConstantName: @@ -340,7 +275,7 @@ Naming/ConstantName: - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb' - 'lib/net/ssh/transport/openssl.rb' -# Offense count: 11 +# Offense count: 12 # Configuration parameters: Blacklist. # Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$)) Naming/HeredocDelimiterNaming: @@ -352,7 +287,7 @@ Naming/HeredocDelimiterNaming: - 'test/integration/test_agent.rb' - 'test/test_key_factory.rb' -# Offense count: 4 +# Offense count: 5 # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: @@ -394,7 +329,6 @@ Naming/UncommunicativeMethodParamName: - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/buffered_io.rb' - - 'lib/net/ssh/ruby_compat.rb' - 'lib/net/ssh/test/socket.rb' - 'lib/net/ssh/transport/ctr.rb' - 'lib/net/ssh/transport/hmac/abstract.rb' @@ -446,7 +380,7 @@ Style/AsciiComments: - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/buffered_io.rb' -# Offense count: 8 +# Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners. # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces @@ -487,29 +421,12 @@ Style/CharacterLiteral: Exclude: - 'test/test_buffer.rb' -# Offense count: 15 +# Offense count: 17 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: - Exclude: - - 'lib/net/ssh/transport/ctr.rb' - - 'lib/net/ssh/transport/hmac.rb' - - 'lib/net/ssh/transport/hmac/md5.rb' - - 'lib/net/ssh/transport/hmac/md5_96.rb' - - 'lib/net/ssh/transport/hmac/none.rb' - - 'lib/net/ssh/transport/hmac/ripemd160.rb' - - 'lib/net/ssh/transport/hmac/sha1.rb' - - 'lib/net/ssh/transport/hmac/sha1_96.rb' - - 'lib/net/ssh/transport/hmac/sha2_256.rb' - - 'lib/net/ssh/transport/hmac/sha2_256_96.rb' - - 'lib/net/ssh/transport/hmac/sha2_256_etm.rb' - - 'lib/net/ssh/transport/hmac/sha2_512.rb' - - 'lib/net/ssh/transport/hmac/sha2_512_96.rb' - - 'lib/net/ssh/transport/hmac/sha2_512_etm.rb' - - 'lib/net/ssh/transport/kex.rb' - - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb' - - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb' + Enabled: false # Offense count: 7 Style/ClassVars: @@ -554,13 +471,7 @@ Style/ConditionalAssignment: - 'lib/net/ssh/transport/state.rb' - 'test/test_key_factory.rb' -# Offense count: 1 -# Cop supports --auto-correct. -Style/DefWithParentheses: - Exclude: - - 'test/integration/test_forward.rb' - -# Offense count: 14 +# Offense count: 13 Style/Documentation: Exclude: - 'spec/**/*' @@ -568,7 +479,6 @@ Style/Documentation: - 'lib/net/ssh/authentication/ed25519.rb' - 'lib/net/ssh/connection/keepalive.rb' - 'lib/net/ssh/connection/session.rb' - - 'lib/net/ssh/ruby_compat.rb' - 'lib/net/ssh/test/extensions.rb' - 'lib/net/ssh/transport/kex.rb' - 'lib/net/ssh/transport/key_expander.rb' @@ -602,14 +512,14 @@ Style/FormatStringToken: Exclude: - 'lib/net/ssh/loggable.rb' -# Offense count: 166 +# Offense count: 171 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, never Style/FrozenStringLiteralComment: Enabled: false -# Offense count: 34 +# Offense count: 35 # Configuration parameters: MinBodyLength. Style/GuardClause: Enabled: false @@ -620,7 +530,7 @@ Style/IfInsideElse: Exclude: - 'lib/net/ssh/connection/session.rb' -# Offense count: 16 +# Offense count: 13 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: @@ -629,8 +539,6 @@ Style/IfUnlessModifier: - 'lib/net/ssh/proxy/command.rb' - 'lib/net/ssh/service/forward.rb' - 'lib/net/ssh/transport/ctr.rb' - - 'lib/net/ssh/transport/kex.rb' - - 'lib/net/ssh/transport/kex/abstract5656.rb' - 'lib/net/ssh/transport/key_expander.rb' - 'test/integration/test_proxy.rb' - 'test/test_key_factory.rb' @@ -690,7 +598,7 @@ Style/MultipleComparison: Style/MutableConstant: Enabled: false -# Offense count: 13 +# Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: both, prefix, postfix @@ -734,7 +642,7 @@ Style/Not: Exclude: - 'lib/net/ssh/connection/channel.rb' -# Offense count: 8 +# Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: Strict. Style/NumericLiterals: @@ -771,7 +679,7 @@ Style/ParenthesesAroundCondition: - 'lib/net/ssh/transport/ctr.rb' - 'test/integration/test_proxy.rb' -# Offense count: 33 +# Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: @@ -819,19 +727,13 @@ Style/RedundantBegin: - 'lib/net/ssh/verifiers/accept_new.rb' - 'test/manual/test_pageant.rb' -# Offense count: 1 -# Cop supports --auto-correct. -Style/RedundantParentheses: - Exclude: - - 'support/arcfour_check.rb' - -# Offense count: 59 +# Offense count: 61 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Enabled: false -# Offense count: 14 +# Offense count: 18 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: @@ -910,14 +812,14 @@ Style/SpecialGlobalVars: - 'test/manual/test_pageant.rb' - 'test/test_all.rb' -# Offense count: 1754 +# Offense count: 1801 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Enabled: false -# Offense count: 11 +# Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to, define_method @@ -928,8 +830,6 @@ Style/SymbolProc: - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/test/extensions.rb' - 'lib/net/ssh/transport/algorithms.rb' - - 'test/integration/test_forward.rb' - - 'test/test/test_test.rb' # Offense count: 1 # Cop supports --auto-correct. @@ -937,20 +837,18 @@ Style/UnneededCondition: Exclude: - 'lib/net/ssh/proxy/command.rb' -# Offense count: 4 +# Offense count: 2 # Cop supports --auto-correct. Style/UnneededInterpolation: Exclude: - 'lib/net/ssh/proxy/socks5.rb' - 'lib/net/ssh/transport/session.rb' - - 'test/integration/test_forward.rb' -# Offense count: 15 +# Offense count: 2 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'net-ssh.gemspec' - - 'test/test_config.rb' # Offense count: 2 # Cop supports --auto-correct. @@ -973,10 +871,3 @@ Style/ZeroLengthPredicate: Exclude: - 'lib/net/ssh/buffered_io.rb' - 'lib/net/ssh/connection/channel.rb' - -# Offense count: 1636 -# Cop supports --auto-correct. -# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. -# URISchemes: http, https -Metrics/LineLength: - Max: 932 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_forward.rb b/test/integration/test_forward.rb index 3ff76cd..60630fc 100644 --- a/test/integration/test_forward.rb +++ b/test/integration/test_forward.rb @@ -302,7 +302,7 @@ class TestForward < ForwardTestBase end class TCPProxy - def initialize() + def initialize @sockets = [] end attr_reader :sockets 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 |