Sha256: 020cb124bbaec917dcaaa27e7eb59d7d52dbbdfb3f47b9315f91feff697db9ae

Contents?: true

Size: 206 Bytes

Versions: 10

Compression:

Stored size: 206 Bytes

Contents

# frozen_string_literal: true

module Chunks
  def read_chunks(body)
    buffer = []
    body.each { |chunk| buffer << chunk }

    buffer
  end
end

RSpec.configure do |config|
  config.include Chunks
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
grape-1.8.0 spec/support/chunks.rb
grape-1.7.1 spec/support/chunks.rb
grape-1.7.0 spec/support/chunks.rb
grape-1.6.2 spec/support/chunks.rb
grape-1.6.1 spec/support/chunks.rb
grape-1.6.0 spec/support/chunks.rb
grape-1.5.3 spec/support/chunks.rb
grape-1.5.2 spec/support/chunks.rb
grape-1.5.1 spec/support/chunks.rb
grape-1.5.0 spec/support/chunks.rb