rango 0.2.3 → 0.2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -2
- data/CHANGELOG +9 -0
- data/CONTRIBUTORS +0 -1
- data/Gemfile +2 -6
- data/lib/rango.rb +10 -7
- data/lib/rango/cli.rb +1 -1
- data/lib/rango/contrib/pagination/adapters/sequel.rb +6 -2
- data/lib/rango/controller.rb +24 -20
- data/lib/rango/core_ext.rb +54 -59
- data/lib/rango/exceptions.rb +2 -2
- data/lib/rango/gv/router.rb +1 -1
- data/lib/rango/gv/scaffolding.rb +0 -1
- data/lib/rango/mailer.rb +20 -40
- data/lib/rango/mixins/action_args.rb +8 -7
- data/lib/rango/mixins/filters.rb +1 -0
- data/lib/rango/mixins/message.rb +37 -33
- data/lib/rango/mixins/rack-flash.rb +44 -0
- data/{benchmarks/stubs/merb-app/spec/spec.opts → lib/rango/orm/tasks/ripple.nake} +0 -0
- data/lib/rango/rack/request.rb +12 -15
- data/lib/rango/router.rb +7 -3
- data/lib/rango/router/adapters/crudtree.rb +8 -1
- data/lib/rango/router/adapters/rack_mount.rb +5 -1
- data/lib/rango/router/adapters/usher.rb +5 -2
- data/lib/rango/stacks/controller.rb +0 -1
- data/lib/rango/templates/exts/haml.rb +14 -15
- data/lib/rango/templates/exts/tilt.rb +16 -23
- data/lib/rango/templates/helpers.rb +10 -1
- data/lib/rango/templates/template.rb +4 -4
- data/lib/rango/utils.rb +4 -2
- data/lib/rango/version.rb +5 -0
- data/rango.gemspec +3 -2
- data/{benchmarks/stubs/merb-core/spec/spec.opts → spec/rango/cli_spec.rb} +0 -0
- data/{benchmarks/stubs/rails/log/development.log → spec/rango/contrib/pagination/adapters/sequel_spec.rb} +0 -0
- data/spec/rango/controller_spec.rb +12 -0
- data/spec/rango/core_ext_spec.rb +61 -0
- data/spec/rango/environments_spec.rb +1 -0
- data/spec/rango/exceptions_spec.rb +1 -28
- data/{benchmarks/stubs/rails/log/production.log → spec/rango/mailer_spec.rb} +0 -0
- data/spec/rango/mixins/action_args_spec.rb +0 -4
- data/spec/rango/mixins/message_spec.rb +20 -10
- data/{benchmarks/stubs/rails/log/server.log → spec/rango/mixins/rack-flash_spec.rb} +0 -0
- data/spec/rango/rack/request_spec.rb +11 -0
- data/{benchmarks/stubs/rails/log/test.log → spec/rango/router/adapters/crudtree_spec.rb} +0 -0
- data/spec/rango/templates/helpers_spec.rb +19 -5
- data/spec/rango/templates/template_spec.rb +1 -20
- data/{benchmarks/stubs/rails/public/favicon.ico → spec/rango/version_spec.rb} +0 -0
- data/spec/spec_helper.rb +18 -4
- data/stubs/stack/content/%name%.gemspec.rbt +0 -0
- data/stubs/stack/content/%name%.pre.gemspec.rbt +1 -2
- data/stubs/stack/content/.gitignore +2 -5
- data/stubs/stack/content/Gemfile.rbt +23 -46
- data/stubs/stack/content/config.ru.rbt +9 -21
- data/stubs/stack/content/init.rb.rbt +10 -10
- data/stubs/stack/content/lib/%name%.rb.rbt +37 -4
- data/stubs/stack/content/lib/%name%/initializers/01_database.rb.rbt +16 -0
- data/stubs/stack/content/lib/%name%/initializers/05_templates.rb.rbt +13 -0
- data/stubs/stack/content/lib/%name%/initializers/10_pagination.rb.rbt +8 -0
- data/stubs/stack/content/lib/%name%/initializers/15_warden.rb.rbt +26 -0
- data/stubs/stack/content/lib/%name%/initializers/45_middlewares.rb.rbt +17 -0
- data/stubs/stack/content/lib/%name%/initializers/50_router.rb.rbt +7 -0
- data/stubs/stack/content/lib/%name%/{initializers/urls.rb.rbt → urls.rb.rbt} +3 -0
- data/stubs/stack/content/lib/%name%/views.rb.rbt +4 -1
- data/stubs/stack/content/templates/index.html.haml +1 -1
- data/{gems → vendor}/cache/abstract-1.0.0.gem +0 -0
- data/vendor/cache/code-cleaner-0.8.2.gem +0 -0
- data/{gems → vendor}/cache/erubis-2.6.5.gem +0 -0
- data/vendor/cache/haml-2.2.21.gem +0 -0
- data/{gems → vendor}/cache/nake-0.0.8.gem +0 -0
- data/vendor/cache/rack-1.1.0.gem +0 -0
- data/{gems → vendor}/cache/rspec-1.3.0.gem +0 -0
- data/vendor/cache/term-ansicolor-1.0.5.gem +0 -0
- data/vendor/cache/tilt-0.8.gem +0 -0
- metadata +63 -239
- data/benchmarks/stubs/merb-app/.gitignore +0 -21
- data/benchmarks/stubs/merb-app/Rakefile +0 -35
- data/benchmarks/stubs/merb-app/app/controllers/application.rb +0 -4
- data/benchmarks/stubs/merb-app/app/controllers/exceptions.rb +0 -15
- data/benchmarks/stubs/merb-app/app/helpers/global_helpers.rb +0 -7
- data/benchmarks/stubs/merb-app/app/models/user.rb +0 -19
- data/benchmarks/stubs/merb-app/app/views/exceptions/not_acceptable.html.erb +0 -63
- data/benchmarks/stubs/merb-app/app/views/exceptions/not_found.html.erb +0 -47
- data/benchmarks/stubs/merb-app/app/views/layout/application.html.erb +0 -12
- data/benchmarks/stubs/merb-app/autotest/discover.rb +0 -4
- data/benchmarks/stubs/merb-app/autotest/merb.rb +0 -154
- data/benchmarks/stubs/merb-app/autotest/merb_rspec.rb +0 -167
- data/benchmarks/stubs/merb-app/config/database.yml +0 -33
- data/benchmarks/stubs/merb-app/config/dependencies.rb +0 -36
- data/benchmarks/stubs/merb-app/config/environments/development.rb +0 -17
- data/benchmarks/stubs/merb-app/config/environments/production.rb +0 -12
- data/benchmarks/stubs/merb-app/config/environments/rake.rb +0 -13
- data/benchmarks/stubs/merb-app/config/environments/staging.rb +0 -12
- data/benchmarks/stubs/merb-app/config/environments/test.rb +0 -14
- data/benchmarks/stubs/merb-app/config/init.rb +0 -26
- data/benchmarks/stubs/merb-app/config/rack.rb +0 -13
- data/benchmarks/stubs/merb-app/config/router.rb +0 -46
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/merb_generator.rb +0 -1364
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/api_grease.js +0 -640
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/index.html.erb +0 -37
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb.css +0 -252
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb.rb +0 -353
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb_doc_styles.css +0 -492
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/prototype.js +0 -2515
- data/benchmarks/stubs/merb-app/merb/merb-auth/setup.rb +0 -46
- data/benchmarks/stubs/merb-app/merb/merb-auth/strategies.rb +0 -13
- data/benchmarks/stubs/merb-app/merb/session/session.rb +0 -11
- data/benchmarks/stubs/merb-app/public/.htaccess +0 -17
- data/benchmarks/stubs/merb-app/public/favicon.ico +0 -0
- data/benchmarks/stubs/merb-app/public/images/merb.jpg +0 -0
- data/benchmarks/stubs/merb-app/public/javascripts/application.js +0 -1
- data/benchmarks/stubs/merb-app/public/javascripts/jquery.js +0 -19
- data/benchmarks/stubs/merb-app/public/merb.fcgi +0 -22
- data/benchmarks/stubs/merb-app/public/robots.txt +0 -5
- data/benchmarks/stubs/merb-app/public/stylesheets/master.css +0 -119
- data/benchmarks/stubs/merb-app/spec/spec_helper.rb +0 -27
- data/benchmarks/stubs/merb-app/tasks/doc.thor +0 -151
- data/benchmarks/stubs/merb-app/tasks/merb.thor/app_script.rb +0 -33
- data/benchmarks/stubs/merb-app/tasks/merb.thor/common.rb +0 -70
- data/benchmarks/stubs/merb-app/tasks/merb.thor/gem_ext.rb +0 -127
- data/benchmarks/stubs/merb-app/tasks/merb.thor/main.thor +0 -152
- data/benchmarks/stubs/merb-app/tasks/merb.thor/ops.rb +0 -95
- data/benchmarks/stubs/merb-app/tasks/merb.thor/utils.rb +0 -42
- data/benchmarks/stubs/merb-core/.gitignore +0 -21
- data/benchmarks/stubs/merb-core/Rakefile +0 -35
- data/benchmarks/stubs/merb-core/app/controllers/application.rb +0 -4
- data/benchmarks/stubs/merb-core/app/controllers/exceptions.rb +0 -15
- data/benchmarks/stubs/merb-core/app/helpers/global_helpers.rb +0 -7
- data/benchmarks/stubs/merb-core/app/views/exceptions/not_acceptable.html.erb +0 -63
- data/benchmarks/stubs/merb-core/app/views/exceptions/not_found.html.erb +0 -47
- data/benchmarks/stubs/merb-core/app/views/layout/application.html.erb +0 -12
- data/benchmarks/stubs/merb-core/autotest/discover.rb +0 -1
- data/benchmarks/stubs/merb-core/autotest/merb.rb +0 -151
- data/benchmarks/stubs/merb-core/autotest/merb_rspec.rb +0 -167
- data/benchmarks/stubs/merb-core/config/environments/development.rb +0 -17
- data/benchmarks/stubs/merb-core/config/environments/production.rb +0 -12
- data/benchmarks/stubs/merb-core/config/environments/rake.rb +0 -13
- data/benchmarks/stubs/merb-core/config/environments/staging.rb +0 -12
- data/benchmarks/stubs/merb-core/config/environments/test.rb +0 -14
- data/benchmarks/stubs/merb-core/config/init.rb +0 -27
- data/benchmarks/stubs/merb-core/config/rack.rb +0 -13
- data/benchmarks/stubs/merb-core/config/router.rb +0 -43
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/merb_generator.rb +0 -1364
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/api_grease.js +0 -640
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/index.html.erb +0 -37
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb.css +0 -252
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb.rb +0 -353
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb_doc_styles.css +0 -492
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/prototype.js +0 -2515
- data/benchmarks/stubs/merb-core/public/.htaccess +0 -17
- data/benchmarks/stubs/merb-core/public/favicon.ico +0 -0
- data/benchmarks/stubs/merb-core/public/images/merb.jpg +0 -0
- data/benchmarks/stubs/merb-core/public/javascripts/application.js +0 -1
- data/benchmarks/stubs/merb-core/public/merb.fcgi +0 -22
- data/benchmarks/stubs/merb-core/public/robots.txt +0 -5
- data/benchmarks/stubs/merb-core/public/stylesheets/master.css +0 -119
- data/benchmarks/stubs/merb-core/spec/spec_helper.rb +0 -22
- data/benchmarks/stubs/merb-core/tasks/merb.thor/app_script.rb +0 -33
- data/benchmarks/stubs/merb-core/tasks/merb.thor/common.rb +0 -70
- data/benchmarks/stubs/merb-core/tasks/merb.thor/gem_ext.rb +0 -127
- data/benchmarks/stubs/merb-core/tasks/merb.thor/main.thor +0 -152
- data/benchmarks/stubs/merb-core/tasks/merb.thor/ops.rb +0 -95
- data/benchmarks/stubs/merb-core/tasks/merb.thor/utils.rb +0 -42
- data/benchmarks/stubs/merb-flat/.gitignore +0 -21
- data/benchmarks/stubs/merb-flat/README.txt +0 -10
- data/benchmarks/stubs/merb-flat/Rakefile +0 -35
- data/benchmarks/stubs/merb-flat/application.rb +0 -17
- data/benchmarks/stubs/merb-flat/config/framework.rb +0 -9
- data/benchmarks/stubs/merb-flat/config/init.rb +0 -42
- data/benchmarks/stubs/merb-flat/spec/spec_helper.rb +0 -26
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/app_script.rb +0 -33
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/common.rb +0 -70
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/gem_ext.rb +0 -127
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/main.thor +0 -152
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/ops.rb +0 -95
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/utils.rb +0 -42
- data/benchmarks/stubs/merb-flat/views/foo.html.erb +0 -3
- data/benchmarks/stubs/merb-very-flat/.gitignore +0 -21
- data/benchmarks/stubs/merb-very-flat/Rakefile +0 -35
- data/benchmarks/stubs/merb-very-flat/merb-very-flat.rb +0 -61
- data/benchmarks/stubs/merb-very-flat/spec/spec_helper.rb +0 -26
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/app_script.rb +0 -33
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/common.rb +0 -70
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/gem_ext.rb +0 -127
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/main.thor +0 -152
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/ops.rb +0 -95
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/utils.rb +0 -42
- data/benchmarks/stubs/rails/README +0 -243
- data/benchmarks/stubs/rails/Rakefile +0 -10
- data/benchmarks/stubs/rails/app/controllers/application_controller.rb +0 -12
- data/benchmarks/stubs/rails/app/helpers/application_helper.rb +0 -5
- data/benchmarks/stubs/rails/config/boot.rb +0 -112
- data/benchmarks/stubs/rails/config/database.yml +0 -22
- data/benchmarks/stubs/rails/config/environment.rb +0 -43
- data/benchmarks/stubs/rails/config/environments/development.rb +0 -19
- data/benchmarks/stubs/rails/config/environments/production.rb +0 -30
- data/benchmarks/stubs/rails/config/environments/test.rb +0 -30
- data/benchmarks/stubs/rails/config/initializers/backtrace_silencers.rb +0 -9
- data/benchmarks/stubs/rails/config/initializers/inflections.rb +0 -12
- data/benchmarks/stubs/rails/config/initializers/mime_types.rb +0 -7
- data/benchmarks/stubs/rails/config/initializers/new_rails_defaults.rb +0 -21
- data/benchmarks/stubs/rails/config/initializers/session_store.rb +0 -17
- data/benchmarks/stubs/rails/config/locales/en.yml +0 -5
- data/benchmarks/stubs/rails/config/routes.rb +0 -45
- data/benchmarks/stubs/rails/doc/README_FOR_APP +0 -2
- data/benchmarks/stubs/rails/public/404.html +0 -30
- data/benchmarks/stubs/rails/public/422.html +0 -30
- data/benchmarks/stubs/rails/public/500.html +0 -30
- data/benchmarks/stubs/rails/public/images/rails.png +0 -0
- data/benchmarks/stubs/rails/public/index.html +0 -275
- data/benchmarks/stubs/rails/public/javascripts/application.js +0 -2
- data/benchmarks/stubs/rails/public/javascripts/controls.js +0 -963
- data/benchmarks/stubs/rails/public/javascripts/dragdrop.js +0 -973
- data/benchmarks/stubs/rails/public/javascripts/effects.js +0 -1128
- data/benchmarks/stubs/rails/public/javascripts/prototype.js +0 -4320
- data/benchmarks/stubs/rails/public/robots.txt +0 -5
- data/benchmarks/stubs/rails/script/about +0 -4
- data/benchmarks/stubs/rails/script/console +0 -3
- data/benchmarks/stubs/rails/script/dbconsole +0 -3
- data/benchmarks/stubs/rails/script/destroy +0 -3
- data/benchmarks/stubs/rails/script/generate +0 -3
- data/benchmarks/stubs/rails/script/performance/benchmarker +0 -3
- data/benchmarks/stubs/rails/script/performance/profiler +0 -3
- data/benchmarks/stubs/rails/script/plugin +0 -3
- data/benchmarks/stubs/rails/script/runner +0 -3
- data/benchmarks/stubs/rails/script/server +0 -3
- data/benchmarks/stubs/rails/test/performance/browsing_test.rb +0 -11
- data/benchmarks/stubs/rails/test/test_helper.rb +0 -40
- data/benchmarks/stubs/ramaze.rb +0 -0
- data/benchmarks/stubs/sinatra.rb +0 -11
- data/gems/cache/code-cleaner-0.1.gem +0 -0
- data/gems/cache/code-cleaner-0.2.gem +0 -0
- data/gems/cache/code-cleaner-0.3.gem +0 -0
- data/gems/cache/code-cleaner-0.4.gem +0 -0
- data/gems/cache/code-cleaner-0.5.gem +0 -0
- data/gems/cache/code-cleaner-0.6.gem +0 -0
- data/gems/cache/code-cleaner-0.7.gem +0 -0
- data/gems/cache/code-cleaner-0.8.1.gem +0 -0
- data/gems/cache/code-cleaner-0.8.gem +0 -0
- data/gems/cache/extlib-0.9.14.gem +0 -0
- data/gems/cache/haml-2.2.16.gem +0 -0
- data/gems/cache/haml-2.2.17.gem +0 -0
- data/gems/cache/nake-0.0.2.gem +0 -0
- data/gems/cache/nake-0.0.3.gem +0 -0
- data/gems/cache/nake-0.0.5.gem +0 -0
- data/gems/cache/nake-0.0.6.gem +0 -0
- data/gems/cache/rack-1.0.1.gem +0 -0
- data/gems/cache/rack-1.1.0.gem +0 -0
- data/gems/cache/rspec-1.2.9.gem +0 -0
- data/gems/cache/term-ansicolor-1.0.4.gem +0 -0
- data/gems/cache/tilt-0.4.gem +0 -0
- data/gems/cache/tilt-0.5.gem +0 -0
- data/lib/rango/forms/form.rb +0 -30
- data/lib/rango/helpers.rb +0 -31
- data/lib/rango/helpers/assets.rb +0 -46
- data/lib/rango/helpers/general.rb +0 -53
- data/lib/rango/helpers/syntax.rb +0 -30
- data/lib/rango/mixins/chainable.rb +0 -66
- data/lib/rango/mixins/http_caching.rb +0 -78
- data/lib/rango/router/adapters/rack_router.rb +0 -7
- data/lib/rango/templates/exts/erubis.rb +0 -65
- data/spec/rango/forms/form_spec.rb +0 -0
- data/spec/rango/helpers/assets_spec.rb +0 -0
- data/spec/rango/helpers/general_spec.rb +0 -0
- data/spec/rango/helpers/syntax_spec.rb +0 -0
- data/spec/rango/helpers_spec.rb +0 -0
- data/spec/rango/rack/middlewares/email_obfuscator_spec.rb +0 -0
- data/spec/rango/router/adapters/rack_router_spec.rb +0 -0
- data/spec/rango/templates/exts/erubis_spec.rb +0 -0
- data/spec/stubs/templates/_basic.html.erb +0 -6
- data/spec/stubs/templates/basic.html.erb +0 -6
- data/spec/stubs/templates/capture.html.erb +0 -11
- data/spec/stubs/templates/context.html.erb +0 -6
- data/spec/stubs/templates/erubis.html.erubis +0 -2
- data/spec/stubs/templates/exception.html.erb +0 -1
- data/spec/stubs/templates/inheritance/capture/erb/base.html.erb +0 -3
- data/spec/stubs/templates/inheritance/capture/erb/index.html.erb +0 -4
- data/spec/stubs/templates/inheritance/capture/erubis/base.html.erubis +0 -3
- data/spec/stubs/templates/inheritance/capture/erubis/index.html.erubis +0 -4
- data/stubs/stack/content/lib/%name%/config.rb.rbt +0 -0
- data/stubs/stack/content/lib/%name%/initializers/middlewares.rb.rbt +0 -5
- data/stubs/stack/content/rackup.rb.rbt +0 -41
- data/support/hooks/pre-commit +0 -12
@@ -1,37 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
-
<head>
|
4
|
-
<title>Documentation</title>
|
5
|
-
<meta content='text/html;charset=UTF-8' http-equiv='content-type' />
|
6
|
-
<meta content='all' name='robots' />
|
7
|
-
<meta content='text/html;charset=utf-8' http-equiv='content-type' />
|
8
|
-
<meta content='no' http-equiv='msthemecompatible' />
|
9
|
-
<meta content='false' http-equiv='imagetoolbar' />
|
10
|
-
<link href="generators/template/merb/merb.css" media="screen" rel="stylesheet" type="text/css" />
|
11
|
-
</head>
|
12
|
-
<body>
|
13
|
-
<div id='content'>
|
14
|
-
<div class='wrap_to_center'>
|
15
|
-
<div class='full_width' id='content_top'>
|
16
|
-
<div id='content_bottom'>
|
17
|
-
<div id='content_full'>
|
18
|
-
<h1>Documentation</h1>
|
19
|
-
<ul>
|
20
|
-
<% @directories.each do |directory| %>
|
21
|
-
<li id="merb-core"><a href="<%= directory %>/index.html"><%= directory.capitalize %></a></li>
|
22
|
-
<% end %>
|
23
|
-
</ul>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
<div id='footer'>
|
29
|
-
<div class='wrap_to_center'>
|
30
|
-
<p>
|
31
|
-
© 2008, Ezra Zygmuntowicz | Merb is released under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>
|
32
|
-
</p>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
</body>
|
37
|
-
</html>
|
@@ -1,252 +0,0 @@
|
|
1
|
-
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {
|
2
|
-
margin: 0;
|
3
|
-
padding: 0;
|
4
|
-
border: 0;
|
5
|
-
font-weight: inherit;
|
6
|
-
font-style: inherit;
|
7
|
-
font-size: 100%;
|
8
|
-
font-family: inherit;
|
9
|
-
vertical-align: baseline; }
|
10
|
-
|
11
|
-
/* GENERAL RULES */
|
12
|
-
|
13
|
-
body {
|
14
|
-
background: #000 url(../img/body.gif) repeat-x bottom center;
|
15
|
-
color: #000;
|
16
|
-
font: normal 12px "Lucida Grande", "Arial", sans-serif;
|
17
|
-
line-height: 1;
|
18
|
-
}
|
19
|
-
ul {list-style-type: none;}
|
20
|
-
#content_full ul.revisions{list-style-type: disc;}
|
21
|
-
#content_full ul.revisions li{margin-left: 15px;padding: 3px 0;}
|
22
|
-
li a {display: block;}
|
23
|
-
#content_full ul.revisions li a{display: inline;}
|
24
|
-
strong {font-weight: bold;}
|
25
|
-
table {border-collapse: separate;border-spacing: 0; }
|
26
|
-
caption, th, td {text-align: left;font-weight: normal; }
|
27
|
-
.invisible {display: none;}
|
28
|
-
.full_width {width:100%;}
|
29
|
-
|
30
|
-
/* LAYOUT */
|
31
|
-
|
32
|
-
.wrap_to_center, #foot {
|
33
|
-
margin: 0 auto;
|
34
|
-
display: block;
|
35
|
-
width: 800px;
|
36
|
-
}
|
37
|
-
|
38
|
-
#content {width: 100%;}
|
39
|
-
|
40
|
-
#content_top {
|
41
|
-
background: #fff url(../img/content_top.gif) no-repeat top center;
|
42
|
-
float:left;
|
43
|
-
margin:25px 0px;
|
44
|
-
width:100%;
|
45
|
-
}
|
46
|
-
#content_bottom {
|
47
|
-
background: url(../img/content_bottom.gif) no-repeat bottom center;
|
48
|
-
width:100%;
|
49
|
-
float:left;
|
50
|
-
}
|
51
|
-
#content_main {
|
52
|
-
float:left;
|
53
|
-
margin: 10px 20px 20px 20px;
|
54
|
-
width:506px;
|
55
|
-
}
|
56
|
-
#content p {
|
57
|
-
line-height:17px;
|
58
|
-
}
|
59
|
-
#content_full {margin: 10px 20px 20px 20px;}
|
60
|
-
|
61
|
-
/* HEADER & NAVIGATION */
|
62
|
-
|
63
|
-
#header {
|
64
|
-
background: #1db900 url(../img/header_waves.gif) repeat-x top center;
|
65
|
-
height:74px;
|
66
|
-
width: 100%;
|
67
|
-
}
|
68
|
-
#waves {
|
69
|
-
background: url(../img/header_waves.gif)no-repeat top left;
|
70
|
-
height:74px;
|
71
|
-
width:980px;
|
72
|
-
}
|
73
|
-
#header img {margin-top:8px; float:left;}
|
74
|
-
#header a {color:#fff; text-decoration:none;}
|
75
|
-
#header a:hover {color:#000;}
|
76
|
-
ul#nav {float:right;display:block;width:43.3em;margin-top:25px;}
|
77
|
-
ul#nav li {display:block;float:left;}
|
78
|
-
ul#nav li a {display:block;float:left;margin:0px 5px;padding:6px 9px 31px 9px;}
|
79
|
-
ul#nav li a:hover {background:url(../img/header_hover.gif) repeat-x bottom center;}
|
80
|
-
ul#nav li a#active {background:url(../img/header_arrow.gif)no-repeat bottom center;}
|
81
|
-
ul#nav li.last a {margin-right:0;}
|
82
|
-
|
83
|
-
/* TEXT FORMATTING */
|
84
|
-
|
85
|
-
h1 {
|
86
|
-
border-bottom:2px solid #ccc;
|
87
|
-
color:#000;
|
88
|
-
font:bold 28px "Arial" sans-serif;
|
89
|
-
letter-spacing:1px;
|
90
|
-
margin:20px 0px;
|
91
|
-
text-align:left;
|
92
|
-
width:100%;
|
93
|
-
}
|
94
|
-
h1.home {
|
95
|
-
border:0;
|
96
|
-
color:#fff;
|
97
|
-
font-size:36px;
|
98
|
-
margin:20px 0px;
|
99
|
-
text-align:center;
|
100
|
-
}
|
101
|
-
h2 {
|
102
|
-
color:#7aad00;
|
103
|
-
font:bold 22px "Lucida Grande" sans-serif;
|
104
|
-
margin:10px 0px;
|
105
|
-
}
|
106
|
-
h3 {
|
107
|
-
font:bold 16px "Lucida Grande";
|
108
|
-
margin:10px 0px;
|
109
|
-
}
|
110
|
-
#content a {color:#d7ff00;}
|
111
|
-
#content a:hover {background:#d7ff00;color:#000;}
|
112
|
-
#content_main ul {margin:10px 0px;}
|
113
|
-
#content_main ul li {
|
114
|
-
background: url(../img/li.gif) no-repeat left center;
|
115
|
-
padding: 4px 4px 4px 16px;
|
116
|
-
font-weight:bold;
|
117
|
-
}
|
118
|
-
p {margin-bottom:12px;}
|
119
|
-
#content_main a,#content_full a {color:#11b716;font-weight:bold;}
|
120
|
-
#content_main a:hover,#content_full a:hover {background:#22d716;}
|
121
|
-
pre {
|
122
|
-
background:#222;
|
123
|
-
color:#fff;
|
124
|
-
font:12px "Courier" serif;
|
125
|
-
line-height:18px;
|
126
|
-
padding: 12px;
|
127
|
-
margin-bottom: 10px;
|
128
|
-
}
|
129
|
-
code {
|
130
|
-
font:bold 12px "Courier" serif;
|
131
|
-
}
|
132
|
-
pre code {font-weight:normal;}
|
133
|
-
|
134
|
-
/* SIDEBAR FOR CONTENT */
|
135
|
-
|
136
|
-
#content_sidebar {
|
137
|
-
float: left;
|
138
|
-
margin: 20px 20px 15px 10px;
|
139
|
-
width: 224px;
|
140
|
-
}
|
141
|
-
.sidebar_top {
|
142
|
-
background:#868686 url(../img/sidebar_top.gif) no-repeat top center;
|
143
|
-
margin-bottom:12px;
|
144
|
-
width:224px;
|
145
|
-
}
|
146
|
-
dl.sidebar_bottom {
|
147
|
-
background: url(../img/sidebar_bottom.gif) no-repeat bottom center;
|
148
|
-
padding:12px;
|
149
|
-
}
|
150
|
-
dl.sidebar_bottom dt {
|
151
|
-
color:#fff;
|
152
|
-
font:bold 14px "Lucida Grande" sans-serif;
|
153
|
-
margin-bottom:6px;
|
154
|
-
}
|
155
|
-
dl.sidebar_bottom dd {padding:3px 0px;}
|
156
|
-
#content_sidebar p {padding:10px 0px;}
|
157
|
-
p#rss a {
|
158
|
-
background: url(../img/rss.gif) no-repeat left center;
|
159
|
-
color:#000;
|
160
|
-
font:bold 14px "Lucida Grande";
|
161
|
-
padding: 8px 6px 8px 34px;
|
162
|
-
text-decoration:none;
|
163
|
-
}
|
164
|
-
p#rss a:hover {
|
165
|
-
background: url(../img/rss.gif) no-repeat left center;
|
166
|
-
background-color:#fff;
|
167
|
-
text-decoration:underline;
|
168
|
-
}
|
169
|
-
|
170
|
-
/* FOOTER */
|
171
|
-
|
172
|
-
#footer {background:#444; clear:both;}
|
173
|
-
#footer p {padding:12px; color:#999; margin:0; text-align:center;}
|
174
|
-
|
175
|
-
/* FEATURES PAGE */
|
176
|
-
.feature {
|
177
|
-
background-repeat:no-repeat;
|
178
|
-
background-position:top left;
|
179
|
-
border-bottom:2px solid #ccc;
|
180
|
-
padding-left:150px;
|
181
|
-
}
|
182
|
-
div#speed {background-image: url(../img/feature_speed.gif);}
|
183
|
-
div#light {background-image: url(../img/feature_light.gif);}
|
184
|
-
div#power {background-image: url(../img/feature_power.gif);}
|
185
|
-
|
186
|
-
.quicklinks_top {
|
187
|
-
background:#868686 url(../img/quicklinks_top.gif) no-repeat top center;
|
188
|
-
float:right;
|
189
|
-
margin-bottom:12px;
|
190
|
-
width:169px;
|
191
|
-
}
|
192
|
-
ul.quicklinks_bottom {
|
193
|
-
background: url(../img/quicklinks_bottom.gif) no-repeat bottom center;
|
194
|
-
padding:12px;
|
195
|
-
}
|
196
|
-
ul.quicklinks_bottom li {
|
197
|
-
display:block;
|
198
|
-
padding:3px 0px;
|
199
|
-
}
|
200
|
-
#content_full ul.quicklinks_bottom li a{
|
201
|
-
color:#d7ff00;
|
202
|
-
display:inline;
|
203
|
-
}
|
204
|
-
#content_full ul.quicklinks_bottom li a:hover {
|
205
|
-
background:#d7ff00;
|
206
|
-
color:#000;
|
207
|
-
}
|
208
|
-
|
209
|
-
/* DOCUMENTATION PAGE */
|
210
|
-
.sub-framework {
|
211
|
-
border-bottom:2px solid #ccc;
|
212
|
-
margin-bottom: 20px;
|
213
|
-
padding-bottom: 10px;
|
214
|
-
}
|
215
|
-
|
216
|
-
|
217
|
-
/* ICONS FOR HOMEPAGE */
|
218
|
-
|
219
|
-
#icons_top {
|
220
|
-
background: url(../img/icons_top.gif) no-repeat top center;
|
221
|
-
float:left;
|
222
|
-
width:800px;
|
223
|
-
}
|
224
|
-
#icons_bottom {
|
225
|
-
background: url(../img/icons_bottom.gif) no-repeat bottom center;
|
226
|
-
float:left;
|
227
|
-
width:800px;
|
228
|
-
}
|
229
|
-
#icons_top dl {
|
230
|
-
color:#fff;
|
231
|
-
float:left;
|
232
|
-
width: 224px;
|
233
|
-
padding: 15px 20px;
|
234
|
-
}
|
235
|
-
#icons_top dt {
|
236
|
-
background-repeat:no-repeat;
|
237
|
-
background-position:center 2.5em;
|
238
|
-
color:#35d726;
|
239
|
-
font:bold 18px 'Lucida Grande' sans-serif;
|
240
|
-
padding: 6px 6px 150px 6px;
|
241
|
-
text-align:center;
|
242
|
-
}
|
243
|
-
#icons_top dd {
|
244
|
-
font: 11px "Lucida Grande";
|
245
|
-
line-height:18px;
|
246
|
-
text-align:center;
|
247
|
-
}
|
248
|
-
dl#speed, dl#light {border-right:1px solid #444;}
|
249
|
-
dl#light, dl#power {border-left:1px solid #000;}
|
250
|
-
dl#speed dt {background-image: url(../img/icon_speed.gif);}
|
251
|
-
dl#light dt {background-image: url(../img/icon_light.gif);}
|
252
|
-
dl#power dt {background-image: url(../img/icon_power.gif);}
|
@@ -1,353 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module RDoc
|
4
|
-
module Page
|
5
|
-
|
6
|
-
STYLE = File.read(File.join(File.dirname(__FILE__), 'merb_doc_styles.css'))
|
7
|
-
FONTS = ""
|
8
|
-
|
9
|
-
###################################################################
|
10
|
-
|
11
|
-
CLASS_PAGE = <<HTML
|
12
|
-
<div id="%class_seq%">
|
13
|
-
<div class='banner'>
|
14
|
-
<span class="file-title-prefix">%classmod%</span><br />%full_name%<br/>
|
15
|
-
In:
|
16
|
-
START:infiles
|
17
|
-
<a href="#" onclick="jsHref('%full_path_url%');">%full_path%</a>
|
18
|
-
IF:cvsurl
|
19
|
-
(<a href="#" onclick="jsHref('%cvsurl%');">CVS</a>)
|
20
|
-
ENDIF:cvsurl
|
21
|
-
END:infiles
|
22
|
-
|
23
|
-
IF:parent
|
24
|
-
Parent:
|
25
|
-
IF:par_url
|
26
|
-
<a href="#" onclick="jsHref('%par_url%');">
|
27
|
-
ENDIF:par_url
|
28
|
-
%parent%
|
29
|
-
IF:par_url
|
30
|
-
</a>
|
31
|
-
ENDIF:par_url
|
32
|
-
ENDIF:parent
|
33
|
-
</div>
|
34
|
-
HTML
|
35
|
-
|
36
|
-
###################################################################
|
37
|
-
|
38
|
-
METHOD_LIST = <<HTML
|
39
|
-
<div id="content">
|
40
|
-
IF:diagram
|
41
|
-
<table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center">
|
42
|
-
%diagram%
|
43
|
-
</td></tr></table>
|
44
|
-
ENDIF:diagram
|
45
|
-
|
46
|
-
IF:description
|
47
|
-
<div class="description">%description%</div>
|
48
|
-
ENDIF:description
|
49
|
-
|
50
|
-
IF:requires
|
51
|
-
<div class="sectiontitle">Required Files</div>
|
52
|
-
<ul>
|
53
|
-
START:requires
|
54
|
-
<li><a href="#" onclick="jsHref('%href%');">%name%</a></li>
|
55
|
-
END:requires
|
56
|
-
</ul>
|
57
|
-
ENDIF:requires
|
58
|
-
|
59
|
-
IF:toc
|
60
|
-
<div class="sectiontitle">Contents</div>
|
61
|
-
<ul>
|
62
|
-
START:toc
|
63
|
-
<li><a href="#" onclick="jsHref('%href%');">%secname%</a></li>
|
64
|
-
END:toc
|
65
|
-
</ul>
|
66
|
-
ENDIF:toc
|
67
|
-
|
68
|
-
IF:methods
|
69
|
-
<div class="sectiontitle">Methods</div>
|
70
|
-
<ul>
|
71
|
-
START:methods
|
72
|
-
<li><a href="index.html?a=%href%&name=%name%" >%name%</a></li>
|
73
|
-
END:methods
|
74
|
-
</ul>
|
75
|
-
ENDIF:methods
|
76
|
-
|
77
|
-
IF:includes
|
78
|
-
<div class="sectiontitle">Included Modules</div>
|
79
|
-
<ul>
|
80
|
-
START:includes
|
81
|
-
<li><a href="#" onclick="jsHref('%href%');">%name%</a></li>
|
82
|
-
END:includes
|
83
|
-
</ul>
|
84
|
-
ENDIF:includes
|
85
|
-
|
86
|
-
START:sections
|
87
|
-
IF:sectitle
|
88
|
-
<div class="sectiontitle"><a href="%secsequence%">%sectitle%</a></div>
|
89
|
-
IF:seccomment
|
90
|
-
<div class="description">
|
91
|
-
%seccomment%
|
92
|
-
</div>
|
93
|
-
ENDIF:seccomment
|
94
|
-
ENDIF:sectitle
|
95
|
-
|
96
|
-
IF:classlist
|
97
|
-
<div class="sectiontitle">Classes and Modules</div>
|
98
|
-
%classlist%
|
99
|
-
ENDIF:classlist
|
100
|
-
|
101
|
-
IF:constants
|
102
|
-
<div class="sectiontitle">Constants</div>
|
103
|
-
<table border='0' cellpadding='5'>
|
104
|
-
START:constants
|
105
|
-
<tr valign='top'>
|
106
|
-
<td class="attr-name">%name%</td>
|
107
|
-
<td>=</td>
|
108
|
-
<td class="attr-value">%value%</td>
|
109
|
-
</tr>
|
110
|
-
IF:desc
|
111
|
-
<tr valign='top'>
|
112
|
-
<td> </td>
|
113
|
-
<td colspan="2" class="attr-desc">%desc%</td>
|
114
|
-
</tr>
|
115
|
-
ENDIF:desc
|
116
|
-
END:constants
|
117
|
-
</table>
|
118
|
-
ENDIF:constants
|
119
|
-
|
120
|
-
IF:attributes
|
121
|
-
<div class="sectiontitle">Attributes</div>
|
122
|
-
<table border='0' cellpadding='5'>
|
123
|
-
START:attributes
|
124
|
-
<tr valign='top'>
|
125
|
-
<td class='attr-rw'>
|
126
|
-
IF:rw
|
127
|
-
[%rw%]
|
128
|
-
ENDIF:rw
|
129
|
-
</td>
|
130
|
-
<td class='attr-name'>%name%</td>
|
131
|
-
<td class='attr-desc'>%a_desc%</td>
|
132
|
-
</tr>
|
133
|
-
END:attributes
|
134
|
-
</table>
|
135
|
-
ENDIF:attributes
|
136
|
-
|
137
|
-
IF:method_list
|
138
|
-
START:method_list
|
139
|
-
IF:methods
|
140
|
-
<div class="sectiontitle">%type% %category% methods</div>
|
141
|
-
START:methods
|
142
|
-
<div id="%m_seq%" class="method">
|
143
|
-
<div id="%m_seq%_title" class="title">
|
144
|
-
IF:callseq
|
145
|
-
<b>%callseq%</b>
|
146
|
-
ENDIF:callseq
|
147
|
-
IFNOT:callseq
|
148
|
-
<b>%name%</b>%params%
|
149
|
-
ENDIF:callseq
|
150
|
-
IF:codeurl
|
151
|
-
[ <a href="javascript:openCode('%codeurl%')">source</a> ]
|
152
|
-
ENDIF:codeurl
|
153
|
-
</div>
|
154
|
-
IF:m_desc
|
155
|
-
<div class="description">
|
156
|
-
%m_desc%
|
157
|
-
</div>
|
158
|
-
ENDIF:m_desc
|
159
|
-
IF:aka
|
160
|
-
<div class="aka">
|
161
|
-
This method is also aliased as
|
162
|
-
START:aka
|
163
|
-
<a href="index.html?a=%aref%&name=%name%">%name%</a>
|
164
|
-
END:aka
|
165
|
-
</div>
|
166
|
-
ENDIF:aka
|
167
|
-
IF:sourcecode
|
168
|
-
<div class="sourcecode">
|
169
|
-
<p class="source-link">[ <a href="javascript:toggleSource('%aref%_source')" id="l_%aref%_source">show source</a> ]</p>
|
170
|
-
<div id="%aref%_source" class="dyn-source">
|
171
|
-
<pre>
|
172
|
-
%sourcecode%
|
173
|
-
</pre>
|
174
|
-
</div>
|
175
|
-
</div>
|
176
|
-
ENDIF:sourcecode
|
177
|
-
</div>
|
178
|
-
END:methods
|
179
|
-
ENDIF:methods
|
180
|
-
END:method_list
|
181
|
-
ENDIF:method_list
|
182
|
-
END:sections
|
183
|
-
</div>
|
184
|
-
HTML
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
BODY = <<ENDBODY
|
190
|
-
!INCLUDE! <!-- banner header -->
|
191
|
-
|
192
|
-
<div id="bodyContent" >
|
193
|
-
#{METHOD_LIST}
|
194
|
-
</div>
|
195
|
-
|
196
|
-
ENDBODY
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
SRC_BODY = <<ENDSRCBODY
|
201
|
-
!INCLUDE! <!-- banner header -->
|
202
|
-
|
203
|
-
<div id="bodyContent" >
|
204
|
-
<h2>Source Code</h2>
|
205
|
-
<pre>%file_source_code%</pre>
|
206
|
-
</div>
|
207
|
-
ENDSRCBODY
|
208
|
-
|
209
|
-
|
210
|
-
###################### File Page ##########################
|
211
|
-
FILE_PAGE = <<HTML
|
212
|
-
<div id="fileHeader">
|
213
|
-
<h1>%short_name%</h1>
|
214
|
-
<table class="header-table">
|
215
|
-
<tr class="top-aligned-row">
|
216
|
-
<td><strong>Path:</strong></td>
|
217
|
-
<td>%full_path%
|
218
|
-
IF:cvsurl
|
219
|
-
(<a href="%cvsurl%"><acronym title="Concurrent Versioning System">CVS</acronym></a>)
|
220
|
-
ENDIF:cvsurl
|
221
|
-
</td>
|
222
|
-
</tr>
|
223
|
-
<tr class="top-aligned-row">
|
224
|
-
<td><strong>Last Update:</strong></td>
|
225
|
-
<td>%dtm_modified%</td>
|
226
|
-
</tr>
|
227
|
-
</table>
|
228
|
-
</div>
|
229
|
-
HTML
|
230
|
-
|
231
|
-
|
232
|
-
#### This is not used but kept for historical purposes
|
233
|
-
########################## Source code ##########################
|
234
|
-
# Separate page onlye
|
235
|
-
|
236
|
-
SRC_PAGE = <<HTML
|
237
|
-
<html>
|
238
|
-
<head><title>%title%</title>
|
239
|
-
<meta http-equiv="Content-Type" content="text/html; charset=%charset%">
|
240
|
-
<style>
|
241
|
-
.ruby-comment { color: green; font-style: italic }
|
242
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
243
|
-
.ruby-identifier { color: #222222; }
|
244
|
-
.ruby-ivar { color: #2233dd; }
|
245
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
246
|
-
.ruby-node { color: #777777; }
|
247
|
-
.ruby-operator { color: #111111; }
|
248
|
-
.ruby-regexp { color: #662222; }
|
249
|
-
.ruby-value { color: #662222; font-style: italic }
|
250
|
-
.kw { color: #3333FF; font-weight: bold }
|
251
|
-
.cmt { color: green; font-style: italic }
|
252
|
-
.str { color: #662222; font-style: italic }
|
253
|
-
.re { color: #662222; }
|
254
|
-
</style>
|
255
|
-
</head>
|
256
|
-
<body bgcolor="white">
|
257
|
-
<pre>%code%</pre>
|
258
|
-
</body>
|
259
|
-
</html>
|
260
|
-
HTML
|
261
|
-
|
262
|
-
########################### source page body ###################
|
263
|
-
|
264
|
-
SCR_CODE_BODY = <<HTML
|
265
|
-
<div id="source">
|
266
|
-
%source_code%
|
267
|
-
</div>
|
268
|
-
|
269
|
-
HTML
|
270
|
-
|
271
|
-
########################## Index ################################
|
272
|
-
|
273
|
-
FR_INDEX_BODY = <<HTML
|
274
|
-
!INCLUDE!
|
275
|
-
HTML
|
276
|
-
|
277
|
-
FILE_INDEX = <<HTML
|
278
|
-
<ul>
|
279
|
-
START:entries
|
280
|
-
<li><a id="%seq_id%_link" href="index.html?a=%seq_id%&name=%name%" onclick="loadIndexContent('%href%','%seq_id%','%name%', '%scope%');">%name%</a><small>%scope%</small></li>
|
281
|
-
END:entries
|
282
|
-
</ul>
|
283
|
-
HTML
|
284
|
-
|
285
|
-
CLASS_INDEX = FILE_INDEX
|
286
|
-
METHOD_INDEX = FILE_INDEX
|
287
|
-
|
288
|
-
INDEX = <<HTML
|
289
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
290
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
291
|
-
|
292
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
293
|
-
<head>
|
294
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
295
|
-
<meta name="description" content="A nifty way to interact with the Merb API" />
|
296
|
-
<meta name="author" content="created by Brian Chamberlain. You can contact me using 'blchamberlain' on the gmail." />
|
297
|
-
<meta name="keywords" content="merb, ruby, purple, monkey, dishwasher" />
|
298
|
-
<title>Merb | %title% API Documentation</title>
|
299
|
-
<link rel="stylesheet" href="http://merbivore.com/documentation/stylesheet.css" type="text/css" media="screen" />
|
300
|
-
<script type="text/javascript" src="http://merbivore.com/documentation/prototype.js" ></script>
|
301
|
-
<script type="text/javascript" src="http://merbivore.com/documentation/api_grease.js" ></script>
|
302
|
-
</head>
|
303
|
-
<body onload="setupPage();">
|
304
|
-
<ul id="groupType">
|
305
|
-
<li>methods</li>
|
306
|
-
<li>classes</li>
|
307
|
-
<li>files</li>
|
308
|
-
<li id="loadingStatus" style="display:none;"> loading...</li>
|
309
|
-
</ul>
|
310
|
-
<div id="listFrame">
|
311
|
-
<div id="listSearch">
|
312
|
-
<form id="searchForm" method="get" action="#" onsubmit="return false">
|
313
|
-
<input type="text" name="searchText" id="searchTextField" size="30" autocomplete="off" />
|
314
|
-
</form>
|
315
|
-
</div>
|
316
|
-
<div id="listScroller">
|
317
|
-
Loading via ajax... this could take a sec.
|
318
|
-
</div>
|
319
|
-
</div>
|
320
|
-
<div id="browserBar">
|
321
|
-
<span id="browserBarInfo">%title% README</span>
|
322
|
-
</div>
|
323
|
-
<div id="rdocContent">
|
324
|
-
%content%
|
325
|
-
</div>
|
326
|
-
<div id="floater">
|
327
|
-
<strong>Documentation for %title% </strong><a href="#" onmouseover="$('tips').show();" onmouseout="$('tips').hide();">usage tips</a>
|
328
|
-
<div id="tips" style="position:absolute;width:350px;top:15px;right:20px;padding:5px;border:1px solid #333;background-color:#fafafa;display:none;">
|
329
|
-
<p><strong>Some tips</strong>
|
330
|
-
<ul>
|
331
|
-
<li> Up/Down keys move through the search list</li>
|
332
|
-
<li> Return/enter key loads selected item</li>
|
333
|
-
<li> Want to use this RDOC template for your own project? Check out <br /> http://rubyforge.org/projects/jaxdoc</li>
|
334
|
-
</ul>
|
335
|
-
</p>
|
336
|
-
</div>
|
337
|
-
<div id="blowOutListBox" style="display:none;"> </div>
|
338
|
-
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
339
|
-
</script>
|
340
|
-
<script type="text/javascript">
|
341
|
-
_uacct = "UA-3085184-1";
|
342
|
-
urchinTracker();
|
343
|
-
</script>
|
344
|
-
</body>
|
345
|
-
</html>
|
346
|
-
HTML
|
347
|
-
|
348
|
-
API_GREASE_JS = File.read(File.join(File.dirname(__FILE__), 'api_grease.js'))
|
349
|
-
|
350
|
-
PROTOTYPE_JS = File.read(File.join(File.dirname(__FILE__), 'prototype.js'))
|
351
|
-
end
|
352
|
-
end
|
353
|
-
|