em-http-server 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/em-http-server.gemspec +1 -1
- data/lib/em-http-server/server.rb +0 -3
- metadata +4 -4
data/em-http-server.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
12
12
|
gem.name = "em-http-server"
|
13
13
|
gem.require_paths = ["lib"]
|
14
|
-
gem.version = "0.1.
|
14
|
+
gem.version = "0.1.3"
|
15
15
|
|
16
16
|
gem.add_runtime_dependency "eventmachine"
|
17
17
|
end
|
@@ -49,9 +49,6 @@ module EventMachine
|
|
49
49
|
|
50
50
|
@http_request_method, uri, @http_protocol = parsed
|
51
51
|
|
52
|
-
# uri must begin with a /
|
53
|
-
send_error(400, "Bad request") unless uri.start_with?('/')
|
54
|
-
|
55
52
|
# optional query string
|
56
53
|
@http_request_uri, @http_query_string = uri.split('?')
|
57
54
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-http-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|
16
|
-
requirement: &
|
16
|
+
requirement: &70349019232820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70349019232820
|
25
25
|
description: Simple http server for eventmachine
|
26
26
|
email:
|
27
27
|
- alberto.ornaghi@gmail.com
|