userbin 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: b8e6296ed0a839326618e50de24bdc44370bd0b5
4
- data.tar.gz: 0780de9c998812f4b60d7f6df082cfa8168c5633
3
+ metadata.gz: cf5981ba6698fc3b5dc95d0c7f41290bb10d7126
4
+ data.tar.gz: 9ffd039e65c20633d1dda432a972c1724aee3def
5
5
  SHA512:
6
- metadata.gz: 34e266fbe71560862f5d21095f27c73ec9ab50927a7ccb6c657490114cd6e417f397e3a3f1367f17ab6792d0a2867786241762d4b348e4de8c2c935ea9b7b743
7
- data.tar.gz: bfaa4aa0595a9ed47f77e37306463d98974cf4391e33bfa361c63c2825f768155d006a0d382a4590ddc33d5c3fc4ebd2d4122e70e179373149692d34de40ef19
6
+ metadata.gz: 315f4ecb82f7c250c07ec694b8219ec70406885bde9af23a2b6a3551615ccaef6f0febfa630d45e8112d1c9e185979a84a1389d50d26fcde137578e0e07dceab
7
+ data.tar.gz: d3f44cad7b96cefa407774f59b55cf5ad7ecb032e4bfa9dd39cc3af12f754959a290deb60d285362500cf49790d794d857ce0a8aafb49e23033cf19439991501
@@ -114,7 +114,9 @@ module Userbin
114
114
  else
115
115
  response = body
116
116
  end
117
- headers['Content-Length'] = body.flatten[0].length.to_s
117
+ unless body.empty?
118
+ headers['Content-Length'] = body.flatten[0].length.to_s
119
+ end
118
120
  end
119
121
 
120
122
  if signature && data
@@ -1,3 +1,3 @@
1
1
  module Userbin
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userbin
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
  - Johan