wedge 0.1.49 → 0.1.50
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 -0
- 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: 174a2da118f788626f8d751456dc2a41389727d3
|
4
|
+
data.tar.gz: dd333d44987e5a5aa4cd7b1eb39392d91b22fce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4c9d6dc5b406faf3e1a67b557bb2e315d586f2b2cca8612765befadc540d67b72ff67687542bb2ace9f7bb31c41f70f13bd86c2f54e2d1586ab9189cac360d9
|
7
|
+
data.tar.gz: 3383c319c060ee51ae0184b3f0b20dcdb770c7a44d301cfc264c953043f72e7f7bf4eae6a77dc108feb345981dc81a00bcfcd2985c70729a4bf064f2a9b0cf24
|
data/lib/wedge/opal.rb
CHANGED
@@ -137,6 +137,10 @@ unless RUBY_ENGINE == 'opal'
|
|
137
137
|
def call(env)
|
138
138
|
status, headers, body = @app.call env
|
139
139
|
|
140
|
+
headers = {
|
141
|
+
'Content-Type' => 'application/javascript; charset=UTF-8'
|
142
|
+
}.merge headers
|
143
|
+
|
140
144
|
if env['PATH_INFO'][@server.prefix]
|
141
145
|
status, headers, body = @app.call env
|
142
146
|
|
data/lib/wedge/version.rb
CHANGED