gravis-typhoeus 0.1.35 → 0.1.36

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.27
1
+ 0.1.28
@@ -12,6 +12,7 @@ module Typhoeus
12
12
  :CURLOPT_UPLOAD => 46,
13
13
  :CURLOPT_CUSTOMREQUEST => 10036,
14
14
  :CURLOPT_POSTFIELDS => 10015,
15
+ :CURLOPT_COPYPOSTFIELDS => 10165,
15
16
  :CURLOPT_POSTFIELDSIZE => 60,
16
17
  :CURLOPT_USERAGENT => 10018,
17
18
  :CURLOPT_TIMEOUT_MS => 155,
@@ -50,7 +51,6 @@ module Typhoeus
50
51
 
51
52
  def initialize
52
53
  @method = :get
53
- @post_dat_set = nil
54
54
  @headers = {}
55
55
 
56
56
  set_option(OPTION_VALUES[:CURLOPT_ENCODING], 'zlib') if supports_zlib?
@@ -158,8 +158,8 @@ module Typhoeus
158
158
 
159
159
  def post_data=(data)
160
160
  @post_data_set = true
161
- set_option(OPTION_VALUES[:CURLOPT_POSTFIELDS], data)
162
161
  set_option(OPTION_VALUES[:CURLOPT_POSTFIELDSIZE], data.length)
162
+ set_option(OPTION_VALUES[:CURLOPT_COPYPOSTFIELDS], data)
163
163
  end
164
164
 
165
165
  def params=(params)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gravis-typhoeus}
8
- s.version = "0.1.35"
8
+ s.version = "0.1.36"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Dix"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gravis-typhoeus
3
3
  version: !ruby/object:Gem::Version
4
- hash: 93
4
+ hash: 83
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 35
10
- version: 0.1.35
9
+ - 36
10
+ version: 0.1.36
11
11
  platform: ruby
12
12
  authors:
13
13
  - Paul Dix