public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
don't require 'daemons' gem on windows, fixes #45, exclude some 
posix-specific specs if on windows
kevwil (author)
Sun Feb 17 15:58:47 -0800 2008
commit  18b430d1fede94c2e19bc70b5b8c8826846e8c73
tree    8d604a720d90f8472e96b52757ca3ebfa745befc
parent  35fc74264d412c44952ed5153cd0e6bc38bf7d25
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,5 +1,5 @@
0
 require 'etc'
0
-require 'daemons'
0
+require 'daemons' unless Thin.win?
0
 
0
 module Process
0
   # Returns +true+ the process identied by +pid+ is running.
...
43
44
45
46
 
47
48
49
...
43
44
45
 
46
47
48
49
0
@@ -43,7 +43,7 @@ module Thin
0
   #
0
   class Server
0
     include Logging
0
- include Daemonizable unless Thin.win?
0
+ include Daemonizable
0
     extend Forwardable
0
     
0
     # Default values
...
11
12
13
 
 
 
 
 
 
 
 
 
14
15
16
...
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
0
@@ -11,6 +11,15 @@ else
0
   desc "Run all examples"
0
   Spec::Rake::SpecTask.new('spec') do |t|
0
     t.spec_files = FileList['spec/**/*_spec.rb']
0
+ if WIN
0
+ t.spec_files -= [
0
+ 'spec/connectors/unix_server_spec.rb',
0
+ 'spec/controllers/service_spec.rb',
0
+ 'spec/daemonizing_spec.rb',
0
+ 'spec/server/unix_socket_spec.rb',
0
+ 'spec/server/swiftiply_spec.rb'
0
+ ]
0
+ end
0
   end
0
   
0
   task :check_spec_gems do

Comments

    No one has commented yet.