faraday 0.9.0.rc4 → 0.9.0.rc5

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/faraday.rb +1 -1
  2. data/lib/faraday/options.rb +1 -1
  3. metadata +1 -1
data/lib/faraday.rb CHANGED
@@ -14,7 +14,7 @@ require 'forwardable'
14
14
  # conn.get '/'
15
15
  #
16
16
  module Faraday
17
- VERSION = "0.9.0.rc4"
17
+ VERSION = "0.9.0.rc5"
18
18
 
19
19
  class << self
20
20
  # Public: Gets or sets the root path that Faraday is being loaded from.
@@ -67,7 +67,7 @@ module Faraday
67
67
  hash = {}
68
68
  members.each do |key|
69
69
  value = send(key)
70
- hash[key.to_sym] = value if value
70
+ hash[key.to_sym] = value unless value.nil?
71
71
  end
72
72
  hash
73
73
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.rc4
4
+ version: 0.9.0.rc5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: