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 +4 -4
- data/lib/yodatra/api_formatter.rb +2 -2
- data/lib/yodatra/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: fbdd7080aff1047af0644501d439af51991106a7
|
4
|
+
data.tar.gz: 87efd2f8627b136172f24439ef13c021333c915e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/yodatra/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|