manveru-ramaze 2009.04 → 2009.04.01
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +0 -405
- data/MANIFEST +16 -16
- data/Rakefile +4 -24
- data/bin/ramaze +52 -275
- data/doc/tutorial/todolist.html +5 -83
- data/doc/tutorial/todolist.txt +33 -85
- data/examples/app/auth/layout/{auth.xhtml → auth.nag} +0 -0
- data/examples/app/auth/view/{index.xhtml → index.nag} +0 -0
- data/examples/app/auth/view/{login.xhtml → login.nag} +0 -0
- data/examples/app/auth/view/{secret.xhtml → secret.nag} +0 -0
- data/examples/app/blog/app.rb +1 -1
- data/examples/app/blog/controller/comment.rb +1 -1
- data/examples/app/blog/controller/entry.rb +3 -12
- data/examples/app/blog/model/init.rb +0 -5
- data/examples/app/blog/model/tag.rb +2 -2
- data/examples/app/blog/start.rb +1 -1
- data/examples/app/blog/view/entry/index.nag +3 -3
- data/examples/app/blog/view/feed.atom.nag +1 -1
- data/examples/app/blog/view/feed.rss.nag +1 -1
- data/examples/app/blog/view/index.nag +1 -1
- data/examples/app/blog/view/tag/index.nag +1 -1
- data/examples/app/todolist/model/init.rb +0 -3
- data/examples/app/wikore/spec/wikore.rb +6 -4
- data/examples/app/wikore/src/controller.rb +11 -9
- data/examples/app/wikore/src/model.rb +10 -7
- data/examples/app/wikore/start.rb +1 -1
- data/examples/app/wikore/{view → template}/index.xhtml +0 -0
- data/examples/helpers/provide.rb +23 -0
- data/examples/misc/rapp.rb +17 -28
- data/examples/templates/template_redcloth.rb +2 -2
- data/examples/templates/template_xslt.rb +48 -0
- data/examples/templates/view/external.xsl +57 -0
- data/lib/proto/config.ru +5 -4
- data/lib/proto/controller/init.rb +2 -2
- data/lib/proto/layout/{default.xhtml → default.nag} +0 -0
- data/lib/proto/spec/main.rb +8 -7
- data/lib/proto/start.rb +10 -6
- data/lib/proto/view/{index.xhtml → index.nag} +0 -0
- data/lib/proto/view/page.nag +27 -0
- data/lib/ramaze/app.rb +5 -5
- data/lib/ramaze/cache.rb +2 -3
- data/lib/ramaze/contrib/email.rb +0 -2
- data/lib/ramaze/contrib/sequel/create_join.rb +0 -1
- data/lib/ramaze/contrib/sequel/fill.rb +12 -0
- data/lib/ramaze/contrib/sequel/form_field.rb +4 -4
- data/lib/ramaze/contrib/sequel/image.rb +11 -9
- data/lib/ramaze/contrib/sequel/relation.rb +3 -17
- data/lib/ramaze/controller/default.rb +0 -5
- data/lib/ramaze/helper/cache.rb +8 -22
- data/lib/ramaze/helper/formatting.rb +0 -2
- data/lib/ramaze/helper/httpdigest.rb +1 -1
- data/lib/ramaze/helper/link.rb +5 -2
- data/lib/ramaze/helper/localize.rb +3 -13
- data/lib/ramaze/helper/paginate.rb +0 -1
- data/lib/ramaze/helper/partial.rb +10 -85
- data/lib/ramaze/helper.rb +16 -6
- data/lib/ramaze/request.rb +1 -22
- data/lib/ramaze/snippets/ramaze/deprecated.rb +1 -0
- data/lib/ramaze/snippets/string/each.rb +19 -0
- data/lib/ramaze/spec.rb +2 -9
- data/lib/ramaze/version.rb +1 -1
- data/lib/ramaze/view/haml.rb +0 -1
- data/lib/ramaze/view/liquid.rb +11 -45
- data/lib/ramaze/view/nagoro/render_partial.rb +9 -9
- data/lib/ramaze/view.rb +0 -4
- data/lib/ramaze.rb +0 -2
- data/ramaze.gemspec +12 -12
- data/spec/contrib/sequel/fill.rb +47 -0
- data/spec/examples/helpers/httpdigest.rb +67 -42
- data/spec/examples/templates/template_markaby.rb +1 -1
- data/spec/examples/templates/template_xslt.rb +10 -0
- data/spec/ramaze/dispatcher/file.rb +20 -22
- data/spec/ramaze/error.rb +1 -1
- data/spec/ramaze/helper/auth.rb +40 -29
- data/spec/ramaze/helper/cache.rb +3 -43
- data/spec/ramaze/helper/flash.rb +14 -10
- data/spec/ramaze/helper/httpdigest.rb +65 -47
- data/spec/ramaze/helper/localize.rb +9 -9
- data/spec/ramaze/helper/partial.rb +40 -0
- data/spec/ramaze/helper/sequel_form.rb +1 -1
- data/spec/ramaze/helper/simple_captcha.rb +13 -9
- data/spec/ramaze/helper/stack.rb +39 -31
- data/spec/ramaze/helper/user.rb +13 -15
- data/spec/ramaze/request.rb +0 -12
- data/tasks/bacon.rake +21 -38
- data/tasks/release.rake +22 -4
- metadata +24 -22
- data/lib/proto/app.rb +0 -15
- data/lib/ramaze/cache/localmemcache.rb +0 -56
- data/lib/ramaze/contrib/app_graph.rb +0 -64
- data/lib/ramaze/tool/create.rb +0 -48
- data/lib/ramaze/tool/project_creator.rb +0 -111
- data/spec/ramaze/cache/localmemcache.rb +0 -49
- data/tasks/setup.rake +0 -24
data/ramaze.gemspec
CHANGED
@@ -2,43 +2,43 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{ramaze}
|
5
|
-
s.version = "2009.04"
|
5
|
+
s.version = "2009.04.01"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Michael 'manveru' Fellinger"]
|
9
|
-
s.date = %q{2009-04-
|
9
|
+
s.date = %q{2009-04-01}
|
10
10
|
s.default_executable = %q{ramaze}
|
11
11
|
s.description = %q{Ramaze is a simple and modular web framework}
|
12
12
|
s.email = %q{m.fellinger@gmail.com}
|
13
13
|
s.executables = ["ramaze"]
|
14
|
-
s.files = [".mailmap", "CHANGELOG", "MANIFEST", "README.markdown", "Rakefile", "benchmark/results.txt", "benchmark/run.rb", "benchmark/suite/minimal.rb", "benchmark/suite/no_informer.rb", "benchmark/suite/no_sessions.rb", "benchmark/suite/no_template.rb", "benchmark/suite/simple.rb", "benchmark/suite/template_builder.rb", "benchmark/suite/template_erubis.rb", "benchmark/suite/template_ezamar.rb", "benchmark/suite/template_haml.rb", "benchmark/suite/template_liquid.rb", "benchmark/suite/template_markaby.rb", "benchmark/suite/template_nagoro.rb", "benchmark/suite/template_redcloth.rb", "benchmark/suite/template_tenjin.rb", "benchmark/test.rb", "bin/ramaze", "doc/AUTHORS", "doc/CHANGELOG", "doc/COPYING", "doc/FAQ", "doc/GPL", "doc/INSTALL", "doc/LEGAL", "doc/TODO", "doc/meta/announcement.txt", "doc/meta/configuration.txt", "doc/meta/internals.txt", "doc/meta/users.kml", "doc/tutorial/todolist.html", "doc/tutorial/todolist.mkd", "doc/tutorial/todolist.txt", "examples/app/auth/layout/auth.xhtml", "examples/app/auth/start.rb", "examples/app/auth/view/index.xhtml", "examples/app/auth/view/login.xhtml", "examples/app/auth/view/secret.xhtml", "examples/app/blog/README", "examples/app/blog/app.rb", "examples/app/blog/config.ru", "examples/app/blog/controller/comment.rb", "examples/app/blog/controller/entry.rb", "examples/app/blog/controller/init.rb", "examples/app/blog/controller/main.rb", "examples/app/blog/controller/tag.rb", "examples/app/blog/layout/default.nag", "examples/app/blog/model/comment.rb", "examples/app/blog/model/entry.rb", "examples/app/blog/model/init.rb", "examples/app/blog/model/tag.rb", "examples/app/blog/public/css/screen.css", "examples/app/blog/spec/blog.rb", "examples/app/blog/start.rb", "examples/app/blog/view/comment/form.nag", "examples/app/blog/view/comment/show.nag", "examples/app/blog/view/entry/edit.nag", "examples/app/blog/view/entry/feed.atom.nag", "examples/app/blog/view/entry/feed.rss.nag", "examples/app/blog/view/entry/index.nag", "examples/app/blog/view/entry/new.nag", "examples/app/blog/view/entry/show.nag", "examples/app/blog/view/feed.atom.nag", "examples/app/blog/view/feed.rss.nag", "examples/app/blog/view/index.nag", "examples/app/blog/view/tag/index.nag", "examples/app/chat/layout/default.nag", "examples/app/chat/model/history.rb", "examples/app/chat/model/message.rb", "examples/app/chat/public/css/chat.css", "examples/app/chat/public/js/chat.js", "examples/app/chat/public/js/jquery.js", "examples/app/chat/start.rb", "examples/app/chat/view/chat.nag", "examples/app/chat/view/index.nag", "examples/app/localization/start.rb", "examples/app/sourceview/public/coderay.css", "examples/app/sourceview/public/images/file.gif", "examples/app/sourceview/public/images/folder.gif", "examples/app/sourceview/public/images/tv-collapsable-last.gif", "examples/app/sourceview/public/images/tv-collapsable.gif", "examples/app/sourceview/public/images/tv-expandable-last.gif", "examples/app/sourceview/public/images/tv-expandable.gif", "examples/app/sourceview/public/images/tv-item-last.gif", "examples/app/sourceview/public/images/tv-item.gif", "examples/app/sourceview/public/jquery.js", "examples/app/sourceview/public/jquery.treeview.css", "examples/app/sourceview/public/jquery.treeview.js", "examples/app/sourceview/public/sourceview.js", "examples/app/sourceview/start.rb", "examples/app/sourceview/view/index.haml", "examples/app/todolist/controller/init.rb", "examples/app/todolist/controller/task.rb", "examples/app/todolist/layout/default.xhtml", "examples/app/todolist/model/init.rb", "examples/app/todolist/model/task.rb", "examples/app/todolist/public/css/screen.css", "examples/app/todolist/public/favicon.ico", "examples/app/todolist/start.rb", "examples/app/todolist/view/index.xhtml", "examples/app/upload/start.rb", "examples/app/upload/view/index.xhtml", "examples/app/whywiki/spec/whywiki.rb", "examples/app/whywiki/start.rb", "examples/app/whywiki/template/edit.xhtml", "examples/app/whywiki/template/show.xhtml", "examples/app/wikore/spec/wikore.rb", "examples/app/wikore/src/controller.rb", "examples/app/wikore/src/model.rb", "examples/app/wikore/start.rb", "examples/app/wikore/view/index.xhtml", "examples/app/wiktacular/README", "examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd", "examples/app/wiktacular/mkd/link/current.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_16-31-33.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-21-12.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-23-10.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-45-07.mkd", "examples/app/wiktacular/mkd/main/current.mkd", "examples/app/wiktacular/mkd/markdown/current.mkd", "examples/app/wiktacular/mkd/testing/2007-07-20_16-43-46.mkd", "examples/app/wiktacular/mkd/testing/2007-07-20_19-43-50.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-46-01.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-46-32.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-47-08.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-47-54.mkd", "examples/app/wiktacular/mkd/testing/current.mkd", "examples/app/wiktacular/public/favicon.ico", "examples/app/wiktacular/public/screen.css", "examples/app/wiktacular/spec/wiktacular.rb", "examples/app/wiktacular/src/controller.rb", "examples/app/wiktacular/src/model.rb", "examples/app/wiktacular/start.rb", "examples/app/wiktacular/template/edit.xhtml", "examples/app/wiktacular/template/html_layout.xhtml", "examples/app/wiktacular/template/index.xhtml", "examples/app/wiktacular/template/new.xhtml", "examples/basic/element.rb", "examples/basic/gestalt.rb", "examples/basic/hello.rb", "examples/basic/layout.rb", "examples/basic/linking.rb", "examples/basic/partial.rb", "examples/basic/simple.rb", "examples/helpers/cache.rb", "examples/helpers/form_with_sequel.rb", "examples/helpers/httpdigest.rb", "examples/helpers/identity.rb", "examples/helpers/nitro_form.rb", "examples/helpers/paginate.rb", "examples/helpers/rest.rb", "examples/helpers/simple_captcha.rb", "examples/misc/css.rb", "examples/misc/facebook.rb", "examples/misc/memleak_detector.rb", "examples/misc/nagoro_element.rb", "examples/misc/ramaise.rb", "examples/misc/rapp.rb", "examples/misc/sequel_scaffolding.rb", "examples/misc/serve_directory.rb", "examples/templates/template_erubis.rb", "examples/templates/template_ezamar.rb", "examples/templates/template_haml.rb", "examples/templates/template_liquid.rb", "examples/templates/template_markaby.rb", "examples/templates/template_nagoro.rb", "examples/templates/template_redcloth.rb", "examples/templates/template_remarkably.rb", "examples/templates/template_tenjin.rb", "examples/templates/view/external.haml", "examples/templates/view/external.liquid", "examples/templates/view/external.mab", "examples/templates/view/external.nag", "examples/templates/view/external.redcloth", "examples/templates/view/external.rem", "examples/templates/view/external.rhtml", "examples/templates/view/external.tenjin", "examples/templates/view/external.zmr", "lib/proto/app.rb", "lib/proto/config.ru", "lib/proto/controller/init.rb", "lib/proto/controller/main.rb", "lib/proto/layout/default.xhtml", "lib/proto/model/init.rb", "lib/proto/public/.htaccess", "lib/proto/public/css/screen.css", "lib/proto/public/dispatch.fcgi", "lib/proto/public/favicon.ico", "lib/proto/public/js/jquery.js", "lib/proto/public/ramaze.png", "lib/proto/spec/main.rb", "lib/proto/start.rb", "lib/proto/view/index.xhtml", "lib/ramaze.rb", "lib/ramaze/app.rb", "lib/ramaze/cache.rb", "lib/ramaze/cache/localmemcache.rb", "lib/ramaze/cache/memcache.rb", "lib/ramaze/cache/sequel.rb", "lib/ramaze/contrib/app_graph.rb", "lib/ramaze/contrib/email.rb", "lib/ramaze/contrib/facebook.rb", "lib/ramaze/contrib/facebook/facebook.rb", "lib/ramaze/contrib/gettext.rb", "lib/ramaze/contrib/gettext/mo.rb", "lib/ramaze/contrib/gettext/parser.rb", "lib/ramaze/contrib/gettext/po.rb", "lib/ramaze/contrib/gzip_filter.rb", "lib/ramaze/contrib/maruku_uv.rb", "lib/ramaze/contrib/profiling.rb", "lib/ramaze/contrib/rest.rb", "lib/ramaze/contrib/sequel/create_join.rb", "lib/ramaze/contrib/sequel/form_field.rb", "lib/ramaze/contrib/sequel/image.rb", "lib/ramaze/contrib/sequel/relation.rb", "lib/ramaze/controller.rb", "lib/ramaze/controller/default.rb", "lib/ramaze/current.rb", "lib/ramaze/files.rb", "lib/ramaze/gestalt.rb", "lib/ramaze/helper.rb", "lib/ramaze/helper/auth.rb", "lib/ramaze/helper/bench.rb", "lib/ramaze/helper/cache.rb", "lib/ramaze/helper/disqus.rb", "lib/ramaze/helper/flash.rb", "lib/ramaze/helper/form.rb", "lib/ramaze/helper/formatting.rb", "lib/ramaze/helper/gestalt.rb", "lib/ramaze/helper/gravatar.rb", "lib/ramaze/helper/httpdigest.rb", "lib/ramaze/helper/identity.rb", "lib/ramaze/helper/link.rb", "lib/ramaze/helper/localize.rb", "lib/ramaze/helper/markaby.rb", "lib/ramaze/helper/maruku.rb", "lib/ramaze/helper/nitroform.rb", "lib/ramaze/helper/pager.rb", "lib/ramaze/helper/paginate.rb", "lib/ramaze/helper/partial.rb", "lib/ramaze/helper/remarkably.rb", "lib/ramaze/helper/request_accessor.rb", "lib/ramaze/helper/sequel.rb", "lib/ramaze/helper/sequel_form.rb", "lib/ramaze/helper/simple_captcha.rb", "lib/ramaze/helper/stack.rb", "lib/ramaze/helper/tagz.rb", "lib/ramaze/helper/thread.rb", "lib/ramaze/helper/ultraviolet.rb", "lib/ramaze/helper/user.rb", "lib/ramaze/helper/xhtml.rb", "lib/ramaze/log.rb", "lib/ramaze/log/analogger.rb", "lib/ramaze/log/growl.rb", "lib/ramaze/log/hub.rb", "lib/ramaze/log/informer.rb", "lib/ramaze/log/knotify.rb", "lib/ramaze/log/logger.rb", "lib/ramaze/log/logging.rb", "lib/ramaze/log/rotatinginformer.rb", "lib/ramaze/log/syslog.rb", "lib/ramaze/log/xosd.rb", "lib/ramaze/middleware_compiler.rb", "lib/ramaze/plugin.rb", "lib/ramaze/reloader.rb", "lib/ramaze/reloader/watch_inotify.rb", "lib/ramaze/reloader/watch_stat.rb", "lib/ramaze/request.rb", "lib/ramaze/response.rb", "lib/ramaze/setup.rb", "lib/ramaze/snippets.rb", "lib/ramaze/snippets/array/put_within.rb", "lib/ramaze/snippets/binding/locals.rb", "lib/ramaze/snippets/blankslate.rb", "lib/ramaze/snippets/divide.rb", "lib/ramaze/snippets/fiber.rb", "lib/ramaze/snippets/kernel/constant.rb", "lib/ramaze/snippets/kernel/pretty_inspect.rb", "lib/ramaze/snippets/metaid.rb", "lib/ramaze/snippets/numeric/filesize_format.rb", "lib/ramaze/snippets/numeric/time.rb", "lib/ramaze/snippets/object/__dir__.rb", "lib/ramaze/snippets/object/acquire.rb", "lib/ramaze/snippets/object/instance_variable_defined.rb", "lib/ramaze/snippets/object/pretty.rb", "lib/ramaze/snippets/object/scope.rb", "lib/ramaze/snippets/ordered_set.rb", "lib/ramaze/snippets/proc/locals.rb", "lib/ramaze/snippets/ramaze/acquire.rb", "lib/ramaze/snippets/ramaze/deprecated.rb", "lib/ramaze/snippets/ramaze/dictionary.rb", "lib/ramaze/snippets/ramaze/fiber.rb", "lib/ramaze/snippets/ramaze/struct.rb", "lib/ramaze/snippets/string/camel_case.rb", "lib/ramaze/snippets/string/color.rb", "lib/ramaze/snippets/string/end_with.rb", "lib/ramaze/snippets/string/esc.rb", "lib/ramaze/snippets/string/ord.rb", "lib/ramaze/snippets/string/snake_case.rb", "lib/ramaze/snippets/string/start_with.rb", "lib/ramaze/snippets/string/unindent.rb", "lib/ramaze/snippets/thread/into.rb", "lib/ramaze/spec.rb", "lib/ramaze/spec/helper/bacon.rb", "lib/ramaze/spec/helper/pretty_output.rb", "lib/ramaze/spec/helper/snippets.rb", "lib/ramaze/spec/helper/template_examples.rb", "lib/ramaze/tool/create.rb", "lib/ramaze/tool/project_creator.rb", "lib/ramaze/version.rb", "lib/ramaze/view.rb", "lib/ramaze/view/erubis.rb", "lib/ramaze/view/ezamar.rb", "lib/ramaze/view/haml.rb", "lib/ramaze/view/liquid.rb", "lib/ramaze/view/maruku.rb", "lib/ramaze/view/nagoro.rb", "lib/ramaze/view/nagoro/render_partial.rb", "lib/ramaze/view/redcloth.rb", "lib/ramaze/view/remarkably.rb", "lib/ramaze/view/sass.rb", "lib/ramaze/view/tagz.rb", "lib/ramaze/view/tenjin.rb", "lib/vendor/etag.rb", "lib/vendor/route_exceptions.rb", "ramaze.gemspec", "spec/contrib/rest.rb", "spec/examples/caching.rb", "spec/examples/css.rb", "spec/examples/element.rb", "spec/examples/hello.rb", "spec/examples/helpers/httpdigest.rb", "spec/examples/linking.rb", "spec/examples/simple.rb", "spec/examples/templates/template_erubis.rb", "spec/examples/templates/template_ezamar.rb", "spec/examples/templates/template_haml.rb", "spec/examples/templates/template_liquid.rb", "spec/examples/templates/template_markaby.rb", "spec/examples/templates/template_nagoro.rb", "spec/examples/templates/template_redcloth.rb", "spec/examples/templates/template_remarkably.rb", "spec/examples/templates/template_tenjin.rb", "spec/helper.rb", "spec/ramaze/action/render.rb", "spec/ramaze/action/view/bar.xhtml", "spec/ramaze/action/view/instancevars/layout.xhtml", "spec/ramaze/action/view/other_wrapper.erb", "spec/ramaze/action/view/other_wrapper.xhtml", "spec/ramaze/action/view/single_wrapper.xhtml", "spec/ramaze/action/view/sub/sub_wrapper.erb", "spec/ramaze/action/view/sub/sub_wrapper.xhtml", "spec/ramaze/app.rb", "spec/ramaze/cache/localmemcache.rb", "spec/ramaze/cache/memcache.rb", "spec/ramaze/cache/sequel.rb", "spec/ramaze/controller/actionless_templates.rb", "spec/ramaze/controller/mapping.rb", "spec/ramaze/controller/provide_inheritance.rb", "spec/ramaze/controller/resolve.rb", "spec/ramaze/controller/subclass.rb", "spec/ramaze/controller/template_resolving.rb", "spec/ramaze/controller/view/bar.xhtml", "spec/ramaze/controller/view/base/another.xhtml", "spec/ramaze/controller/view/greet.xhtml", "spec/ramaze/controller/view/list.xhtml", "spec/ramaze/controller/view/other/greet/other.xhtml", "spec/ramaze/controller/view/other_wrapper.xhtml", "spec/ramaze/dispatcher/directory.rb", "spec/ramaze/dispatcher/file.rb", "spec/ramaze/dispatcher/public/favicon.ico", "spec/ramaze/dispatcher/public/file name.txt", "spec/ramaze/dispatcher/public/test_download.css", "spec/ramaze/error.rb", "spec/ramaze/files.rb", "spec/ramaze/files/public_1/plain.txt", "spec/ramaze/files/public_2/rich.txt", "spec/ramaze/gestalt.rb", "spec/ramaze/helper/auth.rb", "spec/ramaze/helper/bench.rb", "spec/ramaze/helper/cache.rb", "spec/ramaze/helper/flash.rb", "spec/ramaze/helper/form.rb", "spec/ramaze/helper/formatting.rb", "spec/ramaze/helper/gestalt.rb", "spec/ramaze/helper/gravatar.rb", "spec/ramaze/helper/httpdigest.rb", "spec/ramaze/helper/link.rb", "spec/ramaze/helper/localize.rb", "spec/ramaze/helper/maruku.rb", "spec/ramaze/helper/pager.rb", "spec/ramaze/helper/paginate.rb", "spec/ramaze/helper/request_accessor.rb", "spec/ramaze/helper/sequel_form.rb", "spec/ramaze/helper/simple_captcha.rb", "spec/ramaze/helper/stack.rb", "spec/ramaze/helper/user.rb", "spec/ramaze/helper/view/locals.xhtml", "spec/ramaze/helper/view/loop.xhtml", "spec/ramaze/helper/view/num.xhtml", "spec/ramaze/helper/view/partial.xhtml", "spec/ramaze/helper/view/recursive.xhtml", "spec/ramaze/helper/view/recursive_local_ivars.xhtml", "spec/ramaze/helper/view/recursive_locals.xhtml", "spec/ramaze/helper/view/test_template.xhtml", "spec/ramaze/helper/xhtml.rb", "spec/ramaze/log/informer.rb", "spec/ramaze/log/logging.rb", "spec/ramaze/log/syslog.rb", "spec/ramaze/params.rb", "spec/ramaze/public/favicon.ico", "spec/ramaze/public/ramaze.png", "spec/ramaze/public/test_download.css", "spec/ramaze/request.rb", "spec/ramaze/rewrite/file.css", "spec/ramaze/struct.rb", "spec/ramaze/template/ramaze/external.test", "spec/ramaze/view.rb", "spec/ramaze/view/erubis.rb", "spec/ramaze/view/erubis/external.rhtml", "spec/ramaze/view/erubis/sum.rhtml", "spec/ramaze/view/ezamar.rb", "spec/ramaze/view/ezamar/external.zmr", "spec/ramaze/view/ezamar/sum.zmr", "spec/ramaze/view/haml.rb", "spec/ramaze/view/haml/external.haml", "spec/ramaze/view/haml/sum.haml", "spec/ramaze/view/liquid.rb", "spec/ramaze/view/liquid/external.liquid", "spec/ramaze/view/liquid/sum.liquid", "spec/ramaze/view/nagoro.rb", "spec/ramaze/view/nagoro/external.nag", "spec/ramaze/view/nagoro/sum.nag", "spec/ramaze/view/redcloth.rb", "spec/ramaze/view/redcloth/external.redcloth", "spec/ramaze/view/remarkably.rb", "spec/ramaze/view/remarkably/external.rem", "spec/ramaze/view/remarkably/sum.rem", "spec/ramaze/view/sass.rb", "spec/ramaze/view/sass/file.css.sass", "spec/ramaze/view/tagz.rb", "spec/ramaze/view/tagz/external.tagz", "spec/ramaze/view/tagz/sum.tagz", "spec/ramaze/view/tenjin.rb", "spec/ramaze/view/tenjin/external.rbhtml", "spec/ramaze/view/tenjin/sum.rbhtml", "spec/snippets/array/put_within.rb", "spec/snippets/binding/locals.rb", "spec/snippets/kernel/constant.rb", "spec/snippets/numeric/filesize_format.rb", "spec/snippets/numeric/time.rb", "spec/snippets/object/__dir__.rb", "spec/snippets/ordered_set.rb", "spec/snippets/ramaze/acquire.rb", "spec/snippets/ramaze/dictionary.rb", "spec/snippets/ramaze/struct.rb", "spec/snippets/string/camel_case.rb", "spec/snippets/string/color.rb", "spec/snippets/string/snake_case.rb", "spec/snippets/string/unindent.rb", "spec/snippets/thread/into.rb", "tasks/authors.rake", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/copyright.rake", "tasks/gem.rake", "tasks/gem_installer.rake", "tasks/git.rake", "tasks/grancher.rake", "tasks/install_dependencies.rake", "tasks/jquery.rake", "tasks/manifest.rake", "tasks/metric_changes.rake", "tasks/rcov.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/setup.rake", "tasks/todo.rake", "tasks/traits.rake", "tasks/yard.rake"]
|
14
|
+
s.files = [".mailmap", "CHANGELOG", "MANIFEST", "README.markdown", "Rakefile", "benchmark/results.txt", "benchmark/run.rb", "benchmark/suite/minimal.rb", "benchmark/suite/no_informer.rb", "benchmark/suite/no_sessions.rb", "benchmark/suite/no_template.rb", "benchmark/suite/simple.rb", "benchmark/suite/template_builder.rb", "benchmark/suite/template_erubis.rb", "benchmark/suite/template_ezamar.rb", "benchmark/suite/template_haml.rb", "benchmark/suite/template_liquid.rb", "benchmark/suite/template_markaby.rb", "benchmark/suite/template_nagoro.rb", "benchmark/suite/template_redcloth.rb", "benchmark/suite/template_tenjin.rb", "benchmark/test.rb", "bin/ramaze", "doc/AUTHORS", "doc/CHANGELOG", "doc/COPYING", "doc/FAQ", "doc/GPL", "doc/INSTALL", "doc/LEGAL", "doc/TODO", "doc/meta/announcement.txt", "doc/meta/configuration.txt", "doc/meta/internals.txt", "doc/meta/users.kml", "doc/tutorial/todolist.html", "doc/tutorial/todolist.mkd", "doc/tutorial/todolist.txt", "examples/app/auth/layout/auth.nag", "examples/app/auth/start.rb", "examples/app/auth/view/index.nag", "examples/app/auth/view/login.nag", "examples/app/auth/view/secret.nag", "examples/app/blog/README", "examples/app/blog/app.rb", "examples/app/blog/config.ru", "examples/app/blog/controller/comment.rb", "examples/app/blog/controller/entry.rb", "examples/app/blog/controller/init.rb", "examples/app/blog/controller/main.rb", "examples/app/blog/controller/tag.rb", "examples/app/blog/layout/default.nag", "examples/app/blog/model/comment.rb", "examples/app/blog/model/entry.rb", "examples/app/blog/model/init.rb", "examples/app/blog/model/tag.rb", "examples/app/blog/public/css/screen.css", "examples/app/blog/spec/blog.rb", "examples/app/blog/start.rb", "examples/app/blog/view/comment/form.nag", "examples/app/blog/view/comment/show.nag", "examples/app/blog/view/entry/edit.nag", "examples/app/blog/view/entry/feed.atom.nag", "examples/app/blog/view/entry/feed.rss.nag", "examples/app/blog/view/entry/index.nag", "examples/app/blog/view/entry/new.nag", "examples/app/blog/view/entry/show.nag", "examples/app/blog/view/feed.atom.nag", "examples/app/blog/view/feed.rss.nag", "examples/app/blog/view/index.nag", "examples/app/blog/view/tag/index.nag", "examples/app/chat/layout/default.nag", "examples/app/chat/model/history.rb", "examples/app/chat/model/message.rb", "examples/app/chat/public/css/chat.css", "examples/app/chat/public/js/chat.js", "examples/app/chat/public/js/jquery.js", "examples/app/chat/start.rb", "examples/app/chat/view/chat.nag", "examples/app/chat/view/index.nag", "examples/app/localization/start.rb", "examples/app/sourceview/public/coderay.css", "examples/app/sourceview/public/images/file.gif", "examples/app/sourceview/public/images/folder.gif", "examples/app/sourceview/public/images/tv-collapsable-last.gif", "examples/app/sourceview/public/images/tv-collapsable.gif", "examples/app/sourceview/public/images/tv-expandable-last.gif", "examples/app/sourceview/public/images/tv-expandable.gif", "examples/app/sourceview/public/images/tv-item-last.gif", "examples/app/sourceview/public/images/tv-item.gif", "examples/app/sourceview/public/jquery.js", "examples/app/sourceview/public/jquery.treeview.css", "examples/app/sourceview/public/jquery.treeview.js", "examples/app/sourceview/public/sourceview.js", "examples/app/sourceview/start.rb", "examples/app/sourceview/view/index.haml", "examples/app/todolist/controller/init.rb", "examples/app/todolist/controller/task.rb", "examples/app/todolist/layout/default.xhtml", "examples/app/todolist/model/init.rb", "examples/app/todolist/model/task.rb", "examples/app/todolist/public/css/screen.css", "examples/app/todolist/public/favicon.ico", "examples/app/todolist/start.rb", "examples/app/todolist/view/index.xhtml", "examples/app/upload/start.rb", "examples/app/upload/view/index.xhtml", "examples/app/whywiki/spec/whywiki.rb", "examples/app/whywiki/start.rb", "examples/app/whywiki/template/edit.xhtml", "examples/app/whywiki/template/show.xhtml", "examples/app/wikore/spec/wikore.rb", "examples/app/wikore/src/controller.rb", "examples/app/wikore/src/model.rb", "examples/app/wikore/start.rb", "examples/app/wikore/template/index.xhtml", "examples/app/wiktacular/README", "examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd", "examples/app/wiktacular/mkd/link/current.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_16-31-33.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-21-12.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-23-10.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-45-07.mkd", "examples/app/wiktacular/mkd/main/current.mkd", "examples/app/wiktacular/mkd/markdown/current.mkd", "examples/app/wiktacular/mkd/testing/2007-07-20_16-43-46.mkd", "examples/app/wiktacular/mkd/testing/2007-07-20_19-43-50.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-46-01.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-46-32.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-47-08.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-47-54.mkd", "examples/app/wiktacular/mkd/testing/current.mkd", "examples/app/wiktacular/public/favicon.ico", "examples/app/wiktacular/public/screen.css", "examples/app/wiktacular/spec/wiktacular.rb", "examples/app/wiktacular/src/controller.rb", "examples/app/wiktacular/src/model.rb", "examples/app/wiktacular/start.rb", "examples/app/wiktacular/template/edit.xhtml", "examples/app/wiktacular/template/html_layout.xhtml", "examples/app/wiktacular/template/index.xhtml", "examples/app/wiktacular/template/new.xhtml", "examples/basic/element.rb", "examples/basic/gestalt.rb", "examples/basic/hello.rb", "examples/basic/layout.rb", "examples/basic/linking.rb", "examples/basic/partial.rb", "examples/basic/simple.rb", "examples/helpers/cache.rb", "examples/helpers/form_with_sequel.rb", "examples/helpers/httpdigest.rb", "examples/helpers/identity.rb", "examples/helpers/nitro_form.rb", "examples/helpers/paginate.rb", "examples/helpers/provide.rb", "examples/helpers/rest.rb", "examples/helpers/simple_captcha.rb", "examples/misc/css.rb", "examples/misc/facebook.rb", "examples/misc/memleak_detector.rb", "examples/misc/nagoro_element.rb", "examples/misc/ramaise.rb", "examples/misc/rapp.rb", "examples/misc/sequel_scaffolding.rb", "examples/misc/serve_directory.rb", "examples/templates/template_erubis.rb", "examples/templates/template_ezamar.rb", "examples/templates/template_haml.rb", "examples/templates/template_liquid.rb", "examples/templates/template_markaby.rb", "examples/templates/template_nagoro.rb", "examples/templates/template_redcloth.rb", "examples/templates/template_remarkably.rb", "examples/templates/template_tenjin.rb", "examples/templates/template_xslt.rb", "examples/templates/view/external.haml", "examples/templates/view/external.liquid", "examples/templates/view/external.mab", "examples/templates/view/external.nag", "examples/templates/view/external.redcloth", "examples/templates/view/external.rem", "examples/templates/view/external.rhtml", "examples/templates/view/external.tenjin", "examples/templates/view/external.xsl", "examples/templates/view/external.zmr", "lib/proto/config.ru", "lib/proto/controller/init.rb", "lib/proto/controller/main.rb", "lib/proto/layout/default.nag", "lib/proto/model/init.rb", "lib/proto/public/.htaccess", "lib/proto/public/css/screen.css", "lib/proto/public/dispatch.fcgi", "lib/proto/public/favicon.ico", "lib/proto/public/js/jquery.js", "lib/proto/public/ramaze.png", "lib/proto/spec/main.rb", "lib/proto/start.rb", "lib/proto/view/index.nag", "lib/proto/view/page.nag", "lib/ramaze.rb", "lib/ramaze/app.rb", "lib/ramaze/cache.rb", "lib/ramaze/cache/memcache.rb", "lib/ramaze/cache/sequel.rb", "lib/ramaze/contrib/email.rb", "lib/ramaze/contrib/facebook.rb", "lib/ramaze/contrib/facebook/facebook.rb", "lib/ramaze/contrib/gettext.rb", "lib/ramaze/contrib/gettext/mo.rb", "lib/ramaze/contrib/gettext/parser.rb", "lib/ramaze/contrib/gettext/po.rb", "lib/ramaze/contrib/gzip_filter.rb", "lib/ramaze/contrib/maruku_uv.rb", "lib/ramaze/contrib/profiling.rb", "lib/ramaze/contrib/rest.rb", "lib/ramaze/contrib/sequel/create_join.rb", "lib/ramaze/contrib/sequel/fill.rb", "lib/ramaze/contrib/sequel/form_field.rb", "lib/ramaze/contrib/sequel/image.rb", "lib/ramaze/contrib/sequel/relation.rb", "lib/ramaze/controller.rb", "lib/ramaze/controller/default.rb", "lib/ramaze/current.rb", "lib/ramaze/files.rb", "lib/ramaze/gestalt.rb", "lib/ramaze/helper.rb", "lib/ramaze/helper/auth.rb", "lib/ramaze/helper/bench.rb", "lib/ramaze/helper/cache.rb", "lib/ramaze/helper/disqus.rb", "lib/ramaze/helper/flash.rb", "lib/ramaze/helper/form.rb", "lib/ramaze/helper/formatting.rb", "lib/ramaze/helper/gestalt.rb", "lib/ramaze/helper/gravatar.rb", "lib/ramaze/helper/httpdigest.rb", "lib/ramaze/helper/identity.rb", "lib/ramaze/helper/link.rb", "lib/ramaze/helper/localize.rb", "lib/ramaze/helper/markaby.rb", "lib/ramaze/helper/maruku.rb", "lib/ramaze/helper/nitroform.rb", "lib/ramaze/helper/pager.rb", "lib/ramaze/helper/paginate.rb", "lib/ramaze/helper/partial.rb", "lib/ramaze/helper/remarkably.rb", "lib/ramaze/helper/request_accessor.rb", "lib/ramaze/helper/sequel.rb", "lib/ramaze/helper/sequel_form.rb", "lib/ramaze/helper/simple_captcha.rb", "lib/ramaze/helper/stack.rb", "lib/ramaze/helper/tagz.rb", "lib/ramaze/helper/thread.rb", "lib/ramaze/helper/ultraviolet.rb", "lib/ramaze/helper/user.rb", "lib/ramaze/helper/xhtml.rb", "lib/ramaze/log.rb", "lib/ramaze/log/analogger.rb", "lib/ramaze/log/growl.rb", "lib/ramaze/log/hub.rb", "lib/ramaze/log/informer.rb", "lib/ramaze/log/knotify.rb", "lib/ramaze/log/logger.rb", "lib/ramaze/log/logging.rb", "lib/ramaze/log/rotatinginformer.rb", "lib/ramaze/log/syslog.rb", "lib/ramaze/log/xosd.rb", "lib/ramaze/middleware_compiler.rb", "lib/ramaze/plugin.rb", "lib/ramaze/reloader.rb", "lib/ramaze/reloader/watch_inotify.rb", "lib/ramaze/reloader/watch_stat.rb", "lib/ramaze/request.rb", "lib/ramaze/response.rb", "lib/ramaze/setup.rb", "lib/ramaze/snippets.rb", "lib/ramaze/snippets/array/put_within.rb", "lib/ramaze/snippets/binding/locals.rb", "lib/ramaze/snippets/blankslate.rb", "lib/ramaze/snippets/divide.rb", "lib/ramaze/snippets/fiber.rb", "lib/ramaze/snippets/kernel/constant.rb", "lib/ramaze/snippets/kernel/pretty_inspect.rb", "lib/ramaze/snippets/metaid.rb", "lib/ramaze/snippets/numeric/filesize_format.rb", "lib/ramaze/snippets/numeric/time.rb", "lib/ramaze/snippets/object/__dir__.rb", "lib/ramaze/snippets/object/acquire.rb", "lib/ramaze/snippets/object/instance_variable_defined.rb", "lib/ramaze/snippets/object/pretty.rb", "lib/ramaze/snippets/object/scope.rb", "lib/ramaze/snippets/ordered_set.rb", "lib/ramaze/snippets/proc/locals.rb", "lib/ramaze/snippets/ramaze/acquire.rb", "lib/ramaze/snippets/ramaze/deprecated.rb", "lib/ramaze/snippets/ramaze/dictionary.rb", "lib/ramaze/snippets/ramaze/fiber.rb", "lib/ramaze/snippets/ramaze/struct.rb", "lib/ramaze/snippets/string/camel_case.rb", "lib/ramaze/snippets/string/color.rb", "lib/ramaze/snippets/string/each.rb", "lib/ramaze/snippets/string/end_with.rb", "lib/ramaze/snippets/string/esc.rb", "lib/ramaze/snippets/string/ord.rb", "lib/ramaze/snippets/string/snake_case.rb", "lib/ramaze/snippets/string/start_with.rb", "lib/ramaze/snippets/string/unindent.rb", "lib/ramaze/snippets/thread/into.rb", "lib/ramaze/spec.rb", "lib/ramaze/spec/helper/bacon.rb", "lib/ramaze/spec/helper/pretty_output.rb", "lib/ramaze/spec/helper/snippets.rb", "lib/ramaze/spec/helper/template_examples.rb", "lib/ramaze/version.rb", "lib/ramaze/view.rb", "lib/ramaze/view/erubis.rb", "lib/ramaze/view/ezamar.rb", "lib/ramaze/view/haml.rb", "lib/ramaze/view/liquid.rb", "lib/ramaze/view/maruku.rb", "lib/ramaze/view/nagoro.rb", "lib/ramaze/view/nagoro/render_partial.rb", "lib/ramaze/view/redcloth.rb", "lib/ramaze/view/remarkably.rb", "lib/ramaze/view/sass.rb", "lib/ramaze/view/tagz.rb", "lib/ramaze/view/tenjin.rb", "lib/vendor/etag.rb", "lib/vendor/route_exceptions.rb", "ramaze.gemspec", "spec/contrib/rest.rb", "spec/contrib/sequel/fill.rb", "spec/examples/caching.rb", "spec/examples/css.rb", "spec/examples/element.rb", "spec/examples/hello.rb", "spec/examples/helpers/httpdigest.rb", "spec/examples/linking.rb", "spec/examples/simple.rb", "spec/examples/templates/template_erubis.rb", "spec/examples/templates/template_ezamar.rb", "spec/examples/templates/template_haml.rb", "spec/examples/templates/template_liquid.rb", "spec/examples/templates/template_markaby.rb", "spec/examples/templates/template_nagoro.rb", "spec/examples/templates/template_redcloth.rb", "spec/examples/templates/template_remarkably.rb", "spec/examples/templates/template_tenjin.rb", "spec/examples/templates/template_xslt.rb", "spec/helper.rb", "spec/ramaze/action/render.rb", "spec/ramaze/action/view/bar.xhtml", "spec/ramaze/action/view/instancevars/layout.xhtml", "spec/ramaze/action/view/other_wrapper.erb", "spec/ramaze/action/view/other_wrapper.xhtml", "spec/ramaze/action/view/single_wrapper.xhtml", "spec/ramaze/action/view/sub/sub_wrapper.erb", "spec/ramaze/action/view/sub/sub_wrapper.xhtml", "spec/ramaze/app.rb", "spec/ramaze/cache/memcache.rb", "spec/ramaze/cache/sequel.rb", "spec/ramaze/controller/actionless_templates.rb", "spec/ramaze/controller/mapping.rb", "spec/ramaze/controller/provide_inheritance.rb", "spec/ramaze/controller/resolve.rb", "spec/ramaze/controller/subclass.rb", "spec/ramaze/controller/template_resolving.rb", "spec/ramaze/controller/view/bar.xhtml", "spec/ramaze/controller/view/base/another.xhtml", "spec/ramaze/controller/view/greet.xhtml", "spec/ramaze/controller/view/list.xhtml", "spec/ramaze/controller/view/other/greet/other.xhtml", "spec/ramaze/controller/view/other_wrapper.xhtml", "spec/ramaze/dispatcher/directory.rb", "spec/ramaze/dispatcher/file.rb", "spec/ramaze/dispatcher/public/favicon.ico", "spec/ramaze/dispatcher/public/file name.txt", "spec/ramaze/dispatcher/public/test_download.css", "spec/ramaze/error.rb", "spec/ramaze/files.rb", "spec/ramaze/files/public_1/plain.txt", "spec/ramaze/files/public_2/rich.txt", "spec/ramaze/gestalt.rb", "spec/ramaze/helper/auth.rb", "spec/ramaze/helper/bench.rb", "spec/ramaze/helper/cache.rb", "spec/ramaze/helper/flash.rb", "spec/ramaze/helper/form.rb", "spec/ramaze/helper/formatting.rb", "spec/ramaze/helper/gestalt.rb", "spec/ramaze/helper/gravatar.rb", "spec/ramaze/helper/httpdigest.rb", "spec/ramaze/helper/link.rb", "spec/ramaze/helper/localize.rb", "spec/ramaze/helper/maruku.rb", "spec/ramaze/helper/pager.rb", "spec/ramaze/helper/paginate.rb", "spec/ramaze/helper/partial.rb", "spec/ramaze/helper/request_accessor.rb", "spec/ramaze/helper/sequel_form.rb", "spec/ramaze/helper/simple_captcha.rb", "spec/ramaze/helper/stack.rb", "spec/ramaze/helper/user.rb", "spec/ramaze/helper/view/locals.xhtml", "spec/ramaze/helper/view/loop.xhtml", "spec/ramaze/helper/view/num.xhtml", "spec/ramaze/helper/view/partial.xhtml", "spec/ramaze/helper/view/recursive.xhtml", "spec/ramaze/helper/view/recursive_local_ivars.xhtml", "spec/ramaze/helper/view/recursive_locals.xhtml", "spec/ramaze/helper/view/test_template.xhtml", "spec/ramaze/helper/xhtml.rb", "spec/ramaze/log/informer.rb", "spec/ramaze/log/logging.rb", "spec/ramaze/log/syslog.rb", "spec/ramaze/params.rb", "spec/ramaze/public/favicon.ico", "spec/ramaze/public/ramaze.png", "spec/ramaze/public/test_download.css", "spec/ramaze/request.rb", "spec/ramaze/rewrite/file.css", "spec/ramaze/struct.rb", "spec/ramaze/template/ramaze/external.test", "spec/ramaze/view.rb", "spec/ramaze/view/erubis.rb", "spec/ramaze/view/erubis/external.rhtml", "spec/ramaze/view/erubis/sum.rhtml", "spec/ramaze/view/ezamar.rb", "spec/ramaze/view/ezamar/external.zmr", "spec/ramaze/view/ezamar/sum.zmr", "spec/ramaze/view/haml.rb", "spec/ramaze/view/haml/external.haml", "spec/ramaze/view/haml/sum.haml", "spec/ramaze/view/liquid.rb", "spec/ramaze/view/liquid/external.liquid", "spec/ramaze/view/liquid/sum.liquid", "spec/ramaze/view/nagoro.rb", "spec/ramaze/view/nagoro/external.nag", "spec/ramaze/view/nagoro/sum.nag", "spec/ramaze/view/redcloth.rb", "spec/ramaze/view/redcloth/external.redcloth", "spec/ramaze/view/remarkably.rb", "spec/ramaze/view/remarkably/external.rem", "spec/ramaze/view/remarkably/sum.rem", "spec/ramaze/view/sass.rb", "spec/ramaze/view/sass/file.css.sass", "spec/ramaze/view/tagz.rb", "spec/ramaze/view/tagz/external.tagz", "spec/ramaze/view/tagz/sum.tagz", "spec/ramaze/view/tenjin.rb", "spec/ramaze/view/tenjin/external.rbhtml", "spec/ramaze/view/tenjin/sum.rbhtml", "spec/snippets/array/put_within.rb", "spec/snippets/binding/locals.rb", "spec/snippets/kernel/constant.rb", "spec/snippets/numeric/filesize_format.rb", "spec/snippets/numeric/time.rb", "spec/snippets/object/__dir__.rb", "spec/snippets/ordered_set.rb", "spec/snippets/ramaze/acquire.rb", "spec/snippets/ramaze/dictionary.rb", "spec/snippets/ramaze/struct.rb", "spec/snippets/string/camel_case.rb", "spec/snippets/string/color.rb", "spec/snippets/string/snake_case.rb", "spec/snippets/string/unindent.rb", "spec/snippets/thread/into.rb", "tasks/authors.rake", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/copyright.rake", "tasks/gem.rake", "tasks/gem_installer.rake", "tasks/git.rake", "tasks/grancher.rake", "tasks/install_dependencies.rake", "tasks/jquery.rake", "tasks/manifest.rake", "tasks/metric_changes.rake", "tasks/rcov.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/todo.rake", "tasks/traits.rake", "tasks/yard.rake"]
|
15
15
|
s.has_rdoc = true
|
16
16
|
s.homepage = %q{http://github.com/manveru/org}
|
17
17
|
s.post_install_message = %q{============================================================
|
18
18
|
|
19
19
|
Thank you for installing Ramaze!
|
20
20
|
You can now do create a new project:
|
21
|
-
# ramaze create yourproject
|
21
|
+
# ramaze --create yourproject
|
22
22
|
|
23
23
|
============================================================}
|
24
24
|
s.require_paths = ["lib"]
|
25
25
|
s.rubyforge_project = %q{ramaze}
|
26
|
-
s.rubygems_version = %q{1.3.
|
26
|
+
s.rubygems_version = %q{1.3.1}
|
27
27
|
s.summary = %q{Ramaze is a simple and modular web framework}
|
28
28
|
|
29
29
|
if s.respond_to? :specification_version then
|
30
30
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
31
|
-
s.specification_version =
|
31
|
+
s.specification_version = 2
|
32
32
|
|
33
33
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
34
|
-
s.add_runtime_dependency(%q<rack>, ["
|
35
|
-
s.add_runtime_dependency(%q<innate>, ["
|
34
|
+
s.add_runtime_dependency(%q<rack>, [">= 0.9.9"])
|
35
|
+
s.add_runtime_dependency(%q<manveru-innate>, [">= 2009.04"])
|
36
36
|
else
|
37
|
-
s.add_dependency(%q<rack>, ["
|
38
|
-
s.add_dependency(%q<innate>, ["
|
37
|
+
s.add_dependency(%q<rack>, [">= 0.9.9"])
|
38
|
+
s.add_dependency(%q<manveru-innate>, [">= 2009.04"])
|
39
39
|
end
|
40
40
|
else
|
41
|
-
s.add_dependency(%q<rack>, ["
|
42
|
-
s.add_dependency(%q<innate>, ["
|
41
|
+
s.add_dependency(%q<rack>, [">= 0.9.9"])
|
42
|
+
s.add_dependency(%q<manveru-innate>, [">= 2009.04"])
|
43
43
|
end
|
44
44
|
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'spec/helper'
|
2
|
+
|
3
|
+
spec_require 'sequel'
|
4
|
+
|
5
|
+
begin
|
6
|
+
DB = Sequel.sqlite
|
7
|
+
rescue NoMethodError
|
8
|
+
raise LoadError, 'Install latest Sequel gem'
|
9
|
+
end
|
10
|
+
|
11
|
+
require 'ramaze/contrib/sequel/fill'
|
12
|
+
|
13
|
+
class Person < Sequel::Model(:person)
|
14
|
+
set_schema do
|
15
|
+
primary_key :id
|
16
|
+
text :name
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
Person.create_table!
|
21
|
+
|
22
|
+
class MainController < Ramaze::Controller
|
23
|
+
def index
|
24
|
+
'Hello, World!'
|
25
|
+
end
|
26
|
+
|
27
|
+
def insert
|
28
|
+
person = Person.fill
|
29
|
+
person.save
|
30
|
+
end
|
31
|
+
|
32
|
+
def show id
|
33
|
+
Person[id.to_i].name
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe 'Route' do
|
38
|
+
behaves_like 'http'
|
39
|
+
ramaze
|
40
|
+
|
41
|
+
it 'should fill values from current request' do
|
42
|
+
insert = get('/insert', 'name' => 'manveru')
|
43
|
+
insert.status.should == 200
|
44
|
+
person = get('/show/1')
|
45
|
+
person.body.should == 'manveru'
|
46
|
+
end
|
47
|
+
end
|
@@ -1,64 +1,89 @@
|
|
1
1
|
require 'spec/helper'
|
2
2
|
require 'examples/helpers/httpdigest'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
class MockDigestRequest
|
5
|
+
def initialize(params)
|
6
|
+
@params = params
|
7
|
+
end
|
8
|
+
|
9
|
+
def method_missing(sym)
|
10
|
+
if @params.has_key? k = sym.to_s
|
11
|
+
return @params[k]
|
12
|
+
end
|
13
|
+
super
|
14
|
+
end
|
15
|
+
|
16
|
+
def method
|
17
|
+
@params['method']
|
18
|
+
end
|
19
|
+
|
20
|
+
def response(password)
|
21
|
+
Rack::Auth::Digest::MD5.new(nil).send(:digest, self, password)
|
22
|
+
end
|
23
|
+
end
|
12
24
|
|
13
25
|
describe Ramaze::Helper do
|
14
|
-
behaves_like :
|
26
|
+
behaves_like :session
|
27
|
+
|
28
|
+
def auth_for(got, uri, username, password)
|
29
|
+
challenge = got['WWW-Authenticate'].split(' ', 2).last
|
30
|
+
params = Rack::Auth::Digest::Params.parse(challenge)
|
31
|
+
params.merge!('cnonce' => 'nonsensenonce', 'method' => 'GET',
|
32
|
+
'nc' => '00000001', 'uri' => uri, 'username' => username)
|
33
|
+
params['response'] = MockDigestRequest.new(params).response(password)
|
34
|
+
|
35
|
+
"Digest #{params}"
|
36
|
+
end
|
15
37
|
|
16
38
|
it 'authorizes request for /eyes_only' do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
39
|
+
session do |mock|
|
40
|
+
got = mock.get('/eyes_only')
|
41
|
+
got.status.should == 401
|
42
|
+
got.body.should == 'Unauthorized'
|
21
43
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
44
|
+
auth = auth_for(got, '/eyes_only', 'foo', 'oof')
|
45
|
+
got = mock.get('/eyes_only', 'HTTP_AUTHORIZATION' => auth)
|
46
|
+
got.status.should == 200
|
47
|
+
got.body.should == "Shhhh don't tell anyone"
|
48
|
+
end
|
26
49
|
end
|
27
50
|
|
28
51
|
it 'authorizes request for /secret as admin' do
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
digest_authorize 'admin', 'secret'
|
35
|
-
get '/secret'
|
52
|
+
session do |mock|
|
53
|
+
got = mock.get('/secret')
|
54
|
+
got.status.should == 401
|
55
|
+
got.body.should == 'Unauthorized'
|
36
56
|
|
37
|
-
|
38
|
-
|
57
|
+
auth = auth_for(got, '/secret', 'admin', 'secret')
|
58
|
+
got = mock.get('/secret', 'HTTP_AUTHORIZATION' => auth)
|
59
|
+
got.status.should == 200
|
60
|
+
got.body.should == "Hello <em>admin</em>, welcome to SECRET world."
|
61
|
+
end
|
39
62
|
end
|
40
63
|
|
41
64
|
it 'authorizes request for /secret as root' do
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
65
|
+
session do |mock|
|
66
|
+
got = mock.get('/secret')
|
67
|
+
got.status.should == 401
|
68
|
+
got.body.should == 'Unauthorized'
|
46
69
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
70
|
+
auth = auth_for(got, '/secret', 'root', 'password')
|
71
|
+
got = mock.get('/secret', 'HTTP_AUTHORIZATION' => auth)
|
72
|
+
got.status.should == 200
|
73
|
+
got.body.should == "Hello <em>root</em>, welcome to SECRET world."
|
74
|
+
end
|
51
75
|
end
|
52
76
|
|
53
77
|
it 'authorizes request for /guest' do
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
78
|
+
session do |mock|
|
79
|
+
got = mock.get('/guest')
|
80
|
+
got.status.should == 401
|
81
|
+
got.body.should == 'Unauthorized'
|
58
82
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
83
|
+
auth = auth_for(got, '/guest', 'guest', 'access')
|
84
|
+
got = mock.get('/guest', 'HTTP_AUTHORIZATION' => auth)
|
85
|
+
got.status.should == 200
|
86
|
+
got.body.should == "Hello <em>guest</em>, welcome to GUEST world."
|
87
|
+
end
|
63
88
|
end
|
64
89
|
end
|
@@ -6,5 +6,5 @@ require 'ramaze/spec/helper/template_examples'
|
|
6
6
|
|
7
7
|
describe 'Template Markaby' do |describe|
|
8
8
|
#::Ramaze::Spec::Examples::Templates.tests( describe, 'Markaby' )
|
9
|
-
it
|
9
|
+
it "isn't yet implemented"
|
10
10
|
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'spec/helper'
|
2
|
+
require 'ramaze/spec/helper/template_examples'
|
3
|
+
|
4
|
+
#require 'examples/templates/template_xslt'
|
5
|
+
|
6
|
+
describe 'Template XSLT' do |describe|
|
7
|
+
#::Ramaze::Spec::Examples::Templates.tests( describe, 'XSLT' )
|
8
|
+
it "isn't yet implemented"
|
9
|
+
end
|
10
|
+
|
@@ -21,51 +21,49 @@ describe 'Serving static files' do
|
|
21
21
|
|
22
22
|
it 'serves from public root' do
|
23
23
|
css = File.read(__DIR__('public/test_download.css'))
|
24
|
-
get
|
25
|
-
|
26
|
-
|
24
|
+
got = get('/test_download.css')
|
25
|
+
got.body.should == css
|
26
|
+
got.status.should == 200
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'serves files with spaces' do
|
30
|
-
get
|
31
|
-
|
32
|
-
|
30
|
+
got = get('/file%20name.txt')
|
31
|
+
got.status.should == 200
|
32
|
+
got.body.should == 'hi'
|
33
33
|
end
|
34
34
|
|
35
35
|
it 'sends ETag for string bodies' do
|
36
|
-
get
|
37
|
-
|
36
|
+
got = get('/')
|
37
|
+
got['ETag'].size.should == 34
|
38
38
|
end
|
39
39
|
|
40
40
|
it 'sends Last-Modified for file bodies' do
|
41
|
-
get
|
41
|
+
got = get('/test_download.css')
|
42
42
|
|
43
43
|
mtime = File.mtime(__DIR__('public/test_download.css'))
|
44
44
|
|
45
|
-
|
45
|
+
got['Last-Modified'].should == mtime.httpdate
|
46
46
|
end
|
47
47
|
|
48
48
|
it 'respects ETag with HTTP_IF_NONE_MATCH' do
|
49
|
-
get
|
49
|
+
got = get('/')
|
50
50
|
|
51
|
-
etag =
|
51
|
+
etag = got['ETag']
|
52
52
|
etag.should.not.be.nil
|
53
53
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
last_response.body.should == ''
|
54
|
+
got = get('/', 'HTTP_IF_NONE_MATCH' => etag)
|
55
|
+
got.status.should == 304
|
56
|
+
got.body.should == ''
|
58
57
|
end
|
59
58
|
|
60
59
|
it 'respects Last-Modified with HTTP_IF_MODIFIED_SINCE' do
|
61
|
-
get
|
60
|
+
got = get('/test_download.css')
|
62
61
|
|
63
|
-
mtime =
|
62
|
+
mtime = got['Last-Modified']
|
64
63
|
mtime.should.not.be.nil
|
65
64
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
last_response.body.should == ''
|
65
|
+
got = get('/test_download.css', 'HTTP_IF_MODIFIED_SINCE' => mtime)
|
66
|
+
got.status.should == 304
|
67
|
+
got.body.should == ''
|
70
68
|
end
|
71
69
|
end
|
data/spec/ramaze/error.rb
CHANGED
data/spec/ramaze/helper/auth.rb
CHANGED
@@ -49,35 +49,46 @@ class SpecHelperAuthLambda < SpecHelperAuth
|
|
49
49
|
end
|
50
50
|
|
51
51
|
describe Ramaze::Helper::Auth do
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
end
|
52
|
+
behaves_like :session, :multipart
|
53
|
+
|
54
|
+
def procedure(prefix)
|
55
|
+
session do |mock|
|
56
|
+
got = mock.get("#{prefix}/secured")
|
57
|
+
got.status.should == 302
|
58
|
+
got['Location'].should =~ (/#{prefix}\/login$/)
|
59
|
+
|
60
|
+
got = mock.get("#{prefix}/login")
|
61
|
+
got.status.should == 200
|
62
|
+
got.body.should =~ (/<form/)
|
63
|
+
|
64
|
+
env = multipart('username' => 'manveru', 'password' => 'pass')
|
65
|
+
got = mock.post("#{prefix}/login", env)
|
66
|
+
got.status.should == 302
|
67
|
+
got['Location'].should =~ (/#{prefix}\/secured/)
|
68
|
+
|
69
|
+
got = mock.get("#{prefix}/secured")
|
70
|
+
got.status.should == 200
|
71
|
+
got.body.should == 'Secret content'
|
72
|
+
|
73
|
+
got = mock.get("#{prefix}/logout")
|
74
|
+
got.status.should == 302
|
75
|
+
got['Location'].should =~ (/\/$/)
|
76
|
+
|
77
|
+
got = mock.get("#{prefix}/secured")
|
78
|
+
got.status.should == 302
|
79
|
+
got['Location'].should =~ (/#{prefix}\/login$/)
|
81
80
|
end
|
82
81
|
end
|
82
|
+
|
83
|
+
it 'authenticates by looking into a hash' do
|
84
|
+
procedure('/hash')
|
85
|
+
end
|
86
|
+
|
87
|
+
it 'authenticates by looking into a lambda' do
|
88
|
+
procedure('/lambda')
|
89
|
+
end
|
90
|
+
|
91
|
+
it 'authenticates by looking into a method' do
|
92
|
+
procedure('/method')
|
93
|
+
end
|
83
94
|
end
|
data/spec/ramaze/helper/cache.rb
CHANGED
@@ -6,10 +6,7 @@ require 'spec/helper'
|
|
6
6
|
class SpecHelperCache < Ramaze::Controller
|
7
7
|
map '/'
|
8
8
|
helper :cache
|
9
|
-
|
10
|
-
cache_action(:method => :cached_action)
|
11
|
-
cache_action(:method => :with_params)
|
12
|
-
cache_action(:method => :with_type)
|
9
|
+
cache_action :method => :cached_action
|
13
10
|
|
14
11
|
def cached_value
|
15
12
|
cache_value[:time] ||= random
|
@@ -19,15 +16,6 @@ class SpecHelperCache < Ramaze::Controller
|
|
19
16
|
random.to_s
|
20
17
|
end
|
21
18
|
|
22
|
-
def with_params(foo, bar)
|
23
|
-
"foo: #{foo}, bar: #{bar}, random: #{random}"
|
24
|
-
end
|
25
|
-
|
26
|
-
def with_type
|
27
|
-
response['Content-Type'] = 'text/plain'
|
28
|
-
random.to_s
|
29
|
-
end
|
30
|
-
|
31
19
|
private
|
32
20
|
|
33
21
|
def random
|
@@ -48,9 +36,9 @@ end
|
|
48
36
|
class SpecHelperCacheKey < Ramaze::Controller
|
49
37
|
map '/key'
|
50
38
|
helper :cache
|
51
|
-
cache_action(:method => :
|
39
|
+
cache_action(:method => :name){ request[:name] }
|
52
40
|
|
53
|
-
def
|
41
|
+
def name
|
54
42
|
"hi #{request['name']} #{rand}"
|
55
43
|
end
|
56
44
|
end
|
@@ -86,22 +74,6 @@ describe Ramaze::Helper::Cache do
|
|
86
74
|
got.body.should == cached_body
|
87
75
|
end
|
88
76
|
|
89
|
-
it 'caches actions with params' do
|
90
|
-
2.times do
|
91
|
-
lambda{ get('/with_params/foo/bar').body }.should.not.change{ get('/with_params/foo/bar').body }
|
92
|
-
end
|
93
|
-
|
94
|
-
get('/with_params/foo/bar').body.should.not == get('/with_params/baz/quux').body
|
95
|
-
end
|
96
|
-
|
97
|
-
it 'preserves the Content-Type' do
|
98
|
-
2.times do
|
99
|
-
lambda{ get('/with_type').body }.should.not.change{ get('/with_type').body }
|
100
|
-
end
|
101
|
-
|
102
|
-
get('/with_type')['Content-Type'].should == 'text/plain'
|
103
|
-
end
|
104
|
-
|
105
77
|
it 'caches actions with ttl' do
|
106
78
|
2.times do
|
107
79
|
lambda{ get('/ttl').body }.should.not.change{ get('/ttl').body }
|
@@ -109,16 +81,4 @@ describe Ramaze::Helper::Cache do
|
|
109
81
|
|
110
82
|
lambda{ sleep 1; get('/ttl').body }.should.change{ get('/ttl').body }
|
111
83
|
end
|
112
|
-
|
113
|
-
it 'caches actions with block keys' do
|
114
|
-
2.times do
|
115
|
-
lambda{ get('/key?name=foo').body }.should.not.change{ get('/key?name=foo').body }
|
116
|
-
end
|
117
|
-
|
118
|
-
get('/key?name=foo').body.should.not == get('/key?name=bar').body
|
119
|
-
end
|
120
|
-
|
121
|
-
it 'caches actions on a per-controller basis' do
|
122
|
-
get('/ttl').body.should.not == get('/key').body
|
123
|
-
end
|
124
84
|
end
|