yodatra 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbdd7080aff1047af0644501d439af51991106a7
4
- data.tar.gz: 87efd2f8627b136172f24439ef13c021333c915e
3
+ metadata.gz: 2c6d5822736e53ff6508c964420807ddd21b7abd
4
+ data.tar.gz: 990e89e2a5fdff05394b7bb87146f1e1150049cb
5
5
  SHA512:
6
- metadata.gz: f67e0370c73dacfddee849ce87eb8a295a2a286156174ed6ef7712458ef6dc447fecff3a32424deef66853447262cb5c09c181a8b7bd95c0ad557eb9fa7c9133
7
- data.tar.gz: 086bc544631b7a3fe64f76ae287a2c92264c3cc7e195f56256047ee9f31d56c46bbfe642b16b672ddb018f9873382692374e152a6345201b84921b97fb298132
6
+ metadata.gz: 728e15951d170373257863d8fcbe27dfd96de47be4659a00acd13cd69c7138c546adbc5e985ae376c1e24571bce3c133ffd9d9cdf33f7438eb721af888383ba3
7
+ data.tar.gz: eb054c340725b6a5bf0d6a609b5cb19a766f0aaff56a2d167d2ecf6d2d09ef0179eabd21520e33a0b7e7341fb1075171b6087231533be1dae4d19c8fac8e2ff1
@@ -15,7 +15,7 @@ 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.bytes.length.to_s unless response.nil? || !response.respond_to?(:first) || response.first.nil?
18
+ headers['Content-Length'] = response.first.bytes.size.to_s unless response.nil? || !response.respond_to?(:first) || response.first.nil?
19
19
 
20
20
  [status, headers, response]
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Yodatra
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yodatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Bonaud