excon 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of excon might be problematic. Click here for more details.

@@ -1,3 +1,8 @@
1
+ 0.7.5 10/03/11
2
+ ==============
3
+
4
+ * convert port to integer in sockaddr_in (jruby won't convert for you)
5
+
1
6
  0.7.4 09/30/11
2
7
  ==============
3
8
 
@@ -13,8 +13,8 @@ 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.7.4'
17
- s.date = '2011-09-30'
16
+ s.version = '0.7.5'
17
+ s.date = '2011-10-03'
18
18
  s.rubyforge_project = 'excon'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -1,6 +1,6 @@
1
1
  module Excon
2
2
  unless const_defined?(:VERSION)
3
- VERSION = '0.7.4'
3
+ VERSION = '0.7.5'
4
4
  end
5
5
 
6
6
  unless const_defined?(:CHUNK_SIZE)
@@ -11,9 +11,9 @@ module Excon
11
11
  @read_buffer, @write_buffer = '', ''
12
12
 
13
13
  @sockaddr = if @proxy
14
- ::Socket.sockaddr_in(@proxy[:port], @proxy[:host])
14
+ ::Socket.sockaddr_in(@proxy[:port].to_i, @proxy[:host])
15
15
  else
16
- ::Socket.sockaddr_in(@connection_params[:port], @connection_params[:host])
16
+ ::Socket.sockaddr_in(@connection_params[:port].to_i, @connection_params[:host])
17
17
  end
18
18
 
19
19
  @socket = ::Socket.new(::Socket::Constants::AF_INET, ::Socket::Constants::SOCK_STREAM, 0)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 4
10
- version: 0.7.4
9
+ - 5
10
+ version: 0.7.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - geemus (Wesley Beary)
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-30 00:00:00 Z
18
+ date: 2011-10-03 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: open4