ramaze 2009.10 → 2010.01
Sign up to get free protection for your applications and to get access to all the features.
- data/.mailmap +9 -7
- data/MANIFEST +13 -0
- data/Rakefile +35 -26
- data/benchmark/bench_templates/bench.rb +1 -1
- data/benchmark/bench_templates/view/large.lok +79 -0
- data/benchmark/bench_templates/view/small.lok +21 -0
- data/doc/AUTHORS +11 -9
- data/doc/CHANGELOG +138 -0
- data/examples/templates/template_markaby.rb +3 -3
- data/examples/templates/template_mustache.rb +70 -0
- data/examples/templates/view/external.mab +4 -4
- data/examples/templates/view/external.mt +29 -0
- data/lib/proto/start.rb +1 -1
- data/lib/ramaze/contrib/rest.rb +1 -0
- data/lib/ramaze/helper/form.rb +7 -1
- data/lib/ramaze/helper/httpdigest.rb +15 -16
- data/lib/ramaze/helper/xhtml.rb +5 -1
- data/lib/ramaze/snippets.rb +30 -7
- data/lib/ramaze/tool/project_creator.rb +20 -11
- data/lib/ramaze/version.rb +1 -1
- data/lib/ramaze/view.rb +3 -1
- data/lib/ramaze/view/haml.rb +6 -3
- data/lib/ramaze/view/lokar.rb +14 -0
- data/lib/ramaze/view/mustache.rb +40 -0
- data/lib/ramaze/view/slippers.rb +4 -2
- data/ramaze.gemspec +108 -81
- data/spec/examples/templates/template_mustache.rb +13 -0
- data/spec/ramaze/helper/form.rb +38 -37
- data/spec/ramaze/helper/httpdigest.rb +56 -29
- data/spec/ramaze/helper/xhtml.rb +2 -0
- data/spec/ramaze/view/lokar.rb +73 -0
- data/spec/ramaze/view/lokar/external.lok +8 -0
- data/spec/ramaze/view/lokar/sum.lok +1 -0
- data/spec/ramaze/view/mustache.rb +77 -0
- data/spec/ramaze/view/mustache/external.mt +8 -0
- data/spec/ramaze/view/mustache/sum.mt +1 -0
- data/tasks/authors.rake +0 -13
- metadata +144 -41
data/ramaze.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{ramaze}
|
5
|
-
s.version = "
|
5
|
+
s.version = "2010.01"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.1") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Michael 'manveru' Fellinger"]
|
9
|
-
s.date = %q{
|
9
|
+
s.date = %q{2010-01-07}
|
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 = [".gitignore", ".mailmap", "MANIFEST", "README.md", "Rakefile", "benchmark/bench_templates/bench.rb", "benchmark/bench_templates/view/large.erb", "benchmark/bench_templates/view/large.haml", "benchmark/bench_templates/view/large.xhtml", "benchmark/bench_templates/view/small.erb", "benchmark/bench_templates/view/small.haml", "benchmark/bench_templates/view/small.xhtml", "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_erubis.rb", "benchmark/suite/template_etanni.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.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.xhtml", "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.xhtml", "examples/app/chat/view/index.xhtml", "examples/app/localization/locale/de.yaml", "examples/app/localization/locale/en.yaml", "examples/app/localization/locale/ja.yaml", "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/lru.rb", "lib/ramaze/cache/memcache.rb", "lib/ramaze/cache/sequel.rb", "lib/ramaze/contrib/addressable_route.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/blue_form.rb", "lib/ramaze/helper/cache.rb", "lib/ramaze/helper/disqus.rb", "lib/ramaze/helper/erector.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/layout.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/fiber.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/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/lru_hash.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/bacon.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/bin.rb", "lib/ramaze/tool/create.rb", "lib/ramaze/tool/project_creator.rb", "lib/ramaze/version.rb", "lib/ramaze/view.rb", "lib/ramaze/view/erector.rb", "lib/ramaze/view/erubis.rb", "lib/ramaze/view/ezamar.rb", "lib/ramaze/view/gestalt.rb", "lib/ramaze/view/haml.rb", "lib/ramaze/view/less.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/slippers.rb", "lib/ramaze/view/tagz.rb", "lib/ramaze/view/tenjin.rb", "lib/vendor/etag.rb", "lib/vendor/route_exceptions.rb", "ramaze.gemspec", "spec/contrib/addressable_route.rb", "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/app/location.rb", "spec/ramaze/bin/ramaze.rb", "spec/ramaze/cache/localmemcache.rb", "spec/ramaze/cache/lru.rb", "spec/ramaze/cache/memcache.rb", "spec/ramaze/cache/sequel.rb", "spec/ramaze/controller/actionless_templates.rb", "spec/ramaze/controller/lonely_mapping.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/blue_form.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/layout.rb", "spec/ramaze/helper/layout/default.xhtml", "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/session/memcache.rb", "spec/ramaze/struct.rb", "spec/ramaze/template/ramaze/external.test", "spec/ramaze/view.rb", "spec/ramaze/view/erector.rb", "spec/ramaze/view/erector/external.erector", "spec/ramaze/view/erector/invoke_helper_method.erector", "spec/ramaze/view/erector/layout.erector", "spec/ramaze/view/erector/strict_xhtml.erector", "spec/ramaze/view/erector/sum.erector", "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/gestalt.rb", "spec/ramaze/view/gestalt/external.ges", "spec/ramaze/view/haml.rb", "spec/ramaze/view/haml/external.haml", "spec/ramaze/view/haml/sum.haml", "spec/ramaze/view/less.rb", "spec/ramaze/view/less/file.css.less", "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/slippers.rb", "spec/ramaze/view/slippers/external.st", "spec/ramaze/view/slippers/sum.st", "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/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/lru_hash.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_setup.rake", "tasks/git.rake", "tasks/grancher.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 = [".gitignore", ".mailmap", "MANIFEST", "README.md", "Rakefile", "benchmark/bench_templates/bench.rb", "benchmark/bench_templates/view/large.erb", "benchmark/bench_templates/view/large.haml", "benchmark/bench_templates/view/large.lok", "benchmark/bench_templates/view/large.xhtml", "benchmark/bench_templates/view/small.erb", "benchmark/bench_templates/view/small.haml", "benchmark/bench_templates/view/small.lok", "benchmark/bench_templates/view/small.xhtml", "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_erubis.rb", "benchmark/suite/template_etanni.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.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.xhtml", "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.xhtml", "examples/app/chat/view/index.xhtml", "examples/app/localization/locale/de.yaml", "examples/app/localization/locale/en.yaml", "examples/app/localization/locale/ja.yaml", "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_mustache.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.mt", "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/lru.rb", "lib/ramaze/cache/memcache.rb", "lib/ramaze/cache/sequel.rb", "lib/ramaze/contrib/addressable_route.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/blue_form.rb", "lib/ramaze/helper/cache.rb", "lib/ramaze/helper/disqus.rb", "lib/ramaze/helper/erector.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/layout.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/fiber.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/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/lru_hash.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/bacon.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/bin.rb", "lib/ramaze/tool/create.rb", "lib/ramaze/tool/project_creator.rb", "lib/ramaze/version.rb", "lib/ramaze/view.rb", "lib/ramaze/view/erector.rb", "lib/ramaze/view/erubis.rb", "lib/ramaze/view/ezamar.rb", "lib/ramaze/view/gestalt.rb", "lib/ramaze/view/haml.rb", "lib/ramaze/view/less.rb", "lib/ramaze/view/liquid.rb", "lib/ramaze/view/lokar.rb", "lib/ramaze/view/maruku.rb", "lib/ramaze/view/mustache.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/slippers.rb", "lib/ramaze/view/tagz.rb", "lib/ramaze/view/tenjin.rb", "lib/vendor/etag.rb", "lib/vendor/route_exceptions.rb", "ramaze.gemspec", "spec/contrib/addressable_route.rb", "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_mustache.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/app/location.rb", "spec/ramaze/bin/ramaze.rb", "spec/ramaze/cache/localmemcache.rb", "spec/ramaze/cache/lru.rb", "spec/ramaze/cache/memcache.rb", "spec/ramaze/cache/sequel.rb", "spec/ramaze/controller/actionless_templates.rb", "spec/ramaze/controller/lonely_mapping.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/blue_form.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/layout.rb", "spec/ramaze/helper/layout/default.xhtml", "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/session/memcache.rb", "spec/ramaze/struct.rb", "spec/ramaze/template/ramaze/external.test", "spec/ramaze/view.rb", "spec/ramaze/view/erector.rb", "spec/ramaze/view/erector/external.erector", "spec/ramaze/view/erector/invoke_helper_method.erector", "spec/ramaze/view/erector/layout.erector", "spec/ramaze/view/erector/strict_xhtml.erector", "spec/ramaze/view/erector/sum.erector", "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/gestalt.rb", "spec/ramaze/view/gestalt/external.ges", "spec/ramaze/view/haml.rb", "spec/ramaze/view/haml/external.haml", "spec/ramaze/view/haml/sum.haml", "spec/ramaze/view/less.rb", "spec/ramaze/view/less/file.css.less", "spec/ramaze/view/liquid.rb", "spec/ramaze/view/liquid/external.liquid", "spec/ramaze/view/liquid/sum.liquid", "spec/ramaze/view/lokar.rb", "spec/ramaze/view/lokar/external.lok", "spec/ramaze/view/lokar/sum.lok", "spec/ramaze/view/mustache.rb", "spec/ramaze/view/mustache/external.mt", "spec/ramaze/view/mustache/sum.mt", "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/slippers.rb", "spec/ramaze/view/slippers/external.st", "spec/ramaze/view/slippers/sum.st", "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/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/lru_hash.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_setup.rake", "tasks/git.rake", "tasks/grancher.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"]
|
15
15
|
s.homepage = %q{http://ramaze.net}
|
16
16
|
s.post_install_message = %q{============================================================
|
17
17
|
|
@@ -30,86 +30,113 @@ You can now do create a new project:
|
|
30
30
|
s.specification_version = 3
|
31
31
|
|
32
32
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
33
|
-
s.add_runtime_dependency(%q<innate>, ["=
|
34
|
-
s.add_development_dependency(%q<RedCloth>, ["
|
35
|
-
s.add_development_dependency(%q<Remarkably>, ["
|
36
|
-
s.add_development_dependency(%q<
|
37
|
-
s.add_development_dependency(%q<
|
38
|
-
s.add_development_dependency(%q<
|
39
|
-
s.add_development_dependency(%q<
|
40
|
-
s.add_development_dependency(%q<
|
41
|
-
s.add_development_dependency(%q<
|
42
|
-
s.add_development_dependency(%q<
|
43
|
-
s.add_development_dependency(%q<
|
44
|
-
s.add_development_dependency(%q<
|
45
|
-
s.add_development_dependency(%q<
|
46
|
-
s.add_development_dependency(%q<
|
47
|
-
s.add_development_dependency(%q<
|
48
|
-
s.add_development_dependency(%q<
|
49
|
-
s.add_development_dependency(%q<
|
50
|
-
s.add_development_dependency(%q<
|
51
|
-
s.add_development_dependency(%q<
|
52
|
-
s.add_development_dependency(%q<
|
53
|
-
s.add_development_dependency(%q<
|
54
|
-
s.add_development_dependency(%q<
|
55
|
-
s.add_development_dependency(%q<
|
56
|
-
s.add_development_dependency(%q<
|
57
|
-
s.add_development_dependency(%q<
|
58
|
-
s.add_development_dependency(%q<
|
33
|
+
s.add_runtime_dependency(%q<innate>, ["= 2010.01"])
|
34
|
+
s.add_development_dependency(%q<RedCloth>, ["= 4.2.2"])
|
35
|
+
s.add_development_dependency(%q<Remarkably>, ["= 0.5.2"])
|
36
|
+
s.add_development_dependency(%q<abstract>, ["= 1.0.0"])
|
37
|
+
s.add_development_dependency(%q<activesupport>, ["= 2.3.5"])
|
38
|
+
s.add_development_dependency(%q<addressable>, ["= 2.1.1"])
|
39
|
+
s.add_development_dependency(%q<bacon>, ["= 1.1.0"])
|
40
|
+
s.add_development_dependency(%q<builder>, ["= 2.1.2"])
|
41
|
+
s.add_development_dependency(%q<erector>, ["= 0.7.2"])
|
42
|
+
s.add_development_dependency(%q<erubis>, ["= 2.6.5"])
|
43
|
+
s.add_development_dependency(%q<ezamar>, ["= 2009.06"])
|
44
|
+
s.add_development_dependency(%q<gemcutter>, ["= 0.3.0"])
|
45
|
+
s.add_development_dependency(%q<haml>, ["= 2.2.16"])
|
46
|
+
s.add_development_dependency(%q<hpricot>, ["= 0.8.2"])
|
47
|
+
s.add_development_dependency(%q<json>, ["= 1.2.0"])
|
48
|
+
s.add_development_dependency(%q<less>, ["= 1.1.13"])
|
49
|
+
s.add_development_dependency(%q<liquid>, ["= 2.0.0"])
|
50
|
+
s.add_development_dependency(%q<locale>, ["= 2.0.5"])
|
51
|
+
s.add_development_dependency(%q<localmemcache>, ["= 0.4.4"])
|
52
|
+
s.add_development_dependency(%q<lokar>, ["= 0.1.0"])
|
53
|
+
s.add_development_dependency(%q<maruku>, ["= 0.6.0"])
|
54
|
+
s.add_development_dependency(%q<memcache-client>, ["= 1.7.7"])
|
55
|
+
s.add_development_dependency(%q<mustache>, ["= 0.5.1"])
|
56
|
+
s.add_development_dependency(%q<mutter>, ["= 0.5.2"])
|
57
|
+
s.add_development_dependency(%q<nagoro>, ["= 2009.05"])
|
58
|
+
s.add_development_dependency(%q<polyglot>, ["= 0.2.9"])
|
59
|
+
s.add_development_dependency(%q<rack>, ["= 1.1.0"])
|
60
|
+
s.add_development_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
61
|
+
s.add_development_dependency(%q<rack-test>, ["= 0.5.3"])
|
62
|
+
s.add_development_dependency(%q<sequel>, ["= 3.8.0"])
|
63
|
+
s.add_development_dependency(%q<slippers>, ["= 0.0.13"])
|
64
|
+
s.add_development_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
65
|
+
s.add_development_dependency(%q<tagz>, ["= 7.2.3"])
|
66
|
+
s.add_development_dependency(%q<tenjin>, ["= 0.6.1"])
|
67
|
+
s.add_development_dependency(%q<treetop>, ["= 1.4.3"])
|
59
68
|
else
|
60
|
-
s.add_dependency(%q<innate>, ["=
|
61
|
-
s.add_dependency(%q<RedCloth>, ["
|
62
|
-
s.add_dependency(%q<Remarkably>, ["
|
63
|
-
s.add_dependency(%q<
|
64
|
-
s.add_dependency(%q<
|
65
|
-
s.add_dependency(%q<
|
66
|
-
s.add_dependency(%q<
|
67
|
-
s.add_dependency(%q<
|
68
|
-
s.add_dependency(%q<
|
69
|
-
s.add_dependency(%q<
|
70
|
-
s.add_dependency(%q<
|
71
|
-
s.add_dependency(%q<
|
72
|
-
s.add_dependency(%q<
|
73
|
-
s.add_dependency(%q<
|
74
|
-
s.add_dependency(%q<
|
75
|
-
s.add_dependency(%q<
|
76
|
-
s.add_dependency(%q<
|
77
|
-
s.add_dependency(%q<
|
78
|
-
s.add_dependency(%q<
|
79
|
-
s.add_dependency(%q<
|
80
|
-
s.add_dependency(%q<
|
81
|
-
s.add_dependency(%q<
|
82
|
-
s.add_dependency(%q<
|
83
|
-
s.add_dependency(%q<
|
84
|
-
s.add_dependency(%q<
|
85
|
-
s.add_dependency(%q<
|
69
|
+
s.add_dependency(%q<innate>, ["= 2010.01"])
|
70
|
+
s.add_dependency(%q<RedCloth>, ["= 4.2.2"])
|
71
|
+
s.add_dependency(%q<Remarkably>, ["= 0.5.2"])
|
72
|
+
s.add_dependency(%q<abstract>, ["= 1.0.0"])
|
73
|
+
s.add_dependency(%q<activesupport>, ["= 2.3.5"])
|
74
|
+
s.add_dependency(%q<addressable>, ["= 2.1.1"])
|
75
|
+
s.add_dependency(%q<bacon>, ["= 1.1.0"])
|
76
|
+
s.add_dependency(%q<builder>, ["= 2.1.2"])
|
77
|
+
s.add_dependency(%q<erector>, ["= 0.7.2"])
|
78
|
+
s.add_dependency(%q<erubis>, ["= 2.6.5"])
|
79
|
+
s.add_dependency(%q<ezamar>, ["= 2009.06"])
|
80
|
+
s.add_dependency(%q<gemcutter>, ["= 0.3.0"])
|
81
|
+
s.add_dependency(%q<haml>, ["= 2.2.16"])
|
82
|
+
s.add_dependency(%q<hpricot>, ["= 0.8.2"])
|
83
|
+
s.add_dependency(%q<json>, ["= 1.2.0"])
|
84
|
+
s.add_dependency(%q<less>, ["= 1.1.13"])
|
85
|
+
s.add_dependency(%q<liquid>, ["= 2.0.0"])
|
86
|
+
s.add_dependency(%q<locale>, ["= 2.0.5"])
|
87
|
+
s.add_dependency(%q<localmemcache>, ["= 0.4.4"])
|
88
|
+
s.add_dependency(%q<lokar>, ["= 0.1.0"])
|
89
|
+
s.add_dependency(%q<maruku>, ["= 0.6.0"])
|
90
|
+
s.add_dependency(%q<memcache-client>, ["= 1.7.7"])
|
91
|
+
s.add_dependency(%q<mustache>, ["= 0.5.1"])
|
92
|
+
s.add_dependency(%q<mutter>, ["= 0.5.2"])
|
93
|
+
s.add_dependency(%q<nagoro>, ["= 2009.05"])
|
94
|
+
s.add_dependency(%q<polyglot>, ["= 0.2.9"])
|
95
|
+
s.add_dependency(%q<rack>, ["= 1.1.0"])
|
96
|
+
s.add_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
97
|
+
s.add_dependency(%q<rack-test>, ["= 0.5.3"])
|
98
|
+
s.add_dependency(%q<sequel>, ["= 3.8.0"])
|
99
|
+
s.add_dependency(%q<slippers>, ["= 0.0.13"])
|
100
|
+
s.add_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
101
|
+
s.add_dependency(%q<tagz>, ["= 7.2.3"])
|
102
|
+
s.add_dependency(%q<tenjin>, ["= 0.6.1"])
|
103
|
+
s.add_dependency(%q<treetop>, ["= 1.4.3"])
|
86
104
|
end
|
87
105
|
else
|
88
|
-
s.add_dependency(%q<innate>, ["=
|
89
|
-
s.add_dependency(%q<RedCloth>, ["
|
90
|
-
s.add_dependency(%q<Remarkably>, ["
|
91
|
-
s.add_dependency(%q<
|
92
|
-
s.add_dependency(%q<
|
93
|
-
s.add_dependency(%q<
|
94
|
-
s.add_dependency(%q<
|
95
|
-
s.add_dependency(%q<
|
96
|
-
s.add_dependency(%q<
|
97
|
-
s.add_dependency(%q<
|
98
|
-
s.add_dependency(%q<
|
99
|
-
s.add_dependency(%q<
|
100
|
-
s.add_dependency(%q<
|
101
|
-
s.add_dependency(%q<
|
102
|
-
s.add_dependency(%q<
|
103
|
-
s.add_dependency(%q<
|
104
|
-
s.add_dependency(%q<
|
105
|
-
s.add_dependency(%q<
|
106
|
-
s.add_dependency(%q<
|
107
|
-
s.add_dependency(%q<
|
108
|
-
s.add_dependency(%q<
|
109
|
-
s.add_dependency(%q<
|
110
|
-
s.add_dependency(%q<
|
111
|
-
s.add_dependency(%q<
|
112
|
-
s.add_dependency(%q<
|
113
|
-
s.add_dependency(%q<
|
106
|
+
s.add_dependency(%q<innate>, ["= 2010.01"])
|
107
|
+
s.add_dependency(%q<RedCloth>, ["= 4.2.2"])
|
108
|
+
s.add_dependency(%q<Remarkably>, ["= 0.5.2"])
|
109
|
+
s.add_dependency(%q<abstract>, ["= 1.0.0"])
|
110
|
+
s.add_dependency(%q<activesupport>, ["= 2.3.5"])
|
111
|
+
s.add_dependency(%q<addressable>, ["= 2.1.1"])
|
112
|
+
s.add_dependency(%q<bacon>, ["= 1.1.0"])
|
113
|
+
s.add_dependency(%q<builder>, ["= 2.1.2"])
|
114
|
+
s.add_dependency(%q<erector>, ["= 0.7.2"])
|
115
|
+
s.add_dependency(%q<erubis>, ["= 2.6.5"])
|
116
|
+
s.add_dependency(%q<ezamar>, ["= 2009.06"])
|
117
|
+
s.add_dependency(%q<gemcutter>, ["= 0.3.0"])
|
118
|
+
s.add_dependency(%q<haml>, ["= 2.2.16"])
|
119
|
+
s.add_dependency(%q<hpricot>, ["= 0.8.2"])
|
120
|
+
s.add_dependency(%q<json>, ["= 1.2.0"])
|
121
|
+
s.add_dependency(%q<less>, ["= 1.1.13"])
|
122
|
+
s.add_dependency(%q<liquid>, ["= 2.0.0"])
|
123
|
+
s.add_dependency(%q<locale>, ["= 2.0.5"])
|
124
|
+
s.add_dependency(%q<localmemcache>, ["= 0.4.4"])
|
125
|
+
s.add_dependency(%q<lokar>, ["= 0.1.0"])
|
126
|
+
s.add_dependency(%q<maruku>, ["= 0.6.0"])
|
127
|
+
s.add_dependency(%q<memcache-client>, ["= 1.7.7"])
|
128
|
+
s.add_dependency(%q<mustache>, ["= 0.5.1"])
|
129
|
+
s.add_dependency(%q<mutter>, ["= 0.5.2"])
|
130
|
+
s.add_dependency(%q<nagoro>, ["= 2009.05"])
|
131
|
+
s.add_dependency(%q<polyglot>, ["= 0.2.9"])
|
132
|
+
s.add_dependency(%q<rack>, ["= 1.1.0"])
|
133
|
+
s.add_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
134
|
+
s.add_dependency(%q<rack-test>, ["= 0.5.3"])
|
135
|
+
s.add_dependency(%q<sequel>, ["= 3.8.0"])
|
136
|
+
s.add_dependency(%q<slippers>, ["= 0.0.13"])
|
137
|
+
s.add_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
138
|
+
s.add_dependency(%q<tagz>, ["= 7.2.3"])
|
139
|
+
s.add_dependency(%q<tenjin>, ["= 0.6.1"])
|
140
|
+
s.add_dependency(%q<treetop>, ["= 1.4.3"])
|
114
141
|
end
|
115
142
|
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
2
|
+
# All files in this distribution are subject to the terms of the Ruby license.
|
3
|
+
|
4
|
+
require File.expand_path('../../../../spec/helper', __FILE__)
|
5
|
+
require 'ramaze/spec/helper/template_examples'
|
6
|
+
|
7
|
+
spec_require 'mustache'
|
8
|
+
require File.expand_path('../../../../examples/templates/template_mustache', __FILE__)
|
9
|
+
|
10
|
+
describe 'Template Mustache' do
|
11
|
+
behaves_like :template_spec
|
12
|
+
spec_template 'Mustache'
|
13
|
+
end
|
data/spec/ramaze/helper/form.rb
CHANGED
@@ -68,15 +68,16 @@ describe Ramaze::Helper::Form do
|
|
68
68
|
doc = Hpricot(got.body)
|
69
69
|
label, input = doc.at(:label), doc.at(:input)
|
70
70
|
|
71
|
-
label.attributes.should == {'for' => 'form-username'}
|
71
|
+
label.attributes.to_hash.should == {'for' => 'form-username'}
|
72
72
|
label.inner_text.should == 'Username:'
|
73
73
|
|
74
|
-
input.attributes.should == {
|
74
|
+
input.attributes.to_hash.should == {
|
75
75
|
'id' => 'form-username',
|
76
76
|
'type' => 'text',
|
77
77
|
'name' => 'username',
|
78
78
|
'value' => '',
|
79
|
-
'tabindex' => '1'
|
79
|
+
'tabindex' => '1'
|
80
|
+
}
|
80
81
|
end
|
81
82
|
|
82
83
|
it 'provides filled text input' do
|
@@ -85,10 +86,10 @@ describe Ramaze::Helper::Form do
|
|
85
86
|
doc = Hpricot(got.body)
|
86
87
|
label, input = doc.at(:label), doc.at(:input)
|
87
88
|
|
88
|
-
label.attributes.should == {'for' => 'form-username'}
|
89
|
+
label.attributes.to_hash.should == {'for' => 'form-username'}
|
89
90
|
label.inner_text.should == 'Username:'
|
90
91
|
|
91
|
-
input.attributes.should == {
|
92
|
+
input.attributes.to_hash.should == {
|
92
93
|
'id' => 'form-username',
|
93
94
|
'type' => 'text',
|
94
95
|
'name' => 'username',
|
@@ -102,10 +103,10 @@ describe Ramaze::Helper::Form do
|
|
102
103
|
doc = Hpricot(got.body)
|
103
104
|
label, input = doc.at(:label), doc.at(:input)
|
104
105
|
|
105
|
-
label.attributes.should == {'for' => 'form-admin'}
|
106
|
+
label.attributes.to_hash.should == {'for' => 'form-admin'}
|
106
107
|
label.inner_text.should == 'Administrator:'
|
107
108
|
|
108
|
-
input.attributes.should == {
|
109
|
+
input.attributes.to_hash.should == {
|
109
110
|
'id' => 'form-admin',
|
110
111
|
'type' => 'checkbox',
|
111
112
|
'name' => 'admin',
|
@@ -118,10 +119,10 @@ describe Ramaze::Helper::Form do
|
|
118
119
|
doc = Hpricot(got.body)
|
119
120
|
label, input = doc.at(:label), doc.at(:input)
|
120
121
|
|
121
|
-
label.attributes.should == {'for' => 'form-admin'}
|
122
|
+
label.attributes.to_hash.should == {'for' => 'form-admin'}
|
122
123
|
label.inner_text.should == 'Administrator:'
|
123
124
|
|
124
|
-
input.attributes.should == {
|
125
|
+
input.attributes.to_hash.should == {
|
125
126
|
'id' => 'form-admin',
|
126
127
|
'type' => 'checkbox',
|
127
128
|
'name' => 'admin',
|
@@ -135,10 +136,10 @@ describe Ramaze::Helper::Form do
|
|
135
136
|
doc = Hpricot(got.body)
|
136
137
|
label, input = doc.at(:label), doc.at(:input)
|
137
138
|
|
138
|
-
label.attributes.should == {'for' => 'form-password'}
|
139
|
+
label.attributes.to_hash.should == {'for' => 'form-password'}
|
139
140
|
label.inner_text.should == 'Password:'
|
140
141
|
|
141
|
-
input.attributes.should == {
|
142
|
+
input.attributes.to_hash.should == {
|
142
143
|
'id' => 'form-password',
|
143
144
|
'type' => 'password',
|
144
145
|
'name' => 'password',
|
@@ -151,11 +152,11 @@ describe Ramaze::Helper::Form do
|
|
151
152
|
doc = Hpricot(got.body)
|
152
153
|
label, textarea = doc.at(:label), doc.at(:textarea)
|
153
154
|
|
154
|
-
label.attributes.should == {'for' => 'form-text'}
|
155
|
+
label.attributes.to_hash.should == {'for' => 'form-text'}
|
155
156
|
label.inner_text.should == 'Text:'
|
156
157
|
|
157
158
|
textarea.inner_text.should == ''
|
158
|
-
textarea.attributes.should == {
|
159
|
+
textarea.attributes.to_hash.should == {
|
159
160
|
'id' => 'form-text',
|
160
161
|
'name' => 'text',
|
161
162
|
'tabindex' => '1'}
|
@@ -167,11 +168,11 @@ describe Ramaze::Helper::Form do
|
|
167
168
|
doc = Hpricot(got.body)
|
168
169
|
label, textarea = doc.at(:label), doc.at(:textarea)
|
169
170
|
|
170
|
-
label.attributes.should == {'for' => 'form-text'}
|
171
|
+
label.attributes.to_hash.should == {'for' => 'form-text'}
|
171
172
|
label.inner_text.should == 'Text:'
|
172
173
|
|
173
174
|
textarea.inner_text.should == 'foobar'
|
174
|
-
textarea.attributes.should == {
|
175
|
+
textarea.attributes.to_hash.should == {
|
175
176
|
'id' => 'form-text',
|
176
177
|
'name' => 'text',
|
177
178
|
'tabindex' => '1'}
|
@@ -183,11 +184,11 @@ describe Ramaze::Helper::Form do
|
|
183
184
|
doc = Hpricot(got.body)
|
184
185
|
label, input = doc.at(:label), doc.at(:input)
|
185
186
|
|
186
|
-
label.attributes.should == {'for' => 'form-file'}
|
187
|
+
label.attributes.to_hash.should == {'for' => 'form-file'}
|
187
188
|
label.inner_text.should == 'File:'
|
188
189
|
|
189
190
|
input.inner_text.should == ''
|
190
|
-
input.attributes.should == {
|
191
|
+
input.attributes.to_hash.should == {
|
191
192
|
'id' => 'form-file',
|
192
193
|
'name' => 'file',
|
193
194
|
'tabindex' => '1',
|
@@ -203,7 +204,7 @@ describe Ramaze::Helper::Form do
|
|
203
204
|
label.should.be.nil
|
204
205
|
|
205
206
|
input.inner_text.should == ''
|
206
|
-
input.attributes.should == {
|
207
|
+
input.attributes.to_hash.should == {
|
207
208
|
'name' => 'secret',
|
208
209
|
'type' => 'hidden',
|
209
210
|
'value' => ''}
|
@@ -218,7 +219,7 @@ describe Ramaze::Helper::Form do
|
|
218
219
|
label.should.be.nil
|
219
220
|
|
220
221
|
input.inner_text.should == ''
|
221
|
-
input.attributes.should == {
|
222
|
+
input.attributes.to_hash.should == {
|
222
223
|
'name' => 'secret',
|
223
224
|
'type' => 'hidden',
|
224
225
|
'value' => 'fish'}
|
@@ -230,17 +231,17 @@ describe Ramaze::Helper::Form do
|
|
230
231
|
|
231
232
|
label, select = doc.at(:label), doc.at(:select)
|
232
233
|
|
233
|
-
label.attributes.should == {'for' => 'form-languages'}
|
234
|
+
label.attributes.to_hash.should == {'for' => 'form-languages'}
|
234
235
|
label.inner_text.should == 'Languages:'
|
235
236
|
|
236
|
-
select.attributes.should == {
|
237
|
+
select.attributes.to_hash.should == {
|
237
238
|
'id' => 'form-languages',
|
238
239
|
'name' => 'languages',
|
239
240
|
'size' => '1',
|
240
241
|
'tabindex' => '1'}
|
241
242
|
|
242
243
|
options = select/:option
|
243
|
-
options.map{|o| [o.inner_text, o.attributes] }.
|
244
|
+
options.map{|o| [o.inner_text, o.attributes.to_hash] }.
|
244
245
|
should == [['English', {'value' => 'English'}],
|
245
246
|
['German', {'value' => 'German'}],
|
246
247
|
['Japanese', {'value' => 'Japanese'}]]
|
@@ -252,17 +253,17 @@ describe Ramaze::Helper::Form do
|
|
252
253
|
|
253
254
|
label, select = doc.at(:label), doc.at(:select)
|
254
255
|
|
255
|
-
label.attributes.should == {'for' => 'form-languages'}
|
256
|
+
label.attributes.to_hash.should == {'for' => 'form-languages'}
|
256
257
|
label.inner_text.should == 'Languages:'
|
257
258
|
|
258
|
-
select.attributes.should == {
|
259
|
+
select.attributes.to_hash.should == {
|
259
260
|
'id' => 'form-languages',
|
260
261
|
'name' => 'languages',
|
261
262
|
'size' => '5',
|
262
263
|
'tabindex' => '1'}
|
263
264
|
|
264
265
|
options = select/:option
|
265
|
-
options.map{|o| [o.inner_text, o.attributes] }.
|
266
|
+
options.map{|o| [o.inner_text, o.attributes.to_hash] }.
|
266
267
|
should == [['English', {'value' => 'English'}],
|
267
268
|
['German', {'value' => 'German'}],
|
268
269
|
['Japanese', {'value' => 'Japanese'}]]
|
@@ -274,10 +275,10 @@ describe Ramaze::Helper::Form do
|
|
274
275
|
|
275
276
|
label, select = doc.at(:label), doc.at(:select)
|
276
277
|
|
277
|
-
label.attributes.should == {'for' => 'form-languages'}
|
278
|
+
label.attributes.to_hash.should == {'for' => 'form-languages'}
|
278
279
|
label.inner_text.should == 'Languages:'
|
279
280
|
|
280
|
-
select.attributes.should == {
|
281
|
+
select.attributes.to_hash.should == {
|
281
282
|
'id' => 'form-languages',
|
282
283
|
'multiple' => 'multiple',
|
283
284
|
'name' => 'languages',
|
@@ -285,7 +286,7 @@ describe Ramaze::Helper::Form do
|
|
285
286
|
'tabindex' => '1'}
|
286
287
|
|
287
288
|
options = select/:option
|
288
|
-
options.map{|o| [o.inner_text, o.attributes] }.
|
289
|
+
options.map{|o| [o.inner_text, o.attributes.to_hash] }.
|
289
290
|
should == [['English', {'value' => 'English'}],
|
290
291
|
['German', {'value' => 'German'}],
|
291
292
|
['Japanese', {'value' => 'Japanese'}]]
|
@@ -297,17 +298,17 @@ describe Ramaze::Helper::Form do
|
|
297
298
|
|
298
299
|
label, select = doc.at(:label), doc.at(:select)
|
299
300
|
|
300
|
-
label.attributes.should == {'for' => 'form-languages'}
|
301
|
+
label.attributes.to_hash.should == {'for' => 'form-languages'}
|
301
302
|
label.inner_text.should == 'Languages:'
|
302
303
|
|
303
|
-
select.attributes.should == {
|
304
|
+
select.attributes.to_hash.should == {
|
304
305
|
'id' => 'form-languages',
|
305
306
|
'name' => 'languages',
|
306
307
|
'size' => '1',
|
307
308
|
'tabindex' => '1'}
|
308
309
|
|
309
310
|
options = select/:option
|
310
|
-
options.map{|o| [o.inner_text, o.attributes] }.
|
311
|
+
options.map{|o| [o.inner_text, o.attributes.to_hash] }.
|
311
312
|
should == [['English', {'value' => 'English'}],
|
312
313
|
['German', {'value' => 'German', 'selected' => 'selected'}],
|
313
314
|
['Japanese', {'value' => 'Japanese'}]]
|
@@ -319,17 +320,17 @@ describe Ramaze::Helper::Form do
|
|
319
320
|
|
320
321
|
label, select = doc.at(:label), doc.at(:select)
|
321
322
|
|
322
|
-
label.attributes.should == {'for' => 'form-languages'}
|
323
|
+
label.attributes.to_hash.should == {'for' => 'form-languages'}
|
323
324
|
label.inner_text.should == 'Languages:'
|
324
325
|
|
325
|
-
select.attributes.should == {
|
326
|
+
select.attributes.to_hash.should == {
|
326
327
|
'id' => 'form-languages',
|
327
328
|
'name' => 'languages',
|
328
329
|
'size' => '1',
|
329
330
|
'tabindex' => '1'}
|
330
331
|
|
331
332
|
options = select/:option
|
332
|
-
options.map{|o| [o.inner_text, o.attributes] }.sort.
|
333
|
+
options.map{|o| [o.inner_text, o.attributes.to_hash] }.sort.
|
333
334
|
should == [['English', {'value' => 'en'}],
|
334
335
|
['German', {'value' => 'de'}],
|
335
336
|
['Japanese', {'value' => 'ja'}]]
|
@@ -341,17 +342,17 @@ describe Ramaze::Helper::Form do
|
|
341
342
|
|
342
343
|
label, select = doc.at(:label), doc.at(:select)
|
343
344
|
|
344
|
-
label.attributes.should == {'for' => 'form-languages'}
|
345
|
+
label.attributes.to_hash.should == {'for' => 'form-languages'}
|
345
346
|
label.inner_text.should == 'Languages:'
|
346
347
|
|
347
|
-
select.attributes.should == {
|
348
|
+
select.attributes.to_hash.should == {
|
348
349
|
'id' => 'form-languages',
|
349
350
|
'name' => 'languages',
|
350
351
|
'size' => '1',
|
351
352
|
'tabindex' => '1'}
|
352
353
|
|
353
354
|
options = select/:option
|
354
|
-
options.map{|o| [o.inner_text, o.attributes] }.sort.
|
355
|
+
options.map{|o| [o.inner_text, o.attributes.to_hash] }.sort.
|
355
356
|
should == [['English', {'value' => 'en'}],
|
356
357
|
['German', {'value' => 'de'}],
|
357
358
|
['Japanese', {'value' => 'ja'}]]
|