wedge 0.1.50 → 0.1.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wedge/opal.rb +4 -6
- 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: c3ad8d941cd3af9d92f147392177d8f43b4e3fe1
|
4
|
+
data.tar.gz: a50aed46139f03ba646fab9b2c1cba2efbbc1319
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93e268ea73428650088be288c5fd34960d9e9d0ea050ff9089f1781197e1f504db017eca99929ddc31c572d6e50c5bbfd37737e33a8154787fd184e5373cbb14
|
7
|
+
data.tar.gz: b2844908b03495a43c2e533ac28fc39b27b028419cd0ad70352c6104b1a01e3af56edf48acbb2963ce6a48c8cd030d76bd6c328b987a629eb58f5c94fb5a3d78
|
data/lib/wedge/opal.rb
CHANGED
@@ -135,15 +135,13 @@ unless RUBY_ENGINE == 'opal'
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def call(env)
|
138
|
-
status, headers, body = @app.call env
|
139
|
-
|
140
|
-
headers = {
|
141
|
-
'Content-Type' => 'application/javascript; charset=UTF-8'
|
142
|
-
}.merge headers
|
143
|
-
|
144
138
|
if env['PATH_INFO'][@server.prefix]
|
145
139
|
status, headers, body = @app.call env
|
146
140
|
|
141
|
+
headers = {
|
142
|
+
'Content-Type' => 'application/javascript; charset=UTF-8'
|
143
|
+
}.merge headers
|
144
|
+
|
147
145
|
if server.gzip
|
148
146
|
require 'zlib'
|
149
147
|
|
data/lib/wedge/version.rb
CHANGED