excon 0.12.0 → 0.13.0

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.13.0 03/22/12
2
+ ===============
3
+
4
+ * workaround for jruby (use blocking read/write for ssl sockets)
5
+
1
6
  0.12.0 03/18/12
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.12.0'
17
- s.date = '2012-03-18'
16
+ s.version = '0.13.0'
17
+ s.date = '2012-03-22'
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.12.0'
3
+ VERSION = '0.13.0'
4
4
  end
5
5
 
6
6
  unless const_defined?(:CHUNK_SIZE)
@@ -1,7 +1,7 @@
1
1
  module Excon
2
2
  class SSLSocket < Socket
3
3
 
4
- # backwards compatability for 1.8.x SSLSocket (which lack nonblock)
4
+ # backwards compatability for things lacking connect_nonblock
5
5
  unless OpenSSL::SSL::SSLSocket.public_method_defined?(:connect_nonblock)
6
6
 
7
7
  undef_method :connect
@@ -9,9 +9,19 @@ module Excon
9
9
  @socket = TCPSocket.new(@params[:host], @params[:port])
10
10
  end
11
11
 
12
+ end
13
+
14
+ # backwards compatability for things lacking read_nonblock
15
+ unless OpenSSL::SSL::SSLSocket.public_method_defined?(:read_nonblock)
16
+
12
17
  undef_method :read
13
18
  def_delegators(:@socket, :read, :read)
14
19
 
20
+ end
21
+
22
+ # backwards compatability for things lacking write_nonblock
23
+ unless OpenSSL::SSL::SSLSocket.public_method_defined?(:write_nonblock)
24
+
15
25
  undef_method :write
16
26
  def_delegators(:@socket, :write, :write)
17
27
 
metadata CHANGED
@@ -1,177 +1,183 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: excon
3
- version: !ruby/object:Gem::Version
4
- version: 0.12.0
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.13.0
6
6
  platform: ruby
7
- authors:
8
- - dpiddy (Dan Peterson)
9
- - geemus (Wesley Beary)
10
- - nextmat (Matt Sanders)
7
+ authors:
8
+ - dpiddy (Dan Peterson)
9
+ - geemus (Wesley Beary)
10
+ - nextmat (Matt Sanders)
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-03-18 00:00:00.000000000Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: activesupport
18
- requirement: &8667500 !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ! '>='
22
- - !ruby/object:Gem::Version
23
- version: '0'
24
- type: :development
25
- prerelease: false
26
- version_requirements: *8667500
27
- - !ruby/object:Gem::Dependency
28
- name: delorean
29
- requirement: &8667270 !ruby/object:Gem::Requirement
30
- none: false
31
- requirements:
32
- - - ! '>='
33
- - !ruby/object:Gem::Version
34
- version: '0'
35
- type: :development
36
- prerelease: false
37
- version_requirements: *8667270
38
- - !ruby/object:Gem::Dependency
39
- name: open4
40
- requirement: &8667060 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- type: :development
47
- prerelease: false
48
- version_requirements: *8667060
49
- - !ruby/object:Gem::Dependency
50
- name: rake
51
- requirement: &8666850 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ! '>='
55
- - !ruby/object:Gem::Version
56
- version: '0'
57
- type: :development
58
- prerelease: false
59
- version_requirements: *8666850
60
- - !ruby/object:Gem::Dependency
61
- name: rdoc
62
- requirement: &8666640 !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ! '>='
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: *8666640
71
- - !ruby/object:Gem::Dependency
72
- name: shindo
73
- requirement: &8666430 !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
78
- version: '0'
79
- type: :development
80
- prerelease: false
81
- version_requirements: *8666430
82
- - !ruby/object:Gem::Dependency
83
- name: sinatra
84
- requirement: &8666220 !ruby/object:Gem::Requirement
85
- none: false
86
- requirements:
87
- - - ! '>='
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: *8666220
14
+
15
+ date: 2012-03-22 00:00:00 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: activesupport
19
+ prerelease: false
20
+ requirement: &id001 !ruby/object:Gem::Requirement
21
+ none: false
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: "0"
26
+ type: :development
27
+ version_requirements: *id001
28
+ - !ruby/object:Gem::Dependency
29
+ name: delorean
30
+ prerelease: false
31
+ requirement: &id002 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: "0"
37
+ type: :development
38
+ version_requirements: *id002
39
+ - !ruby/object:Gem::Dependency
40
+ name: open4
41
+ prerelease: false
42
+ requirement: &id003 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: "0"
48
+ type: :development
49
+ version_requirements: *id003
50
+ - !ruby/object:Gem::Dependency
51
+ name: rake
52
+ prerelease: false
53
+ requirement: &id004 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: "0"
59
+ type: :development
60
+ version_requirements: *id004
61
+ - !ruby/object:Gem::Dependency
62
+ name: rdoc
63
+ prerelease: false
64
+ requirement: &id005 !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: "0"
70
+ type: :development
71
+ version_requirements: *id005
72
+ - !ruby/object:Gem::Dependency
73
+ name: shindo
74
+ prerelease: false
75
+ requirement: &id006 !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: "0"
81
+ type: :development
82
+ version_requirements: *id006
83
+ - !ruby/object:Gem::Dependency
84
+ name: sinatra
85
+ prerelease: false
86
+ requirement: &id007 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: "0"
92
+ type: :development
93
+ version_requirements: *id007
93
94
  description: EXtended http(s) CONnections
