activerain-mongrel_runit 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. data/CHANGELOG.txt +8 -0
  2. data/History.txt +0 -0
  3. data/LICENSE +339 -0
  4. data/Manifest.txt +11 -0
  5. data/README.txt +123 -0
  6. data/Rakefile +58 -0
  7. data/bin/mongrel_runit +9 -0
  8. data/lib/mongrel_runit.rb +25 -0
  9. data/lib/mongrel_runit/base.rb +58 -0
  10. data/lib/mongrel_runit/cli.rb +60 -0
  11. data/lib/mongrel_runit/config.rb +184 -0
  12. data/lib/mongrel_runit/service.rb +253 -0
  13. data/lib/mongrel_runit/servicerunner.rb +91 -0
  14. data/lib/mongrel_runit/version.rb +9 -0
  15. data/test/config/mongrel_runit.yml +21 -0
  16. data/test/config/mongrel_runit_service.yml +12 -0
  17. data/test/tc_config.rb +93 -0
  18. data/test/tc_service.rb +153 -0
  19. data/test/tc_servicerunner.rb +74 -0
  20. data/test/test_helper.rb +2 -0
  21. data/test/test_mongrel_runit.rb +9 -0
  22. data/test/testapp/README +182 -0
  23. data/test/testapp/Rakefile +10 -0
  24. data/test/testapp/app/controllers/application.rb +7 -0
  25. data/test/testapp/app/helpers/application_helper.rb +3 -0
  26. data/test/testapp/config/boot.rb +45 -0
  27. data/test/testapp/config/database.yml +36 -0
  28. data/test/testapp/config/environment.rb +60 -0
  29. data/test/testapp/config/environments/development.rb +21 -0
  30. data/test/testapp/config/environments/production.rb +18 -0
  31. data/test/testapp/config/environments/test.rb +19 -0
  32. data/test/testapp/config/routes.rb +23 -0
  33. data/test/testapp/doc/README_FOR_APP +2 -0
  34. data/test/testapp/log/development.log +0 -0
  35. data/test/testapp/log/production.log +3010 -0
  36. data/test/testapp/log/server.log +0 -0
  37. data/test/testapp/log/test.log +0 -0
  38. data/test/testapp/public/404.html +30 -0
  39. data/test/testapp/public/500.html +30 -0
  40. data/test/testapp/public/dispatch.cgi +10 -0
  41. data/test/testapp/public/dispatch.fcgi +24 -0
  42. data/test/testapp/public/dispatch.rb +10 -0
  43. data/test/testapp/public/favicon.ico +0 -0
  44. data/test/testapp/public/images/rails.png +0 -0
  45. data/test/testapp/public/index.html +277 -0
  46. data/test/testapp/public/javascripts/application.js +2 -0
  47. data/test/testapp/public/javascripts/controls.js +833 -0
  48. data/test/testapp/public/javascripts/dragdrop.js +942 -0
  49. data/test/testapp/public/javascripts/effects.js +1088 -0
  50. data/test/testapp/public/javascripts/prototype.js +2515 -0
  51. data/test/testapp/public/robots.txt +1 -0
  52. data/test/testapp/script/about +3 -0
  53. data/test/testapp/script/breakpointer +3 -0
  54. data/test/testapp/script/console +3 -0
  55. data/test/testapp/script/destroy +3 -0
  56. data/test/testapp/script/generate +3 -0
  57. data/test/testapp/script/performance/benchmarker +3 -0
  58. data/test/testapp/script/performance/profiler +3 -0
  59. data/test/testapp/script/plugin +3 -0
  60. data/test/testapp/script/process/inspector +3 -0
  61. data/test/testapp/script/process/reaper +3 -0
  62. data/test/testapp/script/process/spawner +3 -0
  63. data/test/testapp/script/runner +3 -0
  64. data/test/testapp/script/server +3 -0
  65. data/test/testapp/test/test_helper.rb +28 -0
  66. metadata +157 -0
