wedge 0.1.48 → 0.1.49
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wedge.rb +1 -1
- data/lib/wedge/opal.rb +4 -3
- data/lib/wedge/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c65cbc380cbe818a15df34d340ce587b6596821
|
4
|
+
data.tar.gz: aa02221b07430f6783b0e5728a78162388aaf95a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e76f822f6f9cf1e7ac0d00823454fd255e9fbef89ea3e3969b2a6e035230f7f96c19b2ece2d0b3cd1572b97a69191526b8e50f25f8f06304c7d97ae1aada2ab2
|
7
|
+
data.tar.gz: 24d19497f515f3fb7dbc3c1d2d3efef86eb6891c1208873077633dc4c4f279b1120f31b316e1cbc7ac6d2ee78f451a4db899d2ad0a92071c727648791c075e8e
|
data/lib/wedge.rb
CHANGED
data/lib/wedge/opal.rb
CHANGED
@@ -142,10 +142,11 @@ unless RUBY_ENGINE == 'opal'
|
|
142
142
|
|
143
143
|
if server.gzip
|
144
144
|
require 'zlib'
|
145
|
-
|
146
|
-
|
147
|
-
|
145
|
+
|
146
|
+
headers['Content-Encoding'] = 'gzip'
|
147
|
+
body = Zlib::Deflate.deflate body
|
148
148
|
end
|
149
|
+
|
149
150
|
[status, headers.merge(@server.headers), [body]]
|
150
151
|
else
|
151
152
|
@app.call env
|
data/lib/wedge/version.rb
CHANGED