goliath-rack_proxy 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab4ba13cd9def1d20578a29ffefabf79080598ff
4
- data.tar.gz: 6ace1d22f5aba4ecd862dfa72ec959dd378b2cd4
3
+ metadata.gz: 8a7a0e1b05033aa36859754d967e1dc35a9521d1
4
+ data.tar.gz: 57213aee848373ccbc1cd57431cf68af0ece721b
5
5
  SHA512:
6
- metadata.gz: 0bacf146eea719d6e0e124cd99e1e1194a86d7d79a1d7931035c78bebcfca8e2a85be2a9693e51b0b304440c34d4eb90ecb5d4d26954569ece2719c5af2d2cec
7
- data.tar.gz: 8e22fc46cf8edab53d430b017e8b6f3421ec7530a88d9963a83c5485f8e168cb9ee24102e3543707e655ce51128df65e1823dca39b74abfc0c8d2ce50bfa90a7
6
+ metadata.gz: c6ca9cca21727aa34afe651b55b8b7a198d52b16916710fa494f3d1b524af520273925c514f9388d4340db74ffd32f04f99d94af0a1678899626b0797a6edfa8
7
+ data.tar.gz: 4f08b4ecb2e2e06932b2f135d4ccbe4d288ee0b537667f6044f58611977ca8c0087d9d81de80a6f2ff1b10d3101dec712189b153a1b29ab64bcee0174eb2d259
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "goliath-rack_proxy"
3
- gem.version = "1.0.1"
3
+ gem.version = "1.0.2"
4
4
 
5
5
  gem.required_ruby_version = ">= 2.1"
6
6
 
@@ -0,0 +1 @@
1
+ require "goliath/rack_proxy"
@@ -128,6 +128,8 @@ module Goliath
128
128
  else
129
129
  @buffer = nil
130
130
  end
131
+
132
+ buffered_data.clear unless data.equal?(buffered_data)
131
133
  end
132
134
 
133
135
  data.to_s unless length && (data.nil? || data.empty?)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goliath-rack_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić
@@ -110,6 +110,7 @@ files:
110
110
  - LICENSE.txt
111
111
  - README.md
112
112
  - goliath-rack_proxy.gemspec
113
+ - lib/goliath-rack_proxy.rb
113
114
  - lib/goliath/rack_proxy.rb
114
115
  - lib/goliath/rack_proxy/rack_2_compatibility.rb
115
116
  homepage: https://github.com/janko-m/goliath-rack_proxy