Loading lib/httpx/transcoder/json.rb +1 −2 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ module HTTPX::Transcoder method(:json_load) end # rubocop:disable Style/SingleLineMethods # rubocop:disable-next Style/SingleLineMethods if defined?(MultiJson) def json_load(*args); MultiJson.load(*args); end def json_dump(*args); MultiJson.dump(*args); end Loading @@ -66,6 +66,5 @@ module HTTPX::Transcoder def json_load(*args); ::JSON.parse(*args); end def json_dump(*args); ::JSON.generate(*args); end end # rubocop:enable Style/SingleLineMethods end end lib/httpx/transcoder/utils/deflater.rb +1 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ module HTTPX private # rubocop:disable Naming/MemoizedInstanceVariableName # rubocop:disable-next Naming/MemoizedInstanceVariableName def buffer_deflate! return @buffer if defined?(@buffer) Loading @@ -68,7 +68,6 @@ module HTTPX @buffer = buffer end # rubocop:enable Naming/MemoizedInstanceVariableName end end end lib/httpx/response.rb +2 −2 File changed.Contains only whitespace changes. Show changes Loading
lib/httpx/transcoder/json.rb +1 −2 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ module HTTPX::Transcoder method(:json_load) end # rubocop:disable Style/SingleLineMethods # rubocop:disable-next Style/SingleLineMethods if defined?(MultiJson) def json_load(*args); MultiJson.load(*args); end def json_dump(*args); MultiJson.dump(*args); end Loading @@ -66,6 +66,5 @@ module HTTPX::Transcoder def json_load(*args); ::JSON.parse(*args); end def json_dump(*args); ::JSON.generate(*args); end end # rubocop:enable Style/SingleLineMethods end end
lib/httpx/transcoder/utils/deflater.rb +1 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ module HTTPX private # rubocop:disable Naming/MemoizedInstanceVariableName # rubocop:disable-next Naming/MemoizedInstanceVariableName def buffer_deflate! return @buffer if defined?(@buffer) Loading @@ -68,7 +68,6 @@ module HTTPX @buffer = buffer end # rubocop:enable Naming/MemoizedInstanceVariableName end end end