yup 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/yup/request_forwarder.rb +2 -2
- data/yup.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.8
|
|
@@ -20,7 +20,7 @@ module Yup
|
|
|
20
20
|
http = EventMachine::HttpRequest.
|
|
21
21
|
new(http_url).
|
|
22
22
|
send(http_method,
|
|
23
|
-
:
|
|
23
|
+
:timeout => @timeout,
|
|
24
24
|
:head => @headers.merge('Host' => @forward_to),
|
|
25
25
|
:body => @body)
|
|
26
26
|
|
|
@@ -83,7 +83,7 @@ module Yup
|
|
|
83
83
|
:url => http_url,
|
|
84
84
|
:headers => headers.merge('Host' => @forward_to),
|
|
85
85
|
:parameters => body,
|
|
86
|
-
:
|
|
86
|
+
:timeout => timeout)
|
|
87
87
|
|
|
88
88
|
if http.code_2xx?
|
|
89
89
|
@logger.info '--- SUCCESS'
|
data/yup.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "yup"
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.8"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Denis Sukhonin"]
|
|
12
|
-
s.date = "2012-06-
|
|
12
|
+
s.date = "2012-06-29"
|
|
13
13
|
s.description = "Just answers 200 (or specified) to a client and asynchronously forwards HTTP request to a configured host"
|
|
14
14
|
s.email = "d.sukhonin@gmail.com"
|
|
15
15
|
s.executables = ["yupd"]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-06-
|
|
12
|
+
date: 2012-06-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: eventmachine
|
|
@@ -243,7 +243,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
243
243
|
version: '0'
|
|
244
244
|
segments:
|
|
245
245
|
- 0
|
|
246
|
-
hash: -
|
|
246
|
+
hash: -2903462913094353804
|
|
247
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
248
|
none: false
|
|
249
249
|
requirements:
|