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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e15da866f7288b3f5315b11f5e1ed41e658f7ec
4
- data.tar.gz: ad6d8cdadcf68a66447b7a4ded513ebb824867a8
3
+ metadata.gz: 5312b64e2723c118144234d436fb708a506a5c1d
4
+ data.tar.gz: 3a06ba0b5a3b6e0b1400c3543e4c00768dff0ea7
5
5
  SHA512:
6
- metadata.gz: 453c7518d8cf506d3955195aa5ee047720e2c288963e8c92b4dc05b1bb27d977a2958aa31b6f755f7f90a72c4c637e5bfdf20d353b60be9c0ea020db55dc1549
7
- data.tar.gz: 26b73ebc27193b5493bcd51e27c90394a6c73b6f225665c7fa23080c6b4119a51490edb4a910637e7dd4c5366f27e263f449b42153f908eaeaa70157dcd8733a
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
@@ -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).last.to_s)
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
@@ -1,3 +1,3 @@
1
1
  class Wedge
2
- VERSION = '0.1.56'
2
+ VERSION = '0.1.57'
3
3
  end
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.56
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-10 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal-wedge