public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Search Repo:
Update Git repo url.
Add a 'users' page on web site.
macournoyer (author)
Thu Jan 10 19:58:01 -0800 2008
commit  415624b6151060d9ae89ad4633040f44a22e4174
tree    9b4a821e29ac52f7d7e3bcb62ed3607def5effb6
parent  1a2268550c691256a40f8ab1f80a052069fdce9c
0
...
19
20
21
22
 
23
24
25
26
27
28
29
30
31
...
60
61
62
63
64
65
 
 
66
...
19
20
21
 
22
23
24
 
 
 
 
25
26
27
...
56
57
58
 
 
59
60
61
62
0
@@ -19,13 +19,9 @@ or using my mirror (might be more recent):
0
 
0
 Or from source:
0
 
0
- git clone http://code.macournoyer.com/git/thin.git
0
+ git clone git://repo.or.cz/thin.git
0
  cd thin
0
  rake install
0
-
0
-Or from the Subversion mirror (might be out of date):
0
-
0
- svn co http://code.macournoyer.com/svn/thin/trunk thin
0
 
0
 === Usage
0
 A +thin+ script is offered to easily start your Rails application:
0
@@ -60,5 +56,5 @@ either the terms of the GPL.
0
 
0
 Thin is copyright Marc-Andre Cournoyer <macournoyer@gmail.com>
0
 
0
-Please report any bug at http://code.macournoyer.com/thin/trac.fcgi/newticket
0
-and security issues directly to me at macournoyer@gmail.com.
0
\ No newline at end of file
0
+Please report any bug at http://groups.google.com/group/thin-ruby/
0
+and major security issues directly to me at macournoyer@gmail.com.
0
\ No newline at end of file
0
...
1
2
3
4
5
6
7
8
...
12
13
14
15
16
17
18
19
20
21
...
1
2
3
 
 
4
5
6
...
10
11
12
 
13
14
15
16
 
17
0
@@ -1,8 +1,6 @@
0
 == BUGS
0
  * Carl Mercier is experiencing weird stuff, response headers seems to be happened
0
    to the top of every HTML page in the browser ?wtf?
0
- * IOError w/ Edge Rails buffer_logger,
0
- http://groups.google.com/group/thin-ruby/browse_thread/thread/856886cfcd46a130
0
 
0
 == FEATURES
0
  * Add builtin cluster monitoring support (with god ?)
0
@@ -12,9 +10,7 @@
0
 == TASKS
0
  * Change benchmarking test to use
0
    http://blog.evanweaver.com/files/doc/fauna/benchmark_unit/
0
- * Start a 'users' page on web site
0
  * Provide precompiled win32 binaries in Gem
0
  * Port response writing to a C extension
0
  * Benchmark CGI and FastCGI too [Carlos Junior]
0
  * Investigate http://rev.rubyforge.org/
0
- * Make font a little bit bigger on website
0
\ No newline at end of file
...
6
7
8
9
 
10
11
12
...
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
...
6
7
8
 
