excon 0.7.9 → 0.7.10

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.

@@ -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.9'
17
- s.date = '2011-11-30'
16
+ s.version = '0.7.10'
17
+ s.date = '2011-12-04'
18
18
  s.rubyforge_project = 'excon'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -214,6 +214,10 @@ module Excon
214
214
  else
215
215
  raise(request_error)
216
216
  end
217
+ ensure
218
+ if params[:body] && params[:body].respond_to?(:close)
219
+ params[:body].close
220
+ end
217
221
  end
218
222
 
219
223
  def reset
@@ -1,6 +1,6 @@
1
1
  module Excon
2
2
  unless const_defined?(:VERSION)
3
- VERSION = '0.7.9'
3
+ VERSION = '0.7.10'
4
4
  end
5
5
 
6
6
  unless const_defined?(:CHUNK_SIZE)
metadata CHANGED
@@ -1,92 +1,69 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: excon
3
- version: !ruby/object:Gem::Version
4
- hash: 17
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.10
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 7
9
- - 9
10
- version: 0.7.9
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - dpiddy (Dan Peterson)
14
9
  - geemus (Wesley Beary)
15
10
  - nextmat (Matt Sanders)
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2011-11-30 00:00:00 -04:00
21
- default_executable:
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
33
- version_requirements: *id001
14
+ date: 2011-12-04 00:00:00.000000000Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
34
17
  name: open4
35
- prerelease: false
36
- type: :development
37
- - !ruby/object:Gem::Dependency
38
- requirement: &id002 !ruby/object:Gem::Requirement
18
+ requirement: &70283278915800 !ruby/object:Gem::Requirement
39
19
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
47
- version_requirements: *id002
48
- name: rake
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
24
+ type: :development
49
25
  prerelease: false
26
+ version_requirements: *70283278915800
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: &70283278915340 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
50
35
  type: :development
51
- - !ruby/object:Gem::Dependency
52
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ version_requirements: *70283278915340
38
+ - !ruby/object:Gem::Dependency
39
+ name: shindo
40
+ requirement: &70283278914840 !ruby/object:Gem::Requirement
53
41
  none: false
54
- requirements:
55
- - - "="
56
- - !ruby/object:Gem::Version
57
- hash: 23
58
- segments:
59
- - 0
60
- - 2
61
- - 0
42
+ requirements:
43
+ - - =
44
+ - !ruby/object:Gem::Version
62
45
  version: 0.2.0
63
- version_requirements: *id003
64
- name: shindo
65
- prerelease: false
66
46
  type: :development
67
- - !ruby/object:Gem::Dependency
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 3
74
- segments:
75
- - 0
76
- version: "0"
77
- version_requirements: *id004
78
- name: sinatra
79
47
  prerelease: false
48
+ version_requirements: *70283278914840
49
+ - !ruby/object:Gem::Dependency
50
+ name: sinatra
51
+ requirement: &70283278941540 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
80
57
  type: :development
58
+ prerelease: false
59
+ version_requirements: *70283278941540
81
60
  description: EXtended http(s) CONnections
82
61
  email: geemus@gmail.com
83
62
  executables: []
84
-
85
63
  extensions: []
86
-
87
- extra_rdoc_files:
64
+ extra_rdoc_files:
88
65
  - README.rdoc
89
- files:
66
+ files:
90
67
  - Gemfile
91
68
  - README.rdoc
92
69
  - Rakefile
@@ -134,39 +111,29 @@ files:
134
111
  - tests/stub_tests.rb
135
112
  - tests/test_helper.rb
136
113
  - tests/thread_safety_tests.rb
137
- has_rdoc: true
138
114
  homepage: https://github.com/geemus/excon
139
115
  licenses: []
140
-
141
116
  post_install_message:
142
- rdoc_options:
117
+ rdoc_options:
143
118
  - --charset=UTF-8
144
- require_paths:
119
+ require_paths:
145
120
  - lib
146
- required_ruby_version: !ruby/object:Gem::Requirement
121
+ required_ruby_version: !ruby/object:Gem::Requirement
147
122
  none: false
148
- requirements:
149
- - - ">="
150
- - !ruby/object:Gem::Version
151
- hash: 3
152
- segments:
153
- - 0
154
- version: "0"
155
- required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
156
128
  none: false
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- hash: 3
161
- segments:
162
- - 0
163
- version: "0"
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
164
133
  requirements: []
165
-
166
134
  rubyforge_project: excon
167
- rubygems_version: 1.6.2
135
+ rubygems_version: 1.8.10
168
136
  signing_key:
169
137
  specification_version: 2
170
138
  summary: speed, persistence, http(s)
171
139
  test_files: []
172
-