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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 174a2da118f788626f8d751456dc2a41389727d3
4
- data.tar.gz: dd333d44987e5a5aa4cd7b1eb39392d91b22fce3
3
+ metadata.gz: c3ad8d941cd3af9d92f147392177d8f43b4e3fe1
4
+ data.tar.gz: a50aed46139f03ba646fab9b2c1cba2efbbc1319
5
5
  SHA512:
6
- metadata.gz: c4c9d6dc5b406faf3e1a67b557bb2e315d586f2b2cca8612765befadc540d67b72ff67687542bb2ace9f7bb31c41f70f13bd86c2f54e2d1586ab9189cac360d9
7
- data.tar.gz: 3383c319c060ee51ae0184b3f0b20dcdb770c7a44d301cfc264c953043f72e7f7bf4eae6a77dc108feb345981dc81a00bcfcd2985c70729a4bf064f2a9b0cf24
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
@@ -1,3 +1,3 @@
1
1
  class Wedge
2
- VERSION = '0.1.50'
2
+ VERSION = '0.1.51'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wedge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.50
4
+ version: 0.1.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj