wedge 0.1.55 → 0.1.56

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: 6681c0a3099e1d1c058832ed940e8316f9c62f3a
4
- data.tar.gz: 018088e4cc351fa73a1bd77234515596f746af0e
3
+ metadata.gz: 7e15da866f7288b3f5315b11f5e1ed41e658f7ec
4
+ data.tar.gz: ad6d8cdadcf68a66447b7a4ded513ebb824867a8
5
5
  SHA512:
6
- metadata.gz: ebde40c0e850efa027dac2805255f1c76a2ab974861a4726654e1f3b08826b340074d0ddc27ee392b9330f217b024f2ac207d353e9ab956c61383c1bfb400138
7
- data.tar.gz: 4c5714f438883753e5fed0b7ce4ced8e42425ec9c638304af4b6bd1b13d6b68fa360d2fe186e30eb11e46aa3ea8064713a4d9a7ac152192673ef935624737910
6
+ metadata.gz: 453c7518d8cf506d3955195aa5ee047720e2c288963e8c92b4dc05b1bb27d977a2958aa31b6f755f7f90a72c4c637e5bfdf20d353b60be9c0ea020db55dc1549
7
+ data.tar.gz: 26b73ebc27193b5493bcd51e27c90394a6c73b6f225665c7fa23080c6b4119a51490edb4a910637e7dd4c5366f27e263f449b42153f908eaeaa70157dcd8733a
@@ -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.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.55'
2
+ VERSION = '0.1.56'
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.55
4
+ version: 0.1.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj