realweb 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/realweb/forking_server.rb +2 -1
  2. metadata +49 -19
@@ -22,7 +22,8 @@ module RealWeb
22
22
  def spawn_server
23
23
  self.port
24
24
 
25
- unless @pid = fork
25
+ trap(:TERM) { kill_pid; exit!(0) }
26
+ @pid = fork do
26
27
  process_as_child
27
28
  end
28
29
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: realweb
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 2
8
- - 1
9
- version: 0.2.1
4
+ prerelease:
5
+ version: 0.2.2
10
6
  platform: ruby
11
7
  authors:
12
8
  - Ben Burkert
@@ -16,23 +12,53 @@ autorequire:
16
12
  bindir: bin
17
13
  cert_chain: []
18
14
 
19
- date: 2010-07-12 00:00:00 -07:00
15
+ date: 2011-10-07 00:00:00 -07:00
20
16
  default_executable:
21
17
  dependencies:
22
18
  - !ruby/object:Gem::Dependency
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
19
+ name: rack
20
+ requirement: &id001 !ruby/object:Gem::Requirement
21
+ none: false
24
22
  requirements:
25
- - - ~>
23
+ - - ">="
26
24
  - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 1
30
- - 0
31
25
  version: 1.1.0
32
- requirement: *id001
33
- prerelease: false
34
- name: rack
35
26
  type: :runtime
27
+ prerelease: false
28
+ version_requirements: *id001
29
+ - !ruby/object:Gem::Dependency
30
+ name: rake
31
+ requirement: &id002 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: "0"
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: *id002
40
+ - !ruby/object:Gem::Dependency
41
+ name: rspec
42
+ requirement: &id003 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: "2.0"
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: *id003
51
+ - !ruby/object:Gem::Dependency
52
+ name: thin
53
+ requirement: &id004 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: "0"
59
+ type: :development
60
+ prerelease: false
61
+ version_requirements: *id004
36
62
  description: Easily runs a rack app for tests that hit web APIs
37
63
  email: cloud-engineering@engineyard.com
38
64
  executables: []
@@ -43,13 +69,13 @@ extra_rdoc_files:
43
69
  - README.rdoc
44
70
  - LICENSE
45
71
  files:
46
- - lib/realweb.rb
47
72
  - lib/realweb/forking_server.rb
48
73
  - lib/realweb/server.rb
49
74
  - lib/realweb/thread_server.rb
75
+ - lib/realweb.rb
50
76
  - README.rdoc
51
77
  - LICENSE
52
- has_rdoc: false
78
+ has_rdoc: true
53
79
  homepage: http://github.com/engineyard/realweb
54
80
  licenses: []
55
81
 
@@ -59,23 +85,27 @@ rdoc_options: []
59
85
  require_paths:
60
86
  - lib
61
87
  required_ruby_version: !ruby/object:Gem::Requirement
88
+ none: false
62
89
  requirements:
63
90
  - - ">="
64
91
  - !ruby/object:Gem::Version
92
+ hash: -2528341162125870647
65
93
  segments:
66
94
  - 0
67
95
  version: "0"
68
96
  required_rubygems_version: !ruby/object:Gem::Requirement
97
+ none: false
69
98
  requirements:
70
99
  - - ">="
71
100
  - !ruby/object:Gem::Version
101
+ hash: -2528341162125870647
72
102
  segments:
73
103
  - 0
74
104
  version: "0"
75
105
  requirements: []
76
106
 
77
107
  rubyforge_project:
78
- rubygems_version: 1.3.6
108
+ rubygems_version: 1.6.2
79
109
  signing_key:
80
110
  specification_version: 3
81
111
  summary: Easily runs a rack app for tests that hit web APIs