Skip to content

Instantly share code, notes, and snippets.

@btakita
Created May 31, 2009 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btakita/121029 to your computer and use it in GitHub Desktop.
Save btakita/121029 to your computer and use it in GitHub Desktop.
(in /home/btakita/workspace/ramaze)
1/90: spec/contrib/rest.rb  5 passed
2/90: spec/examples/templates/template_remarkably.rb  3 passed
3/90: spec/examples/templates/template_liquid.rb  3 passed
4/90: spec/examples/templates/template_markaby.rb  needed Ramaze::View::Markaby
5/90: spec/examples/templates/template_redcloth.rb  3 passed
6/90: spec/examples/templates/template_haml.rb  3 passed
7/90: spec/examples/templates/template_nagoro.rb  3 passed
8/90: spec/examples/templates/template_tenjin.rb  3 passed
9/90: spec/examples/templates/template_erubis.rb  3 passed
10/90: spec/examples/templates/template_ezamar.rb  failed
Spec require: "require" failed: "no such file to load -- ezamar"
0 specifications (0 requirements), 0 failures, 0 errors
11/90: spec/examples/helpers/httpdigest.rb  4 passed
12/90: spec/examples/css.rb  1 passed
13/90: spec/examples/linking.rb  2 passed
14/90: spec/examples/element.rb  1 passed
15/90: spec/examples/caching.rb  1 passed
16/90: spec/examples/hello.rb  1 passed
17/90: spec/examples/simple.rb  7 passed
18/90: spec/ramaze/struct.rb  9 passed
19/90: spec/ramaze/controller/actionless_templates.rb  2 passed
20/90: spec/ramaze/controller/provide_inheritance.rb  4 passed
21/90: spec/ramaze/controller/mapping.rb  9 passed
22/90: spec/ramaze/controller/subclass.rb  3 passed
23/90: spec/ramaze/controller/resolve.rb  3 passed
24/90: spec/ramaze/controller/template_resolving.rb  7 passed
25/90: spec/ramaze/controller/lonely_mapping.rb  1 passed
26/90: spec/ramaze/files.rb  2 passed
27/90: spec/ramaze/cache/sequel.rb  6 passed
28/90: spec/ramaze/cache/memcache.rb  failed
Spec require: "memcached is running" failed: "no such file to load -- memcache"
0 specifications (0 requirements), 0 failures, 0 errors
29/90: spec/ramaze/cache/localmemcache.rb  failed
Spec require: "require" failed: "no such file to load -- localmemcache"
0 specifications (0 requirements), 0 failures, 0 errors
30/90: spec/ramaze/request.rb  4 passed
31/90: spec/ramaze/action/render.rb  1 passed
32/90: spec/ramaze/dispatcher/directory.rb  2 passed
33/90: spec/ramaze/dispatcher/file.rb  failed
Serving static files
- serves from public root
- serves files with spaces
- sends Etag for string bodies
- sends Last-Modified for file bodies
- respects Etag with HTTP_IF_NONE_MATCH [FAILED]
- respects Last-Modified with HTTP_IF_MODIFIED_SINCE
Bacon::Error: 200.==(304) failed
spec/ramaze/dispatcher/file.rb:56: Serving static files - respects Etag with HTTP_IF_NONE_MATCH
spec/ramaze/dispatcher/file.rb:48
spec/ramaze/dispatcher/file.rb:17
6 specifications (11 requirements), 1 failures, 0 errors
D, [2009-05-31T14:26:06.636382 #31357] DEBUG -- : Default controller invoked
34/90: spec/ramaze/error.rb  failed
Error handling
- uses Rack::ShowException to display errors
- uses original action_missing when no action was found
- uses custom action_missing when no action was found
- uses Rack::RouteExceptions when a route is set [FAILED]
- uses Rack::ShowStatus for empty responses > 400
Bacon::Error: [500, "text/html"].==([200, "text/html"]) failed
spec/ramaze/error.rb:72: Error handling - uses Rack::RouteExceptions when a route is set
spec/ramaze/error.rb:68
spec/ramaze/error.rb:37
5 specifications (11 requirements), 1 failures, 0 errors
127.0.0.1 - - [31/May/2009 14:26:07] "GET /missing " 404 30 0.0024
127.0.0.1 - - [31/May/2009 14:26:07] "GET /missing " 404 30 0.0026
127.0.0.1 - - [31/May/2009 14:26:07] "GET /handle/mssing " 200 34 0.0013
127.0.0.1 - - [31/May/2009 14:26:07] "GET /handle/mssing " 200 34 0.0013
35/90: spec/ramaze/helper/xhtml.rb  4 passed
36/90: spec/ramaze/helper/link.rb  5 passed
37/90: spec/ramaze/helper/cache.rb  7 passed
38/90: spec/ramaze/helper/gravatar.rb  5 passed
39/90: spec/ramaze/helper/localize.rb  failed
Spec require: "require" failed: "no such file to load -- locale/tag"
0 specifications (0 requirements), 0 failures, 0 errors
40/90: spec/ramaze/helper/sequel_form.rb  4 passed
41/90: spec/ramaze/helper/simple_captcha.rb  2 passed
42/90: spec/ramaze/helper/stack.rb  3 passed
43/90: spec/ramaze/helper/paginate.rb  4 passed
44/90: spec/ramaze/helper/flash.rb  2 passed
45/90: spec/ramaze/helper/user.rb  2 passed
46/90: spec/ramaze/helper/auth.rb  3 passed
47/90: spec/ramaze/helper/bench.rb  1 passed
48/90: spec/ramaze/helper/formatting.rb  11 passed
49/90: spec/ramaze/helper/form.rb  failed
Innate::Helper::Form
- provides empty text input
- provides filled text input
- provides unchecked checkbox input
- provides checked checkbox input
- provides password input
- provides empty textarea
- provides filled textarea
- provides file upload input
- provides empty hidden input
- provides filled hidden input
- provides array select [FAILED]
- provides sized array select
- provides multiple array select [ERROR: NoMethodError]
- provides preselected array select [FAILED]
- provides hash select [FAILED]
- provides hash select [FAILED]
Bacon::Error: {"name"=>"languages", "size"=>"0", "id"=>"form-languages", "tabindex"=>"1"}.==({"name"=>"languages", "size"=>"1", "id"=>"form-languages", "tabindex"=>"1"}) failed
spec/ramaze/helper/form.rb:237: Innate::Helper::Form - provides array select
spec/ramaze/helper/form.rb:224
spec/ramaze/helper/form.rb:59
NoMethodError: undefined method `to_i' for true:TrueClass
/home/btakita/workspace/ramaze/lib/ramaze/helper/form.rb:55:in `form_select': Innate::Helper::Form - provides multiple array select
spec/ramaze/helper/form.rb:45:in `select_array_multiple'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/action.rb:86:in `__send__'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/action.rb:86:in `render'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/helper/aspect.rb:36:in `aspect_wrap'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/helper/aspect.rb:87:in `__send__'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/helper/aspect.rb:87:in `wrap_action_call'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/action.rb:84:in `render'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/action.rb:35:in `call'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/action.rb:116:in `wrap_in_current'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/action.rb:35:in `call'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/node.rb:295:in `action_found'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/node.rb:295:in `catch'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/node.rb:295:in `action_found'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/node.rb:295:in `catch'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/node.rb:295:in `action_found'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/node.rb:279:in `try_resolve'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/node.rb:264:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `call'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/dynamap.rb:40:in `call'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/route.rb:75:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/cascade.rb:19:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/cascade.rb:17:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/cascade.rb:17:in `call'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/current.rb:22:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/cascade.rb:19:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/cascade.rb:17:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/cascade.rb:17:in `call'
/home/btakita/workspace/ramaze/lib/ramaze/app.rb:93:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `call'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/dynamap.rb:40:in `call'
/usr/local/lib/ruby/gems/1.8/gems/innate-2009.05/lib/innate/middleware_compiler.rb:52:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-test-0.3.0/lib/rack/mock_session.rb:23:in `request'
/usr/local/lib/ruby/gems/1.8/gems/rack-test-0.3.0/lib/rack/test.rb:181:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rack-test-0.3.0/lib/rack/test.rb:47:in `get'
spec/ramaze/helper/form.rb:269
spec/ramaze/helper/form.rb:268
spec/ramaze/helper/form.rb:59
Bacon::Error: {"name"=>"languages", "size"=>"0", "id"=>"form-languages", "tabindex"=>"1"}.==({"name"=>"languages", "size"=>"1", "id"=>"form-languages", "tabindex"=>"1"}) failed
spec/ramaze/helper/form.rb:304: Innate::Helper::Form - provides preselected array select
spec/ramaze/helper/form.rb:291
spec/ramaze/helper/form.rb:59
Bacon::Error: {"name"=>"languages", "size"=>"0", "id"=>"form-languages", "tabindex"=>"1"}.==({"name"=>"languages", "size"=>"1", "id"=>"form-languages", "tabindex"=>"1"}) failed
spec/ramaze/helper/form.rb:326: Innate::Helper::Form - provides hash select
spec/ramaze/helper/form.rb:313
spec/ramaze/helper/form.rb:59
Bacon::Error: {"name"=>"languages", "size"=>"0", "id"=>"form-languages", "tabindex"=>"1"}.==({"name"=>"languages", "size"=>"1", "id"=>"form-languages", "tabindex"=>"1"}) failed
spec/ramaze/helper/form.rb:348: Innate::Helper::Form - provides hash select
spec/ramaze/helper/form.rb:335
spec/ramaze/helper/form.rb:59
16 specifications (49 requirements), 4 failures, 1 errors
50/90: spec/ramaze/helper/layout.rb  3 passed
51/90: spec/ramaze/helper/httpdigest.rb  1 passed
52/90: spec/ramaze/helper/gestalt.rb  2 passed
53/90: spec/ramaze/helper/request_accessor.rb  1 passed
54/90: spec/ramaze/helper/maruku.rb  1 passed
55/90: spec/ramaze/helper/pager.rb  12 passed
56/90: spec/ramaze/view.rb  1 passed
57/90: spec/ramaze/log/informer.rb  8 passed
58/90: spec/ramaze/log/syslog.rb  7 passed
59/90: spec/ramaze/log/logging.rb  7 passed
60/90: spec/ramaze/view/tagz.rb  4 passed
61/90: spec/ramaze/view/remarkably.rb  4 passed
62/90: spec/ramaze/view/sass.rb  3 passed
63/90: spec/ramaze/view/erubis.rb  4 passed
64/90: spec/ramaze/view/haml.rb  4 passed
65/90: spec/ramaze/view/nagoro.rb  4 passed
66/90: spec/ramaze/view/tenjin.rb  3 passed
67/90: spec/ramaze/view/ezamar.rb  failed
Spec require: "require" failed: "no such file to load -- ezamar"
0 specifications (0 requirements), 0 failures, 0 errors
68/90: spec/ramaze/view/gestalt.rb  5 passed
69/90: spec/ramaze/view/redcloth.rb  3 passed
70/90: spec/ramaze/view/liquid.rb  4 passed
71/90: spec/ramaze/session/memcache.rb  failed
Spec require: "memcached is running" failed: "no such file to load -- memcache"
0 specifications (0 requirements), 0 failures, 0 errors
72/90: spec/ramaze/bin/ramaze.rb  failed
bin/ramaze command
- Can find the ramaze binary
- Shows command line help [FAILED]
- Shows the correct version
- Can create a new tree from prototype
Bacon::Error: "\n Usage:\n\tramaze <start [PIDFILE]|stop [PIDFILE]|restart [PIDFILE]|status [PIDFILE]|create PROJECT|console> [ruby/rack options]\n\n\tCommands:\n\n\t * All commands which take an optional PIDFILE (defaults to PROJECT.pid otherwise).\n\t * All commands which start a ramaze instance will default to webrick on port 7000\n\t unless you supply the rack options -p/--port PORT and/or * -s/--server SERVER.\n\n\t start - Starts an instance of this application.\n\n\t stop - Stops a running instance of this application.\n\n\t restart - Stops running instance of this application, then starts it back up. Pidfile\n\t (if supplied) is used for both stop and start.\n\n\t status - Gives status of a running ramaze instance\n\n\t create - Creates a new prototype Ramaze application in a directory named PROJECT in\n\t the current directory. ramaze create foo would make ./foo containing an\n\t application prototype. Rack options are ignored here.\n\n\t console - Starts an irb console with app.rb (and irb completion) loaded. This command\n\t ignores rack options, ARGV is passed on to IRB.\n\n\tRuby options:\n\t -e, --eval LINE evaluate a LINE of code\n\t -d, --debug set debugging flags (set $DEBUG to true)\n\t -w, --warn turn warnings on for your script\n\t -I, --include PATH specify $LOAD_PATH (may be used more than once)\n\t -r, --require LIBRARY require the library, before executing your script\n\tRack options:\n\t -s, --server SERVER serve using SERVER (webrick/mongrel)\n\t -o, --host HOST listen on HOST (default: 0.0.0.0)\n\t -p, --port PORT use PORT (default: 9292)\n\t -E, --env ENVIRONMENT use ENVIRONMENT for defaults (default: development)\n\t -D, --daemonize run daemonized in the background\n\t -P, --pid FILE file to store PID (default: rack.pid)\n\tCommon options:\n\t -h, --help Show this message\n\t --version Show version\n".==("\n Usage:\n\tramaze <start [PIDFILE]|stop [PIDFILE]|restart [PIDFILE]|status [PIDFILE]|create PROJECT|console> [ruby/rack options]\n\n\tCommands:\n\n\t * All commands which take an optional PIDFILE (defaults to PROJECT.pid otherwise).\n\t * All commands which start a ramaze instance will default to webrick on port 7000\n\t unless you supply the rack options -p/--port PORT and/or * -s/--server SERVER.\n\n\t start - Starts an instance of this application.\n\n\t stop - Stops a running instance of this application.\n\n\t restart - Stops running instance of this application, then starts it back up. Pidfile\n\t (if supplied) is used for both stop and start.\n\n\t status - Gives status of a running ramaze instance\n\n\t create - Creates a new prototype Ramaze application in a directory named PROJECT in\n\t the current directory. ramaze create foo would make ./foo containing an\n\t application prototype. Rack options are ignored here.\n\n\t console - Starts an irb console with app.rb (and irb completion) loaded. This command\n\t ignores rack options, ARGV is passed on to IRB.\n\n\n\tRuby options:\n\t -e, --eval LINE evaluate a LINE of code\n\t -d, --debug set debugging flags (set $DEBUG to true)\n\t -w, --warn turn warnings on for your script\n\t -I, --include PATH specify $LOAD_PATH (may be used more than once)\n\t -r, --require LIBRARY require the library, before executing your script\n\n\tRack options:\n\t -s, --server SERVER serve using SERVER (webrick/mongrel)\n\t -o, --host HOST listen on HOST (default: 0.0.0.0)\n\t -p, --port PORT use PORT (default: 9292)\n\t -E, --env ENVIRONMENT use ENVIRONMENT for defaults (default: development)\n\t -D, --daemonize run daemonized in the background\n\t -P, --pid FILE file to store PID (default: rack.pid)\n\n\tCommon options:\n\t -h, --help Show this message\n\t --version Show version\n") failed
spec/ramaze/bin/ramaze.rb:63: bin/ramaze command - Shows command line help
spec/ramaze/bin/ramaze.rb:61
spec/ramaze/bin/ramaze.rb:56
4 specifications (11 requirements), 1 failures, 0 errors
73/90: spec/ramaze/app.rb  1 passed
74/90: spec/ramaze/gestalt.rb  14 passed
75/90: spec/ramaze/params.rb  19 passed
76/90: spec/snippets/ramaze/struct.rb  1 passed
77/90: spec/snippets/ramaze/dictionary.rb  12 passed
78/90: spec/snippets/ramaze/acquire.rb  7 passed
79/90: spec/snippets/ordered_set.rb  6 passed
80/90: spec/snippets/string/snake_case.rb  5 passed
81/90: spec/snippets/string/unindent.rb  5 passed
82/90: spec/snippets/string/camel_case.rb  5 passed
83/90: spec/snippets/string/color.rb  1 passed
84/90: spec/snippets/thread/into.rb  1 passed
85/90: spec/snippets/numeric/filesize_format.rb  1 passed
86/90: spec/snippets/numeric/time.rb  2 passed
87/90: spec/snippets/object/__dir__.rb  2 passed
88/90: spec/snippets/array/put_within.rb  4 passed
89/90: spec/snippets/binding/locals.rb  1 passed
90/90: lib/proto/spec/main.rb  2 passed
350 specifications (779 requirements), 7 failures, 1 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment