pauldix-typhoeus 0.0.17 → 0.0.18

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.
Files changed (3) hide show
  1. data/lib/typhoeus/easy.rb +1 -0
  2. data/lib/typhoeus.rb +1 -1
  3. metadata +1 -1
data/lib/typhoeus/easy.rb CHANGED
@@ -86,6 +86,7 @@ module Typhoeus
86
86
  self.post_data = ""
87
87
  elsif method == :put
88
88
  set_option(OPTION_VALUES[:CURLOPT_UPLOAD], 1)
89
+ self.request_body = "" unless @request_body
89
90
  else
90
91
  set_option(OPTION_VALUES[:CURLOPT_CUSTOMREQUEST], "DELETE")
91
92
  end
data/lib/typhoeus.rb CHANGED
@@ -12,7 +12,7 @@ require 'typhoeus/remote_proxy_object'
12
12
  require 'typhoeus/response'
13
13
 
14
14
  module Typhoeus
15
- VERSION = "0.0.17"
15
+ VERSION = "0.0.18"
16
16
 
17
17
  def self.easy_object_pool
18
18
  @easy_objects ||= []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pauldix-typhoeus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix