pauldix-typhoeus 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/typhoeus/remote.rb +1 -1
  2. data/lib/typhoeus.rb +2 -2
  3. metadata +1 -1
@@ -202,7 +202,7 @@ module Typhoeus
202
202
 
203
203
  def remote_defaults(options)
204
204
  @remote_defaults ||= {}
205
- @remote_defaults.merge!(options)
205
+ @remote_defaults.merge!(options) if options
206
206
  @remote_defaults
207
207
  end
208
208
 
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.15"
15
+ VERSION = "0.0.16"
16
16
 
17
17
  def self.easy_object_pool
18
18
  @easy_objects ||= []
@@ -45,4 +45,4 @@ module Typhoeus
45
45
  def self.perform_easy_requests
46
46
  Thread.current[:curl_multi].perform
47
47
  end
48
- end
48
+ end
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.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix