excon 0.22.0 → 0.22.1

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- excon (0.22.0)
4
+ excon (0.22.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,3 +1,8 @@
1
+ 0.22.1 05/17/2013
2
+ =================
3
+
4
+ fix logic error in dropping default ports
5
+
1
6
  0.22.0 05/17/2013
2
7
  =================
3
8
 
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'excon'
16
- s.version = '0.22.0'
16
+ s.version = '0.22.1'
17
17
  s.date = '2013-05-17'
18
18
  s.rubyforge_project = 'excon'
19
19
 
@@ -394,7 +394,7 @@ module Excon
394
394
  end
395
395
 
396
396
  def port_string(datum)
397
- if datum[:omit_default_port] && (datum[:scheme].casecmp('http') == 0 && datum[:port].to_i == 80) || (datum[:scheme].casecmp('https') == 0 && datum[:port].to_i == 443)
397
+ if datum[:omit_default_port] && ((datum[:scheme].casecmp('http') == 0 && datum[:port].to_i == 80) || (datum[:scheme].casecmp('https') == 0 && datum[:port].to_i == 443))
398
398
  ''
399
399
  else
400
400
  ':' << datum[:port].to_s
@@ -72,7 +72,7 @@ module Excon
72
72
  :write_timeout
73
73
  ]
74
74
 
75
- VERSION = '0.22.0'
75
+ VERSION = '0.22.1'
76
76
 
77
77
  unless ::IO.const_defined?(:WaitReadable)
78
78
  class ::IO
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.22.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -233,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
233
233
  version: '0'
234
234
  segments:
235
235
  - 0
236
- hash: -2062001769353405727
236
+ hash: 1091167854522942329
237
237
  required_rubygems_version: !ruby/object:Gem::Requirement
238
238
  none: false
239
239
  requirements: