Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-11-26 | added the first set of documentation | Gibheer | 26 | -0/+8745 | |
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 | 2 | -8/+8 | |
2012-11-24 | Write some documentation | Stormwind | 1 | -5/+12 | |
2012-11-24 | Add an = at the end of the content_type method | Stormwind | 2 | -5/+5 | |
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 | 2 | -2/+13 | |
2012-11-24 | Add self. on uses of own methods with an = in it | Stormwind | 1 | -3/+3 | |
Fixes errors | |||||
2012-11-24 | SimpleCov runs on latest rbx head | Gibheer | 1 | -5/+4 | |
2012-11-23 | Delete Content-Length. Conten-Type and body on status 204 | Stormwind | 2 | -5/+22 | |
Should work, but somehow it doesn't... | |||||
2012-11-23 | Sets the Content-Type in to_a unless it is already set before | Stormwind | 2 | -4/+18 | |
The default value is 'text/html'. | |||||
2012-11-23 | content_type sets the Content-Type header to the given value | Stormwind | 2 | -3/+18 | |
2012-11-23 | Sets the Content-Length in to_a unless it is already set before | Stormwind | 2 | -4/+11 | |
2012-11-23 | Sets Content-Type header in to_a | Stormwind | 2 | -1/+7 | |
2012-11-23 | Add simplecov to Gemfile and gemspec | Stormwind | 3 | -0/+8 | |
2012-11-23 | Merge remote-tracking branch 'origin/master' | Stormwind | 4 | -24/+68 | |
2012-11-23 | Sets Content-Length to body string bytesize | Stormwind | 2 | -1/+9 | |
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 | 2 | -1/+8 | |
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 | 2 | -0/+18 | |
The method content_length creates a header named Content-Length and sets its value to 0. | |||||
2012-11-20 | add simplecov to get metrics | Gibheer | 1 | -0/+7 | |
This only works with MRI, but should be good enough. | |||||
2012-11-20 | seperated the methods of the basic controller | Gibheer | 1 | -1/+11 | |
2012-11-20 | added a basic spec for the controller | Gibheer | 1 | -0/+14 | |
2012-11-20 | add a spec controller | Gibheer | 1 | -0/+5 | |
2012-11-20 | make a wrapper over the static transform | Gibheer | 1 | -0/+6 | |
2012-11-20 | use Zero::Request instead of the rack one | Gibheer | 1 | -1/+1 | |
2012-11-20 | make class functions more clear in renderer | Gibheer | 1 | -22/+24 | |
2012-11-19 | Rename #finish to #to_a in response specs | Stormwind | 1 | -1/+1 | |
2012-11-18 | Restructure response specs | Stormwind | 1 | -32/+35 | |
Also no change in behaviour | |||||
2012-11-18 | Add some TODOs | Stormwind | 1 | -1/+5 | |
No change in behaviour | |||||
2012-11-18 | Add default value for the body | Stormwind | 2 | -1/+8 | |
2012-11-18 | Add default value for header | Stormwind | 2 | -1/+8 | |
2012-11-17 | Add default value to status code | Stormwind | 2 | -1/+11 | |
2012-11-17 | Converts any input in status to an integer | Stormwind | 2 | -1/+21 | |
2012-11-16 | added specs for Renderer.transform | Gibheer | 2 | -2/+34 | |
2012-11-16 | not needed anymore | Gibheer | 1 | -7/+0 | |
2012-11-16 | documentet the renderer and added a spec | Gibheer | 2 | -6/+75 | |
2012-11-16 | corrected the naming of #accept, before #media_types | Gibheer | 2 | -1/+8 | |
2012-11-16 | corrected documentation | Gibheer | 1 | -1/+1 | |
2012-11-16 | changed the name of the functions | Gibheer | 1 | -6/+6 | |
2012-11-16 | added specs for accept | Gibheer | 3 | -0/+27 | |
2012-11-16 | this adds a new accept type | Gibheer | 3 | -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-16 | added specs for new type | Gibheer | 2 | -15/+15 | |
2012-11-16 | Add simple response object | Stormwind | 3 | -0/+39 | |
2012-11-16 | move rack from runtime to dev dependency | Gibheer | 2 | -2/+5 | |
2012-11-16 | replace rack router with the zero router | Gibheer | 1 | -4/+1 | |
2012-11-16 | added rack to generate environments | Gibheer | 1 | -0/+1 | |
2012-11-16 | delete old specs for router | Gibheer | 1 | -55/+0 | |
These specs did not work and are cleanup with the unit specs, so there is no need for them now. |