utopia 1.6.9 → 1.6.10

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: 5c953696e42086da654b8ab3c43c7fc1b4662e22
4
- data.tar.gz: b6f8e61dc871b42873ed25fbddd0096014d533df
3
+ metadata.gz: 6b2d92b24749a06b39a57e73893922e924965eec
4
+ data.tar.gz: 65080bf35246a368ad9fc91b70cdb4eda53496a4
5
5
  SHA512:
6
- metadata.gz: bf5f0c74c4efab359de4c3834245c193715cef5d4f936fad30e46b532aaf676ebfc9eb6797946f011ccc8c89e0cfd09e84f5ede53b788838c23410e666460620
7
- data.tar.gz: b3a42ef9ca121f16b8e8edc6f8f4173315a8db0a5cbd7bb94974bf9f7876fd218b6a8370d3a448e852c79bbb5906e884ad61cdf1992ad2855f9e37eb00a6228a
6
+ metadata.gz: 18d261962b773a291969dd24faff972b54fba8a2c56bc30ab7cd706ac290c5f28a003b692f5d8f45697d498b5319e2c0d11d69ffbc496bd7d65dd9a493595dd3
7
+ data.tar.gz: ba3e6a8ffb46827bc5d2746b00caa40e1d45a20f4364985fa216f8481c6aeac726a6478581f4a9a121b6ac38bca11411eefe2daeff9282d47fecd03664f8147f
@@ -28,11 +28,7 @@ module Utopia
28
28
  end
29
29
 
30
30
  def content_length_of(body)
31
- if body.is_a? Array
32
- return body.map(&:bytesize).reduce(0, :+)
33
- else
34
- return body.bytesize
35
- end
31
+ return body.map(&:bytesize).reduce(0, :+)
36
32
  end
37
33
 
38
34
  def call(env)
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Utopia
22
- VERSION = "1.6.9"
22
+ VERSION = "1.6.10"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.9
4
+ version: 1.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams