forward 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forward/request.rb +2 -2
- data/lib/forward/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a08d7f5afa463cd3a5e174c6e173fca13d7fe0a7
|
4
|
+
data.tar.gz: 37693a60089694982636e8ed03371b085f1758dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 847dcb36ccc080942f6977ede220f8d9c39d44f065cad5922a543e4cbd17a41cba12c684bb957699c51a2946cd3d5d55f97e26f778eddf667abefbae42e90131
|
7
|
+
data.tar.gz: ce64f175da2481e5e9387c301d4922446910ef335fb74426b19986f6de27c79cb2415b44c4718b16f896a0d7050c66ec7b5538ad4f0629832726ae485ccf1cef
|
data/lib/forward/request.rb
CHANGED
@@ -38,11 +38,11 @@ module Forward
|
|
38
38
|
body: (body.empty? ? nil : body),
|
39
39
|
head: headers
|
40
40
|
}
|
41
|
-
|
41
|
+
|
42
42
|
logger.debug "[request] #{method} #{url}#{path} #{options.inspect}"
|
43
43
|
puts "[#{Time.now.strftime('%H:%M:%S')}] [#{method}] #{path}" unless Forward.quiet?
|
44
44
|
|
45
|
-
http = EM::HttpRequest.new(url).send(method.downcase, options)
|
45
|
+
http = EM::HttpRequest.new(url, :inactivity_timeout => 60).send(method.downcase, options)
|
46
46
|
|
47
47
|
http.headers { |header|
|
48
48
|
# It's no longer gzipped, clear it
|
data/lib/forward/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forward
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Dunn
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-07-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: slop
|