yodatra 0.3.1 → 0.3.2

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: 2f1a54f5054c7cd360df54de7fc0ef1a5bcdd361
4
- data.tar.gz: 169102147cefde0172ba4194b60fe7db2c8b5a55
3
+ metadata.gz: fbdd7080aff1047af0644501d439af51991106a7
4
+ data.tar.gz: 87efd2f8627b136172f24439ef13c021333c915e
5
5
  SHA512:
6
- metadata.gz: c4db8ae05cbc09f9f844d983f8729ef95e4c85c67149ec83e2a1e5aea6e10112598532c6c5c88536cd37e2ac432c16d58f19ac067a9590ded6b1add8265c44fc
7
- data.tar.gz: 6c1946756ba824933066c0babe246d220e602ad914d0f7abbfc09b10ecc5818f9676892d4679d2acf04cd29bb654333de724a14ee090f398ac89c5ad6a074609
6
+ metadata.gz: f67e0370c73dacfddee849ce87eb8a295a2a286156174ed6ef7712458ef6dc447fecff3a32424deef66853447262cb5c09c181a8b7bd95c0ad557eb9fa7c9133
7
+ data.tar.gz: 086bc544631b7a3fe64f76ae287a2c92264c3cc7e195f56256047ee9f31d56c46bbfe642b16b672ddb018f9873382692374e152a6345201b84921b97fb298132
@@ -15,10 +15,10 @@ module Yodatra
15
15
 
16
16
  status, headers, response = @block.yield(status, headers, response) unless @block.nil?
17
17
 
18
- headers['Content-Length'] = response.first.length.to_s unless response.nil? || !response.respond_to?(:first) || response.first.nil?
18
+ headers['Content-Length'] = response.first.bytes.length.to_s unless response.nil? || !response.respond_to?(:first) || response.first.nil?
19
19
 
20
20
  [status, headers, response]
21
21
  end
22
22
 
23
23
  end
24
- end
24
+ end
@@ -1,3 +1,3 @@
1
1
  module Yodatra
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yodatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Bonaud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-09 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack