webroar 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (402) hide show
  1. data/CHANGELOG +7 -0
  2. data/README +1 -1
  3. data/doc/user-guide.html +125 -85
  4. data/doc/user-guide.txt +2 -2
  5. data/lib/constant.rb +23 -16
  6. data/lib/db_connect.rb +2 -3
  7. data/lib/installer.rb +17 -10
  8. data/lib/user_interaction.rb +21 -10
  9. data/lib/webroar_command.rb +21 -23
  10. data/src/admin_panel/Gemfile +8 -0
  11. data/src/admin_panel/Rakefile +2 -5
  12. data/src/admin_panel/app/controllers/application_controller.rb +1 -1
  13. data/src/admin_panel/app/controllers/exceptions_controller.rb +25 -26
  14. data/src/admin_panel/app/controllers/graph_controller.rb +2 -1
  15. data/src/admin_panel/app/helpers/admin_helper.rb +1 -1
  16. data/src/admin_panel/app/{models → mailers}/mailer.rb +5 -8
  17. data/src/admin_panel/app/models/app.rb +1 -1
  18. data/src/admin_panel/app/models/app_exception.rb +15 -11
  19. data/src/admin_panel/app/models/app_time_sample.rb +40 -10
  20. data/src/admin_panel/app/models/application_specification.rb +71 -41
  21. data/src/admin_panel/app/models/resource_usage.rb +76 -55
  22. data/src/admin_panel/app/models/url_breakup_time_sample.rb +6 -11
  23. data/src/admin_panel/app/models/url_time_sample.rb +57 -13
  24. data/src/admin_panel/app/views/admin/_application_table.html.erb +5 -5
  25. data/src/admin_panel/app/views/admin/_feedback_partial.html.erb +4 -4
  26. data/src/admin_panel/app/views/admin/_report_bug_partial.html.erb +5 -5
  27. data/src/admin_panel/app/views/admin/change_password_form.html.erb +3 -3
  28. data/src/admin_panel/app/views/admin/configuration.html.erb +6 -6
  29. data/src/admin_panel/app/views/admin/home.html.erb +4 -4
  30. data/src/admin_panel/app/views/admin/index.html.erb +5 -5
  31. data/src/admin_panel/app/views/application_specification/_application_specification_form.html.erb +15 -6
  32. data/src/admin_panel/app/views/exceptions/_add_and_list_exception_classes.html.erb +7 -6
  33. data/src/admin_panel/app/views/exceptions/_exception_backtrace_partial.html.erb +1 -1
  34. data/src/admin_panel/app/views/exceptions/_exception_environment_partial.html.erb +30 -30
  35. data/src/admin_panel/app/views/exceptions/_exception_list_partial.html.erb +11 -11
  36. data/src/admin_panel/app/views/exceptions/_show.html.erb +8 -8
  37. data/src/admin_panel/app/views/exceptions/index.html.erb +0 -1
  38. data/src/admin_panel/app/views/graph/_get_database_data.html.erb +1 -1
  39. data/src/admin_panel/app/views/graph/_get_resource_usage_data_app.html.erb +2 -2
  40. data/src/admin_panel/app/views/graph/_get_resource_usage_data_server.html.erb +2 -2
  41. data/src/admin_panel/app/views/graph/_get_throughput_data.html.erb +2 -2
  42. data/src/admin_panel/app/views/graph/_get_url_data.html.erb +4 -4
  43. data/src/admin_panel/app/views/graph/_pie.html.erb +2 -2
  44. data/src/admin_panel/app/views/graph/_query_date.html.erb +1 -1
  45. data/src/admin_panel/app/views/graph/_query_period.html.erb +1 -1
  46. data/src/admin_panel/app/views/graph/_slider_partial.html.erb +5 -4
  47. data/src/admin_panel/app/views/graph/index.html.erb +0 -1
  48. data/src/admin_panel/app/views/headers/_add_expires_text_box.html.erb +5 -5
  49. data/src/admin_panel/app/views/headers/_expires_by_type_form.html.erb +1 -1
  50. data/src/admin_panel/app/views/headers/_headers_table.html.erb +12 -12
  51. data/src/admin_panel/app/views/layouts/application.html.erb +71 -51
  52. data/src/admin_panel/app/views/mail_specification/_current_spec.html.erb +4 -4
  53. data/src/admin_panel/app/views/mail_specification/_sendmail_form.html.erb +3 -3
  54. data/src/admin_panel/app/views/mail_specification/_smtp_form.html.erb +3 -3
  55. data/src/admin_panel/app/views/server_specification/_add_div.html.erb +4 -4
  56. data/src/admin_panel/app/views/server_specification/_ssl_support_form.html.erb +3 -2
  57. data/src/admin_panel/config.ru +4 -0
  58. data/src/admin_panel/config/application.rb +46 -0
  59. data/src/admin_panel/config/boot.rb +4 -112
  60. data/src/admin_panel/config/environment.rb +4 -85
  61. data/src/admin_panel/config/environments/development.rb +20 -13
  62. data/src/admin_panel/config/environments/production.rb +44 -17
  63. data/src/admin_panel/config/environments/test.rb +31 -18
  64. data/src/admin_panel/config/initializers/application_constants.rb +13 -11
  65. data/src/admin_panel/config/initializers/secret_token.rb +7 -0
  66. data/src/admin_panel/config/initializers/session_store.rb +8 -0
  67. data/src/admin_panel/config/initializers/ssl.rb +6 -2
  68. data/src/admin_panel/config/routes.rb +15 -57
  69. data/src/admin_panel/doc/README_FOR_APP +1 -1
  70. data/src/admin_panel/doc/app/ActionView.html +229 -0
  71. data/src/admin_panel/doc/app/ActionView/Helpers.html +229 -0
  72. data/src/admin_panel/doc/app/ActionView/Helpers/AssetTagHelper.html +277 -0
  73. data/src/admin_panel/doc/app/AdminController.html +814 -0
  74. data/src/admin_panel/doc/app/AdminHelper.html +495 -0
  75. data/src/admin_panel/doc/app/Analytics.html +272 -0
  76. data/src/admin_panel/doc/app/Analytics/Database.html +401 -0
  77. data/src/admin_panel/doc/app/Analytics/ResourceUsage.html +683 -0
  78. data/src/admin_panel/doc/app/Analytics/Throughput.html +488 -0
  79. data/src/admin_panel/doc/app/Analytics/Url.html +484 -0
  80. data/src/admin_panel/doc/app/Analytics/UrlBreakup.html +537 -0
  81. data/src/admin_panel/doc/app/App.html +489 -0
  82. data/src/admin_panel/doc/app/AppException.html +710 -0
  83. data/src/admin_panel/doc/app/AppTimeSample.html +620 -0
  84. data/src/admin_panel/doc/app/ApplicationController.html +239 -0
  85. data/src/admin_panel/doc/app/ApplicationHelper.html +296 -0
  86. data/src/admin_panel/doc/app/ApplicationSpecification.html +876 -0
  87. data/src/admin_panel/doc/app/ApplicationSpecificationController.html +552 -0
  88. data/src/admin_panel/doc/app/ApplicationSpecificationHelper.html +219 -0
  89. data/src/admin_panel/doc/app/Control.html +431 -0
  90. data/src/admin_panel/doc/app/ExceptionDetail.html +227 -0
  91. data/src/admin_panel/doc/app/ExceptionsController.html +754 -0
  92. data/src/admin_panel/doc/app/ExceptionsHelper.html +219 -0
  93. data/src/admin_panel/doc/app/GraphController.html +1101 -0
  94. data/src/admin_panel/doc/app/GraphHelper.html +285 -0
  95. data/src/admin_panel/doc/app/Headers.html +549 -0
  96. data/src/admin_panel/doc/app/HeadersController.html +507 -0
  97. data/src/admin_panel/doc/app/HeadersHelper.html +219 -0
  98. data/src/admin_panel/doc/app/MailSpecification.html +685 -0
  99. data/src/admin_panel/doc/app/MailSpecificationController.html +541 -0
  100. data/src/admin_panel/doc/app/MailSpecificationHelper.html +219 -0
  101. data/src/admin_panel/doc/app/Mailer.html +589 -0
  102. data/src/admin_panel/doc/app/Object.html +240 -0
  103. data/src/admin_panel/doc/app/PseudoModel.html +354 -0
  104. data/src/admin_panel/doc/app/ResourceUsage.html +656 -0
  105. data/src/admin_panel/doc/app/SCGI.html +674 -0
  106. data/src/admin_panel/doc/app/ServerSpecification.html +479 -0
  107. data/src/admin_panel/doc/app/ServerSpecificationController.html +500 -0
  108. data/src/admin_panel/doc/app/ServerSpecificationHelper.html +219 -0
  109. data/src/admin_panel/doc/app/SignalHelper.html +287 -0
  110. data/src/admin_panel/doc/app/UrlBreakupTimeSample.html +287 -0
  111. data/src/admin_panel/doc/app/UrlTimeSample.html +986 -0
  112. data/src/admin_panel/doc/app/User.html +290 -0
  113. data/src/admin_panel/doc/app/YAMLConfig.html +247 -0
  114. data/src/admin_panel/doc/app/YAMLWriter.html +284 -0
  115. data/src/admin_panel/doc/app/app/controllers/admin_controller_rb.html +52 -0
  116. data/src/admin_panel/doc/app/app/controllers/application_controller_rb.html +54 -0
  117. data/src/admin_panel/doc/app/app/controllers/application_specification_controller_rb.html +52 -0
  118. data/src/admin_panel/doc/app/app/controllers/exceptions_controller_rb.html +52 -0
  119. data/src/admin_panel/doc/app/app/controllers/graph_controller_rb.html +52 -0
  120. data/src/admin_panel/doc/app/app/controllers/headers_controller_rb.html +52 -0
  121. data/src/admin_panel/doc/app/app/controllers/mail_specification_controller_rb.html +52 -0
  122. data/src/admin_panel/doc/app/app/controllers/server_specification_controller_rb.html +52 -0
  123. data/src/admin_panel/doc/app/app/helpers/admin_helper_rb.html +52 -0
  124. data/src/admin_panel/doc/app/app/helpers/application_helper_rb.html +52 -0
  125. data/src/admin_panel/doc/app/app/helpers/application_specification_helper_rb.html +52 -0
  126. data/src/admin_panel/doc/app/app/helpers/exceptions_helper_rb.html +52 -0
  127. data/src/admin_panel/doc/app/app/helpers/graph_helper_rb.html +52 -0
  128. data/src/admin_panel/doc/app/app/helpers/headers_helper_rb.html +52 -0
  129. data/src/admin_panel/doc/app/app/helpers/mail_specification_helper_rb.html +52 -0
  130. data/src/admin_panel/doc/app/app/helpers/server_specification_helper_rb.html +52 -0
  131. data/src/admin_panel/doc/app/app/mailers/mailer_rb.html +56 -0
  132. data/src/admin_panel/doc/app/app/models/app_exception_rb.html +52 -0
  133. data/src/admin_panel/doc/app/app/models/app_rb.html +54 -0
  134. data/src/admin_panel/doc/app/app/models/app_time_sample_rb.html +52 -0
  135. data/src/admin_panel/doc/app/app/models/application_specification_rb.html +52 -0
  136. data/src/admin_panel/doc/app/app/models/exception_detail_rb.html +52 -0
  137. data/src/admin_panel/doc/app/app/models/headers_rb.html +52 -0
  138. data/src/admin_panel/doc/app/app/models/mail_specification_rb.html +52 -0
  139. data/src/admin_panel/doc/app/app/models/pseudo_model_rb.html +52 -0
  140. data/src/admin_panel/doc/app/app/models/resource_usage_rb.html +52 -0
  141. data/src/admin_panel/doc/app/app/models/server_specification_rb.html +52 -0
  142. data/src/admin_panel/doc/app/app/models/url_breakup_time_sample_rb.html +52 -0
  143. data/src/admin_panel/doc/app/app/models/url_time_sample_rb.html +52 -0
  144. data/src/admin_panel/doc/app/app/models/user_rb.html +52 -0
  145. data/src/admin_panel/doc/app/created.rid +42 -1
  146. data/src/admin_panel/doc/app/doc/README_FOR_APP.html +172 -0
  147. data/src/admin_panel/doc/app/images/brick.png +0 -0
  148. data/src/admin_panel/doc/app/images/brick_link.png +0 -0
  149. data/src/admin_panel/doc/app/images/bug.png +0 -0
  150. data/src/admin_panel/doc/app/images/bullet_black.png +0 -0
  151. data/src/admin_panel/doc/app/images/bullet_toggle_minus.png +0 -0
  152. data/src/admin_panel/doc/app/images/bullet_toggle_plus.png +0 -0
  153. data/src/admin_panel/doc/app/images/date.png +0 -0
  154. data/src/admin_panel/doc/app/images/find.png +0 -0
  155. data/src/admin_panel/doc/app/images/loadingAnimation.gif +0 -0
  156. data/src/admin_panel/doc/app/images/macFFBgHack.png +0 -0
  157. data/src/admin_panel/doc/app/images/package.png +0 -0
  158. data/src/admin_panel/doc/app/images/page_green.png +0 -0
  159. data/src/admin_panel/doc/app/images/page_white_text.png +0 -0
  160. data/src/admin_panel/doc/app/images/page_white_width.png +0 -0
  161. data/src/admin_panel/doc/app/images/plugin.png +0 -0
  162. data/src/admin_panel/doc/app/images/ruby.png +0 -0
  163. data/src/admin_panel/doc/app/images/tag_green.png +0 -0
  164. data/src/admin_panel/doc/app/images/wrench.png +0 -0
  165. data/src/admin_panel/doc/app/images/wrench_orange.png +0 -0
  166. data/src/admin_panel/doc/app/images/zoom.png +0 -0
  167. data/src/admin_panel/doc/app/index.html +564 -20
  168. data/src/admin_panel/doc/app/js/darkfish.js +116 -0
  169. data/src/admin_panel/doc/app/js/jquery.js +32 -0
  170. data/src/admin_panel/doc/app/js/quicksearch.js +114 -0
  171. data/src/admin_panel/doc/app/js/thickbox-compressed.js +10 -0
  172. data/src/admin_panel/doc/app/lib/asset_tag_helper_ext_rb.html +52 -0
  173. data/src/admin_panel/doc/app/lib/control_rb.html +58 -0
  174. data/src/admin_panel/doc/app/lib/graph_controller_extensions/database_analytics_rb.html +52 -0
  175. data/src/admin_panel/doc/app/lib/graph_controller_extensions/resource_usage_analytics_rb.html +52 -0
  176. data/src/admin_panel/doc/app/lib/graph_controller_extensions/throughput_analytics_rb.html +52 -0
  177. data/src/admin_panel/doc/app/lib/graph_controller_extensions/url_analytics_rb.html +52 -0
  178. data/src/admin_panel/doc/app/lib/graph_controller_extensions/url_breakup_analytics_rb.html +52 -0
  179. data/src/admin_panel/doc/app/lib/helper_rb.html +52 -0
  180. data/src/admin_panel/doc/app/lib/scgi_rb.html +54 -0
  181. data/src/admin_panel/doc/app/lib/yaml_writer_rb.html +52 -0
  182. data/src/admin_panel/doc/app/rdoc.css +763 -0
  183. data/src/admin_panel/lib/helper.rb +6 -2
  184. data/src/admin_panel/public/stylesheets/other/login.css +8 -4
  185. data/src/admin_panel/public/stylesheets/other/style.css +21 -17
  186. data/src/admin_panel/script/rails +6 -0
  187. data/src/admin_panel/test/test_helper.rb +2 -2
  188. data/src/admin_panel/vendor/plugins/calendar_date_select/History.txt +281 -0
  189. data/src/admin_panel/vendor/plugins/calendar_date_select/MIT-LICENSE +20 -0
  190. data/src/admin_panel/vendor/plugins/calendar_date_select/Manifest.txt +42 -0
  191. data/src/admin_panel/vendor/plugins/calendar_date_select/README.txt +17 -0
  192. data/src/admin_panel/vendor/plugins/calendar_date_select/Rakefile +37 -0
  193. data/src/admin_panel/vendor/plugins/calendar_date_select/VERSION +1 -0
  194. data/src/admin_panel/vendor/plugins/calendar_date_select/calendar_date_select.gemspec +95 -0
  195. data/src/admin_panel/vendor/plugins/calendar_date_select/init.rb +1 -0
  196. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/functional/cds_test.html +376 -0
  197. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/functional/format_iso_date_test.html +52 -0
  198. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/prototype.js +4184 -0
  199. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/test.css +40 -0
  200. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/unit/cds_helper_methods.html +46 -0
  201. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/unittest.js +564 -0
  202. data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select.rb +33 -0
  203. data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/calendar_date_select.rb +122 -0
  204. data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/form_helpers.rb +237 -0
  205. data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/includes_helper.rb +29 -0
  206. data/src/admin_panel/vendor/plugins/calendar_date_select/public/blank_iframe.html +2 -0
  207. data/src/admin_panel/vendor/plugins/calendar_date_select/public/images/calendar_date_select/calendar.gif +0 -0
  208. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/calendar_date_select.js +459 -0
  209. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_american.js +35 -0
  210. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_danish.js +31 -0
  211. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_db.js +27 -0
  212. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_euro_24hr.js +7 -0
  213. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +7 -0
  214. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_finnish.js +32 -0
  215. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_hyphen_ampm.js +37 -0
  216. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_iso_date.js +29 -0
  217. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_italian.js +24 -0
  218. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ar.js +10 -0
  219. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/cs.js +11 -0
  220. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/da.js +11 -0
  221. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/de.js +11 -0
  222. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/es.js +11 -0
  223. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/fi.js +10 -0
  224. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/fr.js +11 -0
  225. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/hu.js +11 -0
  226. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/it.js +9 -0
  227. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ja.js +11 -0
  228. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/nl.js +11 -0
  229. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/pl.js +11 -0
  230. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/pt.js +11 -0
  231. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ru.js +10 -0
  232. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/sl.js +11 -0
  233. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/sv.js +9 -0
  234. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/blue.css +130 -0
  235. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/default.css +135 -0
  236. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/green.css +142 -0
  237. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/plain.css +128 -0
  238. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/red.css +135 -0
  239. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/silver.css +133 -0
  240. data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/calendar_date_select_spec.rb +14 -0
  241. data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/form_helpers_spec.rb +189 -0
  242. data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/includes_helper_spec.rb +46 -0
  243. data/src/admin_panel/vendor/plugins/calendar_date_select/spec/spec_helper.rb +26 -0
  244. data/src/admin_panel/vendor/plugins/open_flash_chart_2_plugin/install.rb +2 -2
  245. data/src/admin_panel/vendor/plugins/open_flash_chart_2_plugin/uninstall.rb +2 -2
  246. data/src/admin_panel/vendor/plugins/prototype_legacy_helper/README.markdown +13 -0
  247. data/src/admin_panel/vendor/plugins/prototype_legacy_helper/init.rb +1 -0
  248. data/src/admin_panel/vendor/plugins/prototype_legacy_helper/lib/prototype_legacy_helper.rb +432 -0
  249. data/src/admin_panel/vendor/plugins/prototype_legacy_helper/test/test_prototype_helper.rb +297 -0
  250. data/src/helper/wr_config.c +1 -1
  251. data/src/ruby_lib/analyzer/message_analyzer.rb +1 -0
  252. data/src/ruby_lib/analyzer/webroar_analyzer.rb +2 -2
  253. data/src/ruby_lib/profiler/message_dispatcher.rb +1 -1
  254. data/src/ruby_lib/ruby_interface/version.rb +2 -2
  255. data/src/ruby_lib/webroar_app_loader.rb +1 -1
  256. data/tasks/gem.rake +5 -7
  257. data/tasks/test.rake +1 -0
  258. data/test/spec/analytics_spec.rb +25 -24
  259. data/test/spec/test_app/README +142 -129
  260. data/test/spec/test_app/Rakefile +2 -5
  261. data/test/spec/test_app/app/controllers/application_controller.rb +3 -8
  262. data/test/spec/test_app/app/controllers/test_controller.rb +3 -3
  263. data/test/spec/test_app/app/controllers/users_controller.rb +8 -8
  264. data/test/spec/test_app/app/helpers/application_helper.rb +2 -1
  265. data/test/spec/test_app/app/helpers/test_helper.rb +2 -0
  266. data/test/spec/test_app/app/helpers/users_helper.rb +2 -0
  267. data/test/spec/test_app/app/models/user.rb +2 -0
  268. data/test/spec/test_app/app/views/layouts/{users.html.erb → application.html.erb} +6 -9
  269. data/test/spec/test_app/app/views/test/post_data.html.erb +2 -2
  270. data/test/spec/test_app/app/views/test/upload_file.html.erb +1 -1
  271. data/test/spec/test_app/{db/migrate/20090602102438_create_users.rb → app/views/users/_form.html.erb} +22 -11
  272. data/test/spec/test_app/app/views/users/edit.html.erb +19 -28
  273. data/test/spec/test_app/app/views/users/index.html.erb +23 -19
  274. data/test/spec/test_app/app/views/users/new.html.erb +19 -28
  275. data/test/spec/test_app/app/views/users/show.html.erb +21 -18
  276. data/test/spec/test_app/config/application.rb +45 -0
  277. data/test/spec/test_app/config/boot.rb +4 -112
  278. data/test/spec/test_app/config/database.yml +1 -1
  279. data/test/spec/test_app/config/environment.rb +4 -41
  280. data/test/spec/test_app/config/environments/development.rb +22 -13
  281. data/test/spec/test_app/config/environments/production.rb +41 -20
  282. data/test/spec/test_app/config/environments/test.rb +35 -28
  283. data/test/spec/test_app/config/initializers/backtrace_silencers.rb +2 -2
  284. data/test/spec/test_app/config/initializers/inflections.rb +1 -1
  285. data/test/spec/test_app/config/initializers/secret_token.rb +7 -0
  286. data/test/spec/test_app/config/initializers/session_store.rb +3 -10
  287. data/test/spec/test_app/config/locales/en.yml +5 -0
  288. data/test/spec/test_app/config/routes.rb +37 -22
  289. data/test/spec/test_app/db/migrate/20110906113329_create_users.rb +13 -0
  290. data/test/spec/test_app/db/seeds.rb +7 -0
  291. data/test/spec/test_app/public/404.html +15 -19
  292. data/test/spec/test_app/public/422.html +15 -19
  293. data/test/spec/test_app/public/500.html +14 -18
  294. data/test/spec/test_app/public/index.html +41 -77
  295. data/test/spec/test_app/public/javascripts/controls.js +5 -3
  296. data/test/spec/test_app/public/javascripts/dragdrop.js +7 -6
  297. data/test/spec/test_app/public/javascripts/effects.js +8 -13
  298. data/test/spec/test_app/public/javascripts/prototype.js +3381 -1700
  299. data/test/spec/test_app/public/javascripts/rails.js +191 -0
  300. data/test/spec/test_app/public/stylesheets/scaffold.css +15 -13
  301. data/test/spec/test_app/script/rails +6 -0
  302. metadata +340 -163
  303. data/src/admin_panel/Gemfile.lock +0 -79
  304. data/src/admin_panel/doc/app/classes/ActionView.html +0 -111
  305. data/src/admin_panel/doc/app/classes/ActionView/Helpers.html +0 -111
  306. data/src/admin_panel/doc/app/classes/ActionView/Helpers/AssetTagHelper.html +0 -149
  307. data/src/admin_panel/doc/app/classes/AdminController.html +0 -628
  308. data/src/admin_panel/doc/app/classes/AdminHelper.html +0 -482
  309. data/src/admin_panel/doc/app/classes/Analytics.html +0 -138
  310. data/src/admin_panel/doc/app/classes/Analytics/Database.html +0 -245
  311. data/src/admin_panel/doc/app/classes/Analytics/ResourceUsage.html +0 -478
  312. data/src/admin_panel/doc/app/classes/Analytics/Throughput.html +0 -316
  313. data/src/admin_panel/doc/app/classes/Analytics/Url.html +0 -314
  314. data/src/admin_panel/doc/app/classes/Analytics/UrlBreakup.html +0 -372
  315. data/src/admin_panel/doc/app/classes/App.html +0 -298
  316. data/src/admin_panel/doc/app/classes/AppException.html +0 -330
  317. data/src/admin_panel/doc/app/classes/AppTimeSample.html +0 -427
  318. data/src/admin_panel/doc/app/classes/ApplicationController.html +0 -118
  319. data/src/admin_panel/doc/app/classes/ApplicationHelper.html +0 -172
  320. data/src/admin_panel/doc/app/classes/ApplicationSpecification.html +0 -641
  321. data/src/admin_panel/doc/app/classes/ApplicationSpecificationController.html +0 -354
  322. data/src/admin_panel/doc/app/classes/Control.html +0 -273
  323. data/src/admin_panel/doc/app/classes/ExceptionsController.html +0 -612
  324. data/src/admin_panel/doc/app/classes/ExceptionsHelper.html +0 -105
  325. data/src/admin_panel/doc/app/classes/GraphController.html +0 -804
  326. data/src/admin_panel/doc/app/classes/GraphHelper.html +0 -164
  327. data/src/admin_panel/doc/app/classes/MailSpecification.html +0 -357
  328. data/src/admin_panel/doc/app/classes/MailSpecificationController.html +0 -304
  329. data/src/admin_panel/doc/app/classes/PseudoModel.html +0 -206
  330. data/src/admin_panel/doc/app/classes/ResourceUsage.html +0 -425
  331. data/src/admin_panel/doc/app/classes/SCGI.html +0 -406
  332. data/src/admin_panel/doc/app/classes/ServerSpecification.html +0 -325
  333. data/src/admin_panel/doc/app/classes/ServerSpecificationController.html +0 -273
  334. data/src/admin_panel/doc/app/classes/UrlBreakupTimeSample.html +0 -169
  335. data/src/admin_panel/doc/app/classes/UrlTimeSample.html +0 -708
  336. data/src/admin_panel/doc/app/classes/User.html +0 -165
  337. data/src/admin_panel/doc/app/classes/YAMLWriter.html +0 -159
  338. data/src/admin_panel/doc/app/files/app/controllers/admin_controller_rb.html +0 -101
  339. data/src/admin_panel/doc/app/files/app/controllers/application_controller_rb.html +0 -108
  340. data/src/admin_panel/doc/app/files/app/controllers/application_specification_controller_rb.html +0 -101
  341. data/src/admin_panel/doc/app/files/app/controllers/exceptions_controller_rb.html +0 -101
  342. data/src/admin_panel/doc/app/files/app/controllers/graph_controller_rb.html +0 -101
  343. data/src/admin_panel/doc/app/files/app/controllers/mail_specification_controller_rb.html +0 -101
  344. data/src/admin_panel/doc/app/files/app/controllers/server_specification_controller_rb.html +0 -101
  345. data/src/admin_panel/doc/app/files/app/helpers/admin_helper_rb.html +0 -101
  346. data/src/admin_panel/doc/app/files/app/helpers/application_helper_rb.html +0 -101
  347. data/src/admin_panel/doc/app/files/app/helpers/exceptions_helper_rb.html +0 -101
  348. data/src/admin_panel/doc/app/files/app/helpers/graph_helper_rb.html +0 -101
  349. data/src/admin_panel/doc/app/files/app/models/app_exception_rb.html +0 -101
  350. data/src/admin_panel/doc/app/files/app/models/app_rb.html +0 -108
  351. data/src/admin_panel/doc/app/files/app/models/app_time_sample_rb.html +0 -101
  352. data/src/admin_panel/doc/app/files/app/models/application_specification_rb.html +0 -101
  353. data/src/admin_panel/doc/app/files/app/models/mail_specification_rb.html +0 -101
  354. data/src/admin_panel/doc/app/files/app/models/pseudo_model_rb.html +0 -101
  355. data/src/admin_panel/doc/app/files/app/models/resource_usage_rb.html +0 -101
  356. data/src/admin_panel/doc/app/files/app/models/server_specification_rb.html +0 -101
  357. data/src/admin_panel/doc/app/files/app/models/url_breakup_time_sample_rb.html +0 -101
  358. data/src/admin_panel/doc/app/files/app/models/url_time_sample_rb.html +0 -101
  359. data/src/admin_panel/doc/app/files/app/models/user_rb.html +0 -101
  360. data/src/admin_panel/doc/app/files/doc/README_FOR_APP.html +0 -109
  361. data/src/admin_panel/doc/app/files/lib/asset_tag_helper_ext_rb.html +0 -101
  362. data/src/admin_panel/doc/app/files/lib/control_rb.html +0 -110
  363. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/database_analytics_rb.html +0 -101
  364. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/resource_usage_analytics_rb.html +0 -101
  365. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/throughput_analytics_rb.html +0 -101
  366. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/url_analytics_rb.html +0 -101
  367. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/url_breakup_analytics_rb.html +0 -101
  368. data/src/admin_panel/doc/app/files/lib/scgi_rb.html +0 -101
  369. data/src/admin_panel/doc/app/files/lib/yaml_writer_rb.html +0 -101
  370. data/src/admin_panel/doc/app/fr_class_index.html +0 -60
  371. data/src/admin_panel/doc/app/fr_file_index.html +0 -58
  372. data/src/admin_panel/doc/app/fr_method_index.html +0 -206
  373. data/src/admin_panel/doc/app/rdoc-style.css +0 -208
  374. data/src/admin_panel/public/dispatch.cgi +0 -10
  375. data/src/admin_panel/public/dispatch.fcgi +0 -24
  376. data/src/admin_panel/public/dispatch.rb +0 -10
  377. data/src/admin_panel/script/about +0 -4
  378. data/src/admin_panel/script/console +0 -3
  379. data/src/admin_panel/script/dbconsole +0 -3
  380. data/src/admin_panel/script/destroy +0 -3
  381. data/src/admin_panel/script/generate +0 -3
  382. data/src/admin_panel/script/performance/benchmarker +0 -3
  383. data/src/admin_panel/script/performance/profiler +0 -3
  384. data/src/admin_panel/script/performance/request +0 -3
  385. data/src/admin_panel/script/plugin +0 -3
  386. data/src/admin_panel/script/process/inspector +0 -3
  387. data/src/admin_panel/script/process/reaper +0 -3
  388. data/src/admin_panel/script/process/spawner +0 -3
  389. data/src/admin_panel/script/runner +0 -3
  390. data/src/admin_panel/script/server +0 -3
  391. data/test/spec/test_app/config/initializers/new_rails_defaults.rb +0 -19
  392. data/test/spec/test_app/script/about +0 -4
  393. data/test/spec/test_app/script/console +0 -3
  394. data/test/spec/test_app/script/dbconsole +0 -3
  395. data/test/spec/test_app/script/destroy +0 -3
  396. data/test/spec/test_app/script/generate +0 -3
  397. data/test/spec/test_app/script/performance/benchmarker +0 -3
  398. data/test/spec/test_app/script/performance/profiler +0 -3
  399. data/test/spec/test_app/script/plugin +0 -3
  400. data/test/spec/test_app/script/runner +0 -3
  401. data/test/spec/test_app/script/server +0 -3
  402. data/test/spec/test_app/vendor/.placeholder +0 -0
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: throughput_analytics.rb [Rails Application Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">Tue Aug 30 19:03:29 +0530 2011</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: url_analytics.rb [Rails Application Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">Wed Aug 31 17:43:39 +0530 2011</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: url_breakup_analytics.rb [Rails Application Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">Tue Aug 30 19:03:29 +0530 2011</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: helper.rb [Rails Application Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">Thu Sep 08 12:05:37 +0530 2011</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: scgi.rb [Rails Application Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">Tue Aug 30 19:03:29 +0530 2011</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ <li>jcode</li>
35
+
36
+ </ul>
37
+ </dd>
38
+
39
+
40
+
41
+ </dl>
42
+ </div>
43
+
44
+ <div id="documentation">
45
+
46
+ <div class="description">
47
+ <h2>Description</h2>
48
+
49
+ </div>
50
+
51
+ </div>
52
+ </body>
53
+ </html>
54
+
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: yaml_writer.rb [Rails Application Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="../js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="../js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="../js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file file-popup">
24
+ <div id="metadata">
25
+ <dl>
26
+ <dt class="modified-date">Last Modified</dt>
27
+ <dd class="modified-date">Tue Aug 30 19:03:29 +0530 2011</dd>
28
+
29
+
30
+ <dt class="requires">Requires</dt>
31
+ <dd class="requires">
32
+ <ul>
33
+
34
+ </ul>
35
+ </dd>
36
+
37
+
38
+
39
+ </dl>
40
+ </div>
41
+
42
+ <div id="documentation">
43
+
44
+ <div class="description">
45
+ <h2>Description</h2>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
52
+
@@ -0,0 +1,763 @@
1
+ /*
2
+ * "Darkfish" Rdoc CSS
3
+ * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
4
+ *
5
+ * Author: Michael Granger <ged@FaerieMUD.org>
6
+ *
7
+ */
8
+
9
+ /* Base Green is: #6C8C22 */
10
+
11
+ *{ padding: 0; margin: 0; }
12
+
13
+ body {
14
+ background: #efefef;
15
+ font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
16
+ }
17
+ body.class, body.module, body.file {
18
+ margin-left: 40px;
19
+ }
20
+ body.file-popup {
21
+ font-size: 90%;
22
+ margin-left: 0;
23
+ }
24
+
25
+ h1 {
26
+ font-size: 300%;
27
+ text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
28
+ color: #6C8C22;
29
+ }
30
+ h2,h3,h4 { margin-top: 1.5em; }
31
+
32
+ :link,
33
+ :visited {
34
+ color: #6C8C22;
35
+ text-decoration: none;
36
+ }
37
+ :link:hover,
38
+ :visited:hover {
39
+ border-bottom: 1px dotted #6C8C22;
40
+ }
41
+
42
+ pre {
43
+ background: #ddd;
44
+ padding: 0.5em 0;
45
+ }
46
+
47
+
48
+ /* @group Generic Classes */
49
+
50
+ .initially-hidden {
51
+ display: none;
52
+ }
53
+
54
+ .quicksearch-field {
55
+ width: 98%;
56
+ background: #ddd;
57
+ border: 1px solid #aaa;
58
+ height: 1.5em;
59
+ -webkit-border-radius: 4px;
60
+ }
61
+ .quicksearch-field:focus {
62
+ background: #f1edba;
63
+ }
64
+
65
+ .missing-docs {
66
+ font-size: 120%;
67
+ background: white url(images/wrench_orange.png) no-repeat 4px center;
68
+ color: #ccc;
69
+ line-height: 2em;
70
+ border: 1px solid #d00;
71
+ opacity: 1;
72
+ padding-left: 20px;
73
+ text-indent: 24px;
74
+ letter-spacing: 3px;
75
+ font-weight: bold;
76
+ -webkit-border-radius: 5px;
77
+ -moz-border-radius: 5px;
78
+ }
79
+
80
+ .target-section {
81
+ border: 2px solid #dcce90;
82
+ border-left-width: 8px;
83
+ padding: 0 1em;
84
+ background: #fff3c2;
85
+ }
86
+
87
+ /* @end */
88
+
89
+
90
+ /* @group Index Page, Standalone file pages */
91
+ body.indexpage {
92
+ margin: 1em 3em;
93
+ }
94
+ body.indexpage p,
95
+ body.indexpage div,
96
+ body.file p {
97
+ margin: 1em 0;
98
+ }
99
+
100
+ .indexpage .rdoc-list p, .file .rdoc-list p {
101
+ margin: 0em 0;
102
+ }
103
+
104
+ .indexpage ol,
105
+ .file #documentation ol {
106
+ line-height: 160%;
107
+ }
108
+
109
+ .indexpage ul,
110
+ .file #documentation ul {
111
+ line-height: 160%;
112
+ list-style: none;
113
+ }
114
+ .indexpage ul :link,
115
+ .indexpage ul :visited {
116
+ font-size: 16px;
117
+ }
118
+
119
+ .indexpage li,
120
+ .file #documentation li {
121
+ padding-left: 20px;
122
+ }
123
+
124
+ .indexpage ol,
125
+ .file #documentation ol {
126
+ margin-left: 20px;
127
+ }
128
+
129
+ .indexpage ol > li,
130
+ .file #documentation ol > li {
131
+ padding-left: 0;
132
+ }
133
+
134
+ .indexpage ul > li,
135
+ .file #documentation ul > li {
136
+ background: url(images/bullet_black.png) no-repeat left 4px;
137
+ }
138
+ .indexpage li.module {
139
+ background: url(images/package.png) no-repeat left 4px;
140
+ }
141
+ .indexpage li.class {
142
+ background: url(images/ruby.png) no-repeat left 4px;
143
+ }
144
+ .indexpage li.file {
145
+ background: url(images/page_white_text.png) no-repeat left 4px;
146
+ }
147
+ .file li p,
148
+ .indexpage li p {
149
+ margin: 0 0;
150
+ }
151
+
152
+ /* @end */
153
+
154
+ /* @group Top-Level Structure */
155
+
156
+ .class #metadata,
157
+ .file #metadata,
158
+ .module #metadata {
159
+ float: left;
160
+ width: 260px;
161
+ }
162
+
163
+ .class #documentation,
164
+ .file #documentation,
165
+ .module #documentation {
166
+ margin: 2em 1em 5em 300px;
167
+ min-width: 340px;
168
+ }
169
+
170
+ .file #metadata {
171
+ margin: 0.8em;
172
+ }
173
+
174
+ #validator-badges {
175
+ clear: both;
176
+ margin: 1em 1em 2em;
177
+ }
178
+
179
+ /* @end */
180
+
181
+ /* @group Metadata Section */
182
+ #metadata .section {
183
+ background-color: #dedede;
184
+ -moz-border-radius: 5px;
185
+ -webkit-border-radius: 5px;
186
+ border: 1px solid #aaa;
187
+ margin: 0 8px 16px;
188
+ font-size: 90%;
189
+ overflow: hidden;
190
+ }
191
+ #metadata h3.section-header {
192
+ margin: 0;
193
+ padding: 2px 8px;
194
+ background: #ccc;
195
+ color: #666;
196
+ -moz-border-radius-topleft: 4px;
197
+ -moz-border-radius-topright: 4px;
198
+ -webkit-border-top-left-radius: 4px;
199
+ -webkit-border-top-right-radius: 4px;
200
+ border-bottom: 1px solid #aaa;
201
+ }
202
+ #metadata #home-section h3.section-header {
203
+ border-bottom: 0;
204
+ }
205
+
206
+ #metadata ul,
207
+ #metadata dl,
208
+ #metadata p {
209
+ padding: 8px;
210
+ list-style: none;
211
+ }
212
+
213
+ #file-metadata ul {
214
+ padding-left: 28px;
215
+ list-style-image: url(images/page_green.png);
216
+ }
217
+
218
+ dl.svninfo {
219
+ color: #666;
220
+ margin: 0;
221
+ }
222
+ dl.svninfo dt {
223
+ font-weight: bold;
224
+ }
225
+
226
+ ul.link-list li {
227
+ white-space: nowrap;
228
+ }
229
+ ul.link-list .type {
230
+ font-size: 8px;
231
+ text-transform: uppercase;
232
+ color: white;
233
+ background: #969696;
234
+ padding: 2px 4px;
235
+ -webkit-border-radius: 5px;
236
+ }
237
+
238
+ /* @end */
239
+
240
+
241
+ /* @group Project Metadata Section */
242
+ #project-metadata {
243
+ margin-top: 3em;
244
+ }
245
+
246
+ .file #project-metadata {
247
+ margin-top: 0em;
248
+ }
249
+
250
+ #project-metadata .section {
251
+ border: 1px solid #aaa;
252
+ }
253
+ #project-metadata h3.section-header {
254
+ border-bottom: 1px solid #aaa;
255
+ position: relative;
256
+ }
257
+ #project-metadata h3.section-header .search-toggle {
258
+ position: absolute;
259
+ right: 5px;
260
+ }
261
+
262
+
263
+ #project-metadata form {
264
+ color: #777;
265
+ background: #ccc;
266
+ padding: 8px 8px 16px;
267
+ border-bottom: 1px solid #bbb;
268
+ }
269
+ #project-metadata fieldset {
270
+ border: 0;
271
+ }
272
+
273
+ #no-class-search-results {
274
+ margin: 0 auto 1em;
275
+ text-align: center;
276
+ font-size: 14px;
277
+ font-weight: bold;
278
+ color: #aaa;
279
+ }
280
+
281
+ /* @end */
282
+
283
+
284
+ /* @group Documentation Section */
285
+ .description {
286
+ font-size: 100%;
287
+ color: #333;
288
+ }
289
+
290
+ .description p {
291
+ margin: 1em 0.4em;
292
+ }
293
+
294
+ .description li p {
295
+ margin: 0;
296
+ }
297
+
298
+ .description ul {
299
+ margin-left: 1.5em;
300
+ }
301
+ .description ul li {
302
+ line-height: 1.4em;
303
+ }
304
+
305
+ .description dl,
306
+ #documentation dl {
307
+ margin: 8px 1.5em;
308
+ border: 1px solid #ccc;
309
+ }
310
+ .description dl {
311
+ font-size: 14px;
312
+ }
313
+
314
+ .description dt,
315
+ #documentation dt {
316
+ padding: 2px 4px;
317
+ font-weight: bold;
318
+ background: #ddd;
319
+ }
320
+ .description dd,
321
+ #documentation dd {
322
+ padding: 2px 12px;
323
+ }
324
+ .description dd + dt,
325
+ #documentation dd + dt {
326
+ margin-top: 0.7em;
327
+ }
328
+
329
+ #documentation .section {
330
+ font-size: 90%;
331
+ }
332
+
333
+ #documentation h2.section-header {
334
+ margin-top: 2em;
335
+ padding: 0.75em 0.5em;
336
+ background: #ccc;
337
+ color: #333;
338
+ font-size: 175%;
339
+ border: 1px solid #bbb;
340
+ -moz-border-radius: 3px;
341
+ -webkit-border-radius: 3px;
342
+ }
343
+
344
+ #documentation h3.section-header {
345
+ margin-top: 2em;
346
+ padding: 0.25em 0.5em;
347
+ background-color: #dedede;
348
+ color: #333;
349
+ font-size: 150%;
350
+ border: 1px solid #bbb;
351
+ -moz-border-radius: 3px;
352
+ -webkit-border-radius: 3px;
353
+ }
354
+
355
+ #constants-list > dl,
356
+ #attributes-list > dl {
357
+ margin: 1em 0 2em;
358
+ border: 0;
359
+ }
360
+ #constants-list > dl dt,
361
+ #attributes-list > dl dt {
362
+ padding-left: 0;
363
+ font-weight: bold;
364
+ font-family: Monaco, "Andale Mono";
365
+ background: inherit;
366
+ }
367
+ #constants-list > dl dt a,
368
+ #attributes-list > dl dt a {
369
+ color: inherit;
370
+ }
371
+ #constants-list > dl dd,
372
+ #attributes-list > dl dd {
373
+ margin: 0 0 1em 0;
374
+ padding: 0;
375
+ color: #666;
376
+ }
377
+
378
+ .documentation-section h2 {
379
+ position: relative;
380
+ }
381
+
382
+ .documentation-section h2 a {
383
+ position: absolute;
384
+ top: 8px;
385
+ right: 10px;
386
+ font-size: 12px;
387
+ color: #9b9877;
388
+ visibility: hidden;
389
+ }
390
+
391
+ .documentation-section h2:hover a {
392
+ visibility: visible;
393
+ }
394
+
395
+ /* @group Method Details */
396
+
397
+ #documentation .method-source-code {
398
+ display: none;
399
+ }
400
+
401
+ #documentation .method-detail {
402
+ margin: 0.5em 0;
403
+ padding: 0.5em 0;
404
+ cursor: pointer;
405
+ }
406
+ #documentation .method-detail:hover {
407
+ background-color: #f1edba;
408
+ }
409
+ #documentation .method-heading {
410
+ position: relative;
411
+ padding: 2px 4px 0 20px;
412
+ font-size: 125%;
413
+ font-weight: bold;
414
+ color: #333;
415
+ background: url(images/brick.png) no-repeat left bottom;
416
+ }
417
+ #documentation .method-heading :link,
418
+ #documentation .method-heading :visited {
419
+ color: inherit;
420
+ }
421
+ #documentation .method-click-advice {
422
+ position: absolute;
423
+ top: 2px;
424
+ right: 5px;
425
+ font-size: 10px;
426
+ color: #9b9877;
427
+ visibility: hidden;
428
+ padding-right: 20px;
429
+ line-height: 20px;
430
+ background: url(images/zoom.png) no-repeat right top;
431
+ }
432
+ #documentation .method-detail:hover .method-click-advice {
433
+ visibility: visible;
434
+ }
435
+
436
+ #documentation .method-alias .method-heading {
437
+ color: #666;
438
+ background: url(images/brick_link.png) no-repeat left bottom;
439
+ }
440
+
441
+ #documentation .method-description,
442
+ #documentation .aliases {
443
+ margin: 0 20px;
444
+ color: #666;
445
+ }
446
+
447
+ #documentation .method-description p,
448
+ #documentation .aliases p {
449
+ line-height: 1.2em;
450
+ }
451
+
452
+ #documentation .aliases {
453
+ padding-top: 4px;
454
+ font-style: italic;
455
+ cursor: default;
456
+ }
457
+ #documentation .method-description p {
458
+ padding: 0;
459
+ }
460
+ #documentation .method-description p + p {
461
+ margin-bottom: 0.5em;
462
+ }
463
+ #documentation .method-description ul {
464
+ margin-left: 1.5em;
465
+ }
466
+
467
+ #documentation .attribute-method-heading {
468
+ background: url(images/tag_green.png) no-repeat left bottom;
469
+ }
470
+ #documentation #attribute-method-details .method-detail:hover {
471
+ background-color: transparent;
472
+ cursor: default;
473
+ }
474
+ #documentation .attribute-access-type {
475
+ font-size: 60%;
476
+ text-transform: uppercase;
477
+ vertical-align: super;
478
+ padding: 0 2px;
479
+ }
480
+ /* @end */
481
+
482
+ /* @end */
483
+
484
+
485
+
486
+ /* @group Source Code */
487
+
488
+ div.method-source-code {
489
+ background: #262626;
490
+ color: #efefef;
491
+ margin: 1em;
492
+ padding: 0.5em;
493
+ border: 1px dashed #999;
494
+ overflow: hidden;
495
+ }
496
+
497
+ div.method-source-code pre {
498
+ background: inherit;
499
+ padding: 0;
500
+ color: white;
501
+ overflow: auto;
502
+ }
503
+
504
+ /* @group Ruby keyword styles */
505
+
506
+ .ruby-constant { color: #7fffd4; background: transparent; }
507
+ .ruby-keyword { color: #00ffff; background: transparent; }
508
+ .ruby-ivar { color: #eedd82; background: transparent; }
509
+ .ruby-operator { color: #00ffee; background: transparent; }
510
+ .ruby-identifier { color: #ffdead; background: transparent; }
511
+ .ruby-node { color: #ffa07a; background: transparent; }
512
+ .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
513
+ .ruby-regexp { color: #ffa07a; background: transparent; }
514
+ .ruby-value { color: #7fffd4; background: transparent; }
515
+
516
+ /* @end */
517
+ /* @end */
518
+
519
+
520
+ /* @group File Popup Contents */
521
+
522
+ .file #metadata,
523
+ .file-popup #metadata {
524
+ }
525
+
526
+ .file-popup dl {
527
+ font-size: 80%;
528
+ padding: 0.75em;
529
+ background-color: #dedede;
530
+ color: #333;
531
+ border: 1px solid #bbb;
532
+ -moz-border-radius: 3px;
533
+ -webkit-border-radius: 3px;
534
+ }
535
+ .file dt {
536
+ font-weight: bold;
537
+ padding-left: 22px;
538
+ line-height: 20px;
539
+ background: url(images/page_white_width.png) no-repeat left top;
540
+ }
541
+ .file dt.modified-date {
542
+ background: url(images/date.png) no-repeat left top;
543
+ }
544
+ .file dt.requires {
545
+ background: url(images/plugin.png) no-repeat left top;
546
+ }
547
+ .file dt.scs-url {
548
+ background: url(images/wrench.png) no-repeat left top;
549
+ }
550
+
551
+ .file dl dd {
552
+ margin: 0 0 1em 0;
553
+ }
554
+ .file #metadata dl dd ul {
555
+ list-style: circle;
556
+ margin-left: 20px;
557
+ padding-top: 0;
558
+ }
559
+ .file #metadata dl dd ul li {
560
+ }
561
+
562
+
563
+ .file h2 {
564
+ margin-top: 2em;
565
+ padding: 0.75em 0.5em;
566
+ background-color: #dedede;
567
+ color: #333;
568
+ font-size: 120%;
569
+ border: 1px solid #bbb;
570
+ -moz-border-radius: 3px;
571
+ -webkit-border-radius: 3px;
572
+ }
573
+
574
+ /* @end */
575
+
576
+
577
+
578
+
579
+ /* @group ThickBox Styles */
580
+ #TB_window {
581
+ font: 12px Arial, Helvetica, sans-serif;
582
+ color: #333333;
583
+ }
584
+
585
+ #TB_secondLine {
586
+ font: 10px Arial, Helvetica, sans-serif;
587
+ color:#666666;
588
+ }
589
+
590
+ #TB_window :link,
591
+ #TB_window :visited { color: #666666; }
592
+ #TB_window :link:hover,
593
+ #TB_window :visited:hover { color: #000; }
594
+ #TB_window :link:active,
595
+ #TB_window :visited:active { color: #666666; }
596
+ #TB_window :link:focus,
597
+ #TB_window :visited:focus { color: #666666; }
598
+
599
+ #TB_overlay {
600
+ position: fixed;
601
+ z-index:100;
602
+ top: 0px;
603
+ left: 0px;
604
+ height:100%;
605
+ width:100%;
606
+ }
607
+
608
+ .TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
609
+ .TB_overlayBG {
610
+ background-color:#000;
611
+ filter:alpha(opacity=75);
612
+ -moz-opacity: 0.75;
613
+ opacity: 0.75;
614
+ }
615
+
616
+ * html #TB_overlay { /* ie6 hack */
617
+ position: absolute;
618
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
619
+ }
620
+
621
+ #TB_window {
622
+ position: fixed;
623
+ background: #ffffff;
624
+ z-index: 102;
625
+ color:#000000;
626
+ display:none;
627
+ border: 4px solid #525252;
628
+ text-align:left;
629
+ top:50%;
630
+ left:50%;
631
+ }
632
+
633
+ * html #TB_window { /* ie6 hack */
634
+ position: absolute;
635
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
636
+ }
637
+
638
+ #TB_window img#TB_Image {
639
+ display:block;
640
+ margin: 15px 0 0 15px;
641
+ border-right: 1px solid #ccc;
642
+ border-bottom: 1px solid #ccc;
643
+ border-top: 1px solid #666;
644
+ border-left: 1px solid #666;
645
+ }
646
+
647
+ #TB_caption{
648
+ height:25px;
649
+ padding:7px 30px 10px 25px;
650
+ float:left;
651
+ }
652
+
653
+ #TB_closeWindow{
654
+ height:25px;
655
+ padding:11px 25px 10px 0;
656
+ float:right;
657
+ }
658
+
659
+ #TB_closeAjaxWindow{
660
+ padding:7px 10px 5px 0;
661
+ margin-bottom:1px;
662
+ text-align:right;
663
+ float:right;
664
+ }
665
+
666
+ #TB_ajaxWindowTitle{
667
+ float:left;
668
+ padding:7px 0 5px 10px;
669
+ margin-bottom:1px;
670
+ font-size: 22px;
671
+ }
672
+
673
+ #TB_title{
674
+ background-color: #6C8C22;
675
+ color: #dedede;
676
+ height:40px;
677
+ }
678
+ #TB_title :link,
679
+ #TB_title :visited {
680
+ color: white !important;
681
+ border-bottom: 1px dotted #dedede;
682
+ }
683
+
684
+ #TB_ajaxContent{
685
+ clear:both;
686
+ padding:2px 15px 15px 15px;
687
+ overflow:auto;
688
+ text-align:left;
689
+ line-height:1.4em;
690
+ }
691
+
692
+ #TB_ajaxContent.TB_modal{
693
+ padding:15px;
694
+ }
695
+
696
+ #TB_ajaxContent p{
697
+ padding:5px 0px 5px 0px;
698
+ }
699
+
700
+ #TB_load{
701
+ position: fixed;
702
+ display:none;
703
+ height:13px;
704
+ width:208px;
705
+ z-index:103;
706
+ top: 50%;
707
+ left: 50%;
708
+ margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
709
+ }
710
+
711
+ * html #TB_load { /* ie6 hack */
712
+ position: absolute;
713
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
714
+ }
715
+
716
+ #TB_HideSelect{
717
+ z-index:99;
718
+ position:fixed;
719
+ top: 0;
720
+ left: 0;
721
+ background-color:#fff;
722
+ border:none;
723
+ filter:alpha(opacity=0);
724
+ -moz-opacity: 0;
725
+ opacity: 0;
726
+ height:100%;
727
+ width:100%;
728
+ }
729
+
730
+ * html #TB_HideSelect { /* ie6 hack */
731
+ position: absolute;
732
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
733
+ }
734
+
735
+ #TB_iframeContent{
736
+ clear:both;
737
+ border:none;
738
+ margin-bottom:-1px;
739
+ margin-top:1px;
740
+ _margin-bottom:1px;
741
+ }
742
+
743
+ /* @end */
744
+
745
+ /* @group Debugging Section */
746
+
747
+ #debugging-toggle {
748
+ text-align: center;
749
+ }
750
+ #debugging-toggle img {
751
+ cursor: pointer;
752
+ }
753
+
754
+ #rdoc-debugging-section-dump {
755
+ display: none;
756
+ margin: 0 2em 2em;
757
+ background: #ccc;
758
+ border: 1px solid #999;
759
+ }
760
+
761
+
762
+
763
+ /* @end */