@@ -0,0 +1 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/about'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/breakpointer'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/console'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/destroy'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/generate'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/performance/benchmarker'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/performance/profiler'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/plugin'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/process/inspector'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/process/reaper'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/process/spawner'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/runner'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/server'
@@ -0,0 +1,28 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
3
+ require 'test_help'
4
+
5
+ class Test::Unit::TestCase
6
+ # Transactional fixtures accelerate your tests by wrapping each test method
7
+ # in a transaction that's rolled back on completion. This ensures that the
8
+ # test database remains unchanged so your fixtures don't have to be reloaded
9
+ # between every test method. Fewer database queries means faster tests.
10
+ #
11
+ # Read Mike Clark's excellent walkthrough at
12
+ # http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
13
+ #
14
+ # Every Active Record database supports transactions except MyISAM tables
15
+ # in MySQL. Turn off transactional fixtures in this case; however, if you
16
+ # don't care one way or the other, switching from MyISAM to InnoDB tables
17
+ # is recommended.
18
+ self.use_transactional_fixtures = true
19
+
20
+ # Instantiated fixtures are slow, but give you @david where otherwise you
21
+ # would need people(:david). If you don't want to migrate your existing
22
+ # test cases which use the @david style and don't mind the speed hit (each
23
+ # instantiated fixtures translates to a database query per test method),
24
+ # then set this back to true.
25
+ self.use_instantiated_fixtures = false
26
+
27
+ # Add more helper methods to be used by all tests here...
28
+ end
metadata ADDED
@@ -0,0 +1,157 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activerain-mongrel_runit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.3
5
+ platform: ruby
6
+ authors:
7
+ - Adam Jacob
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-06-16 00:00:00 -07:00
13
+ default_executable: mongrel_runit
14
+ dependencies: []
15
+
16
+ description: Use runit to manage a mongrel cluster
17
+ email: adam@hjksolutions.com
18
+ executables:
19
+ - mongrel_runit
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - CHANGELOG.txt
24
+ - History.txt
25
+ - Manifest.txt
26
+ - README.txt
27
+ files:
28
+ - lib/mongrel_runit/base.rb
29
+ - lib/mongrel_runit/cli.rb
30
+ - lib/mongrel_runit/config.rb
31
+ - lib/mongrel_runit/service.rb
32
+ - lib/mongrel_runit/servicerunner.rb
33
+ - lib/mongrel_runit/version.rb
34
+ - lib/mongrel_runit.rb
35
+ - bin/mongrel_runit
36
+ - CHANGELOG.txt
37
+ - History.txt
38
+ - LICENSE
39
+ - Manifest.txt
40
+ - Rakefile
41
+ - README.txt
42
+ - test/config
43
+ - test/config/mongrel_runit.yml
44
+ - test/config/mongrel_runit_service.yml
45
+ - test/service
46
+ - test/sv
47
+ - test/tc_config.rb
48
+ - test/tc_service.rb
49
+ - test/tc_servicerunner.rb
50
+ - test/test_helper.rb
51
+ - test/test_mongrel_runit.rb
52
+ - test/testapp
53
+ - test/testapp/app
54
+ - test/testapp/app/controllers
55
+ - test/testapp/app/controllers/application.rb
56
+ - test/testapp/app/helpers
57
+ - test/testapp/app/helpers/application_helper.rb
58
+ - test/testapp/app/models
59
+ - test/testapp/app/views
60
+ - test/testapp/app/views/layouts
61
+ - test/testapp/components
62
+ - test/testapp/config
63
+ - test/testapp/config/boot.rb
64
+ - test/testapp/config/database.yml
65
+ - test/testapp/config/environment.rb
66
+ - test/testapp/config/environments
67
+ - test/testapp/config/environments/development.rb
68
+ - test/testapp/config/environments/production.rb
69
+ - test/testapp/config/environments/test.rb
70
+ - test/testapp/config/routes.rb
71
+ - test/testapp/db
72
+ - test/testapp/doc
73
+ - test/testapp/doc/README_FOR_APP
74
+ - test/testapp/lib
75
+ - test/testapp/lib/tasks
76
+ - test/testapp/log
77
+ - test/testapp/log/development.log
78
+ - test/testapp/log/production.log
79
+ - test/testapp/log/server.log
80
+ - test/testapp/log/test.log
81
+ - test/testapp/public
82
+ - test/testapp/public/404.html
83
+ - test/testapp/public/500.html
84
+ - test/testapp/public/dispatch.cgi
85
+ - test/testapp/public/dispatch.fcgi
86
+ - test/testapp/public/dispatch.rb
87
+ - test/testapp/public/favicon.ico
88
+ - test/testapp/public/images
89
+ - test/testapp/public/images/rails.png
90
+ - test/testapp/public/index.html
91
+ - test/testapp/public/javascripts
92
+ - test/testapp/public/javascripts/application.js
93
+ - test/testapp/public/javascripts/controls.js
94
+ - test/testapp/public/javascripts/dragdrop.js
95
+ - test/testapp/public/javascripts/effects.js
96
+ - test/testapp/public/javascripts/prototype.js
97
+ - test/testapp/public/robots.txt
98
+ - test/testapp/public/stylesheets
99
+ - test/testapp/Rakefile
100
+ - test/testapp/README
101
+ - test/testapp/script
102
+ - test/testapp/script/about
103
+ - test/testapp/script/breakpointer
104
+ - test/testapp/script/console
105
+ - test/testapp/script/destroy
106
+ - test/testapp/script/generate
107
+ - test/testapp/script/performance
108
+ - test/testapp/script/performance/benchmarker
109
+ - test/testapp/script/performance/profiler
110
+ - test/testapp/script/plugin
111
+ - test/testapp/script/process
112
+ - test/testapp/script/process/inspector
113
+ - test/testapp/script/process/reaper
114
+ - test/testapp/script/process/spawner
115
+ - test/testapp/script/runner
116
+ - test/testapp/script/server
117
+ - test/testapp/test
118
+ - test/testapp/test/fixtures
119
+ - test/testapp/test/functional
120
+ - test/testapp/test/integration
121
+ - test/testapp/test/mocks
122
+ - test/testapp/test/mocks/development
123
+ - test/testapp/test/mocks/test
124
+ - test/testapp/test/test_helper.rb
125
+ - test/testapp/test/unit
126
+ - test/testapp/tmp
127
+ - test/testapp/vendor
128
+ - test/testapp/vendor/plugins
129
+ has_rdoc: true
130
+ homepage: https://wiki.hjksolutions.com/display/MR/Home
131
+ post_install_message:
132
+ rdoc_options:
133
+ - --main
134
+ - README.txt
135
+ require_paths:
136
+ - lib
137
+ required_ruby_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: "0"
142
+ version:
143
+ required_rubygems_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: "0"
148
+ version:
149
+ requirements: []
150
+
151
+ rubyforge_project: mongrel_runit
152
+ rubygems_version: 1.2.0
153
+ signing_key:
154
+ specification_version: 2
155
+ summary: Use runit to manage a mongrel cluster
156
+ test_files: []
157
+