diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-01-02 10:24:31 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-02 10:24:31 +1300 |
commit | 2041a1c02cbb2f0b086b5b00c177c9c6b38a9851 (patch) | |
tree | c8bfdc952cda505f054e524768d1b0d363d3d354 | |
parent | b7a5cda58d6ebbb0665f37cb66217712efadebc4 (diff) | |
parent | 95b89035d97095b0d138032746eac0af353b06a1 (diff) | |
download | rack-2041a1c02cbb2f0b086b5b00c177c9c6b38a9851.tar.gz |
Merge pull request #1450 from ohbarye/fix-typos
Fix typos
-rw-r--r-- | lib/rack/deflater.rb | 2 | ||||
-rw-r--r-- | lib/rack/rewindable_input.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rack/deflater.rb b/lib/rack/deflater.rb index 939832ce..4da07d55 100644 --- a/lib/rack/deflater.rb +++ b/lib/rack/deflater.rb @@ -29,7 +29,7 @@ module Rack # 'if' - a lambda enabling / disabling deflation based on returned boolean value # e.g use Rack::Deflater, :if => lambda { |*, body| sum=0; body.each { |i| sum += i.length }; sum > 512 } # 'include' - a list of content types that should be compressed - # 'sync' - determines if the stream is going to be flused after every chunk. + # 'sync' - determines if the stream is going to be flushed after every chunk. # Flushing after every chunk reduces latency for # time-sensitive streaming applications, but hurts # compression and throughput. Defaults to `true'. diff --git a/lib/rack/rewindable_input.rb b/lib/rack/rewindable_input.rb index 97725091..352bbeaa 100644 --- a/lib/rack/rewindable_input.rb +++ b/lib/rack/rewindable_input.rb @@ -42,7 +42,7 @@ module Rack end # Closes this RewindableInput object without closing the originally - # wrapped IO oject. Cleans up any temporary resources that this RewindableInput + # wrapped IO object. Cleans up any temporary resources that this RewindableInput # has created. # # This method may be called multiple times. It does nothing on subsequent calls. |