aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2012-12-17remove require_relative to make it 1.8 compatibleGibheer3-10/+10
2012-12-17release 0.1.2v0.1.2Gibheer1-1/+1
2012-12-17initialize the responseGibheer1-1/+1
2012-12-13added LICENSE and release new versionv0.1.1Gibheer1-1/+1
2012-12-13added options to controllerGibheer1-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-12typo in the documentationGibheer1-1/+1
2012-12-12replaced .create with .new on Zero::RequestGibheer3-6/+23
2012-12-10define the renderer at initializationGibheer1-4/+5
2012-12-01release version 0.1.0v0.1.0Gibheer1-1/+1
2012-12-01avoid changing existing environment keysGibheer1-2/+8
2012-11-30delete all.rb in favorite of zero.rbGibheer2-5/+5
2012-11-30Optional setting of status code on redirectStormwind1-2/+2
2012-11-30Add redirect to responseStormwind1-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-30mapping is not needed at this pointGibheer2-16/+0
2012-11-30use URI to get parametersGibheer1-3/+1
2012-11-29don't overwrite the requestGibheer1-1/+1
2012-11-29Throws an ArgumentError, if no template fits given typesStormwind1-0/+3
2012-11-29Throws ArgumentError, if given template does not existStormwind1-5/+7
2012-11-29Add default value for default templatesStormwind1-5/+9
If a template has no type specifcation in it's name, then we use 'default' as map name now.
2012-11-29added custom parameters in the routerGibheer1-1/+1
2012-11-29added custom parameterGibheer1-0/+29
2012-11-27fixed a typoGibheer1-1/+1
2012-11-27added documentation for routerGibheer1-0/+32
2012-11-26now the renderer correctly saves all templatesGibheer1-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-26renderer is now able to render templatesGibheer1-0/+28
2012-11-26added more documentation to the rendererGibheer1-1/+20
2012-11-26cleaned up the commit a bit moreGibheer1-8/+11
2012-11-26first commit for the new rendererGibheer1-78/+65
This part handles the building of the template tree, which then gets used later by the containers.
2012-11-26a small fix to make the controller useableGibheer1-0/+15
This is just to use the controller for a demonstration on where this all is heading to.
2012-11-26transform the response to an arrayGibheer1-1/+1
2012-11-26small minor cleanupGibheer1-5/+4
This removes #process and replaces it with some documentation for it. Also the Rack::Response is replaced with Zero::Response.
2012-11-26removed doubled lineGibheer1-4/+0
2012-11-24Content-Length must be a StringStormwind1-1/+1
2012-11-24Write some documentationStormwind1-5/+12
2012-11-24Add an = at the end of the content_type methodStormwind1-2/+2
Shall made use of this functionality more confortable, even if it's not a real attribute of this class.
2012-11-24Delete Content-Length. Conten-Type and body on status 304Stormwind1-2/+2
2012-11-24Add self. on uses of own methods with an = in itStormwind1-3/+3
Fixes errors
2012-11-23Delete Content-Length. Conten-Type and body on status 204Stormwind1-5/+11
Should work, but somehow it doesn't...
2012-11-23Sets the Content-Type in to_a unless it is already set beforeStormwind1-1/+2
The default value is 'text/html'.
2012-11-23content_type sets the Content-Type header to the given valueStormwind1-0/+7
2012-11-23Sets the Content-Length in to_a unless it is already set beforeStormwind1-2/+2
2012-11-23Sets Content-Type header in to_aStormwind1-0/+1
2012-11-23Merge remote-tracking branch 'origin/master'Stormwind2-24/+42
2012-11-23Sets Content-Length to body string bytesizeStormwind1-1/+1
Sets the Conten-Length to the bytesize of the joined body to cover UTF-8
2012-11-23Sets Content-Length to body string lengthStormwind1-1/+1
It joins the body array to a string and sets the Content-Length header to its length.
2012-11-23Remove @s in to_aStormwind1-1/+1
2012-11-23content_length sets the Content-Length to 0Stormwind1-0/+7
The method content_length creates a header named Content-Length and sets its value to 0.
2012-11-20seperated the methods of the basic controllerGibheer1-1/+11
2012-11-20make a wrapper over the static transformGibheer1-0/+6
2012-11-20use Zero::Request instead of the rack oneGibheer1-1/+1