em-http-server 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -41,6 +41,11 @@ Or install it yourself as:
41
41
  response.send_response
42
42
  end
43
43
 
44
+ def http_request_errback e
45
+ # printing the whole exception
46
+ puts e.inspect
47
+ end
48
+
44
49
  end
45
50
 
46
51
  EM::run do
@@ -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.5"
14
+ gem.version = "0.1.6"
15
15
 
16
16
  gem.add_runtime_dependency "eventmachine"
17
17
  end
@@ -32,7 +32,7 @@ module EventMachine
32
32
  rescue Exception => e
33
33
  # invoke the method in the user-provided instance
34
34
  if respond_to?(:http_request_errback)
35
- http_request_errback
35
+ http_request_errback e
36
36
  end
37
37
  end
38
38
 
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.5
4
+ version: 0.1.6
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-12-17 00:00:00.000000000 Z
12
+ date: 2013-04-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
16
- requirement: &70104281348040 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,12 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70104281348040
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  description: Simple http server for eventmachine
26
31
  email:
27
32
  - alberto.ornaghi@gmail.com
@@ -62,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
67
  version: '0'
63
68
  requirements: []
64
69
  rubyforge_project:
65
- rubygems_version: 1.8.15
70
+ rubygems_version: 1.8.25
66
71
  signing_key:
67
72
  specification_version: 3
68
73
  summary: Simple http server for eventmachine with the same interface as evma_httpserver
@@ -70,3 +75,4 @@ test_files:
70
75
  - test/test_app.rb
71
76
  - test/test_delegated.rb
72
77
  - test/test_response.rb
78
+ has_rdoc: