pretty_proxy 4.0.4 → 4.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pretty_proxy.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27a4a136e6f248d4c8387db6771d1ced2528b2b0
4
- data.tar.gz: 41cb52571d3925af1a7e4e5d38a7d18591ef99d3
3
+ metadata.gz: c16832f5f4322e0c4336890282344a1077fe37e5
4
+ data.tar.gz: 453bdbd7bac88f01759735e08bb0b81e00b31299
5
5
  SHA512:
6
- metadata.gz: dc00bc884700fe862fd771630f3284bc7d552ebeb4fd1f7f35916e9bd37e31c718c475200ae23326f2feef296f122e94349b3538e24c0c60d2f100bab1eaa1bf
7
- data.tar.gz: 404cd41a97b133aabc01c65dfc12da33485e022ccacc6b4cad96d93e040fd87c97a1ce01464431639281f064c7d78c79e5e6b834b15ca70a4c4030f8f2149e26
6
+ metadata.gz: 0729ece1abf3037bbab19a7a179c5e052abc5cdf98662c2911f3b8760681664a62401554362e89bff3ea4cdc8c60dba5ae9ceaa6010ff056b96f5d5ddd7a7ef2
7
+ data.tar.gz: 2726adc0e771f52f39ab891bc09e1ff0b97a7337b5412f8eb965ae6e2e6b0b40b6322cb70a0c4a496d0ec98f41744abbec6e662ba9bdfdd082c7fa7999d235d1
data/lib/pretty_proxy.rb CHANGED
@@ -331,7 +331,7 @@ class PrettyProxy < Rack::Proxy
331
331
 
332
332
  case headers['content-encoding']
333
333
  when 'gzip'
334
- page_ = page.clone
334
+ page_ = ''
335
335
  gzip_stream = Zlib::GzipWriter.new(StringIO.new(page_))
336
336
  gzip_stream.write page
337
337
  gzip_stream.close
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.4
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrique Becker