Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-12-22 | Add patch for URI decode_www_form | Stormwind | 2 | -0/+46 | |
Plus some specs. This should it make later possible to make Zero work with Ruby 1.8. But at the moment it only routes to the original decode_www_form method, if it exists. Otherwise it returns an empty Array. So this will still fail on the 1.8 versions at the moment. | |||||
2012-12-18 | reuse render for actual rendering | Gibheer | 1 | -4/+13 | |
The splitting of rendering and processing is good, but on the other side it makes some double steps or even introduce workarounds. That is why I made the method #render just a call to the renderer. This should help much more than the strict seperation. The method will only return the resulting string and not add it to the body of the response. That still has to be taken care of by the user. | |||||
2012-12-17 | require backports for ruby 1.8 | Gibheer | 1 | -0/+4 | |
2012-12-17 | remove require_relative to make it 1.8 compatible | Gibheer | 3 | -10/+10 | |
2012-12-17 | release 0.1.2v0.1.2 | Gibheer | 1 | -1/+1 | |
2012-12-17 | initialize the response | Gibheer | 1 | -1/+1 | |
2012-12-13 | added LICENSE and release new versionv0.1.1 | Gibheer | 1 | -1/+1 | |
2012-12-13 | added options to controller | Gibheer | 1 | -5/+16 | |
This avoids hardcoding the options into the controller and therefore should it make possible to use Rack::Request or Sinatra apps as requests. (That sounds so weird.) | |||||
2012-12-12 | typo in the documentation | Gibheer | 1 | -1/+1 | |
2012-12-12 | replaced .create with .new on Zero::Request | Gibheer | 3 | -6/+23 | |
2012-12-10 | define the renderer at initialization | Gibheer | 1 | -4/+5 | |
2012-12-01 | release version 0.1.0v0.1.0 | Gibheer | 1 | -1/+1 | |
2012-12-01 | avoid changing existing environment keys | Gibheer | 1 | -2/+8 | |
2012-11-30 | delete all.rb in favorite of zero.rb | Gibheer | 2 | -5/+5 | |
2012-11-30 | Optional setting of status code on redirect | Stormwind | 1 | -2/+2 | |
2012-11-30 | Add redirect to response | Stormwind | 1 | -0/+9 | |
Now a relocation can be done, by calling redirect with the URL you want relocate to. This will set the Location header and set the status code to 302. | |||||
2012-11-30 | mapping is not needed at this point | Gibheer | 2 | -16/+0 | |
2012-11-30 | use URI to get parameters | Gibheer | 1 | -3/+1 | |
2012-11-29 | don't overwrite the request | Gibheer | 1 | -1/+1 | |
2012-11-29 | Throws an ArgumentError, if no template fits given types | Stormwind | 1 | -0/+3 | |
2012-11-29 | Throws ArgumentError, if given template does not exist | Stormwind | 1 | -5/+7 | |
2012-11-29 | Add default value for default templates | Stormwind | 1 | -5/+9 | |
If a template has no type specifcation in it's name, then we use 'default' as map name now. | |||||
2012-11-29 | added custom parameters in the router | Gibheer | 1 | -1/+1 | |
2012-11-29 | added custom parameter | Gibheer | 1 | -0/+29 | |
2012-11-27 | fixed a typo | Gibheer | 1 | -1/+1 | |
2012-11-27 | added documentation for router | Gibheer | 1 | -0/+32 | |
2012-11-26 | now the renderer correctly saves all templates | Gibheer | 1 | -20/+15 | |
Before this fix the renderer was not able to save the templates and types in the correct way. It still needs some cleanup, but it works now. | |||||
2012-11-26 | renderer is now able to render templates | Gibheer | 1 | -0/+28 | |
2012-11-26 | added more documentation to the renderer | Gibheer | 1 | -1/+20 | |
2012-11-26 | cleaned up the commit a bit more | Gibheer | 1 | -8/+11 | |
2012-11-26 | first commit for the new renderer | Gibheer | 1 | -78/+65 | |
This part handles the building of the template tree, which then gets used later by the containers. | |||||
2012-11-26 | a small fix to make the controller useable | Gibheer | 1 | -0/+15 | |
This is just to use the controller for a demonstration on where this all is heading to. | |||||
2012-11-26 | transform the response to an array | Gibheer | 1 | -1/+1 | |
2012-11-26 | small minor cleanup | Gibheer | 1 | -5/+4 | |
This removes #process and replaces it with some documentation for it. Also the Rack::Response is replaced with Zero::Response. | |||||
2012-11-26 | removed doubled line | Gibheer | 1 | -4/+0 | |
2012-11-24 | Content-Length must be a String | Stormwind | 1 | -1/+1 | |
2012-11-24 | Write some documentation | Stormwind | 1 | -5/+12 | |
2012-11-24 | Add an = at the end of the content_type method | Stormwind | 1 | -2/+2 | |
Shall made use of this functionality more confortable, even if it's not a real attribute of this class. | |||||
2012-11-24 | Delete Content-Length. Conten-Type and body on status 304 | Stormwind | 1 | -2/+2 | |
2012-11-24 | Add self. on uses of own methods with an = in it | Stormwind | 1 | -3/+3 | |
Fixes errors | |||||
2012-11-23 | Delete Content-Length. Conten-Type and body on status 204 | Stormwind | 1 | -5/+11 | |
Should work, but somehow it doesn't... | |||||
2012-11-23 | Sets the Content-Type in to_a unless it is already set before | Stormwind | 1 | -1/+2 | |
The default value is 'text/html'. | |||||
2012-11-23 | content_type sets the Content-Type header to the given value | Stormwind | 1 | -0/+7 | |
2012-11-23 | Sets the Content-Length in to_a unless it is already set before | Stormwind | 1 | -2/+2 | |
2012-11-23 | Sets Content-Type header in to_a | Stormwind | 1 | -0/+1 | |
2012-11-23 | Merge remote-tracking branch 'origin/master' | Stormwind | 2 | -24/+42 | |
2012-11-23 | Sets Content-Length to body string bytesize | Stormwind | 1 | -1/+1 | |
Sets the Conten-Length to the bytesize of the joined body to cover UTF-8 | |||||
2012-11-23 | Sets Content-Length to body string length | Stormwind | 1 | -1/+1 | |
It joins the body array to a string and sets the Content-Length header to its length. | |||||
2012-11-23 | Remove @s in to_a | Stormwind | 1 | -1/+1 | |
2012-11-23 | content_length sets the Content-Length to 0 | Stormwind | 1 | -0/+7 | |
The method content_length creates a header named Content-Length and sets its value to 0. |