9
10
11
12
...
53
54
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -6,7 +6,7 @@ a:hover { color: #333; border-bottom: solid 1px #aaa; }
0
 
0
 acronym { border-bottom: dotted 1px #ccc; cursor: help; }
0
 
0
-pre { font: 9px Courier, "Courier New"; background: #111; color: #fff; padding: 3px; border: solid 1px #ccc; }
0
+pre { font: 10px Courier, "Courier New"; background: #111; color: #fff; padding: 3px; border: solid 1px #ccc; }
0
 hr { background: url(/thin/images/split.gif) no-repeat; height: 30px; width: 100px; border: 0; margin: 40px auto; }
0
 
0
 input, select, textarea { font: 9px Tahoma, Arial; }
0
@@ -53,41 +53,3 @@ ul.list li { margin: 0; padding: 1px 0; }
0
 .dyn-source { display: none; }
0
 .path { text-align: center; font: 9px Tahoma, Arial; }
0
 .method-type { font: 9px Tahoma, Arial; color: #fff; background: #111; border: solid 1px #ccc; padding: 1px; }
0
-
0
-/*Trac*/
0
-#container.wide { width: 600px; }
0
-#prefs { position: absolute; right: 0; width: 200px; }
0
-
0
-#content.timeline h2 { font: 9px Tahoma, Arial; border-bottom: solid 1px #ccc; color: #ccc; text-align: left; }
0
-#content.timeline dt { padding: 3px; }
0
-#content.timeline dt a { border: 0; }
0
-#content.timeline dt a em { border-bottom: solid 1px #ccc; }
0
-#content.timeline dt .time { font: 9px Tahoma, Arial; color: #fff; background: #111; border: solid 1px #ccc; padding: 1px; }
0
-
0
-table { border-collapse: collapse; }
0
-
0
-table.listing { margin: 30px 0; width: 100%; }
0
-table.listing th { font: 9px Tahoma, Arial; border-bottom: solid 1px #ccc; text-align: left; }
0
-table.listing th a { border: 0; }
0
-table.listing td { padding: 4px; }
0
-
0
-table .odd td { background: #eee; }
0
-
0
-#jumprev { float: right; }
0
-
0
-#help { float: right; margin: 20px 0; }
0
-#altlinks { clear: both; }
0
-
0
-#ctxtnav ul { padding: 4px; margin:0; list-style: none; }
0
-#ctxtnav ul li { margin:0; display: inline; }
0
-
0
-table.code { background: #111; color: #fff; padding: 3px; border: solid 1px #ccc; width: 100%; }
0
-table.code tbody td { font: 10px Courier, "Courier New"; padding: 3px; }
0
-table.code th.info { display: none; }
0
-table.code th { font: 8px Tahoma, Arial; text-align: right; padding: 1px 6px; }
0
-table.code th a { border: 0; }
0
-table.code td { padding: 2px; }
0
-
0
-.field, .buttons { margin: 14px 0; }
0
-
0
-fieldset table, textarea { width: 100%; }
...
2
3
4
5
 
6
7
8
...
16
17
18
 
19
20
21
...
93
94
95
96
97
98
99
 
100
101
102
 
103
104
105
...
118
119
120
121
 
122
123
124
...
129
130
131
 
 
 
 
 
 
 
 
 
 
 
 
 
132
133
134
...
2
3
4
 
5
6
7
8
...
16
17
18
19
20
21
22
...
94
95
96
 
 
 
 
97
98
99
 
100
101
102
103
...
116
117
118
 
119
120
121
122
...
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
0
@@ -2,7 +2,7 @@ require 'rubygems'
0
 require 'atchoum'
0
 
0
 class Thin < Atchoum::Website
0
- ROOT = ENV['SITE_ROOT'] || '/'
0
+ ROOT = ENV['SITE_ROOT'] || ''
0
   
0
   def layout
0
     xhtml_html do
0
@@ -16,6 +16,7 @@ class Thin < Atchoum::Website
0
           li { a 'download', :href => "#{ROOT}/download/" }
0
           li { a 'usage', :href => "#{ROOT}/usage/" }
0
           li { a 'doc', :href => "#{ROOT}/doc/" }
0
+ li { a 'users', :href => "#{ROOT}/users/" }
0
           li { a 'community', :href => "http://groups.google.com/group/thin-ruby/" }
0
         end
0
 
0
@@ -93,13 +94,10 @@ class Thin < Atchoum::Website
0
     h2 'Install from source'
0
 
0
     p 'Clone the Git repository'
0
- pre 'git clone http://code.macournoyer.com/git/thin.git'
0
-
0
- p 'Or checkout the Subversion mirror (might be out of date)'
0
- pre 'svn co http://code.macournoyer.com/svn/thin/trunk thin'
0
+ pre 'git clone git://repo.or.cz/thin.git && cd thin'
0
     
0
     p 'Hack the code, patch it, whatever, build the Gem and install'
0
- pre 'cd thin && rake install'
0
+ pre 'sudo rake install'
0
   end
0
   
0
   def usage_page
0
@@ -118,7 +116,7 @@ class Thin < Atchoum::Website
0
       require 'thin'
0
       
0
       app = proc do |env|
0
- [ 200, { 'Content-Type' => 'text/html' }, ['hi'] ]
0
+ [200, {'Content-Type' => 'text/html'}, ['hi']]
0
       end
0
       
0
       run app
0
@@ -129,6 +127,19 @@ class Thin < Atchoum::Website
0
     p { "See #{a 'Rack doc', :href => 'http://rack.rubyforge.org/doc/'} for more." }
0
   end
0
   
0
+ def users_page
0
+ h2 'Users'
0
+
0
+ p "Who's using Thin ?"
0
+
0
+ ul do
0
+ li { a 'refactormycode.com', :href => 'http://refactormycode.com/' }
0
+ li { a "Joao Pedrosa's Blog", :href => 'http://www.deze9.com/jp/blog/post?p=enabling-thin-support-for-this-site-replacing' }
0
+ end
0
+
0
+ p { "If you'd like to have your site listed here, #{a 'drop me an email', :href => 'mailto:macournoyer@gmail.com'}" }
0
+ end
0
+
0
   private
0
   
0
     def chart_url(data, options={})

Comments

    No one has commented yet.