wedge 0.1.56 → 0.1.57
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/middleware.rb +1 -1
- data/lib/wedge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5312b64e2723c118144234d436fb708a506a5c1d
|
4
|
+
data.tar.gz: 3a06ba0b5a3b6e0b1400c3543e4c00768dff0ea7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a089d63790ced15f68f37dcd0ec3d8fd6e2dde8b0540e72a22053710b253caa0272b3329c700bff54ff01cafc2c8c9fb21f584813b45cc67663eb4fef4034f5
|
7
|
+
data.tar.gz: ee766740562733256a0b476adccbf98401fac397a1a2203167b613018964a9359578aa37313d9594a508e6b5a3af239bd68aaefddc158c237ae5a3ea895e946a
|
data/lib/wedge.rb
CHANGED
@@ -65,7 +65,7 @@ class Wedge
|
|
65
65
|
|
66
66
|
def assets_url
|
67
67
|
url = config.assets_url.gsub(%r{^(http(|s)://[^\/]*\/|\/)}, '/')
|
68
|
-
"#{url}#{config.cache_assets ? "/#{config.assets_key}" : ''}"
|
68
|
+
"#{url}#{config.cache_assets ? "/#{config.assets_key}" : ''}".gsub /\n/, ''
|
69
69
|
end
|
70
70
|
|
71
71
|
def assets_url_regex
|
data/lib/wedge/middleware.rb
CHANGED
@@ -119,7 +119,7 @@ class Wedge
|
|
119
119
|
|
120
120
|
wio = StringIO.new("")
|
121
121
|
w_gz = Zlib::GzipWriter.new(wio)
|
122
|
-
w_gz.write((body.instance_variable_get(:@body) || body
|
122
|
+
w_gz.write((body.instance_variable_get(:@body) || body.last).to_s)
|
123
123
|
w_gz.close
|
124
124
|
|
125
125
|
body = wio.string
|
data/lib/wedge/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wedge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.57
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal-wedge
|