New patches: [Updated spec for route Aman Gupta **20070910063242] { hunk ./spec/contrib/route.rb 13 + + def price(p) + "Price: \$#{p}" + end hunk ./spec/contrib/route.rb 27 + Ramaze::Route[%r!^/(\d+\.\d{2})$!] = "/price/%.2f" + Ramaze::Route[%r!^/(\d+\.\d{2})$!].should == "/price/%.2f" + hunk ./spec/contrib/route.rb 48 + + it 'should use %.3f' do + r = get('/123.123456') + r.status.should == 200 + r.body.should == 'Float: 123.123' + end + + it 'should resolve in the order added' do + r = get('/12.84') + r.status.should == 200 + r.body.should == 'Price: $12.84' + end } Context: [This introduces the first contrib for routes, slight restructuring of Controller::resolve to allow filtering based on Controller::FILTER like we know it from Dispatcher. Added dictionary.rb from facets to allow sorted but hash-like routes-adding. Spec for routes added as small showcase. Michael Fellinger **20070910044521] [Add basic Ramaze::contrib as future helping instance for contributed things. Michael Fellinger **20070910044506] [make snippets/struct/values_at behaviour compatible with standard ruby (orig. by riffraff) Michael Fellinger **20070907083216] [Fix for directory-listing, always sort files/dirs shown Michael Fellinger **20070907083158] [TAG 0.1.4 Michael Fellinger **20070906135219] Patch bundle hash: 25481eae986e98743e43b0cac5a3c30df9a592b0