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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c65cbc380cbe818a15df34d340ce587b6596821
4
- data.tar.gz: aa02221b07430f6783b0e5728a78162388aaf95a
3
+ metadata.gz: 174a2da118f788626f8d751456dc2a41389727d3
4
+ data.tar.gz: dd333d44987e5a5aa4cd7b1eb39392d91b22fce3
5
5
  SHA512:
6
- metadata.gz: e76f822f6f9cf1e7ac0d00823454fd255e9fbef89ea3e3969b2a6e035230f7f96c19b2ece2d0b3cd1572b97a69191526b8e50f25f8f06304c7d97ae1aada2ab2
7
- data.tar.gz: 24d19497f515f3fb7dbc3c1d2d3efef86eb6891c1208873077633dc4c4f279b1120f31b316e1cbc7ac6d2ee78f451a4db899d2ad0a92071c727648791c075e8e
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
@@ -1,3 +1,3 @@
1
1
  class Wedge
2
- VERSION = '0.1.49'
2
+ VERSION = '0.1.50'
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.49
4
+ version: 0.1.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj