Gibheer
|
849a6f34ca
|
updated gem lock
|
2012-11-29 19:44:24 +01:00 |
|
Gibheer
|
8c7eed073c
|
added custom parameter
|
2012-11-29 19:44:12 +01:00 |
|
Gibheer
|
2762f68363
|
better specs for render
|
2012-11-27 21:02:07 +01:00 |
|
Gibheer
|
9b941a9191
|
fixed a typo
|
2012-11-27 19:26:24 +01:00 |
|
Gibheer
|
839084aa90
|
added documentation for router
|
2012-11-27 19:23:07 +01:00 |
|
Gibheer
|
7578cb9adb
|
Revert "added the first set of documentation"
This reverts commit 37a4a28dee .
|
2012-11-27 06:41:09 +01:00 |
|
Gibheer
|
46739a8a24
|
Revert "refreshed documentation"
This reverts commit be1afcd114 .
|
2012-11-27 06:40:49 +01:00 |
|
Gibheer
|
1ba18b4d9c
|
more explanation in the readme
|
2012-11-27 06:38:34 +01:00 |
|
Gibheer
|
be1afcd114
|
refreshed documentation
|
2012-11-26 21:45:33 +01:00 |
|
Gibheer
|
43a6ada2ed
|
now the renderer correctly saves all templates
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 21:41:09 +01:00 |
|
Gibheer
|
cb39d8ac90
|
renderer is now able to render templates
|
2012-11-26 21:41:09 +01:00 |
|
Gibheer
|
2a1499479a
|
specs for rendering
|
2012-11-26 21:41:09 +01:00 |
|
Gibheer
|
a913aac826
|
added more documentation to the renderer
|
2012-11-26 21:41:09 +01:00 |
|
Gibheer
|
0fd7035a88
|
cleaned up the commit a bit more
|
2012-11-26 21:41:09 +01:00 |
|
Gibheer
|
9e062519ba
|
first commit for the new renderer
This part handles the building of the template tree, which then gets
used later by the containers.
|
2012-11-26 21:41:09 +01:00 |
|
Gibheer
|
37a4a28dee
|
added the first set of documentation
|
2012-11-26 21:40:21 +01:00 |
|
Gibheer
|
77a2cbe6d4
|
a small fix to make the controller useable
This is just to use the controller for a demonstration on where this all
is heading to.
|
2012-11-26 21:38:49 +01:00 |
|
Gibheer
|
06e0dc22e1
|
transform the response to an array
|
2012-11-26 21:28:48 +01:00 |
|
Gibheer
|
fe7a622120
|
small minor cleanup
This removes #process and replaces it with some documentation for it.
Also the Rack::Response is replaced with Zero::Response.
|
2012-11-26 21:24:59 +01:00 |
|
Gibheer
|
4a51048d8b
|
removed doubled line
|
2012-11-26 21:23:28 +01:00 |
|
|
7213e3e8f6
|
Content-Length must be a String
|
2012-11-24 16:17:14 +01:00 |
|
|
13eae5cfa5
|
Write some documentation
|
2012-11-24 15:42:08 +01:00 |
|
|
8a75f9462d
|
Add an = at the end of the content_type method
Shall made use of this functionality more confortable, even if it's not
a real attribute of this class.
|
2012-11-24 15:35:23 +01:00 |
|
|
5c45e1e20b
|
Delete Content-Length. Conten-Type and body on status 304
|
2012-11-24 15:28:42 +01:00 |
|
|
285b7f2214
|
Add self. on uses of own methods with an = in it
Fixes errors
|
2012-11-24 15:19:02 +01:00 |
|
Gibheer
|
82bafca46c
|
SimpleCov runs on latest rbx head
|
2012-11-24 15:14:59 +01:00 |
|
|
bffdca6cb1
|
Delete Content-Length. Conten-Type and body on status 204
Should work, but somehow it doesn't...
|
2012-11-23 21:24:37 +01:00 |
|
|
fea8ac2bbd
|
Sets the Content-Type in to_a unless it is already set before
The default value is 'text/html'.
|
2012-11-23 20:05:58 +01:00 |
|
|
16eef08688
|
content_type sets the Content-Type header to the given value
|
2012-11-23 19:54:17 +01:00 |
|
|
78121c6eea
|
Sets the Content-Length in to_a unless it is already set before
|
2012-11-23 19:39:56 +01:00 |
|
|
c15e8bdacb
|
Sets Content-Type header in to_a
|
2012-11-23 19:35:14 +01:00 |
|
|
406c6f88d3
|
Add simplecov to Gemfile and gemspec
|
2012-11-23 19:29:06 +01:00 |
|
|
1b96ebb36d
|
Merge remote-tracking branch 'origin/master'
|
2012-11-23 18:10:27 +01:00 |
|
|
a2e6c299cd
|
Sets Content-Length to body string bytesize
Sets the Conten-Length to the bytesize of the joined body to cover UTF-8
|
2012-11-23 18:06:53 +01:00 |
|
|
b4e56c6868
|
Sets Content-Length to body string length
It joins the body array to a string and sets the Content-Length header
to its length.
|
2012-11-23 17:59:33 +01:00 |
|
|
22cf93d002
|
Remove @s in to_a
|
2012-11-23 17:45:36 +01:00 |
|
|
963adb8ddc
|
content_length sets the Content-Length to 0
The method content_length creates a header named Content-Length and sets
its value to 0.
|
2012-11-23 17:43:39 +01:00 |
|
Gibheer
|
495d8f6503
|
add simplecov to get metrics
This only works with MRI, but should be good enough.
|
2012-11-20 20:37:10 +01:00 |
|
Gibheer
|
926775f029
|
seperated the methods of the basic controller
|
2012-11-20 20:37:10 +01:00 |
|
Gibheer
|
8e1b79663c
|
added a basic spec for the controller
|
2012-11-20 20:37:10 +01:00 |
|
Gibheer
|
019bccd4a2
|
add a spec controller
|
2012-11-20 20:37:10 +01:00 |
|
Gibheer
|
7fa20e6131
|
make a wrapper over the static transform
|
2012-11-20 20:37:10 +01:00 |
|
Gibheer
|
4e2a4b8931
|
use Zero::Request instead of the rack one
|
2012-11-20 20:37:10 +01:00 |
|
Gibheer
|
d7c217bd30
|
make class functions more clear in renderer
|
2012-11-20 20:37:10 +01:00 |
|
|
2b79c3e840
|
Rename #finish to #to_a in response specs
|
2012-11-19 19:39:45 +01:00 |
|
|
2e073a07fa
|
Restructure response specs
Also no change in behaviour
|
2012-11-18 16:38:38 +01:00 |
|
|
e6e3b0bd27
|
Add some TODOs
No change in behaviour
|
2012-11-18 16:24:50 +01:00 |
|
|
3ff56d815a
|
Add default value for the body
|
2012-11-18 16:09:41 +01:00 |
|
|
3c3850a02b
|
Add default value for header
|
2012-11-18 15:02:07 +01:00 |
|
|
a76b08fbb3
|
Add default value to status code
|
2012-11-17 14:46:53 +01:00 |
|