scgi 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/LICENSE +0 -0
  2. data/README +9 -3
  3. data/lib/scgi.rb +7 -2
  4. metadata +41 -32
data/LICENSE CHANGED
File without changes
data/README CHANGED
@@ -16,8 +16,9 @@ ruby-scgi is distributed as a gem, and can be installed with:
16
16
  Feedback/Bugs/Support Requests should be handled through RubyForge at
17
17
  http://rubyforge.org/projects/scgi/.
18
18
 
19
- The RDoc is available at http://code.jeremyevans.net/doc/ruby-scgi/.
20
- Subversion access is available at svn://code.jeremyevans.net/ruby-scgi/.
19
+ The RDoc is available at http://scgi.rubyforge.org
20
+ Source control access is available at github
21
+ (http://github.com/jeremyevans/ruby-scgi).
21
22
 
22
23
  == Advantages
23
24
 
@@ -140,6 +141,11 @@ Apache:
140
141
  </Directory>
141
142
  </VirtualHost>
142
143
 
144
+ == Changes from version 0.9.0
145
+
146
+ * The library should now run on Windows, though there may be issues shutting
147
+ it down.
148
+
143
149
  == Changes from version 0.8.0
144
150
 
145
151
  * You can pass a socket to SCGI::Processor.new via settings[:socket]
@@ -179,4 +185,4 @@ A: Well, aren't you snotty. You can certainly use Mongrel if you want. The
179
185
  memory/performance differences are small, and it is probably better maintained.
180
186
  ruby-scgi is a simpler version of SCGI Rails Runner, and may be useful for
181
187
  certain legacy setups. Also, it works well and it's been working for me for
182
- the last few years, so I haven't felt the need to change to Mongrel.
188
+ the last few years.
@@ -254,8 +254,13 @@ module SCGI
254
254
  def setup_signals
255
255
  trap("TERM") { @log.info("SIGTERM, forced shutdown."); shutdown(force=true) }
256
256
  trap("INT") { @log.info("SIGINT, graceful shutdown started."); shutdown }
257
- trap("HUP") { @log.info("SIGHUP, graceful shutdown started."); shutdown }
258
- trap("USR2") { @log.info(status_info) }
257
+ begin
258
+ trap("HUP") { @log.info("SIGHUP, graceful shutdown started."); shutdown }
259
+ trap("USR2") { @log.info(status_info) }
260
+ rescue ArgumentError
261
+ # Probably on Windows and these signals aren't supported
262
+ nil
263
+ end
259
264
  end
260
265
 
261
266
  # Returns a Hash with status information. This is used
metadata CHANGED
@@ -1,49 +1,58 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: scgi
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.9.0
7
- date: 2008-01-23 00:00:00 -08:00
8
- summary: Simple support for using SCGI in ruby apps, such as Rails
9
- require_paths:
10
- - lib
11
- email: code@jeremyevans.net
12
- homepage:
13
- rubyforge_project: scgi
14
- description:
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.9.1
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Jeremy Evans
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-11-07 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: code@jeremyevans.net
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
31
24
  files:
32
25
  - LICENSE
33
26
  - README
34
27
  - lib/scgi.rb
35
- test_files: []
36
-
28
+ has_rdoc: true
29
+ homepage:
30
+ post_install_message:
37
31
  rdoc_options:
38
32
  - --inline-source
39
33
  - --line-numbers
40
- extra_rdoc_files:
41
34
  - README
42
- executables: []
43
-
44
- extensions: []
45
-
35
+ - lib
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: "0"
43
+ version:
44
+ required_rubygems_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: "0"
49
+ version:
46
50
  requirements: []
47
51
 
48
- dependencies: []
52
+ rubyforge_project: scgi
53
+ rubygems_version: 1.3.0
54
+ signing_key:
55
+ specification_version: 2
56
+ summary: Simple support for using SCGI in ruby apps, such as Rails
57
+ test_files: []
49
58