racked 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/racked/server.rb +7 -1
- data/racked.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.0
|
data/lib/racked/server.rb
CHANGED
@@ -62,7 +62,13 @@ class Server
|
|
62
62
|
#
|
63
63
|
def make_request request, uri
|
64
64
|
response = Net::HTTP::start(uri.host, uri.port) do |http|
|
65
|
-
|
65
|
+
begin
|
66
|
+
http.request request
|
67
|
+
rescue Exception => e
|
68
|
+
puts e.message
|
69
|
+
puts e.backtrace.inspect
|
70
|
+
retry
|
71
|
+
end
|
66
72
|
end
|
67
73
|
|
68
74
|
response
|
data/racked.gemspec
CHANGED
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 6
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.6.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Noto Modungwa
|
@@ -109,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
109
|
requirements:
|
110
110
|
- - ">="
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
hash: -
|
112
|
+
hash: -752904099
|
113
113
|
segments:
|
114
114
|
- 0
|
115
115
|
version: "0"
|