summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-11-23Delete Content-Length. Conten-Type and body on status 204Stormwind2-5/+22
Should work, but somehow it doesn't...
2012-11-23Sets the Content-Type in to_a unless it is already set beforeStormwind2-4/+18
The default value is 'text/html'.
2012-11-23content_type sets the Content-Type header to the given valueStormwind2-3/+18
2012-11-23Sets the Content-Length in to_a unless it is already set beforeStormwind2-4/+11
2012-11-23Sets Content-Type header in to_aStormwind2-1/+7
2012-11-23Add simplecov to Gemfile and gemspecStormwind3-0/+8
2012-11-23Merge remote-tracking branch 'origin/master'Stormwind4-24/+68
2012-11-23Sets Content-Length to body string bytesizeStormwind2-1/+9
Sets the Conten-Length to the bytesize of the joined body to cover UTF-8
2012-11-23Sets Content-Length to body string lengthStormwind2-1/+8
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 0Stormwind2-0/+18
The method content_length creates a header named Content-Length and sets its value to 0.
2012-11-20add simplecov to get metricsGibheer1-0/+7
This only works with MRI, but should be good enough.
2012-11-20seperated the methods of the basic controllerGibheer1-1/+11
2012-11-20added a basic spec for the controllerGibheer1-0/+14
2012-11-20add a spec controllerGibheer1-0/+5
2012-11-20make a wrapper over the static transformGibheer1-0/+6
2012-11-20use Zero::Request instead of the rack oneGibheer1-1/+1
2012-11-20make class functions more clear in rendererGibheer1-22/+24
2012-11-19Rename #finish to #to_a in response specsStormwind1-1/+1
2012-11-18Restructure response specsStormwind1-32/+35
Also no change in behaviour
2012-11-18Add some TODOsStormwind1-1/+5
No change in behaviour
2012-11-18Add default value for the bodyStormwind2-1/+8
2012-11-18Add default value for headerStormwind2-1/+8
2012-11-17Add default value to status codeStormwind2-1/+11
2012-11-17Converts any input in status to an integerStormwind2-1/+21
2012-11-16added specs for Renderer.transformGibheer2-2/+34
2012-11-16not needed anymoreGibheer1-7/+0
2012-11-16documentet the renderer and added a specGibheer2-6/+75
2012-11-16corrected the naming of #accept, before #media_typesGibheer2-1/+8
2012-11-16corrected documentationGibheer1-1/+1
2012-11-16changed the name of the functionsGibheer1-6/+6
2012-11-16added specs for acceptGibheer3-0/+27
2012-11-16this adds a new accept typeGibheer3-58/+80
This new class handles various accept strings and makes them available throught the same API. This way, language and media type feels the same.
2012-11-16added specs for new typeGibheer2-15/+15
2012-11-16Add simple response objectStormwind3-0/+39
2012-11-16move rack from runtime to dev dependencyGibheer2-2/+5
2012-11-16replace rack router with the zero routerGibheer1-4/+1
2012-11-16added rack to generate environmentsGibheer1-0/+1
2012-11-16delete old specs for routerGibheer1-55/+0
These specs did not work and are cleanup with the unit specs, so there is no need for them now.
2012-11-16add unit specs for routerGibheer1-0/+42
2012-11-16call is a class functionGibheer1-1/+1
2012-11-16added self.create to the requestGibheer2-0/+27
With this it is possible to reuse an already set request and therefore safe some memory and time.
2012-11-15added the required line for spec_helperGibheer2-0/+4
2012-11-15added specs for #media_typesGibheer1-0/+7
2012-11-15check for nil argument and use an empty arrayGibheer1-1/+5
2012-11-15added the implemention for #serverGibheer2-0/+48
2012-11-15add specs for #serverGibheer5-0/+42
2012-11-15add specs for #clientGibheer1-0/+8
2012-11-15check for an instance of parameterGibheer1-7/+1
2012-11-15clean up the accept map after all testsGibheer1-5/+4