94
95
  email: geemus@gmail.com
95
96
  executables: []
97
+
96
98
  extensions: []
97
- extra_rdoc_files:
98
- - README.md
99
- files:
100
- - Gemfile
101
- - README.md
102
- - Rakefile
103
- - benchmarks/class_vs_lambda.rb
104
- - benchmarks/concat_vs_insert.rb
105
- - benchmarks/concat_vs_interpolate.rb
106
- - benchmarks/cr_lf.rb
107
- - benchmarks/downcase-eq-eq_vs_casecmp.rb
108
- - benchmarks/excon.rb
109
- - benchmarks/excon_vs.rb
110
- - benchmarks/for_vs_array_each.rb
111
- - benchmarks/for_vs_hash_each.rb
112
- - benchmarks/has_key-vs-hash[key].rb
113
- - benchmarks/headers_case_sensitivity.rb
114
- - benchmarks/headers_split_vs_match.rb
115
- - benchmarks/implicit_block-vs-explicit_block.rb
116
- - benchmarks/merging.rb
117
- - benchmarks/single_vs_double_quotes.rb
118
- - benchmarks/string_ranged_index.rb
119
- - benchmarks/strip_newline.rb
120
- - benchmarks/vs_stdlib.rb
121
- - changelog.txt
122
- - data/cacert.pem
123
- - excon.gemspec
124
- - lib/excon.rb
125
- - lib/excon/connection.rb
126
- - lib/excon/constants.rb
127
- - lib/excon/errors.rb
128
- - lib/excon/response.rb
129
- - lib/excon/socket.rb
130
- - lib/excon/ssl_socket.rb
131
- - tests/bad_tests.rb
132
- - tests/basic_tests.rb
133
- - tests/header_tests.rb
134
- - tests/idempotent_tests.rb
135
- - tests/instrumentation_tests.rb
136
- - tests/proxy_tests.rb
137
- - tests/query_string_tests.rb
138
- - tests/rackups/basic.rb
139
- - tests/rackups/basic.ru
140
- - tests/rackups/basic_auth.ru
141
- - tests/rackups/proxy.ru
142
- - tests/rackups/query_string.ru
143
- - tests/rackups/request_methods.ru
144
- - tests/rackups/response_header.ru
145
- - tests/rackups/ssl.ru
146
- - tests/rackups/thread_safety.ru
147
- - tests/request_method_tests.rb
148
- - tests/servers/bad.rb
149
- - tests/stub_tests.rb
150
- - tests/test_helper.rb
151
- - tests/thread_safety_tests.rb
99
+
100
+ extra_rdoc_files:
101
+ - README.md
102
+ files:
103
+ - Gemfile
104
+ - README.md
105
+ - Rakefile
106
+ - benchmarks/class_vs_lambda.rb
107
+ - benchmarks/concat_vs_insert.rb
108
+ - benchmarks/concat_vs_interpolate.rb
109
+ - benchmarks/cr_lf.rb
110
+ - benchmarks/downcase-eq-eq_vs_casecmp.rb
111
+ - benchmarks/excon.rb
112
+ - benchmarks/excon_vs.rb
113
+ - benchmarks/for_vs_array_each.rb
114
+ - benchmarks/for_vs_hash_each.rb
115
+ - benchmarks/has_key-vs-hash[key].rb
116
+ - benchmarks/headers_case_sensitivity.rb
117
+ - benchmarks/headers_split_vs_match.rb
118
+ - benchmarks/implicit_block-vs-explicit_block.rb
119
+ - benchmarks/merging.rb
120
+ - benchmarks/single_vs_double_quotes.rb
121
+ - benchmarks/string_ranged_index.rb
122
+ - benchmarks/strip_newline.rb
123
+ - benchmarks/vs_stdlib.rb
124
+ - changelog.txt
125
+ - data/cacert.pem
126
+ - excon.gemspec
127
+ - lib/excon.rb
128
+ - lib/excon/connection.rb
129
+ - lib/excon/constants.rb
130
+ - lib/excon/errors.rb
131
+ - lib/excon/response.rb
132
+ - lib/excon/socket.rb
133
+ - lib/excon/ssl_socket.rb
134
+ - tests/bad_tests.rb
135
+ - tests/basic_tests.rb
136
+ - tests/header_tests.rb
137
+ - tests/idempotent_tests.rb
138
+ - tests/instrumentation_tests.rb
139
+ - tests/proxy_tests.rb
140
+ - tests/query_string_tests.rb
141
+ - tests/rackups/basic.rb
142
+ - tests/rackups/basic.ru
143
+ - tests/rackups/basic_auth.ru
144
+ - tests/rackups/proxy.ru
145
+ - tests/rackups/query_string.ru
146
+ - tests/rackups/request_methods.ru
147
+ - tests/rackups/response_header.ru
148
+ - tests/rackups/ssl.ru
149
+ - tests/rackups/thread_safety.ru
150
+ - tests/request_method_tests.rb
151
+ - tests/servers/bad.rb
152
+ - tests/stub_tests.rb
153
+ - tests/test_helper.rb
154
+ - tests/thread_safety_tests.rb
152
155
  homepage: https://github.com/geemus/excon
153
156
  licenses: []
157
+
154
158
  post_install_message:
155
- rdoc_options:
156
- - --charset=UTF-8
157
- require_paths:
158
- - lib
159
- required_ruby_version: !ruby/object:Gem::Requirement
159
+ rdoc_options:
160
+ - --charset=UTF-8
161
+ require_paths:
162
+ - lib
163
+ required_ruby_version: !ruby/object:Gem::Requirement
160
164
  none: false
161
- requirements:
162
- - - ! '>='
163
- - !ruby/object:Gem::Version
164
- version: '0'
165
- required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: "0"
169
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
170
  none: false
167
- requirements:
168
- - - ! '>='
169
- - !ruby/object:Gem::Version
170
- version: '0'
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: "0"
171
175
  requirements: []
176
+
172
177
  rubyforge_project: excon
173
- rubygems_version: 1.8.6
178
+ rubygems_version: 1.8.9
174
179
  signing_key:
175
180
  specification_version: 2
176
181
  summary: speed, persistence, http(s)
177
182
  test_files: []
183
+