1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
Commit graph

29 commits

Author SHA1 Message Date
zedshaw
97502ebea9 GemPlugin now doesn't use autorequire. Mongrel adapted to cover an error with daemonize, logger, and closed files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@88 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-09 03:05:11 +00:00
zedshaw
5bf3bca495 Initial fix for some edge rails problems.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@87 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-08 00:52:20 +00:00
zedshaw
bbaf6bb51e Implements the new gem based plugins as a separate projects/gem_plugin. Sets up new rake tasks to support testing gems easier (won't work on win32 yet). Uses the plugin system in mongrel_rails (win32 coming soon).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@83 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-06 05:31:39 +00:00
zedshaw
a4a2f19a0c Fixed up unit tests and cleaned up more of the gem plugin code. Temporarily removed the alternative directory since rubygems doesn't support it too well.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@82 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-05 19:28:52 +00:00
zedshaw
9d120bf9b5 New plugin loading system that works entirely with rubygems rather than custo-hacking files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@80 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-05 07:58:18 +00:00
zedshaw
d150cae477 Implemented access to the RailsHandler from inside rails. Closed off the remaining bugs on our tracker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@74 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-04 17:55:39 +00:00
luislavena
f826d89b81 Add quoting for mime_map when registering the service (in case mime file is located on folders with long names).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@71 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-03 04:56:55 +00:00
zedshaw
918342bc14 Small tweak to make sure the stop gets through.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@70 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-03 02:48:46 +00:00
zedshaw
5c13c5dd9d Commands now converted to new plugin setup. Implemented initial plugin loading option -L.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@67 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-02 03:54:32 +00:00
luislavena
58723a54f1 Renamed InstallCommand in mongrel_rails_service, with the new plugin system should be named just "install".
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@66 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-28 18:07:52 +00:00
zedshaw
d1a01c03f7 New plugin system that is much simpler than pluginfactory and has a lot more leg room for future expansion. Brought timeouts back since couldn't find another way.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@65 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-28 07:04:41 +00:00
luislavena
658f730c92 Added a option to select processor affinity for your mongrel service (-c INT or --cpu INT). Added indication of default environment used for service (production). Renamed configure method from MongrelRails to delayed_initialize (I think is more self descriptive now).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@63 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-27 02:22:18 +00:00
luislavena
9bb6edf113 We must avoid the trapping of signals for win32. Modified mongrel_rails to circumvent this.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@62 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-27 00:56:59 +00:00
zedshaw
e8d6936a04 Implements an improved SwitchTower friendly mongrel_rails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@61 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-26 21:39:40 +00:00
luislavena
3cbe8df054 Done some refactoring into mongrel_rails_svc. Modified it, need more testing but services now should start and stop ok.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@59 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-23 01:16:51 +00:00
zedshaw
c9dd16ed84 Moved the win32 service files so that they can be used directly as commands. Modified the win32 gems to require win32-service. Created a gem for win32-service.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@56 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-22 17:10:19 +00:00
zedshaw
e5c2f9404a As the CGI and Handlers get bigger we'll need to separate their code out. This change does that.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@53 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-21 00:55:39 +00:00
luislavena
eba148cef4 Modified the Rakefile removing dependency of daemons just for win32 gem. Also modified mongrel_rails script to avoid daemonize on win32 platform.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@50 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-20 19:00:49 +00:00
zedshaw
a128709186 Fixed the content-type finally and added a bit to let windows do CTRL-C.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@46 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-19 15:03:32 +00:00
zedshaw
e22cae38e1 Did the recent announcement for 0.3.5. Modified the Rakefile in prep for the win32 service.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@45 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-18 20:32:05 +00:00
zedshaw
0c11d7cdf7 Functioning CGIWrapper that does a better job of dealing with the CGI->Mongrel translation. Still not perfect but testing is on the way.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@41 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-16 06:41:47 +00:00
zedshaw
fd11f72b2f Fix for that same content-length bug, but now fixed by gutting CGI to use HttpResponse right.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@38 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-15 07:38:15 +00:00
zedshaw
709ef40013 Added requested features for running RoR applications.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@36 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-14 12:19:02 +00:00
zedshaw
67a0d9e933 Release that has better Rails servicing support. Might not work in win32.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@32 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-12 03:37:38 +00:00
zedshaw
3a5dfe36b8 Initial command/plugin setup for Mongrel
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@30 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-12 01:30:33 +00:00
zedshaw
55f03e4163 Forgot to reset the daemonize mode.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@28 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-10 06:46:25 +00:00
zedshaw
e0b52fa8be Now runs rails pretty completely, if a little slower than I'd like.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@27 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-10 06:45:50 +00:00
zedshaw
bce8665853 Fixed the URIClassifier to solve a problem with 1 character lookups. Completed more work on Rails runner. Add index.html default lookup for DirHandler. Added some new tests for URIClassifier.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@24 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-10 02:38:18 +00:00
zedshaw
3c343cca6b Created rails runner, started making it daemon capable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@23 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-10 01:06:55 +00:00