zencoder 2.4.3 → 2.4.4

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.
@@ -70,7 +70,12 @@ module Zencoder
70
70
 
71
71
  def request
72
72
  r = request_class.new(path)
73
- r.body = body if body
73
+ if body
74
+ r.body = body
75
+ elsif [:post, :put].include?(@method)
76
+ r.body = ""
77
+ end
78
+
74
79
  if headers
75
80
  headers.each do |header, value|
76
81
  r.add_field(header.to_s, value.to_s)
@@ -1,3 +1,3 @@
1
1
  module Zencoder
2
- GEM_VERSION = '2.4.3'
2
+ GEM_VERSION = '2.4.4'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zencoder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 4
9
- - 3
10
- version: 2.4.3
9
+ - 4
10
+ version: 2.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nathan Sutton
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-09-14 00:00:00 Z
19
+ date: 2013-01-30 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: multi_json
@@ -138,3 +138,4 @@ specification_version: 3
138
138
  summary: Zencoder <http://zencoder.com> integration library.
139
139
  test_files: []
140
140
 
141
+ has_rdoc: