http_connection 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/right_http_connection.rb +2 -2
- metadata +19 -27
@@ -276,7 +276,7 @@ them.
|
|
276
276
|
@port = request_params[:port]
|
277
277
|
@protocol = request_params[:protocol]
|
278
278
|
|
279
|
-
@logger.
|
279
|
+
@logger.debug("Opening new #{@protocol.upcase} connection to #@server:#@port")
|
280
280
|
@http = Net::HTTP.new(@server, @port)
|
281
281
|
@http.open_timeout = @params[:http_connection_open_timeout]
|
282
282
|
@http.read_timeout = @params[:http_connection_read_timeout]
|
@@ -407,7 +407,7 @@ them.
|
|
407
407
|
def finish(reason = '')
|
408
408
|
if @http && @http.started?
|
409
409
|
reason = ", reason: '#{reason}'" unless self.class.blank?(reason)
|
410
|
-
@logger.
|
410
|
+
@logger.debug("Closing #{@http.use_ssl? ? 'HTTPS' : 'HTTP'} connection to #{@http.address}:#{@http.port}#{reason}")
|
411
411
|
@http.finish
|
412
412
|
end
|
413
413
|
end
|
metadata
CHANGED
@@ -1,56 +1,48 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: http_connection
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.2
|
4
5
|
prerelease:
|
5
|
-
version: 1.4.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Travis Reeder
|
9
9
|
- RightScale
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
|
14
|
-
date: 2011-04-19 00:00:00 Z
|
13
|
+
date: 2012-10-04 00:00:00.000000000 Z
|
15
14
|
dependencies: []
|
16
|
-
|
17
15
|
description: HTTP helper library
|
18
16
|
email: travis@appoxy.com
|
19
17
|
executables: []
|
20
|
-
|
21
18
|
extensions: []
|
22
|
-
|
23
|
-
extra_rdoc_files:
|
19
|
+
extra_rdoc_files:
|
24
20
|
- README.txt
|
25
|
-
files:
|
21
|
+
files:
|
26
22
|
- lib/right_http_connection.rb
|
27
23
|
- README.txt
|
28
24
|
homepage: http://github.com/appoxy/http_connection/
|
29
25
|
licenses: []
|
30
|
-
|
31
26
|
post_install_message:
|
32
27
|
rdoc_options: []
|
33
|
-
|
34
|
-
require_paths:
|
28
|
+
require_paths:
|
35
29
|
- lib
|
36
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
30
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
37
31
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version:
|
42
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
37
|
none: false
|
44
|
-
requirements:
|
45
|
-
- -
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version:
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
48
42
|
requirements: []
|
49
|
-
|
50
43
|
rubyforge_project:
|
51
|
-
rubygems_version: 1.
|
44
|
+
rubygems_version: 1.8.24
|
52
45
|
signing_key:
|
53
46
|
specification_version: 3
|
54
47
|
summary: HTTP helper library
|
55
48
|
test_files: []
|
56
|
-
|