Commit 74248ae1 authored by Tiago's avatar Tiago
Browse files

linting

parent bf36a75a
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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
@@ -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
+1 −2
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ module HTTPX

      private

      # rubocop:disable Naming/MemoizedInstanceVariableName
      # rubocop:disable-next Naming/MemoizedInstanceVariableName
      def buffer_deflate!
        return @buffer if defined?(@buffer)

@@ -68,7 +68,6 @@ module HTTPX

        @buffer = buffer
      end
      # rubocop:enable Naming/MemoizedInstanceVariableName
    end
  end
end
+2 −2

File changed.

Contains only whitespace changes.