Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 539 Bytes
1 | module ActionController |
2 | class StringCoercion |
3 | class UglyBody < ActiveSupport::BasicObject |
4 | def initialize(body) |
5 | @body = body |
6 | end |
7 | |
8 | def each |
9 | @body.each do |part| |
10 | yield part.to_s |
11 | end |
12 | end |
13 | |
14 | private |
15 | def method_missing(*args, &block) |
16 | @body.__send__(*args, &block) |
17 | end |
18 | end |
19 | |
20 | def initialize(app) |
21 | @app = app |
22 | end |
23 | |
24 | def call(env) |
25 | status, headers, body = @app.call(env) |
26 | [status, headers, UglyBody.new(body)] |
27 | end |
28 | end |
29 | end |