ptomato-ramaze 2009.02
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +481 -0
- data/Rakefile +248 -0
- data/benchmark/results.txt +131 -0
- data/benchmark/run.rb +362 -0
- data/benchmark/suite/minimal.rb +13 -0
- data/benchmark/suite/no_informer.rb +9 -0
- data/benchmark/suite/no_sessions.rb +10 -0
- data/benchmark/suite/no_template.rb +9 -0
- data/benchmark/suite/simple.rb +7 -0
- data/benchmark/suite/template_amrita2.rb +17 -0
- data/benchmark/suite/template_builder.rb +12 -0
- data/benchmark/suite/template_erubis.rb +10 -0
- data/benchmark/suite/template_ezamar.rb +10 -0
- data/benchmark/suite/template_haml.rb +15 -0
- data/benchmark/suite/template_liquid.rb +13 -0
- data/benchmark/suite/template_markaby.rb +11 -0
- data/benchmark/suite/template_nagoro.rb +10 -0
- data/benchmark/suite/template_redcloth.rb +15 -0
- data/benchmark/suite/template_tenjin.rb +10 -0
- data/benchmark/test.rb +35 -0
- data/bin/ramaze +80 -0
- data/doc/AUTHORS +29 -0
- data/doc/CHANGELOG +19530 -0
- data/doc/COPYING +56 -0
- data/doc/FAQ +92 -0
- data/doc/GPL +339 -0
- data/doc/INSTALL +92 -0
- data/doc/LEGAL +26 -0
- data/doc/TODO +29 -0
- data/doc/meta/announcement.txt +99 -0
- data/doc/meta/configuration.txt +163 -0
- data/doc/meta/internals.txt +278 -0
- data/doc/meta/users.kml +64 -0
- data/doc/readme_chunks/appendix.txt +10 -0
- data/doc/readme_chunks/examples.txt +38 -0
- data/doc/readme_chunks/features.txt +148 -0
- data/doc/readme_chunks/getting_help.txt +5 -0
- data/doc/readme_chunks/getting_started.txt +18 -0
- data/doc/readme_chunks/installing.txt +92 -0
- data/doc/readme_chunks/introduction.txt +18 -0
- data/doc/readme_chunks/principles.txt +56 -0
- data/doc/readme_chunks/thanks.txt +59 -0
- data/doc/tutorial/todolist.html +742 -0
- data/doc/tutorial/todolist.mkd +787 -0
- data/examples/app/auth/auth.rb +54 -0
- data/examples/app/auth/template/layout.haml +20 -0
- data/examples/app/auth/template/login.haml +16 -0
- data/examples/app/blog/README +3 -0
- data/examples/app/blog/controller/main.rb +29 -0
- data/examples/app/blog/model/entry.rb +30 -0
- data/examples/app/blog/public/styles/blog.css +132 -0
- data/examples/app/blog/spec/blog.rb +87 -0
- data/examples/app/blog/start.rb +7 -0
- data/examples/app/blog/view/edit.xhtml +17 -0
- data/examples/app/blog/view/index.xhtml +17 -0
- data/examples/app/blog/view/layout.xhtml +11 -0
- data/examples/app/blog/view/new.xhtml +16 -0
- data/examples/app/chat/model/history.rb +36 -0
- data/examples/app/chat/model/message.rb +7 -0
- data/examples/app/chat/public/css/chat.css +13 -0
- data/examples/app/chat/public/js/chat.js +22 -0
- data/examples/app/chat/public/js/jquery.js +3436 -0
- data/examples/app/chat/start.rb +40 -0
- data/examples/app/chat/view/chat.xhtml +9 -0
- data/examples/app/chat/view/index.xhtml +7 -0
- data/examples/app/chat/view/layout.xhtml +13 -0
- data/examples/app/localization/start.rb +35 -0
- data/examples/app/rapaste/Rakefile +34 -0
- data/examples/app/rapaste/controller/paste.rb +101 -0
- data/examples/app/rapaste/model/paste.rb +58 -0
- data/examples/app/rapaste/public/css/active4d.css +114 -0
- data/examples/app/rapaste/public/css/all_hallows_eve.css +72 -0
- data/examples/app/rapaste/public/css/amy.css +147 -0
- data/examples/app/rapaste/public/css/blackboard.css +88 -0
- data/examples/app/rapaste/public/css/brilliance_black.css +605 -0
- data/examples/app/rapaste/public/css/brilliance_dull.css +599 -0
- data/examples/app/rapaste/public/css/cobalt.css +149 -0
- data/examples/app/rapaste/public/css/dawn.css +121 -0
- data/examples/app/rapaste/public/css/display.css +197 -0
- data/examples/app/rapaste/public/css/eiffel.css +121 -0
- data/examples/app/rapaste/public/css/espresso_libre.css +109 -0
- data/examples/app/rapaste/public/css/idle.css +62 -0
- data/examples/app/rapaste/public/css/iplastic.css +80 -0
- data/examples/app/rapaste/public/css/lazy.css +73 -0
- data/examples/app/rapaste/public/css/mac_classic.css +123 -0
- data/examples/app/rapaste/public/css/magicwb_amiga.css +104 -0
- data/examples/app/rapaste/public/css/pastels_on_dark.css +188 -0
- data/examples/app/rapaste/public/css/slush_poppies.css +85 -0
- data/examples/app/rapaste/public/css/spacecadet.css +51 -0
- data/examples/app/rapaste/public/css/sunburst.css +180 -0
- data/examples/app/rapaste/public/css/twilight.css +137 -0
- data/examples/app/rapaste/public/css/zenburnesque.css +91 -0
- data/examples/app/rapaste/public/js/jquery.js +11 -0
- data/examples/app/rapaste/spec/rapaste.rb +51 -0
- data/examples/app/rapaste/start.rb +25 -0
- data/examples/app/rapaste/view/copy.xhtml +10 -0
- data/examples/app/rapaste/view/index.xhtml +9 -0
- data/examples/app/rapaste/view/layout.xhtml +25 -0
- data/examples/app/rapaste/view/list.xhtml +29 -0
- data/examples/app/rapaste/view/search.xhtml +41 -0
- data/examples/app/rapaste/view/view.xhtml +40 -0
- data/examples/app/sourceview/public/coderay.css +104 -0
- data/examples/app/sourceview/public/images/file.gif +0 -0
- data/examples/app/sourceview/public/images/folder.gif +0 -0
- data/examples/app/sourceview/public/images/tv-collapsable-last.gif +0 -0
- data/examples/app/sourceview/public/images/tv-collapsable.gif +0 -0
- data/examples/app/sourceview/public/images/tv-expandable-last.gif +0 -0
- data/examples/app/sourceview/public/images/tv-expandable.gif +0 -0
- data/examples/app/sourceview/public/images/tv-item-last.gif +0 -0
- data/examples/app/sourceview/public/images/tv-item.gif +0 -0
- data/examples/app/sourceview/public/jquery.js +11 -0
- data/examples/app/sourceview/public/jquery.treeview.css +48 -0
- data/examples/app/sourceview/public/jquery.treeview.js +223 -0
- data/examples/app/sourceview/public/sourceview.js +52 -0
- data/examples/app/sourceview/sourceview.rb +77 -0
- data/examples/app/sourceview/template/index.haml +59 -0
- data/examples/app/todolist/README +1 -0
- data/examples/app/todolist/public/favicon.ico +0 -0
- data/examples/app/todolist/public/js/jquery.js +1923 -0
- data/examples/app/todolist/public/ramaze.png +0 -0
- data/examples/app/todolist/spec/todolist.rb +132 -0
- data/examples/app/todolist/src/controller/main.rb +70 -0
- data/examples/app/todolist/src/element/page.rb +31 -0
- data/examples/app/todolist/src/model.rb +14 -0
- data/examples/app/todolist/start.rb +11 -0
- data/examples/app/todolist/template/index.xhtml +17 -0
- data/examples/app/todolist/template/new.xhtml +7 -0
- data/examples/app/upload/start.rb +19 -0
- data/examples/app/upload/view/index.xhtml +25 -0
- data/examples/app/whywiki/spec/whywiki.rb +58 -0
- data/examples/app/whywiki/start.rb +46 -0
- data/examples/app/whywiki/template/edit.xhtml +14 -0
- data/examples/app/whywiki/template/show.xhtml +18 -0
- data/examples/app/wikore/spec/wikore.rb +111 -0
- data/examples/app/wikore/src/controller.rb +80 -0
- data/examples/app/wikore/src/model.rb +53 -0
- data/examples/app/wikore/start.rb +9 -0
- data/examples/app/wikore/template/index.xhtml +8 -0
- data/examples/app/wiktacular/README +2 -0
- data/examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd +1 -0
- data/examples/app/wiktacular/mkd/link/current.mkd +1 -0
- data/examples/app/wiktacular/mkd/main/2007-07-20_16-31-33.mkd +1 -0
- data/examples/app/wiktacular/mkd/main/2007-07-20_19-21-12.mkd +1 -0
- data/examples/app/wiktacular/mkd/main/2007-07-20_19-23-10.mkd +2 -0
- data/examples/app/wiktacular/mkd/main/2007-07-20_19-45-07.mkd +2 -0
- data/examples/app/wiktacular/mkd/main/current.mkd +2 -0
- data/examples/app/wiktacular/mkd/markdown/current.mkd +3 -0
- data/examples/app/wiktacular/mkd/testing/2007-07-20_16-43-46.mkd +2 -0
- data/examples/app/wiktacular/mkd/testing/2007-07-20_19-43-50.mkd +3 -0
- data/examples/app/wiktacular/mkd/testing/2007-07-21_18-46-01.mkd +11 -0
- data/examples/app/wiktacular/mkd/testing/2007-07-21_18-46-32.mkd +13 -0
- data/examples/app/wiktacular/mkd/testing/2007-07-21_18-47-08.mkd +17 -0
- data/examples/app/wiktacular/mkd/testing/2007-07-21_18-47-54.mkd +17 -0
- data/examples/app/wiktacular/mkd/testing/current.mkd +17 -0
- data/examples/app/wiktacular/public/favicon.ico +0 -0
- data/examples/app/wiktacular/public/screen.css +72 -0
- data/examples/app/wiktacular/spec/wiktacular.rb +157 -0
- data/examples/app/wiktacular/src/controller.rb +55 -0
- data/examples/app/wiktacular/src/model.rb +102 -0
- data/examples/app/wiktacular/start.rb +8 -0
- data/examples/app/wiktacular/template/edit.xhtml +6 -0
- data/examples/app/wiktacular/template/html_layout.xhtml +27 -0
- data/examples/app/wiktacular/template/index.xhtml +9 -0
- data/examples/app/wiktacular/template/new.xhtml +6 -0
- data/examples/basic/element.rb +45 -0
- data/examples/basic/gestalt.rb +27 -0
- data/examples/basic/hello.rb +15 -0
- data/examples/basic/layout.rb +28 -0
- data/examples/basic/linking.rb +29 -0
- data/examples/basic/partial.rb +28 -0
- data/examples/basic/simple.rb +56 -0
- data/examples/helpers/cache.rb +31 -0
- data/examples/helpers/form_with_sequel.rb +24 -0
- data/examples/helpers/httpdigest.rb +108 -0
- data/examples/helpers/identity.rb +18 -0
- data/examples/helpers/nitro_form.rb +23 -0
- data/examples/helpers/paginate.rb +71 -0
- data/examples/helpers/provide.rb +23 -0
- data/examples/helpers/rest.rb +28 -0
- data/examples/helpers/simple_captcha.rb +29 -0
- data/examples/misc/css.rb +37 -0
- data/examples/misc/facebook.rb +159 -0
- data/examples/misc/memleak_detector.rb +32 -0
- data/examples/misc/nagoro_element.rb +43 -0
- data/examples/misc/ramaise.rb +132 -0
- data/examples/misc/rapp.rb +45 -0
- data/examples/misc/sequel_scaffolding.rb +34 -0
- data/examples/misc/simple_auth.rb +35 -0
- data/examples/templates/template/external.amrita +19 -0
- data/examples/templates/template/external.haml +22 -0
- data/examples/templates/template/external.liquid +28 -0
- data/examples/templates/template/external.mab +30 -0
- data/examples/templates/template/external.nag +28 -0
- data/examples/templates/template/external.redcloth +19 -0
- data/examples/templates/template/external.rem +30 -0
- data/examples/templates/template/external.rhtml +28 -0
- data/examples/templates/template/external.tenjin +28 -0
- data/examples/templates/template/external.xsl +57 -0
- data/examples/templates/template/external.zmr +28 -0
- data/examples/templates/template_amrita2.rb +74 -0
- data/examples/templates/template_erubis.rb +53 -0
- data/examples/templates/template_ezamar.rb +50 -0
- data/examples/templates/template_haml.rb +50 -0
- data/examples/templates/template_liquid.rb +65 -0
- data/examples/templates/template_markaby.rb +58 -0
- data/examples/templates/template_nagoro.rb +51 -0
- data/examples/templates/template_redcloth.rb +59 -0
- data/examples/templates/template_remarkably.rb +55 -0
- data/examples/templates/template_tenjin.rb +53 -0
- data/examples/templates/template_xslt.rb +49 -0
- data/lib/proto/controller/init.rb +11 -0
- data/lib/proto/controller/main.rb +20 -0
- data/lib/proto/model/init.rb +4 -0
- data/lib/proto/public/.htaccess +24 -0
- data/lib/proto/public/css/ramaze_error.css +90 -0
- data/lib/proto/public/dispatch.fcgi +11 -0
- data/lib/proto/public/favicon.ico +0 -0
- data/lib/proto/public/js/jquery.js +3549 -0
- data/lib/proto/public/ramaze.png +0 -0
- data/lib/proto/spec/main.rb +25 -0
- data/lib/proto/start.rb +12 -0
- data/lib/proto/start.ru +16 -0
- data/lib/proto/view/error.xhtml +64 -0
- data/lib/proto/view/index.xhtml +34 -0
- data/lib/proto/view/page.xhtml +27 -0
- data/lib/ramaze/action/render.rb +192 -0
- data/lib/ramaze/action.rb +159 -0
- data/lib/ramaze/adapter/base.rb +128 -0
- data/lib/ramaze/adapter/cgi.rb +20 -0
- data/lib/ramaze/adapter/ebb.rb +18 -0
- data/lib/ramaze/adapter/evented_mongrel.rb +7 -0
- data/lib/ramaze/adapter/fake.rb +12 -0
- data/lib/ramaze/adapter/fcgi.rb +18 -0
- data/lib/ramaze/adapter/lsws.rb +19 -0
- data/lib/ramaze/adapter/mongrel.rb +21 -0
- data/lib/ramaze/adapter/scgi.rb +18 -0
- data/lib/ramaze/adapter/swiftiplied_mongrel.rb +7 -0
- data/lib/ramaze/adapter/thin.rb +17 -0
- data/lib/ramaze/adapter/webrick.rb +43 -0
- data/lib/ramaze/adapter.rb +97 -0
- data/lib/ramaze/cache/file.rb +71 -0
- data/lib/ramaze/cache/memcached.rb +69 -0
- data/lib/ramaze/cache/memory.rb +6 -0
- data/lib/ramaze/cache/yaml_store.rb +68 -0
- data/lib/ramaze/cache.rb +114 -0
- data/lib/ramaze/contrib/email.rb +86 -0
- data/lib/ramaze/contrib/facebook/facebook.rb +171 -0
- data/lib/ramaze/contrib/facebook.rb +23 -0
- data/lib/ramaze/contrib/file_cache.rb +3 -0
- data/lib/ramaze/contrib/gems.rb +78 -0
- data/lib/ramaze/contrib/gettext/mo.rb +155 -0
- data/lib/ramaze/contrib/gettext/parser.rb +46 -0
- data/lib/ramaze/contrib/gettext/po.rb +109 -0
- data/lib/ramaze/contrib/gettext.rb +113 -0
- data/lib/ramaze/contrib/gzip_filter.rb +69 -0
- data/lib/ramaze/contrib/maruku_uv.rb +59 -0
- data/lib/ramaze/contrib/profiling.rb +36 -0
- data/lib/ramaze/contrib/rest.rb +17 -0
- data/lib/ramaze/contrib/sequel/create_join.rb +25 -0
- data/lib/ramaze/contrib/sequel/fill.rb +12 -0
- data/lib/ramaze/contrib/sequel/form_field.rb +129 -0
- data/lib/ramaze/contrib/sequel/image.rb +198 -0
- data/lib/ramaze/contrib/sequel/relation.rb +82 -0
- data/lib/ramaze/contrib/sequel_cache.rb +92 -0
- data/lib/ramaze/contrib.rb +82 -0
- data/lib/ramaze/controller/error.rb +46 -0
- data/lib/ramaze/controller/main.rb +2 -0
- data/lib/ramaze/controller/resolve.rb +278 -0
- data/lib/ramaze/controller.rb +288 -0
- data/lib/ramaze/current/request.rb +231 -0
- data/lib/ramaze/current/response.rb +37 -0
- data/lib/ramaze/current/session/flash.rb +88 -0
- data/lib/ramaze/current/session/hash.rb +62 -0
- data/lib/ramaze/current/session.rb +179 -0
- data/lib/ramaze/current.rb +51 -0
- data/lib/ramaze/dispatcher/action.rb +50 -0
- data/lib/ramaze/dispatcher/directory.rb +119 -0
- data/lib/ramaze/dispatcher/error.rb +108 -0
- data/lib/ramaze/dispatcher/file.rb +100 -0
- data/lib/ramaze/dispatcher.rb +145 -0
- data/lib/ramaze/error.rb +24 -0
- data/lib/ramaze/gestalt.rb +124 -0
- data/lib/ramaze/helper/aspect.rb +106 -0
- data/lib/ramaze/helper/auth.rb +125 -0
- data/lib/ramaze/helper/bench.rb +43 -0
- data/lib/ramaze/helper/cache.rb +140 -0
- data/lib/ramaze/helper/cgi.rb +39 -0
- data/lib/ramaze/helper/flash.rb +74 -0
- data/lib/ramaze/helper/form.rb +284 -0
- data/lib/ramaze/helper/formatting.rb +162 -0
- data/lib/ramaze/helper/gestalt.rb +15 -0
- data/lib/ramaze/helper/gravatar.rb +32 -0
- data/lib/ramaze/helper/httpdigest.rb +88 -0
- data/lib/ramaze/helper/identity.rb +119 -0
- data/lib/ramaze/helper/link.rb +122 -0
- data/lib/ramaze/helper/markaby.rb +31 -0
- data/lib/ramaze/helper/maruku.rb +9 -0
- data/lib/ramaze/helper/nitroform.rb +14 -0
- data/lib/ramaze/helper/pager.rb +366 -0
- data/lib/ramaze/helper/paginate.rb +233 -0
- data/lib/ramaze/helper/partial.rb +105 -0
- data/lib/ramaze/helper/redirect.rb +100 -0
- data/lib/ramaze/helper/rest.rb +43 -0
- data/lib/ramaze/helper/sendfile.rb +16 -0
- data/lib/ramaze/helper/sequel.rb +55 -0
- data/lib/ramaze/helper/simple_captcha.rb +31 -0
- data/lib/ramaze/helper/stack.rb +77 -0
- data/lib/ramaze/helper/tagz.rb +19 -0
- data/lib/ramaze/helper/thread.rb +17 -0
- data/lib/ramaze/helper/ultraviolet.rb +44 -0
- data/lib/ramaze/helper/user.rb +110 -0
- data/lib/ramaze/helper/xhtml.rb +23 -0
- data/lib/ramaze/helper.rb +87 -0
- data/lib/ramaze/log/analogger.rb +40 -0
- data/lib/ramaze/log/growl.rb +38 -0
- data/lib/ramaze/log/hub.rb +41 -0
- data/lib/ramaze/log/informer.rb +128 -0
- data/lib/ramaze/log/knotify.rb +28 -0
- data/lib/ramaze/log/logger.rb +26 -0
- data/lib/ramaze/log/logging.rb +89 -0
- data/lib/ramaze/log/rotatinginformer.rb +168 -0
- data/lib/ramaze/log/syslog.rb +51 -0
- data/lib/ramaze/log/xosd.rb +92 -0
- data/lib/ramaze/log.rb +27 -0
- data/lib/ramaze/option/dsl.rb +45 -0
- data/lib/ramaze/option/holder.rb +131 -0
- data/lib/ramaze/option/merger.rb +108 -0
- data/lib/ramaze/option.rb +156 -0
- data/lib/ramaze/reloader/watch_inotify.rb +85 -0
- data/lib/ramaze/reloader/watch_stat.rb +58 -0
- data/lib/ramaze/reloader.rb +170 -0
- data/lib/ramaze/route.rb +97 -0
- data/lib/ramaze/setup.rb +50 -0
- data/lib/ramaze/snippets/array/put_within.rb +44 -0
- data/lib/ramaze/snippets/binding/locals.rb +25 -0
- data/lib/ramaze/snippets/blankslate.rb +7 -0
- data/lib/ramaze/snippets/dictionary.rb +504 -0
- data/lib/ramaze/snippets/divide.rb +22 -0
- data/lib/ramaze/snippets/fiber.rb +63 -0
- data/lib/ramaze/snippets/kernel/constant.rb +41 -0
- data/lib/ramaze/snippets/kernel/pretty_inspect.rb +21 -0
- data/lib/ramaze/snippets/metaid.rb +17 -0
- data/lib/ramaze/snippets/numeric/filesize_format.rb +32 -0
- data/lib/ramaze/snippets/numeric/time.rb +63 -0
- data/lib/ramaze/snippets/object/__dir__.rb +29 -0
- data/lib/ramaze/snippets/object/acquire.rb +37 -0
- data/lib/ramaze/snippets/object/instance_variable_defined.rb +19 -0
- data/lib/ramaze/snippets/object/pretty.rb +16 -0
- data/lib/ramaze/snippets/object/scope.rb +18 -0
- data/lib/ramaze/snippets/object/traits.rb +76 -0
- data/lib/ramaze/snippets/ordered_set.rb +51 -0
- data/lib/ramaze/snippets/proc/locals.rb +19 -0
- data/lib/ramaze/snippets/ramaze/acquire.rb +31 -0
- data/lib/ramaze/snippets/ramaze/caller_info.rb +30 -0
- data/lib/ramaze/snippets/ramaze/caller_lines.rb +51 -0
- data/lib/ramaze/snippets/ramaze/deprecated.rb +21 -0
- data/lib/ramaze/snippets/ramaze/fiber.rb +24 -0
- data/lib/ramaze/snippets/ramaze/state.rb +86 -0
- data/lib/ramaze/snippets/ramaze/struct.rb +45 -0
- data/lib/ramaze/snippets/string/camel_case.rb +21 -0
- data/lib/ramaze/snippets/string/color.rb +31 -0
- data/lib/ramaze/snippets/string/each.rb +19 -0
- data/lib/ramaze/snippets/string/end_with.rb +20 -0
- data/lib/ramaze/snippets/string/esc.rb +34 -0
- data/lib/ramaze/snippets/string/ord.rb +21 -0
- data/lib/ramaze/snippets/string/snake_case.rb +21 -0
- data/lib/ramaze/snippets/string/start_with.rb +19 -0
- data/lib/ramaze/snippets/string/unindent.rb +28 -0
- data/lib/ramaze/snippets/thread/into.rb +18 -0
- data/lib/ramaze/snippets.rb +22 -0
- data/lib/ramaze/spec/helper/bacon.rb +7 -0
- data/lib/ramaze/spec/helper/browser.rb +88 -0
- data/lib/ramaze/spec/helper/mock_http.rb +64 -0
- data/lib/ramaze/spec/helper/pretty_output.rb +82 -0
- data/lib/ramaze/spec/helper/requester.rb +63 -0
- data/lib/ramaze/spec/helper/simple_http.rb +434 -0
- data/lib/ramaze/spec/helper/snippets.rb +14 -0
- data/lib/ramaze/spec/helper.rb +135 -0
- data/lib/ramaze/spec.rb +1 -0
- data/lib/ramaze/store/default.rb +109 -0
- data/lib/ramaze/template/amrita2.rb +49 -0
- data/lib/ramaze/template/builder.rb +28 -0
- data/lib/ramaze/template/erubis.rb +41 -0
- data/lib/ramaze/template/ezamar/element.rb +169 -0
- data/lib/ramaze/template/ezamar/engine.rb +76 -0
- data/lib/ramaze/template/ezamar/morpher.rb +135 -0
- data/lib/ramaze/template/ezamar/render_partial.rb +39 -0
- data/lib/ramaze/template/ezamar/textpow.syntax +34 -0
- data/lib/ramaze/template/ezamar.rb +42 -0
- data/lib/ramaze/template/haml.rb +37 -0
- data/lib/ramaze/template/liquid.rb +36 -0
- data/lib/ramaze/template/markaby.rb +52 -0
- data/lib/ramaze/template/maruku.rb +34 -0
- data/lib/ramaze/template/nagoro.rb +52 -0
- data/lib/ramaze/template/none.rb +14 -0
- data/lib/ramaze/template/redcloth.rb +25 -0
- data/lib/ramaze/template/remarkably.rb +38 -0
- data/lib/ramaze/template/sass.rb +38 -0
- data/lib/ramaze/template/tagz.rb +79 -0
- data/lib/ramaze/template/tenjin.rb +74 -0
- data/lib/ramaze/template/xslt.rb +100 -0
- data/lib/ramaze/template.rb +87 -0
- data/lib/ramaze/tool/create.rb +48 -0
- data/lib/ramaze/tool/daemonize.rb +37 -0
- data/lib/ramaze/tool/localize.rb +202 -0
- data/lib/ramaze/tool/mime.rb +35 -0
- data/lib/ramaze/tool/mime_types.yaml +615 -0
- data/lib/ramaze/tool/project_creator.rb +111 -0
- data/lib/ramaze/tool/record.rb +6 -0
- data/lib/ramaze/tool.rb +9 -0
- data/lib/ramaze/trinity.rb +16 -0
- data/lib/ramaze/version.rb +6 -0
- data/lib/ramaze.rb +139 -0
- data/lib/vendor/bacon.rb +323 -0
- data/rake_tasks/conf.rake +71 -0
- data/rake_tasks/coverage.rake +45 -0
- data/rake_tasks/gem.rake +74 -0
- data/rake_tasks/git.rake +41 -0
- data/rake_tasks/maintenance.rake +386 -0
- data/rake_tasks/metric.rake +24 -0
- data/rake_tasks/release.rake +76 -0
- data/rake_tasks/spec.rake +61 -0
- data/ramaze.gemspec +611 -0
- data/spec/contrib/profiling.rb +29 -0
- data/spec/contrib/sequel/fill.rb +47 -0
- data/spec/examples/caching.rb +19 -0
- data/spec/examples/css.rb +15 -0
- data/spec/examples/element.rb +15 -0
- data/spec/examples/hello.rb +11 -0
- data/spec/examples/linking.rb +18 -0
- data/spec/examples/simple.rb +45 -0
- data/spec/examples/simple_auth.rb +32 -0
- data/spec/examples/templates/template_amrita2.rb +16 -0
- data/spec/examples/templates/template_erubis.rb +23 -0
- data/spec/examples/templates/template_ezamar.rb +23 -0
- data/spec/examples/templates/template_haml.rb +23 -0
- data/spec/examples/templates/template_liquid.rb +29 -0
- data/spec/examples/templates/template_markaby.rb +23 -0
- data/spec/examples/templates/template_redcloth.rb +28 -0
- data/spec/examples/templates/template_remarkably.rb +23 -0
- data/spec/examples/templates/template_tenjin.rb +28 -0
- data/spec/helper.rb +3 -0
- data/spec/ramaze/action/basics.rb +36 -0
- data/spec/ramaze/action/cache.rb +87 -0
- data/spec/ramaze/action/file_cache.rb +70 -0
- data/spec/ramaze/action/layout.rb +190 -0
- data/spec/ramaze/action/render.rb +31 -0
- data/spec/ramaze/action/view/bar.xhtml +1 -0
- data/spec/ramaze/action/view/instancevars/layout.xhtml +1 -0
- data/spec/ramaze/action/view/other_wrapper.xhtml +1 -0
- data/spec/ramaze/action/view/single_wrapper.xhtml +1 -0
- data/spec/ramaze/action/view/sub/sub_wrapper.xhtml +1 -0
- data/spec/ramaze/adapter/ebb.rb +12 -0
- data/spec/ramaze/adapter/mongrel.rb +12 -0
- data/spec/ramaze/adapter/record.rb +31 -0
- data/spec/ramaze/adapter/webrick.rb +12 -0
- data/spec/ramaze/adapter.rb +49 -0
- data/spec/ramaze/cache.rb +140 -0
- data/spec/ramaze/controller/actionless_templates.rb +32 -0
- data/spec/ramaze/controller/resolve.rb +32 -0
- data/spec/ramaze/controller/subclass.rb +36 -0
- data/spec/ramaze/controller/template_resolving.rb +113 -0
- data/spec/ramaze/controller/view/bar.xhtml +1 -0
- data/spec/ramaze/controller/view/base/another.xhtml +1 -0
- data/spec/ramaze/controller/view/greet.xhtml +1 -0
- data/spec/ramaze/controller/view/list.xhtml +1 -0
- data/spec/ramaze/controller/view/other/greet/other.xhtml +1 -0
- data/spec/ramaze/controller/view/other_wrapper.xhtml +1 -0
- data/spec/ramaze/controller.rb +180 -0
- data/spec/ramaze/current/request.rb +30 -0
- data/spec/ramaze/current/session.rb +97 -0
- data/spec/ramaze/dispatcher/directory.rb +55 -0
- data/spec/ramaze/dispatcher/file.rb +60 -0
- data/spec/ramaze/dispatcher/public/favicon.ico +0 -0
- data/spec/ramaze/dispatcher/public/file name.txt +1 -0
- data/spec/ramaze/dispatcher/public/test_download.css +141 -0
- data/spec/ramaze/dispatcher.rb +31 -0
- data/spec/ramaze/element.rb +107 -0
- data/spec/ramaze/error.rb +94 -0
- data/spec/ramaze/gestalt.rb +131 -0
- data/spec/ramaze/helper/aspect.rb +101 -0
- data/spec/ramaze/helper/auth.rb +66 -0
- data/spec/ramaze/helper/cache.rb +160 -0
- data/spec/ramaze/helper/cgi.rb +43 -0
- data/spec/ramaze/helper/file.rb +18 -0
- data/spec/ramaze/helper/flash.rb +133 -0
- data/spec/ramaze/helper/form.rb +118 -0
- data/spec/ramaze/helper/formatting.rb +54 -0
- data/spec/ramaze/helper/link.rb +124 -0
- data/spec/ramaze/helper/pager.rb +99 -0
- data/spec/ramaze/helper/partial.rb +88 -0
- data/spec/ramaze/helper/redirect.rb +112 -0
- data/spec/ramaze/helper/simple_captcha.rb +22 -0
- data/spec/ramaze/helper/stack.rb +73 -0
- data/spec/ramaze/helper/user.rb +43 -0
- data/spec/ramaze/helper/view/locals.xhtml +1 -0
- data/spec/ramaze/helper/view/loop.xhtml +4 -0
- data/spec/ramaze/helper/view/num.xhtml +1 -0
- data/spec/ramaze/helper/view/partial.xhtml +1 -0
- data/spec/ramaze/helper/view/recursive.xhtml +8 -0
- data/spec/ramaze/helper/view/recursive_local_ivars.xhtml +7 -0
- data/spec/ramaze/helper/view/recursive_locals.xhtml +7 -0
- data/spec/ramaze/helper/view/test_template.xhtml +1 -0
- data/spec/ramaze/localize.rb +89 -0
- data/spec/ramaze/log/informer.rb +72 -0
- data/spec/ramaze/log/syslog.rb +76 -0
- data/spec/ramaze/morpher.rb +111 -0
- data/spec/ramaze/params.rb +157 -0
- data/spec/ramaze/public/error404.xhtml +1 -0
- data/spec/ramaze/public/favicon.ico +0 -0
- data/spec/ramaze/public/ramaze.png +0 -0
- data/spec/ramaze/public/test_download.css +141 -0
- data/spec/ramaze/request/ebb.rb +9 -0
- data/spec/ramaze/request/mongrel.rb +9 -0
- data/spec/ramaze/request/thin.rb +9 -0
- data/spec/ramaze/request/webrick.rb +5 -0
- data/spec/ramaze/request.rb +185 -0
- data/spec/ramaze/rewrite/file.css +1 -0
- data/spec/ramaze/rewrite.rb +36 -0
- data/spec/ramaze/route.rb +131 -0
- data/spec/ramaze/session.rb +94 -0
- data/spec/ramaze/store/default.rb +71 -0
- data/spec/ramaze/struct.rb +47 -0
- data/spec/ramaze/template/amrita2/external.amrita +6 -0
- data/spec/ramaze/template/amrita2/sum.amrita +1 -0
- data/spec/ramaze/template/amrita2.rb +50 -0
- data/spec/ramaze/template/builder/external.rxml +3 -0
- data/spec/ramaze/template/builder.rb +51 -0
- data/spec/ramaze/template/erubis/sum.rhtml +1 -0
- data/spec/ramaze/template/erubis.rb +41 -0
- data/spec/ramaze/template/ezamar/another/long/action.zmr +1 -0
- data/spec/ramaze/template/ezamar/combined.zmr +1 -0
- data/spec/ramaze/template/ezamar/file_only.zmr +1 -0
- data/spec/ramaze/template/ezamar/index.zmr +1 -0
- data/spec/ramaze/template/ezamar/nested.zmr +1 -0
- data/spec/ramaze/template/ezamar/other__index.xhtml +1 -0
- data/spec/ramaze/template/ezamar/some__long__action.zmr +1 -0
- data/spec/ramaze/template/ezamar/sum.zmr +1 -0
- data/spec/ramaze/template/ezamar.rb +63 -0
- data/spec/ramaze/template/haml/index.haml +5 -0
- data/spec/ramaze/template/haml/locals.haml +2 -0
- data/spec/ramaze/template/haml/with_vars.haml +4 -0
- data/spec/ramaze/template/haml.rb +66 -0
- data/spec/ramaze/template/liquid/index.liquid +1 -0
- data/spec/ramaze/template/liquid/products.liquid +45 -0
- data/spec/ramaze/template/liquid.rb +99 -0
- data/spec/ramaze/template/markaby/external.mab +8 -0
- data/spec/ramaze/template/markaby/sum.mab +1 -0
- data/spec/ramaze/template/markaby.rb +61 -0
- data/spec/ramaze/template/nagoro/another/long/action.nag +1 -0
- data/spec/ramaze/template/nagoro/combined.nag +1 -0
- data/spec/ramaze/template/nagoro/file_only.nag +1 -0
- data/spec/ramaze/template/nagoro/index.nag +1 -0
- data/spec/ramaze/template/nagoro/nested.nag +1 -0
- data/spec/ramaze/template/nagoro/some__long__action.nag +1 -0
- data/spec/ramaze/template/nagoro/sum.nag +1 -0
- data/spec/ramaze/template/nagoro.rb +64 -0
- data/spec/ramaze/template/ramaze/external.test +1 -0
- data/spec/ramaze/template/redcloth/external.redcloth +1 -0
- data/spec/ramaze/template/redcloth.rb +38 -0
- data/spec/ramaze/template/remarkably/external.rem +8 -0
- data/spec/ramaze/template/remarkably/sum.rem +1 -0
- data/spec/ramaze/template/remarkably.rb +58 -0
- data/spec/ramaze/template/sass/file.css.sass +5 -0
- data/spec/ramaze/template/sass.rb +70 -0
- data/spec/ramaze/template/tagz/external.tagz +8 -0
- data/spec/ramaze/template/tagz/sum.tagz +1 -0
- data/spec/ramaze/template/tagz.rb +62 -0
- data/spec/ramaze/template/tenjin/external.tenjin +1 -0
- data/spec/ramaze/template/tenjin.rb +47 -0
- data/spec/ramaze/template/xslt/concat_words.xsl +16 -0
- data/spec/ramaze/template/xslt/index.xsl +14 -0
- data/spec/ramaze/template/xslt/products.xsl +32 -0
- data/spec/ramaze/template/xslt/ruby_version.xsl +14 -0
- data/spec/ramaze/template/xslt.rb +90 -0
- data/spec/ramaze/template.rb +128 -0
- data/spec/snippets/array/put_within.rb +33 -0
- data/spec/snippets/binding/locals.rb +9 -0
- data/spec/snippets/kernel/constant.rb +23 -0
- data/spec/snippets/numeric/filesize_format.rb +12 -0
- data/spec/snippets/numeric/time.rb +12 -0
- data/spec/snippets/object/__dir__.rb +14 -0
- data/spec/snippets/ordered_set.rb +63 -0
- data/spec/snippets/ramaze/acquire.rb +77 -0
- data/spec/snippets/ramaze/caller_info.rb +39 -0
- data/spec/snippets/ramaze/caller_lines.rb +30 -0
- data/spec/snippets/string/camel_case.rb +25 -0
- data/spec/snippets/string/color.rb +11 -0
- data/spec/snippets/string/snake_case.rb +24 -0
- data/spec/snippets/string/unindent.rb +43 -0
- data/spec/snippets/thread/into.rb +20 -0
- metadata +661 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe 'constant' do
|
|
4
|
+
it 'should load from string' do
|
|
5
|
+
constant('Fixnum').should == Fixnum
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
it 'should load from symbol' do
|
|
9
|
+
constant(:Fixnum).should == Fixnum
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
it 'should handle hierarchy' do
|
|
13
|
+
constant('Math::PI').should == Math::PI
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
it 'should be callable with explicit self' do
|
|
17
|
+
Math.constant('PI').should == Math::PI
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
it 'should be callable with explicit self' do
|
|
21
|
+
Math.constant('::Math').should == Math
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe "Numeric#filesize_format" do
|
|
4
|
+
it 'it should convert filesizes to human readable format' do
|
|
5
|
+
1.filesize_format.should == '1'
|
|
6
|
+
1024.filesize_format.should == '1.0K'
|
|
7
|
+
(1 << 20).filesize_format.should == '1.0M'
|
|
8
|
+
(1 << 20).filesize_format.should == '1.0M'
|
|
9
|
+
(1 << 30).filesize_format.should == '1.0G'
|
|
10
|
+
(1 << 40).filesize_format.should == '1.0T'
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe "Numeric time extensions" do
|
|
4
|
+
it 'should provide times in the past' do
|
|
5
|
+
3.days.ago.to_i.should == (Time.now - 3*24*60*60).to_i
|
|
6
|
+
2.months.ago.to_i.should == (Time.now - 2*30*24*60*60).to_i
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
it 'should provide times in the future' do
|
|
10
|
+
2.weeks.from_now.to_i.should == (Time.now + 2*7*24*60*60).to_i
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe '__DIR__' do
|
|
4
|
+
# this is hardly exhaustive, but better than nothing
|
|
5
|
+
it 'should report the directory of the current file' do
|
|
6
|
+
__DIR__.should == File.dirname(File.expand_path(__FILE__))
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
should 'join passed arguments and prefix with directory of current file' do
|
|
10
|
+
__DIR__(:foo).should == File.join(File.dirname(File.expand_path(__FILE__)), 'foo')
|
|
11
|
+
__DIR__('foo/bar').should == File.join(File.dirname(File.expand_path(__FILE__)), 'foo/bar')
|
|
12
|
+
__DIR__(:foo, :bar).should == File.join(File.dirname(File.expand_path(__FILE__)), 'foo/bar')
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe 'OrderedSet' do
|
|
4
|
+
os = OrderedSet.new(1,2,3,1)
|
|
5
|
+
|
|
6
|
+
it 'should create sets' do
|
|
7
|
+
OrderedSet.new.should == []
|
|
8
|
+
OrderedSet.new(1).should == [1]
|
|
9
|
+
OrderedSet.new(1,2).should == [1,2]
|
|
10
|
+
OrderedSet.new([1,2,3]).should == [1,2,3]
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
it 'should compare sets' do
|
|
14
|
+
os.should == OrderedSet.new(1,2,3,1)
|
|
15
|
+
os.should == OrderedSet.new([1,2,3,1])
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
it 'should not contain duplicates' do
|
|
19
|
+
os.should == [1,2,3]
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
it 'should not duplicate entries' do
|
|
23
|
+
os << 4
|
|
24
|
+
os.should == [1,2,3,4]
|
|
25
|
+
|
|
26
|
+
os << 4
|
|
27
|
+
os.should == [1,2,3,4]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
it 'should append with push and prepend with unshift' do
|
|
31
|
+
os.push 1
|
|
32
|
+
os.should == [2,3,4,1]
|
|
33
|
+
|
|
34
|
+
os.unshift 1
|
|
35
|
+
os.should == [1,2,3,4]
|
|
36
|
+
|
|
37
|
+
os.push [1,2]
|
|
38
|
+
os.should == [1,2,3,4,[1,2]]
|
|
39
|
+
|
|
40
|
+
os.unshift [1,2]
|
|
41
|
+
os.should == [[1,2],1,2,3,4]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
it 'should support Array#[]=' do
|
|
45
|
+
os = OrderedSet.new(1)
|
|
46
|
+
os.should == [1]
|
|
47
|
+
|
|
48
|
+
os[0] = 1
|
|
49
|
+
os.should == [1]
|
|
50
|
+
|
|
51
|
+
os[1,0] = [3,4,5,1]
|
|
52
|
+
os.should == [3,4,5,1]
|
|
53
|
+
|
|
54
|
+
os[0,0] = [1,2]
|
|
55
|
+
os.should == [1,2,3,4,5]
|
|
56
|
+
|
|
57
|
+
os[5..5] = [7,8,1,2]
|
|
58
|
+
os.should == [3,4,5,7,8,1,2]
|
|
59
|
+
|
|
60
|
+
os[1..2] = 3
|
|
61
|
+
os.should == [3,7,8,1,2]
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# Mock require to only record attempts
|
|
6
|
+
$required = []
|
|
7
|
+
|
|
8
|
+
module Ramaze
|
|
9
|
+
def self.require(name)
|
|
10
|
+
$required << name
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
describe 'Ramaze::acquire' do
|
|
15
|
+
before do
|
|
16
|
+
dir = 'tmp_dir_for_acquire'
|
|
17
|
+
FileUtils.mkdir_p(dir + '/sub')
|
|
18
|
+
|
|
19
|
+
%w[ foo.rb bar.rb baz.so baz.yml sub/baz.rb ].
|
|
20
|
+
each do |path|
|
|
21
|
+
FileUtils.touch("#{dir}/#{path}")
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
$required = []
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
it 'should not load a single file' do
|
|
28
|
+
Ramaze::acquire 'tmp_dir_for_acquire/foo'
|
|
29
|
+
$required.should == []
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
it 'should load dir' do
|
|
33
|
+
Ramaze::acquire 'tmp_dir_for_acquire/sub/*'
|
|
34
|
+
$required.should == %w[
|
|
35
|
+
tmp_dir_for_acquire/sub/baz.rb]
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
it 'should be aliased to acquire' do
|
|
39
|
+
Ramaze::acquire 'tmp_dir_for_acquire/sub/*'
|
|
40
|
+
$required.should.not.be.empty
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
it 'should load {so,rb}, not others' do
|
|
44
|
+
Ramaze::acquire 'tmp_dir_for_acquire/*'
|
|
45
|
+
$required.sort.should == %w[
|
|
46
|
+
tmp_dir_for_acquire/bar.rb
|
|
47
|
+
tmp_dir_for_acquire/baz.so
|
|
48
|
+
tmp_dir_for_acquire/foo.rb]
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
it 'should use globbing' do
|
|
52
|
+
Ramaze::acquire 'tmp_dir_for_acquire/ba*'
|
|
53
|
+
$required.sort.should == %w[
|
|
54
|
+
tmp_dir_for_acquire/bar.rb
|
|
55
|
+
tmp_dir_for_acquire/baz.so]
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
it 'should use recursive globbing' do
|
|
59
|
+
Ramaze::acquire 'tmp_dir_for_acquire/**/*'
|
|
60
|
+
$required.sort.should == %w[
|
|
61
|
+
tmp_dir_for_acquire/bar.rb
|
|
62
|
+
tmp_dir_for_acquire/baz.so
|
|
63
|
+
tmp_dir_for_acquire/foo.rb
|
|
64
|
+
tmp_dir_for_acquire/sub/baz.rb]
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
it 'should accept multiple arguments' do
|
|
68
|
+
Ramaze::acquire 'tmp_dir_for_acquire/*', 'tmp_dir_for_acquire/sub/*'
|
|
69
|
+
$required.sort.should == %w[
|
|
70
|
+
tmp_dir_for_acquire/bar.rb
|
|
71
|
+
tmp_dir_for_acquire/baz.so
|
|
72
|
+
tmp_dir_for_acquire/foo.rb
|
|
73
|
+
tmp_dir_for_acquire/sub/baz.rb]
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
FileUtils.rm_rf('tmp_dir_for_acquire')
|
|
77
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
require 'spec/helper'
|
|
2
|
+
|
|
3
|
+
#TODO test parse_backtrace explicitly
|
|
4
|
+
describe "Ramaze#caller_info" do
|
|
5
|
+
|
|
6
|
+
def foo(n=0)
|
|
7
|
+
Ramaze.caller_info(n)
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def bar
|
|
11
|
+
foo
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def baz
|
|
15
|
+
foo(1)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
it "should report correct informations" do
|
|
19
|
+
file,line,meth=foo()
|
|
20
|
+
file.should == __FILE__
|
|
21
|
+
line.should.match(/\d+/)
|
|
22
|
+
meth.should == 'foo'
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
it "should report correct informations on nested defs" do
|
|
26
|
+
file,line,meth=bar()
|
|
27
|
+
file.should == __FILE__
|
|
28
|
+
line.should.match(/\d+/)
|
|
29
|
+
meth.should == 'foo'
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
it "should report correct informations on other callers" do
|
|
33
|
+
file,line,meth=baz()
|
|
34
|
+
file.should == __FILE__
|
|
35
|
+
line.should.match(/\d+/)
|
|
36
|
+
meth.should == 'baz'
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe "Ramaze#caller_info" do
|
|
4
|
+
before do
|
|
5
|
+
@file = File.expand_path(File.join(File.dirname(__FILE__), '../../../lib/ramaze/gestalt.rb'))
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
it 'should show line numbers' do
|
|
9
|
+
res = Ramaze.caller_lines(@file, 68, 2)
|
|
10
|
+
res.size.should == 5
|
|
11
|
+
res.map{|e| e[0]}.should == (66..70).to_a
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
it 'should show which line we asked for' do
|
|
15
|
+
res = Ramaze.caller_lines(@file, 68, 2)
|
|
16
|
+
res.size.should == 5
|
|
17
|
+
res.map {|e| e[2]}.should == [false,false,true,false,false]
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
it 'should show the code' do
|
|
21
|
+
res = Ramaze.caller_lines(__FILE__, __LINE__, 1)
|
|
22
|
+
res.size.should == 3
|
|
23
|
+
res.map {|e| e[1].strip}.should == [
|
|
24
|
+
"it 'should show the code' do",
|
|
25
|
+
"res = Ramaze.caller_lines(__FILE__, __LINE__, 1)",
|
|
26
|
+
"res.size.should == 3"
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe "String#camel_case" do
|
|
4
|
+
|
|
5
|
+
it 'should camelize snake_case' do
|
|
6
|
+
'foo_bar'.camel_case.should == 'FooBar'
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
it 'should camelize snake_case_long' do
|
|
10
|
+
'foo_bar_baz'.camel_case.should == 'FooBarBaz'
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
it 'should ignore starting _' do
|
|
14
|
+
'_foo_bar_baz'.camel_case.should == 'FooBarBaz'
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
it 'should ignore trailing _' do
|
|
18
|
+
'foo_bar_baz_'.camel_case.should == 'FooBarBaz'
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
it 'messes up existing CamelCase' do
|
|
22
|
+
'foo_barBaz'.camel_case.should == 'FooBarbaz'
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe 'String#color' do
|
|
4
|
+
it 'should define methods to return ANSI strings' do
|
|
5
|
+
%w[reset bold dark underline blink negative
|
|
6
|
+
black red green yellow blue magenta cyan white].each do |m|
|
|
7
|
+
"string".respond_to? m
|
|
8
|
+
"string".send(m).should.match(/\e\[\d+mstring\e\[0m/)
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe "String#snake_case" do
|
|
4
|
+
|
|
5
|
+
it 'should snake_case a camelCase' do
|
|
6
|
+
'CamelCase'.snake_case.should == 'camel_case'
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
it 'should snake_case a CamelCaseLong' do
|
|
10
|
+
'CamelCaseLong'.snake_case.should == 'camel_case_long'
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
it 'will keep existing _' do
|
|
14
|
+
'Camel_Case'.snake_case.should == 'camel__case'
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
it 'should replace spaces' do
|
|
18
|
+
'Linked List'.snake_case.should == 'linked_list'
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
it 'should group uppercase words together' do
|
|
22
|
+
'CSSController'.snake_case.should == 'css_controller'
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
|
2
|
+
|
|
3
|
+
describe "String#unindent" do
|
|
4
|
+
it "should remove indentation" do
|
|
5
|
+
%(
|
|
6
|
+
hello
|
|
7
|
+
how
|
|
8
|
+
are
|
|
9
|
+
you
|
|
10
|
+
doing
|
|
11
|
+
).ui.should == \
|
|
12
|
+
%(hello
|
|
13
|
+
how
|
|
14
|
+
are
|
|
15
|
+
you
|
|
16
|
+
doing)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
it 'should not break on a single line' do
|
|
20
|
+
'word'.unindent.should == 'word'
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
it 'should find the first line with indentation' do
|
|
24
|
+
%( hi
|
|
25
|
+
there
|
|
26
|
+
bob).ui.should == \
|
|
27
|
+
%(hi
|
|
28
|
+
there
|
|
29
|
+
bob)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
it 'should have destructive version' do
|
|
33
|
+
str = %( 1\n 2\n 3)
|
|
34
|
+
str.ui!
|
|
35
|
+
str.should == %(1\n 2\n3)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
it 'should use indentation from the last line if first line is not indented' do
|
|
39
|
+
%(a{
|
|
40
|
+
abc
|
|
41
|
+
}).ui.should == %(a{\n abc\n})
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
require 'spec/helper'
|
|
2
|
+
|
|
3
|
+
class TCThreadIntoController < Ramaze::Controller
|
|
4
|
+
map :/
|
|
5
|
+
|
|
6
|
+
def hello
|
|
7
|
+
Thread.into('goodbye') do |str|
|
|
8
|
+
"#{Ramaze::Action.current.name}, #{str}"
|
|
9
|
+
end.value
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
describe 'Thread.into' do
|
|
14
|
+
behaves_like 'http'
|
|
15
|
+
ramaze
|
|
16
|
+
|
|
17
|
+
it 'should provide access to thread vars' do
|
|
18
|
+
get('/hello').body.should == 'hello, goodbye'
|
|
19
|
+
end
|
|
20
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: ptomato-ramaze
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: "2009.02"
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Michael 'manveru' Fellinger
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-02-25 00:00:00 -08:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: rack
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 0.3.0
|
|
24
|
+
version:
|
|
25
|
+
description: Ramaze is a simple and modular web framework
|
|
26
|
+
email: m.fellinger@gmail.com
|
|
27
|
+
executables:
|
|
28
|
+
- ramaze
|
|
29
|
+
extensions: []
|
|
30
|
+
|
|
31
|
+
extra_rdoc_files: []
|
|
32
|
+
|
|
33
|
+
files:
|
|
34
|
+
- README.md
|
|
35
|
+
- Rakefile
|
|
36
|
+
- benchmark/results.txt
|
|
37
|
+
- benchmark/run.rb
|
|
38
|
+
- benchmark/suite/minimal.rb
|
|
39
|
+
- benchmark/suite/no_informer.rb
|
|
40
|
+
- benchmark/suite/no_sessions.rb
|
|
41
|
+
- benchmark/suite/no_template.rb
|
|
42
|
+
- benchmark/suite/simple.rb
|
|
43
|
+
- benchmark/suite/template_amrita2.rb
|
|
44
|
+
- benchmark/suite/template_builder.rb
|
|
45
|
+
- benchmark/suite/template_erubis.rb
|
|
46
|
+
- benchmark/suite/template_ezamar.rb
|
|
47
|
+
- benchmark/suite/template_haml.rb
|
|
48
|
+
- benchmark/suite/template_liquid.rb
|
|
49
|
+
- benchmark/suite/template_markaby.rb
|
|
50
|
+
- benchmark/suite/template_nagoro.rb
|
|
51
|
+
- benchmark/suite/template_redcloth.rb
|
|
52
|
+
- benchmark/suite/template_tenjin.rb
|
|
53
|
+
- benchmark/test.rb
|
|
54
|
+
- bin/ramaze
|
|
55
|
+
- doc/AUTHORS
|
|
56
|
+
- doc/CHANGELOG
|
|
57
|
+
- doc/COPYING
|
|
58
|
+
- doc/FAQ
|
|
59
|
+
- doc/GPL
|
|
60
|
+
- doc/INSTALL
|
|
61
|
+
- doc/LEGAL
|
|
62
|
+
- doc/TODO
|
|
63
|
+
- doc/meta/announcement.txt
|
|
64
|
+
- doc/meta/configuration.txt
|
|
65
|
+
- doc/meta/internals.txt
|
|
66
|
+
- doc/meta/users.kml
|
|
67
|
+
- doc/readme_chunks/appendix.txt
|
|
68
|
+
- doc/readme_chunks/examples.txt
|
|
69
|
+
- doc/readme_chunks/features.txt
|
|
70
|
+
- doc/readme_chunks/getting_help.txt
|
|
71
|
+
- doc/readme_chunks/getting_started.txt
|
|
72
|
+
- doc/readme_chunks/installing.txt
|
|
73
|
+
- doc/readme_chunks/introduction.txt
|
|
74
|
+
- doc/readme_chunks/principles.txt
|
|
75
|
+
- doc/readme_chunks/thanks.txt
|
|
76
|
+
- doc/tutorial/todolist.html
|
|
77
|
+
- doc/tutorial/todolist.mkd
|
|
78
|
+
- examples/app/auth/auth.rb
|
|
79
|
+
- examples/app/auth/template/layout.haml
|
|
80
|
+
- examples/app/auth/template/login.haml
|
|
81
|
+
- examples/app/blog/README
|
|
82
|
+
- examples/app/blog/controller/main.rb
|
|
83
|
+
- examples/app/blog/model/entry.rb
|
|
84
|
+
- examples/app/blog/public/styles/blog.css
|
|
85
|
+
- examples/app/blog/spec/blog.rb
|
|
86
|
+
- examples/app/blog/start.rb
|
|
87
|
+
- examples/app/blog/view/edit.xhtml
|
|
88
|
+
- examples/app/blog/view/index.xhtml
|
|
89
|
+
- examples/app/blog/view/layout.xhtml
|
|
90
|
+
- examples/app/blog/view/new.xhtml
|
|
91
|
+
- examples/app/chat/model/history.rb
|
|
92
|
+
- examples/app/chat/model/message.rb
|
|
93
|
+
- examples/app/chat/public/css/chat.css
|
|
94
|
+
- examples/app/chat/public/js/chat.js
|
|
95
|
+
- examples/app/chat/public/js/jquery.js
|
|
96
|
+
- examples/app/chat/start.rb
|
|
97
|
+
- examples/app/chat/view/chat.xhtml
|
|
98
|
+
- examples/app/chat/view/index.xhtml
|
|
99
|
+
- examples/app/chat/view/layout.xhtml
|
|
100
|
+
- examples/app/localization/start.rb
|
|
101
|
+
- examples/app/rapaste/Rakefile
|
|
102
|
+
- examples/app/rapaste/controller/paste.rb
|
|
103
|
+
- examples/app/rapaste/model/paste.rb
|
|
104
|
+
- examples/app/rapaste/public/css/active4d.css
|
|
105
|
+
- examples/app/rapaste/public/css/all_hallows_eve.css
|
|
106
|
+
- examples/app/rapaste/public/css/amy.css
|
|
107
|
+
- examples/app/rapaste/public/css/blackboard.css
|
|
108
|
+
- examples/app/rapaste/public/css/brilliance_black.css
|
|
109
|
+
- examples/app/rapaste/public/css/brilliance_dull.css
|
|
110
|
+
- examples/app/rapaste/public/css/cobalt.css
|
|
111
|
+
- examples/app/rapaste/public/css/dawn.css
|
|
112
|
+
- examples/app/rapaste/public/css/display.css
|
|
113
|
+
- examples/app/rapaste/public/css/eiffel.css
|
|
114
|
+
- examples/app/rapaste/public/css/espresso_libre.css
|
|
115
|
+
- examples/app/rapaste/public/css/idle.css
|
|
116
|
+
- examples/app/rapaste/public/css/iplastic.css
|
|
117
|
+
- examples/app/rapaste/public/css/lazy.css
|
|
118
|
+
- examples/app/rapaste/public/css/mac_classic.css
|
|
119
|
+
- examples/app/rapaste/public/css/magicwb_amiga.css
|
|
120
|
+
- examples/app/rapaste/public/css/pastels_on_dark.css
|
|
121
|
+
- examples/app/rapaste/public/css/slush_poppies.css
|
|
122
|
+
- examples/app/rapaste/public/css/spacecadet.css
|
|
123
|
+
- examples/app/rapaste/public/css/sunburst.css
|
|
124
|
+
- examples/app/rapaste/public/css/twilight.css
|
|
125
|
+
- examples/app/rapaste/public/css/zenburnesque.css
|
|
126
|
+
- examples/app/rapaste/public/js/jquery.js
|
|
127
|
+
- examples/app/rapaste/spec/rapaste.rb
|
|
128
|
+
- examples/app/rapaste/start.rb
|
|
129
|
+
- examples/app/rapaste/view/copy.xhtml
|
|
130
|
+
- examples/app/rapaste/view/index.xhtml
|
|
131
|
+
- examples/app/rapaste/view/layout.xhtml
|
|
132
|
+
- examples/app/rapaste/view/list.xhtml
|
|
133
|
+
- examples/app/rapaste/view/search.xhtml
|
|
134
|
+
- examples/app/rapaste/view/view.xhtml
|
|
135
|
+
- examples/app/sourceview/public/coderay.css
|
|
136
|
+
- examples/app/sourceview/public/images/file.gif
|
|
137
|
+
- examples/app/sourceview/public/images/folder.gif
|
|
138
|
+
- examples/app/sourceview/public/images/tv-collapsable-last.gif
|
|
139
|
+
- examples/app/sourceview/public/images/tv-collapsable.gif
|
|
140
|
+
- examples/app/sourceview/public/images/tv-expandable-last.gif
|
|
141
|
+
- examples/app/sourceview/public/images/tv-expandable.gif
|
|
142
|
+
- examples/app/sourceview/public/images/tv-item-last.gif
|
|
143
|
+
- examples/app/sourceview/public/images/tv-item.gif
|
|
144
|
+
- examples/app/sourceview/public/jquery.js
|
|
145
|
+
- examples/app/sourceview/public/jquery.treeview.css
|
|
146
|
+
- examples/app/sourceview/public/jquery.treeview.js
|
|
147
|
+
- examples/app/sourceview/public/sourceview.js
|
|
148
|
+
- examples/app/sourceview/sourceview.rb
|
|
149
|
+
- examples/app/sourceview/template/index.haml
|
|
150
|
+
- examples/app/todolist/README
|
|
151
|
+
- examples/app/todolist/public/favicon.ico
|
|
152
|
+
- examples/app/todolist/public/js/jquery.js
|
|
153
|
+
- examples/app/todolist/public/ramaze.png
|
|
154
|
+
- examples/app/todolist/spec/todolist.rb
|
|
155
|
+
- examples/app/todolist/src/controller/main.rb
|
|
156
|
+
- examples/app/todolist/src/element/page.rb
|
|
157
|
+
- examples/app/todolist/src/model.rb
|
|
158
|
+
- examples/app/todolist/start.rb
|
|
159
|
+
- examples/app/todolist/template/index.xhtml
|
|
160
|
+
- examples/app/todolist/template/new.xhtml
|
|
161
|
+
- examples/app/upload/start.rb
|
|
162
|
+
- examples/app/upload/view/index.xhtml
|
|
163
|
+
- examples/app/whywiki/spec/whywiki.rb
|
|
164
|
+
- examples/app/whywiki/start.rb
|
|
165
|
+
- examples/app/whywiki/template/edit.xhtml
|
|
166
|
+
- examples/app/whywiki/template/show.xhtml
|
|
167
|
+
- examples/app/wikore/spec/wikore.rb
|
|
168
|
+
- examples/app/wikore/src/controller.rb
|
|
169
|
+
- examples/app/wikore/src/model.rb
|
|
170
|
+
- examples/app/wikore/start.rb
|
|
171
|
+
- examples/app/wikore/template/index.xhtml
|
|
172
|
+
- examples/app/wiktacular/README
|
|
173
|
+
- examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd
|
|
174
|
+
- examples/app/wiktacular/mkd/link/current.mkd
|
|
175
|
+
- examples/app/wiktacular/mkd/main/2007-07-20_16-31-33.mkd
|
|
176
|
+
- examples/app/wiktacular/mkd/main/2007-07-20_19-21-12.mkd
|
|
177
|
+
- examples/app/wiktacular/mkd/main/2007-07-20_19-23-10.mkd
|
|
178
|
+
- examples/app/wiktacular/mkd/main/2007-07-20_19-45-07.mkd
|
|
179
|
+
- examples/app/wiktacular/mkd/main/current.mkd
|
|
180
|
+
- examples/app/wiktacular/mkd/markdown/current.mkd
|
|
181
|
+
- examples/app/wiktacular/mkd/testing/2007-07-20_16-43-46.mkd
|
|
182
|
+
- examples/app/wiktacular/mkd/testing/2007-07-20_19-43-50.mkd
|
|
183
|
+
- examples/app/wiktacular/mkd/testing/2007-07-21_18-46-01.mkd
|
|
184
|
+
- examples/app/wiktacular/mkd/testing/2007-07-21_18-46-32.mkd
|
|
185
|
+
- examples/app/wiktacular/mkd/testing/2007-07-21_18-47-08.mkd
|
|
186
|
+
- examples/app/wiktacular/mkd/testing/2007-07-21_18-47-54.mkd
|
|
187
|
+
- examples/app/wiktacular/mkd/testing/current.mkd
|
|
188
|
+
- examples/app/wiktacular/public/favicon.ico
|
|
189
|
+
- examples/app/wiktacular/public/screen.css
|
|
190
|
+
- examples/app/wiktacular/spec/wiktacular.rb
|
|
191
|
+
- examples/app/wiktacular/src/controller.rb
|
|
192
|
+
- examples/app/wiktacular/src/model.rb
|
|
193
|
+
- examples/app/wiktacular/start.rb
|
|
194
|
+
- examples/app/wiktacular/template/edit.xhtml
|
|
195
|
+
- examples/app/wiktacular/template/html_layout.xhtml
|
|
196
|
+
- examples/app/wiktacular/template/index.xhtml
|
|
197
|
+
- examples/app/wiktacular/template/new.xhtml
|
|
198
|
+
- examples/basic/element.rb
|
|
199
|
+
- examples/basic/gestalt.rb
|
|
200
|
+
- examples/basic/hello.rb
|
|
201
|
+
- examples/basic/layout.rb
|
|
202
|
+
- examples/basic/linking.rb
|
|
203
|
+
- examples/basic/partial.rb
|
|
204
|
+
- examples/basic/simple.rb
|
|
205
|
+
- examples/helpers/cache.rb
|
|
206
|
+
- examples/helpers/form_with_sequel.rb
|
|
207
|
+
- examples/helpers/httpdigest.rb
|
|
208
|
+
- examples/helpers/identity.rb
|
|
209
|
+
- examples/helpers/nitro_form.rb
|
|
210
|
+
- examples/helpers/paginate.rb
|
|
211
|
+
- examples/helpers/provide.rb
|
|
212
|
+
- examples/helpers/rest.rb
|
|
213
|
+
- examples/helpers/simple_captcha.rb
|
|
214
|
+
- examples/misc/css.rb
|
|
215
|
+
- examples/misc/facebook.rb
|
|
216
|
+
- examples/misc/memleak_detector.rb
|
|
217
|
+
- examples/misc/nagoro_element.rb
|
|
218
|
+
- examples/misc/ramaise.rb
|
|
219
|
+
- examples/misc/rapp.rb
|
|
220
|
+
- examples/misc/sequel_scaffolding.rb
|
|
221
|
+
- examples/misc/simple_auth.rb
|
|
222
|
+
- examples/templates/template/external.amrita
|
|
223
|
+
- examples/templates/template/external.haml
|
|
224
|
+
- examples/templates/template/external.liquid
|
|
225
|
+
- examples/templates/template/external.mab
|
|
226
|
+
- examples/templates/template/external.nag
|
|
227
|
+
- examples/templates/template/external.redcloth
|
|
228
|
+
- examples/templates/template/external.rem
|
|
229
|
+
- examples/templates/template/external.rhtml
|
|
230
|
+
- examples/templates/template/external.tenjin
|
|
231
|
+
- examples/templates/template/external.xsl
|
|
232
|
+
- examples/templates/template/external.zmr
|
|
233
|
+
- examples/templates/template_amrita2.rb
|
|
234
|
+
- examples/templates/template_erubis.rb
|
|
235
|
+
- examples/templates/template_ezamar.rb
|
|
236
|
+
- examples/templates/template_haml.rb
|
|
237
|
+
- examples/templates/template_liquid.rb
|
|
238
|
+
- examples/templates/template_markaby.rb
|
|
239
|
+
- examples/templates/template_nagoro.rb
|
|
240
|
+
- examples/templates/template_redcloth.rb
|
|
241
|
+
- examples/templates/template_remarkably.rb
|
|
242
|
+
- examples/templates/template_tenjin.rb
|
|
243
|
+
- examples/templates/template_xslt.rb
|
|
244
|
+
- lib/proto/controller/init.rb
|
|
245
|
+
- lib/proto/controller/main.rb
|
|
246
|
+
- lib/proto/model/init.rb
|
|
247
|
+
- lib/proto/public/.htaccess
|
|
248
|
+
- lib/proto/public/css/ramaze_error.css
|
|
249
|
+
- lib/proto/public/dispatch.fcgi
|
|
250
|
+
- lib/proto/public/favicon.ico
|
|
251
|
+
- lib/proto/public/js/jquery.js
|
|
252
|
+
- lib/proto/public/ramaze.png
|
|
253
|
+
- lib/proto/spec/main.rb
|
|
254
|
+
- lib/proto/start.rb
|
|
255
|
+
- lib/proto/start.ru
|
|
256
|
+
- lib/proto/view/error.xhtml
|
|
257
|
+
- lib/proto/view/index.xhtml
|
|
258
|
+
- lib/proto/view/page.xhtml
|
|
259
|
+
- lib/ramaze.rb
|
|
260
|
+
- lib/ramaze/action.rb
|
|
261
|
+
- lib/ramaze/action/render.rb
|
|
262
|
+
- lib/ramaze/adapter.rb
|
|
263
|
+
- lib/ramaze/adapter/base.rb
|
|
264
|
+
- lib/ramaze/adapter/cgi.rb
|
|
265
|
+
- lib/ramaze/adapter/ebb.rb
|
|
266
|
+
- lib/ramaze/adapter/evented_mongrel.rb
|
|
267
|
+
- lib/ramaze/adapter/fake.rb
|
|
268
|
+
- lib/ramaze/adapter/fcgi.rb
|
|
269
|
+
- lib/ramaze/adapter/lsws.rb
|
|
270
|
+
- lib/ramaze/adapter/mongrel.rb
|
|
271
|
+
- lib/ramaze/adapter/scgi.rb
|
|
272
|
+
- lib/ramaze/adapter/swiftiplied_mongrel.rb
|
|
273
|
+
- lib/ramaze/adapter/thin.rb
|
|
274
|
+
- lib/ramaze/adapter/webrick.rb
|
|
275
|
+
- lib/ramaze/cache.rb
|
|
276
|
+
- lib/ramaze/cache/file.rb
|
|
277
|
+
- lib/ramaze/cache/memcached.rb
|
|
278
|
+
- lib/ramaze/cache/memory.rb
|
|
279
|
+
- lib/ramaze/cache/yaml_store.rb
|
|
280
|
+
- lib/ramaze/contrib.rb
|
|
281
|
+
- lib/ramaze/contrib/email.rb
|
|
282
|
+
- lib/ramaze/contrib/facebook.rb
|
|
283
|
+
- lib/ramaze/contrib/facebook/facebook.rb
|
|
284
|
+
- lib/ramaze/contrib/file_cache.rb
|
|
285
|
+
- lib/ramaze/contrib/gems.rb
|
|
286
|
+
- lib/ramaze/contrib/gettext.rb
|
|
287
|
+
- lib/ramaze/contrib/gettext/mo.rb
|
|
288
|
+
- lib/ramaze/contrib/gettext/parser.rb
|
|
289
|
+
- lib/ramaze/contrib/gettext/po.rb
|
|
290
|
+
- lib/ramaze/contrib/gzip_filter.rb
|
|
291
|
+
- lib/ramaze/contrib/maruku_uv.rb
|
|
292
|
+
- lib/ramaze/contrib/profiling.rb
|
|
293
|
+
- lib/ramaze/contrib/rest.rb
|
|
294
|
+
- lib/ramaze/contrib/sequel/create_join.rb
|
|
295
|
+
- lib/ramaze/contrib/sequel/fill.rb
|
|
296
|
+
- lib/ramaze/contrib/sequel/form_field.rb
|
|
297
|
+
- lib/ramaze/contrib/sequel/image.rb
|
|
298
|
+
- lib/ramaze/contrib/sequel/relation.rb
|
|
299
|
+
- lib/ramaze/contrib/sequel_cache.rb
|
|
300
|
+
- lib/ramaze/controller.rb
|
|
301
|
+
- lib/ramaze/controller/error.rb
|
|
302
|
+
- lib/ramaze/controller/main.rb
|
|
303
|
+
- lib/ramaze/controller/resolve.rb
|
|
304
|
+
- lib/ramaze/current.rb
|
|
305
|
+
- lib/ramaze/current/request.rb
|
|
306
|
+
- lib/ramaze/current/response.rb
|
|
307
|
+
- lib/ramaze/current/session.rb
|
|
308
|
+
- lib/ramaze/current/session/flash.rb
|
|
309
|
+
- lib/ramaze/current/session/hash.rb
|
|
310
|
+
- lib/ramaze/dispatcher.rb
|
|
311
|
+
- lib/ramaze/dispatcher/action.rb
|
|
312
|
+
- lib/ramaze/dispatcher/directory.rb
|
|
313
|
+
- lib/ramaze/dispatcher/error.rb
|
|
314
|
+
- lib/ramaze/dispatcher/file.rb
|
|
315
|
+
- lib/ramaze/error.rb
|
|
316
|
+
- lib/ramaze/gestalt.rb
|
|
317
|
+
- lib/ramaze/helper.rb
|
|
318
|
+
- lib/ramaze/helper/aspect.rb
|
|
319
|
+
- lib/ramaze/helper/auth.rb
|
|
320
|
+
- lib/ramaze/helper/bench.rb
|
|
321
|
+
- lib/ramaze/helper/cache.rb
|
|
322
|
+
- lib/ramaze/helper/cgi.rb
|
|
323
|
+
- lib/ramaze/helper/flash.rb
|
|
324
|
+
- lib/ramaze/helper/form.rb
|
|
325
|
+
- lib/ramaze/helper/formatting.rb
|
|
326
|
+
- lib/ramaze/helper/gestalt.rb
|
|
327
|
+
- lib/ramaze/helper/gravatar.rb
|
|
328
|
+
- lib/ramaze/helper/httpdigest.rb
|
|
329
|
+
- lib/ramaze/helper/identity.rb
|
|
330
|
+
- lib/ramaze/helper/link.rb
|
|
331
|
+
- lib/ramaze/helper/markaby.rb
|
|
332
|
+
- lib/ramaze/helper/maruku.rb
|
|
333
|
+
- lib/ramaze/helper/nitroform.rb
|
|
334
|
+
- lib/ramaze/helper/pager.rb
|
|
335
|
+
- lib/ramaze/helper/paginate.rb
|
|
336
|
+
- lib/ramaze/helper/partial.rb
|
|
337
|
+
- lib/ramaze/helper/redirect.rb
|
|
338
|
+
- lib/ramaze/helper/rest.rb
|
|
339
|
+
- lib/ramaze/helper/sendfile.rb
|
|
340
|
+
- lib/ramaze/helper/sequel.rb
|
|
341
|
+
- lib/ramaze/helper/simple_captcha.rb
|
|
342
|
+
- lib/ramaze/helper/stack.rb
|
|
343
|
+
- lib/ramaze/helper/tagz.rb
|
|
344
|
+
- lib/ramaze/helper/thread.rb
|
|
345
|
+
- lib/ramaze/helper/ultraviolet.rb
|
|
346
|
+
- lib/ramaze/helper/user.rb
|
|
347
|
+
- lib/ramaze/helper/xhtml.rb
|
|
348
|
+
- lib/ramaze/log.rb
|
|
349
|
+
- lib/ramaze/log/analogger.rb
|
|
350
|
+
- lib/ramaze/log/growl.rb
|
|
351
|
+
- lib/ramaze/log/hub.rb
|
|
352
|
+
- lib/ramaze/log/informer.rb
|
|
353
|
+
- lib/ramaze/log/knotify.rb
|
|
354
|
+
- lib/ramaze/log/logger.rb
|
|
355
|
+
- lib/ramaze/log/logging.rb
|
|
356
|
+
- lib/ramaze/log/rotatinginformer.rb
|
|
357
|
+
- lib/ramaze/log/syslog.rb
|
|
358
|
+
- lib/ramaze/log/xosd.rb
|
|
359
|
+
- lib/ramaze/option.rb
|
|
360
|
+
- lib/ramaze/option/dsl.rb
|
|
361
|
+
- lib/ramaze/option/holder.rb
|
|
362
|
+
- lib/ramaze/option/merger.rb
|
|
363
|
+
- lib/ramaze/reloader.rb
|
|
364
|
+
- lib/ramaze/reloader/watch_inotify.rb
|
|
365
|
+
- lib/ramaze/reloader/watch_stat.rb
|
|
366
|
+
- lib/ramaze/route.rb
|
|
367
|
+
- lib/ramaze/setup.rb
|
|
368
|
+
- lib/ramaze/snippets.rb
|
|
369
|
+
- lib/ramaze/snippets/array/put_within.rb
|
|
370
|
+
- lib/ramaze/snippets/binding/locals.rb
|
|
371
|
+
- lib/ramaze/snippets/blankslate.rb
|
|
372
|
+
- lib/ramaze/snippets/dictionary.rb
|
|
373
|
+
- lib/ramaze/snippets/divide.rb
|
|
374
|
+
- lib/ramaze/snippets/fiber.rb
|
|
375
|
+
- lib/ramaze/snippets/kernel/constant.rb
|
|
376
|
+
- lib/ramaze/snippets/kernel/pretty_inspect.rb
|
|
377
|
+
- lib/ramaze/snippets/metaid.rb
|
|
378
|
+
- lib/ramaze/snippets/numeric/filesize_format.rb
|
|
379
|
+
- lib/ramaze/snippets/numeric/time.rb
|
|
380
|
+
- lib/ramaze/snippets/object/__dir__.rb
|
|
381
|
+
- lib/ramaze/snippets/object/acquire.rb
|
|
382
|
+
- lib/ramaze/snippets/object/instance_variable_defined.rb
|
|
383
|
+
- lib/ramaze/snippets/object/pretty.rb
|
|
384
|
+
- lib/ramaze/snippets/object/scope.rb
|
|
385
|
+
- lib/ramaze/snippets/object/traits.rb
|
|
386
|
+
- lib/ramaze/snippets/ordered_set.rb
|
|
387
|
+
- lib/ramaze/snippets/proc/locals.rb
|
|
388
|
+
- lib/ramaze/snippets/ramaze/acquire.rb
|
|
389
|
+
- lib/ramaze/snippets/ramaze/caller_info.rb
|
|
390
|
+
- lib/ramaze/snippets/ramaze/caller_lines.rb
|
|
391
|
+
- lib/ramaze/snippets/ramaze/deprecated.rb
|
|
392
|
+
- lib/ramaze/snippets/ramaze/fiber.rb
|
|
393
|
+
- lib/ramaze/snippets/ramaze/state.rb
|
|
394
|
+
- lib/ramaze/snippets/ramaze/struct.rb
|
|
395
|
+
- lib/ramaze/snippets/string/camel_case.rb
|
|
396
|
+
- lib/ramaze/snippets/string/color.rb
|
|
397
|
+
- lib/ramaze/snippets/string/each.rb
|
|
398
|
+
- lib/ramaze/snippets/string/end_with.rb
|
|
399
|
+
- lib/ramaze/snippets/string/esc.rb
|
|
400
|
+
- lib/ramaze/snippets/string/ord.rb
|
|
401
|
+
- lib/ramaze/snippets/string/snake_case.rb
|
|
402
|
+
- lib/ramaze/snippets/string/start_with.rb
|
|
403
|
+
- lib/ramaze/snippets/string/unindent.rb
|
|
404
|
+
- lib/ramaze/snippets/thread/into.rb
|
|
405
|
+
- lib/ramaze/spec.rb
|
|
406
|
+
- lib/ramaze/spec/helper.rb
|
|
407
|
+
- lib/ramaze/spec/helper/bacon.rb
|
|
408
|
+
- lib/ramaze/spec/helper/browser.rb
|
|
409
|
+
- lib/ramaze/spec/helper/mock_http.rb
|
|
410
|
+
- lib/ramaze/spec/helper/pretty_output.rb
|
|
411
|
+
- lib/ramaze/spec/helper/requester.rb
|
|
412
|
+
- lib/ramaze/spec/helper/simple_http.rb
|
|
413
|
+
- lib/ramaze/spec/helper/snippets.rb
|
|
414
|
+
- lib/ramaze/store/default.rb
|
|
415
|
+
- lib/ramaze/template.rb
|
|
416
|
+
- lib/ramaze/template/amrita2.rb
|
|
417
|
+
- lib/ramaze/template/builder.rb
|
|
418
|
+
- lib/ramaze/template/erubis.rb
|
|
419
|
+
- lib/ramaze/template/ezamar.rb
|
|
420
|
+
- lib/ramaze/template/ezamar/element.rb
|
|
421
|
+
- lib/ramaze/template/ezamar/engine.rb
|
|
422
|
+
- lib/ramaze/template/ezamar/morpher.rb
|
|
423
|
+
- lib/ramaze/template/ezamar/render_partial.rb
|
|
424
|
+
- lib/ramaze/template/ezamar/textpow.syntax
|
|
425
|
+
- lib/ramaze/template/haml.rb
|
|
426
|
+
- lib/ramaze/template/liquid.rb
|
|
427
|
+
- lib/ramaze/template/markaby.rb
|
|
428
|
+
- lib/ramaze/template/maruku.rb
|
|
429
|
+
- lib/ramaze/template/nagoro.rb
|
|
430
|
+
- lib/ramaze/template/none.rb
|
|
431
|
+
- lib/ramaze/template/redcloth.rb
|
|
432
|
+
- lib/ramaze/template/remarkably.rb
|
|
433
|
+
- lib/ramaze/template/sass.rb
|
|
434
|
+
- lib/ramaze/template/tagz.rb
|
|
435
|
+
- lib/ramaze/template/tenjin.rb
|
|
436
|
+
- lib/ramaze/template/xslt.rb
|
|
437
|
+
- lib/ramaze/tool.rb
|
|
438
|
+
- lib/ramaze/tool/create.rb
|
|
439
|
+
- lib/ramaze/tool/daemonize.rb
|
|
440
|
+
- lib/ramaze/tool/localize.rb
|
|
441
|
+
- lib/ramaze/tool/mime.rb
|
|
442
|
+
- lib/ramaze/tool/mime_types.yaml
|
|
443
|
+
- lib/ramaze/tool/project_creator.rb
|
|
444
|
+
- lib/ramaze/tool/record.rb
|
|
445
|
+
- lib/ramaze/trinity.rb
|
|
446
|
+
- lib/ramaze/version.rb
|
|
447
|
+
- lib/vendor/bacon.rb
|
|
448
|
+
- rake_tasks/conf.rake
|
|
449
|
+
- rake_tasks/coverage.rake
|
|
450
|
+
- rake_tasks/gem.rake
|
|
451
|
+
- rake_tasks/git.rake
|
|
452
|
+
- rake_tasks/maintenance.rake
|
|
453
|
+
- rake_tasks/metric.rake
|
|
454
|
+
- rake_tasks/release.rake
|
|
455
|
+
- rake_tasks/spec.rake
|
|
456
|
+
- ramaze.gemspec
|
|
457
|
+
- spec/contrib/profiling.rb
|
|
458
|
+
- spec/contrib/sequel/fill.rb
|
|
459
|
+
- spec/examples/caching.rb
|
|
460
|
+
- spec/examples/css.rb
|
|
461
|
+
- spec/examples/element.rb
|
|
462
|
+
- spec/examples/hello.rb
|
|
463
|
+
- spec/examples/linking.rb
|
|
464
|
+
- spec/examples/simple.rb
|
|
465
|
+
- spec/examples/simple_auth.rb
|
|
466
|
+
- spec/examples/templates/template_amrita2.rb
|
|
467
|
+
- spec/examples/templates/template_erubis.rb
|
|
468
|
+
- spec/examples/templates/template_ezamar.rb
|
|
469
|
+
- spec/examples/templates/template_haml.rb
|
|
470
|
+
- spec/examples/templates/template_liquid.rb
|
|
471
|
+
- spec/examples/templates/template_markaby.rb
|
|
472
|
+
- spec/examples/templates/template_redcloth.rb
|
|
473
|
+
- spec/examples/templates/template_remarkably.rb
|
|
474
|
+
- spec/examples/templates/template_tenjin.rb
|
|
475
|
+
- spec/helper.rb
|
|
476
|
+
- spec/ramaze/action/basics.rb
|
|
477
|
+
- spec/ramaze/action/cache.rb
|
|
478
|
+
- spec/ramaze/action/file_cache.rb
|
|
479
|
+
- spec/ramaze/action/layout.rb
|
|
480
|
+
- spec/ramaze/action/render.rb
|
|
481
|
+
- spec/ramaze/action/view/bar.xhtml
|
|
482
|
+
- spec/ramaze/action/view/instancevars/layout.xhtml
|
|
483
|
+
- spec/ramaze/action/view/other_wrapper.xhtml
|
|
484
|
+
- spec/ramaze/action/view/single_wrapper.xhtml
|
|
485
|
+
- spec/ramaze/action/view/sub/sub_wrapper.xhtml
|
|
486
|
+
- spec/ramaze/adapter.rb
|
|
487
|
+
- spec/ramaze/adapter/ebb.rb
|
|
488
|
+
- spec/ramaze/adapter/mongrel.rb
|
|
489
|
+
- spec/ramaze/adapter/record.rb
|
|
490
|
+
- spec/ramaze/adapter/webrick.rb
|
|
491
|
+
- spec/ramaze/cache.rb
|
|
492
|
+
- spec/ramaze/controller.rb
|
|
493
|
+
- spec/ramaze/controller/actionless_templates.rb
|
|
494
|
+
- spec/ramaze/controller/resolve.rb
|
|
495
|
+
- spec/ramaze/controller/subclass.rb
|
|
496
|
+
- spec/ramaze/controller/template_resolving.rb
|
|
497
|
+
- spec/ramaze/controller/view/bar.xhtml
|
|
498
|
+
- spec/ramaze/controller/view/base/another.xhtml
|
|
499
|
+
- spec/ramaze/controller/view/greet.xhtml
|
|
500
|
+
- spec/ramaze/controller/view/list.xhtml
|
|
501
|
+
- spec/ramaze/controller/view/other/greet/other.xhtml
|
|
502
|
+
- spec/ramaze/controller/view/other_wrapper.xhtml
|
|
503
|
+
- spec/ramaze/current/request.rb
|
|
504
|
+
- spec/ramaze/current/session.rb
|
|
505
|
+
- spec/ramaze/dispatcher.rb
|
|
506
|
+
- spec/ramaze/dispatcher/directory.rb
|
|
507
|
+
- spec/ramaze/dispatcher/file.rb
|
|
508
|
+
- spec/ramaze/dispatcher/public/favicon.ico
|
|
509
|
+
- spec/ramaze/dispatcher/public/file name.txt
|
|
510
|
+
- spec/ramaze/dispatcher/public/test_download.css
|
|
511
|
+
- spec/ramaze/element.rb
|
|
512
|
+
- spec/ramaze/error.rb
|
|
513
|
+
- spec/ramaze/gestalt.rb
|
|
514
|
+
- spec/ramaze/helper/aspect.rb
|
|
515
|
+
- spec/ramaze/helper/auth.rb
|
|
516
|
+
- spec/ramaze/helper/cache.rb
|
|
517
|
+
- spec/ramaze/helper/cgi.rb
|
|
518
|
+
- spec/ramaze/helper/file.rb
|
|
519
|
+
- spec/ramaze/helper/flash.rb
|
|
520
|
+
- spec/ramaze/helper/form.rb
|
|
521
|
+
- spec/ramaze/helper/formatting.rb
|
|
522
|
+
- spec/ramaze/helper/link.rb
|
|
523
|
+
- spec/ramaze/helper/pager.rb
|
|
524
|
+
- spec/ramaze/helper/partial.rb
|
|
525
|
+
- spec/ramaze/helper/redirect.rb
|
|
526
|
+
- spec/ramaze/helper/simple_captcha.rb
|
|
527
|
+
- spec/ramaze/helper/stack.rb
|
|
528
|
+
- spec/ramaze/helper/user.rb
|
|
529
|
+
- spec/ramaze/helper/view/locals.xhtml
|
|
530
|
+
- spec/ramaze/helper/view/loop.xhtml
|
|
531
|
+
- spec/ramaze/helper/view/num.xhtml
|
|
532
|
+
- spec/ramaze/helper/view/partial.xhtml
|
|
533
|
+
- spec/ramaze/helper/view/recursive.xhtml
|
|
534
|
+
- spec/ramaze/helper/view/recursive_local_ivars.xhtml
|
|
535
|
+
- spec/ramaze/helper/view/recursive_locals.xhtml
|
|
536
|
+
- spec/ramaze/helper/view/test_template.xhtml
|
|
537
|
+
- spec/ramaze/localize.rb
|
|
538
|
+
- spec/ramaze/log/informer.rb
|
|
539
|
+
- spec/ramaze/log/syslog.rb
|
|
540
|
+
- spec/ramaze/morpher.rb
|
|
541
|
+
- spec/ramaze/params.rb
|
|
542
|
+
- spec/ramaze/public/error404.xhtml
|
|
543
|
+
- spec/ramaze/public/favicon.ico
|
|
544
|
+
- spec/ramaze/public/ramaze.png
|
|
545
|
+
- spec/ramaze/public/test_download.css
|
|
546
|
+
- spec/ramaze/request.rb
|
|
547
|
+
- spec/ramaze/request/ebb.rb
|
|
548
|
+
- spec/ramaze/request/mongrel.rb
|
|
549
|
+
- spec/ramaze/request/thin.rb
|
|
550
|
+
- spec/ramaze/request/webrick.rb
|
|
551
|
+
- spec/ramaze/rewrite.rb
|
|
552
|
+
- spec/ramaze/rewrite/file.css
|
|
553
|
+
- spec/ramaze/route.rb
|
|
554
|
+
- spec/ramaze/session.rb
|
|
555
|
+
- spec/ramaze/store/default.rb
|
|
556
|
+
- spec/ramaze/struct.rb
|
|
557
|
+
- spec/ramaze/template.rb
|
|
558
|
+
- spec/ramaze/template/amrita2.rb
|
|
559
|
+
- spec/ramaze/template/amrita2/external.amrita
|
|
560
|
+
- spec/ramaze/template/amrita2/sum.amrita
|
|
561
|
+
- spec/ramaze/template/builder.rb
|
|
562
|
+
- spec/ramaze/template/builder/external.rxml
|
|
563
|
+
- spec/ramaze/template/erubis.rb
|
|
564
|
+
- spec/ramaze/template/erubis/sum.rhtml
|
|
565
|
+
- spec/ramaze/template/ezamar.rb
|
|
566
|
+
- spec/ramaze/template/ezamar/another/long/action.zmr
|
|
567
|
+
- spec/ramaze/template/ezamar/combined.zmr
|
|
568
|
+
- spec/ramaze/template/ezamar/file_only.zmr
|
|
569
|
+
- spec/ramaze/template/ezamar/index.zmr
|
|
570
|
+
- spec/ramaze/template/ezamar/nested.zmr
|
|
571
|
+
- spec/ramaze/template/ezamar/other__index.xhtml
|
|
572
|
+
- spec/ramaze/template/ezamar/some__long__action.zmr
|
|
573
|
+
- spec/ramaze/template/ezamar/sum.zmr
|
|
574
|
+
- spec/ramaze/template/haml.rb
|
|
575
|
+
- spec/ramaze/template/haml/index.haml
|
|
576
|
+
- spec/ramaze/template/haml/locals.haml
|
|
577
|
+
- spec/ramaze/template/haml/with_vars.haml
|
|
578
|
+
- spec/ramaze/template/liquid.rb
|
|
579
|
+
- spec/ramaze/template/liquid/index.liquid
|
|
580
|
+
- spec/ramaze/template/liquid/products.liquid
|
|
581
|
+
- spec/ramaze/template/markaby.rb
|
|
582
|
+
- spec/ramaze/template/markaby/external.mab
|
|
583
|
+
- spec/ramaze/template/markaby/sum.mab
|
|
584
|
+
- spec/ramaze/template/nagoro.rb
|
|
585
|
+
- spec/ramaze/template/nagoro/another/long/action.nag
|
|
586
|
+
- spec/ramaze/template/nagoro/combined.nag
|
|
587
|
+
- spec/ramaze/template/nagoro/file_only.nag
|
|
588
|
+
- spec/ramaze/template/nagoro/index.nag
|
|
589
|
+
- spec/ramaze/template/nagoro/nested.nag
|
|
590
|
+
- spec/ramaze/template/nagoro/some__long__action.nag
|
|
591
|
+
- spec/ramaze/template/nagoro/sum.nag
|
|
592
|
+
- spec/ramaze/template/ramaze/external.test
|
|
593
|
+
- spec/ramaze/template/redcloth.rb
|
|
594
|
+
- spec/ramaze/template/redcloth/external.redcloth
|
|
595
|
+
- spec/ramaze/template/remarkably.rb
|
|
596
|
+
- spec/ramaze/template/remarkably/external.rem
|
|
597
|
+
- spec/ramaze/template/remarkably/sum.rem
|
|
598
|
+
- spec/ramaze/template/sass.rb
|
|
599
|
+
- spec/ramaze/template/sass/file.css.sass
|
|
600
|
+
- spec/ramaze/template/tagz.rb
|
|
601
|
+
- spec/ramaze/template/tagz/external.tagz
|
|
602
|
+
- spec/ramaze/template/tagz/sum.tagz
|
|
603
|
+
- spec/ramaze/template/tenjin.rb
|
|
604
|
+
- spec/ramaze/template/tenjin/external.tenjin
|
|
605
|
+
- spec/ramaze/template/xslt.rb
|
|
606
|
+
- spec/ramaze/template/xslt/concat_words.xsl
|
|
607
|
+
- spec/ramaze/template/xslt/index.xsl
|
|
608
|
+
- spec/ramaze/template/xslt/products.xsl
|
|
609
|
+
- spec/ramaze/template/xslt/ruby_version.xsl
|
|
610
|
+
- spec/snippets/array/put_within.rb
|
|
611
|
+
- spec/snippets/binding/locals.rb
|
|
612
|
+
- spec/snippets/kernel/constant.rb
|
|
613
|
+
- spec/snippets/numeric/filesize_format.rb
|
|
614
|
+
- spec/snippets/numeric/time.rb
|
|
615
|
+
- spec/snippets/object/__dir__.rb
|
|
616
|
+
- spec/snippets/ordered_set.rb
|
|
617
|
+
- spec/snippets/ramaze/acquire.rb
|
|
618
|
+
- spec/snippets/ramaze/caller_info.rb
|
|
619
|
+
- spec/snippets/ramaze/caller_lines.rb
|
|
620
|
+
- spec/snippets/string/camel_case.rb
|
|
621
|
+
- spec/snippets/string/color.rb
|
|
622
|
+
- spec/snippets/string/snake_case.rb
|
|
623
|
+
- spec/snippets/string/unindent.rb
|
|
624
|
+
- spec/snippets/thread/into.rb
|
|
625
|
+
has_rdoc: true
|
|
626
|
+
homepage: http://ramaze.rubyforge.org
|
|
627
|
+
post_install_message: |-
|
|
628
|
+
============================================================
|
|
629
|
+
|
|
630
|
+
Thank you for installing Ramaze!
|
|
631
|
+
You can now do following:
|
|
632
|
+
|
|
633
|
+
* Create a new project using the `ramaze' command:
|
|
634
|
+
ramaze --create yourproject
|
|
635
|
+
|
|
636
|
+
============================================================
|
|
637
|
+
rdoc_options: []
|
|
638
|
+
|
|
639
|
+
require_paths:
|
|
640
|
+
- lib
|
|
641
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
642
|
+
requirements:
|
|
643
|
+
- - ">="
|
|
644
|
+
- !ruby/object:Gem::Version
|
|
645
|
+
version: "0"
|
|
646
|
+
version:
|
|
647
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
648
|
+
requirements:
|
|
649
|
+
- - ">="
|
|
650
|
+
- !ruby/object:Gem::Version
|
|
651
|
+
version: "0"
|
|
652
|
+
version:
|
|
653
|
+
requirements: []
|
|
654
|
+
|
|
655
|
+
rubyforge_project:
|
|
656
|
+
rubygems_version: 1.2.0
|
|
657
|
+
signing_key:
|
|
658
|
+
specification_version: 2
|
|
659
|
+
summary: Ramaze is a simple and modular web framework
|
|
660
|
+
test_files: []
|
|
661
|
+
|