raw 0.49.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/CONTRIBUTORS +106 -0
- data/doc/LICENSE +32 -0
- data/doc/coding_conventions.txt +11 -0
- data/lib/raw.rb +42 -0
- data/lib/raw/adapter.rb +113 -0
- data/lib/raw/adapter/cgi.rb +41 -0
- data/lib/raw/adapter/fastcgi.rb +48 -0
- data/lib/raw/adapter/mongrel.rb +146 -0
- data/lib/raw/adapter/script.rb +94 -0
- data/lib/raw/adapter/webrick.rb +144 -0
- data/lib/raw/adapter/webrick/vcr.rb +91 -0
- data/lib/raw/cgi.rb +323 -0
- data/lib/raw/cgi/cookie.rb +47 -0
- data/lib/raw/cgi/http.rb +62 -0
- data/lib/raw/compiler.rb +138 -0
- data/lib/raw/compiler/filter/cleanup.rb +21 -0
- data/lib/raw/compiler/filter/elements.rb +166 -0
- data/lib/raw/compiler/filter/elements/element.rb +210 -0
- data/lib/raw/compiler/filter/localization.rb +23 -0
- data/lib/raw/compiler/filter/markup.rb +32 -0
- data/lib/raw/compiler/filter/morph.rb +123 -0
- data/lib/raw/compiler/filter/morph/each.rb +34 -0
- data/lib/raw/compiler/filter/morph/for.rb +11 -0
- data/lib/raw/compiler/filter/morph/if.rb +26 -0
- data/lib/raw/compiler/filter/morph/selected_if.rb +43 -0
- data/lib/raw/compiler/filter/morph/standard.rb +55 -0
- data/lib/raw/compiler/filter/morph/times.rb +27 -0
- data/lib/raw/compiler/filter/script.rb +116 -0
- data/lib/raw/compiler/filter/squeeze.rb +16 -0
- data/lib/raw/compiler/filter/static_include.rb +74 -0
- data/lib/raw/compiler/filter/template.rb +121 -0
- data/lib/raw/compiler/reloader.rb +96 -0
- data/lib/raw/context.rb +154 -0
- data/lib/raw/context/flash.rb +157 -0
- data/lib/raw/context/global.rb +88 -0
- data/lib/raw/context/request.rb +338 -0
- data/lib/raw/context/response.rb +57 -0
- data/lib/raw/context/session.rb +198 -0
- data/lib/raw/context/session/drb.rb +11 -0
- data/lib/raw/context/session/file.rb +15 -0
- data/lib/raw/context/session/memcached.rb +13 -0
- data/lib/raw/context/session/memory.rb +12 -0
- data/lib/raw/context/session/og.rb +15 -0
- data/lib/raw/context/session/pstore.rb +13 -0
- data/lib/raw/control.rb +18 -0
- data/lib/raw/control/attribute.rb +91 -0
- data/lib/raw/control/attribute/checkbox.rb +25 -0
- data/lib/raw/control/attribute/datetime.rb +21 -0
- data/lib/raw/control/attribute/file.rb +20 -0
- data/lib/raw/control/attribute/fixnum.rb +26 -0
- data/lib/raw/control/attribute/float.rb +26 -0
- data/lib/raw/control/attribute/options.rb +38 -0
- data/lib/raw/control/attribute/password.rb +16 -0
- data/lib/raw/control/attribute/text.rb +16 -0
- data/lib/raw/control/attribute/textarea.rb +16 -0
- data/lib/raw/control/none.rb +16 -0
- data/lib/raw/control/relation.rb +59 -0
- data/lib/raw/control/relation/belongs_to.rb +0 -0
- data/lib/raw/control/relation/has_many.rb +97 -0
- data/lib/raw/control/relation/joins_many.rb +0 -0
- data/lib/raw/control/relation/many_to_many.rb +0 -0
- data/lib/raw/control/relation/refers_to.rb +29 -0
- data/lib/raw/controller.rb +37 -0
- data/lib/raw/controller/publishable.rb +160 -0
- data/lib/raw/dispatcher.rb +209 -0
- data/lib/raw/dispatcher/format.rb +108 -0
- data/lib/raw/dispatcher/format/atom.rb +31 -0
- data/lib/raw/dispatcher/format/css.rb +0 -0
- data/lib/raw/dispatcher/format/html.rb +42 -0
- data/lib/raw/dispatcher/format/json.rb +31 -0
- data/lib/raw/dispatcher/format/rss.rb +33 -0
- data/lib/raw/dispatcher/format/xoxo.rb +31 -0
- data/lib/raw/dispatcher/mounter.rb +60 -0
- data/lib/raw/dispatcher/router.rb +111 -0
- data/lib/raw/errors.rb +19 -0
- data/lib/raw/helper.rb +86 -0
- data/lib/raw/helper/benchmark.rb +23 -0
- data/lib/raw/helper/buffer.rb +60 -0
- data/lib/raw/helper/cookie.rb +32 -0
- data/lib/raw/helper/debug.rb +28 -0
- data/lib/raw/helper/default.rb +16 -0
- data/lib/raw/helper/feed.rb +451 -0
- data/lib/raw/helper/form.rb +284 -0
- data/lib/raw/helper/javascript.rb +59 -0
- data/lib/raw/helper/layout.rb +40 -0
- data/lib/raw/helper/navigation.rb +87 -0
- data/lib/raw/helper/pager.rb +305 -0
- data/lib/raw/helper/table.rb +247 -0
- data/lib/raw/helper/xhtml.rb +218 -0
- data/lib/raw/helper/xml.rb +125 -0
- data/lib/raw/mixin/magick.rb +35 -0
- data/lib/raw/mixin/sweeper.rb +71 -0
- data/lib/raw/mixin/thumbnails.rb +1 -0
- data/lib/raw/mixin/webfile.rb +165 -0
- data/lib/raw/render.rb +271 -0
- data/lib/raw/render/builder.rb +26 -0
- data/lib/raw/render/caching.rb +81 -0
- data/lib/raw/render/call.rb +43 -0
- data/lib/raw/render/send_file.rb +46 -0
- data/lib/raw/render/stream.rb +39 -0
- data/lib/raw/scaffold.rb +13 -0
- data/lib/raw/scaffold/controller.rb +25 -0
- data/lib/raw/scaffold/model.rb +157 -0
- data/lib/raw/test.rb +5 -0
- data/lib/raw/test/assertions.rb +169 -0
- data/lib/raw/test/context.rb +55 -0
- data/lib/raw/test/testcase.rb +79 -0
- data/lib/raw/util/attr.rb +128 -0
- data/lib/raw/util/encode_uri.rb +149 -0
- data/lib/raw/util/html_filter.rb +538 -0
- data/lib/raw/util/markup.rb +130 -0
- data/test/glue/tc_webfile.rb +1 -0
- data/test/nitro/CONFIG.rb +3 -0
- data/test/nitro/adapter/raw_post1.bin +9 -0
- data/test/nitro/adapter/tc_webrick.rb +16 -0
- data/test/nitro/cgi/tc_cookie.rb +14 -0
- data/test/nitro/cgi/tc_request.rb +61 -0
- data/test/nitro/compiler/tc_client_morpher.rb +47 -0
- data/test/nitro/compiler/tc_compiler.rb +25 -0
- data/test/nitro/dispatcher/tc_mounter.rb +47 -0
- data/test/nitro/helper/tc_feed.rb +135 -0
- data/test/nitro/helper/tc_navbar.rb +74 -0
- data/test/nitro/helper/tc_pager.rb +35 -0
- data/test/nitro/helper/tc_table.rb +68 -0
- data/test/nitro/helper/tc_xhtml.rb +19 -0
- data/test/nitro/tc_caching.rb +19 -0
- data/test/nitro/tc_cgi.rb +222 -0
- data/test/nitro/tc_context.rb +17 -0
- data/test/nitro/tc_controller.rb +103 -0
- data/test/nitro/tc_controller_aspect.rb +32 -0
- data/test/nitro/tc_controller_params.rb +885 -0
- data/test/nitro/tc_dispatcher.rb +109 -0
- data/test/nitro/tc_element.rb +85 -0
- data/test/nitro/tc_flash.rb +59 -0
- data/test/nitro/tc_helper.rb +47 -0
- data/test/nitro/tc_render.rb +119 -0
- data/test/nitro/tc_router.rb +61 -0
- data/test/nitro/tc_server.rb +35 -0
- data/test/nitro/tc_session.rb +66 -0
- data/test/nitro/tc_template.rb +71 -0
- data/test/nitro/util/tc_encode_url.rb +87 -0
- data/test/nitro/util/tc_markup.rb +31 -0
- data/test/public/blog/another/very_litle/index.xhtml +1 -0
- data/test/public/blog/inc1.xhtml +2 -0
- data/test/public/blog/inc2.xhtml +1 -0
- data/test/public/blog/list.xhtml +9 -0
- data/test/public/dummy_mailer/registration.xhtml +5 -0
- metadata +244 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'CONFIG.rb')
|
2
|
+
|
3
|
+
require 'test/unit'
|
4
|
+
|
5
|
+
require 'nitro/server'
|
6
|
+
|
7
|
+
class TC_Server < Test::Unit::TestCase # :nodoc: all
|
8
|
+
include Nitro
|
9
|
+
|
10
|
+
class RootController
|
11
|
+
end
|
12
|
+
|
13
|
+
class UsersController
|
14
|
+
end
|
15
|
+
|
16
|
+
class TestController
|
17
|
+
end
|
18
|
+
|
19
|
+
class DeepController
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_all
|
23
|
+
srv = Server.new('test')
|
24
|
+
|
25
|
+
srv.root = RootController
|
26
|
+
srv.root.users = UsersController
|
27
|
+
srv.root.test = TestController
|
28
|
+
srv.root.really.really.deep = DeepController
|
29
|
+
|
30
|
+
assert_equal RootController, srv.map['/']
|
31
|
+
assert_equal UsersController, srv.map['/users']
|
32
|
+
assert_equal TestController, srv.map['/test']
|
33
|
+
assert_equal DeepController, srv.map['/really/really/deep']
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'CONFIG.rb')
|
2
|
+
|
3
|
+
require 'ostruct'
|
4
|
+
require 'test/unit'
|
5
|
+
|
6
|
+
require 'glue'
|
7
|
+
require 'glue/cache/file'
|
8
|
+
require 'nitro/session'
|
9
|
+
|
10
|
+
class TC_Session < Test::Unit::TestCase # :nodoc: all
|
11
|
+
include Nitro
|
12
|
+
|
13
|
+
# TODO: also check for :og !
|
14
|
+
CACHES = [:memory, :file] #, :og]
|
15
|
+
begin
|
16
|
+
require 'glue/cache/memcached'
|
17
|
+
Glue::MemCached.new
|
18
|
+
CACHES << :memcached
|
19
|
+
rescue Errno::ECONNREFUSED => ex # FIXME: Lookup Win32/Linux/BSD error
|
20
|
+
Logger.warn "skipping memcached test: server not running"
|
21
|
+
#Logger.warn ex.class # FIXME: remove when all error types listed above
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
def test_create_id
|
26
|
+
sid = Session.new.session_id
|
27
|
+
assert_not_equal sid, Session.new.session_id
|
28
|
+
assert_not_equal sid, Session.new.session_id
|
29
|
+
assert_not_equal sid, Session.new.session_id
|
30
|
+
assert_not_equal sid, Session.new.session_id
|
31
|
+
assert_not_equal sid, Session.new.session_id
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_gc
|
35
|
+
CACHES.each do |cache_type|
|
36
|
+
Session.keepalive = 2
|
37
|
+
|
38
|
+
if :file == cache_type
|
39
|
+
path = File.join(File.dirname(__FILE__), '..', 'cache')
|
40
|
+
Glue::FileCache.basedir = path
|
41
|
+
FileUtils.rm_r path if File.exists? path
|
42
|
+
end
|
43
|
+
|
44
|
+
Session.setup(cache_type)
|
45
|
+
|
46
|
+
if cache_type == :og
|
47
|
+
Og.start(:store => :sqlite, :destroy => true)
|
48
|
+
# Og.start(:store => :mysql, :name => 'test', :user => 'root', :destroy => true)
|
49
|
+
end
|
50
|
+
|
51
|
+
sessions = (1..2).collect do
|
52
|
+
s = Session.new
|
53
|
+
s.sync
|
54
|
+
s
|
55
|
+
end
|
56
|
+
|
57
|
+
Session.cache.gc!
|
58
|
+
sessions.each { |s| assert_not_nil(Session.cache[s.session_id]) }
|
59
|
+
Session.cache.gc!
|
60
|
+
sessions.each { |s| assert_not_nil(Session.cache[s.session_id]) }
|
61
|
+
sleep(3)
|
62
|
+
Session.cache.gc!
|
63
|
+
sessions.each { |s| assert_nil(Session.cache[s.session_id]) }
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'CONFIG.rb')
|
2
|
+
|
3
|
+
require 'test/unit'
|
4
|
+
|
5
|
+
require 'nitro/template'
|
6
|
+
|
7
|
+
class TestTemplate < Test::Unit::TestCase # :nodoc: all
|
8
|
+
include Nitro
|
9
|
+
|
10
|
+
def test_all
|
11
|
+
template = %q{
|
12
|
+
Hello #{user}
|
13
|
+
|
14
|
+
dont forget the following todo items:
|
15
|
+
|
16
|
+
<?r for item in items ?>
|
17
|
+
<li>#{item}</li>
|
18
|
+
<?r end ?>
|
19
|
+
}
|
20
|
+
|
21
|
+
user = 'gmosx'
|
22
|
+
items = %w{ nitro is really great }
|
23
|
+
out = ''
|
24
|
+
|
25
|
+
Nitro::Template.process(template, :out, binding)
|
26
|
+
|
27
|
+
assert_match %r{\<li\>nitro\</li\>}, out
|
28
|
+
assert_match %r{\<li\>really\</li\>}, out
|
29
|
+
assert_match %r{Hello gmosx}, out
|
30
|
+
|
31
|
+
# TODO: add test for static inclusion.
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_interpolation
|
36
|
+
template = %q[
|
37
|
+
<% user1 = 'one' %>
|
38
|
+
<%
|
39
|
+
user2 = 'two'
|
40
|
+
%>
|
41
|
+
<?r user3 = 'three' ?>
|
42
|
+
<?r
|
43
|
+
user4 = 'four'
|
44
|
+
?>
|
45
|
+
<ruby>user5 = 'five'</ruby>
|
46
|
+
<ruby>
|
47
|
+
user6 = 'six'
|
48
|
+
</ruby>
|
49
|
+
user1: #\user1\
|
50
|
+
user2: #{user2}
|
51
|
+
user3: #{ user3 }
|
52
|
+
user4: #\ user4\
|
53
|
+
user5: #\user5 \
|
54
|
+
user6: #\ user6\
|
55
|
+
]
|
56
|
+
|
57
|
+
out = ''
|
58
|
+
Nitro::Template.process(template, :out, binding)
|
59
|
+
|
60
|
+
{
|
61
|
+
:user1 => 'one',
|
62
|
+
:user2 => 'two',
|
63
|
+
:user3 => 'three',
|
64
|
+
:user4 => 'four',
|
65
|
+
:user5 => 'five',
|
66
|
+
:user6 => 'six'
|
67
|
+
}.each do |key, val|
|
68
|
+
assert_match "#{key}: #{val}", out
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '..', 'CONFIG.rb')
|
2
|
+
|
3
|
+
require 'test/unit'
|
4
|
+
require 'ostruct'
|
5
|
+
|
6
|
+
require 'glue'
|
7
|
+
require 'glue/logger'
|
8
|
+
require 'nitro'
|
9
|
+
require 'nitro/util/encode_url'
|
10
|
+
|
11
|
+
class TC_EncodeUrl < Test::Unit::TestCase # :nodoc: all
|
12
|
+
include Nitro
|
13
|
+
|
14
|
+
class FirstController < Nitro::Controller
|
15
|
+
def list
|
16
|
+
end
|
17
|
+
public :encode_url
|
18
|
+
end
|
19
|
+
|
20
|
+
class SecondController < Controller
|
21
|
+
attr_reader :aqflag, :tflag
|
22
|
+
|
23
|
+
def self.setup_template_root(path)
|
24
|
+
@template_root << File.expand_path(File.join(Nitro::LibPath, "../test/public/#{path}"))
|
25
|
+
end
|
26
|
+
|
27
|
+
def list
|
28
|
+
@aqflag = true
|
29
|
+
end
|
30
|
+
|
31
|
+
def another(oid)
|
32
|
+
# nop
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
class Dummy
|
37
|
+
end
|
38
|
+
|
39
|
+
class Article
|
40
|
+
attr_accessor :oid
|
41
|
+
|
42
|
+
def initialize(oid)
|
43
|
+
@oid = oid
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
class Article::Controller < Nitro::Controller
|
48
|
+
def delete(oid)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
class TestEncoder
|
53
|
+
include Nitro::EncodeUrl
|
54
|
+
public :encode_url
|
55
|
+
end
|
56
|
+
|
57
|
+
def setup
|
58
|
+
@disp = Dispatcher.new '/first' => FirstController,
|
59
|
+
'/second' => SecondController,
|
60
|
+
'/articles' => Article::Controller
|
61
|
+
@conf = OpenStruct.new
|
62
|
+
@conf.dispatcher = @disp
|
63
|
+
Thread.current[:CURRENT_CONTEXT] = @conf
|
64
|
+
end
|
65
|
+
|
66
|
+
def test_encode
|
67
|
+
t = TestEncoder.new
|
68
|
+
|
69
|
+
assert_equal 'test', t.encode_url('test')
|
70
|
+
assert_equal '/first/list', t.encode_url(FirstController, :list)
|
71
|
+
|
72
|
+
end
|
73
|
+
|
74
|
+
def test_controller_encode
|
75
|
+
t = FirstController.new(@conf)
|
76
|
+
|
77
|
+
assert_equal '/first/list', t.encode_url(:list)
|
78
|
+
|
79
|
+
assert_equal '/articles/read', t.encode_url(Article, :read)
|
80
|
+
|
81
|
+
assert_raises(NameError) { t.encode_url(Dummy, :read) }
|
82
|
+
|
83
|
+
a = Article.new(5)
|
84
|
+
assert_equal '/articles/read?oid=5', t.encode_url(a, :read)
|
85
|
+
assert_equal '/articles/delete/5', t.encode_url(a, :delete)
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '..', 'CONFIG.rb')
|
2
|
+
|
3
|
+
require 'test/unit'
|
4
|
+
|
5
|
+
require 'nitro/util/markup'
|
6
|
+
|
7
|
+
class TC_Caching < Test::Unit::TestCase # :nodoc: all
|
8
|
+
include Nitro
|
9
|
+
|
10
|
+
include Nitro::Markup
|
11
|
+
|
12
|
+
def test_expand
|
13
|
+
assert_equal %{<p>Hello World!</p>},
|
14
|
+
expand(%{<p>Hello World!</p>})
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_expand_redcloth
|
18
|
+
assert_equal %{<h1>Hello World!</h1>},
|
19
|
+
expand_redcloth(%{h1. Hello World!})
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_escape
|
23
|
+
assert_equal %{Marc_%26_Joe_went_over_the_%27Hill%27_and_shouted_%22Hello_World%21%22},
|
24
|
+
escape(%{Marc & Joe went over the 'Hill' and shouted "Hello World!"})
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_unescape
|
28
|
+
assert_equal %{Marc & Joe went over the 'Hill' and shouted "Hello World!"},
|
29
|
+
unescape(%{Marc_%26_Joe_went_over_the_%27Hill%27_and_shouted_%22Hello_World%21%22})
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
<html>hello</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<b><?r $include2 = true ?></b>
|
metadata
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.0
|
3
|
+
specification_version: 1
|
4
|
+
name: raw
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.49.0
|
7
|
+
date: 2007-02-25 19:03:43 +02:00
|
8
|
+
summary: The best Ruby Web Framework
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email:
|
12
|
+
homepage: http://www.nitroproject.org
|
13
|
+
rubyforge_project:
|
14
|
+
description: Raw provides everything you need to develop professional Web applications using Ruby and Javascript. Raw redefines Rapid Application Development by providing a clean, yet efficient API and a layer of domain specific languages implemented on top of Ruby. Raw is Web 2.0 ready, featuring excellent support for AJAX, XML, Syndication while staying standards compliant. Raw is part of the Nitro Mega Framework.
|
15
|
+
autorequire:
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
29
|
+
authors:
|
30
|
+
- George K. Moschovitis
|
31
|
+
files:
|
32
|
+
- lib/raw
|
33
|
+
- lib/raw.rb
|
34
|
+
- lib/raw/adapter
|
35
|
+
- lib/raw/adapter.rb
|
36
|
+
- lib/raw/mixin
|
37
|
+
- lib/raw/cgi
|
38
|
+
- lib/raw/cgi.rb
|
39
|
+
- lib/raw/compiler
|
40
|
+
- lib/raw/compiler.rb
|
41
|
+
- lib/raw/context.rb
|
42
|
+
- lib/raw/control
|
43
|
+
- lib/raw/control.rb
|
44
|
+
- lib/raw/controller.rb
|
45
|
+
- lib/raw/dispatcher.rb
|
46
|
+
- lib/raw/context
|
47
|
+
- lib/raw/render
|
48
|
+
- lib/raw/helper
|
49
|
+
- lib/raw/helper.rb
|
50
|
+
- lib/raw/render.rb
|
51
|
+
- lib/raw/errors.rb
|
52
|
+
- lib/raw/scaffold.rb
|
53
|
+
- lib/raw/controller
|
54
|
+
- lib/raw/scaffold
|
55
|
+
- lib/raw/test
|
56
|
+
- lib/raw/test.rb
|
57
|
+
- lib/raw/dispatcher
|
58
|
+
- lib/raw/util
|
59
|
+
- lib/raw/adapter/cgi.rb
|
60
|
+
- lib/raw/adapter/fastcgi.rb
|
61
|
+
- lib/raw/adapter/mongrel.rb
|
62
|
+
- lib/raw/adapter/script.rb
|
63
|
+
- lib/raw/adapter/webrick
|
64
|
+
- lib/raw/adapter/webrick.rb
|
65
|
+
- lib/raw/adapter/webrick/vcr.rb
|
66
|
+
- lib/raw/mixin/magick.rb
|
67
|
+
- lib/raw/mixin/sweeper.rb
|
68
|
+
- lib/raw/mixin/thumbnails.rb
|
69
|
+
- lib/raw/mixin/webfile.rb
|
70
|
+
- lib/raw/cgi/cookie.rb
|
71
|
+
- lib/raw/cgi/http.rb
|
72
|
+
- lib/raw/compiler/reloader.rb
|
73
|
+
- lib/raw/compiler/filter
|
74
|
+
- lib/raw/compiler/filter/template.rb
|
75
|
+
- lib/raw/compiler/filter/squeeze.rb
|
76
|
+
- lib/raw/compiler/filter/markup.rb
|
77
|
+
- lib/raw/compiler/filter/static_include.rb
|
78
|
+
- lib/raw/compiler/filter/morph.rb
|
79
|
+
- lib/raw/compiler/filter/morph
|
80
|
+
- lib/raw/compiler/filter/elements
|
81
|
+
- lib/raw/compiler/filter/elements.rb
|
82
|
+
- lib/raw/compiler/filter/cleanup.rb
|
83
|
+
- lib/raw/compiler/filter/localization.rb
|
84
|
+
- lib/raw/compiler/filter/script.rb
|
85
|
+
- lib/raw/compiler/filter/morph/for.rb
|
86
|
+
- lib/raw/compiler/filter/morph/standard.rb
|
87
|
+
- lib/raw/compiler/filter/morph/times.rb
|
88
|
+
- lib/raw/compiler/filter/morph/each.rb
|
89
|
+
- lib/raw/compiler/filter/morph/if.rb
|
90
|
+
- lib/raw/compiler/filter/morph/selected_if.rb
|
91
|
+
- lib/raw/compiler/filter/elements/element.rb
|
92
|
+
- lib/raw/control/attribute
|
93
|
+
- lib/raw/control/attribute.rb
|
94
|
+
- lib/raw/control/none.rb
|
95
|
+
- lib/raw/control/relation
|
96
|
+
- lib/raw/control/relation.rb
|
97
|
+
- lib/raw/control/attribute/checkbox.rb
|
98
|
+
- lib/raw/control/attribute/datetime.rb
|
99
|
+
- lib/raw/control/attribute/file.rb
|
100
|
+
- lib/raw/control/attribute/fixnum.rb
|
101
|
+
- lib/raw/control/attribute/float.rb
|
102
|
+
- lib/raw/control/attribute/options.rb
|
103
|
+
- lib/raw/control/attribute/password.rb
|
104
|
+
- lib/raw/control/attribute/text.rb
|
105
|
+
- lib/raw/control/attribute/textarea.rb
|
106
|
+
- lib/raw/control/relation/belongs_to.rb
|
107
|
+
- lib/raw/control/relation/has_many.rb
|
108
|
+
- lib/raw/control/relation/joins_many.rb
|
109
|
+
- lib/raw/control/relation/many_to_many.rb
|
110
|
+
- lib/raw/control/relation/refers_to.rb
|
111
|
+
- lib/raw/context/session.rb
|
112
|
+
- lib/raw/context/session
|
113
|
+
- lib/raw/context/flash.rb
|
114
|
+
- lib/raw/context/global.rb
|
115
|
+
- lib/raw/context/request.rb
|
116
|
+
- lib/raw/context/response.rb
|
117
|
+
- lib/raw/context/session/drb.rb
|
118
|
+
- lib/raw/context/session/file.rb
|
119
|
+
- lib/raw/context/session/memcached.rb
|
120
|
+
- lib/raw/context/session/memory.rb
|
121
|
+
- lib/raw/context/session/og.rb
|
122
|
+
- lib/raw/context/session/pstore.rb
|
123
|
+
- lib/raw/render/call.rb
|
124
|
+
- lib/raw/render/builder.rb
|
125
|
+
- lib/raw/render/caching.rb
|
126
|
+
- lib/raw/render/send_file.rb
|
127
|
+
- lib/raw/render/stream.rb
|
128
|
+
- lib/raw/helper/benchmark.rb
|
129
|
+
- lib/raw/helper/buffer.rb
|
130
|
+
- lib/raw/helper/pager.rb
|
131
|
+
- lib/raw/helper/debug.rb
|
132
|
+
- lib/raw/helper/default.rb
|
133
|
+
- lib/raw/helper/feed.rb
|
134
|
+
- lib/raw/helper/form.rb
|
135
|
+
- lib/raw/helper/javascript.rb
|
136
|
+
- lib/raw/helper/layout.rb
|
137
|
+
- lib/raw/helper/navigation.rb
|
138
|
+
- lib/raw/helper/table.rb
|
139
|
+
- lib/raw/helper/cookie.rb
|
140
|
+
- lib/raw/helper/xhtml.rb
|
141
|
+
- lib/raw/helper/xml.rb
|
142
|
+
- lib/raw/controller/publishable.rb
|
143
|
+
- lib/raw/scaffold/controller.rb
|
144
|
+
- lib/raw/scaffold/model.rb
|
145
|
+
- lib/raw/test/assertions.rb
|
146
|
+
- lib/raw/test/context.rb
|
147
|
+
- lib/raw/test/testcase.rb
|
148
|
+
- lib/raw/dispatcher/router.rb
|
149
|
+
- lib/raw/dispatcher/mounter.rb
|
150
|
+
- lib/raw/dispatcher/format.rb
|
151
|
+
- lib/raw/dispatcher/format
|
152
|
+
- lib/raw/dispatcher/format/xoxo.rb
|
153
|
+
- lib/raw/dispatcher/format/json.rb
|
154
|
+
- lib/raw/dispatcher/format/atom.rb
|
155
|
+
- lib/raw/dispatcher/format/css.rb
|
156
|
+
- lib/raw/dispatcher/format/html.rb
|
157
|
+
- lib/raw/dispatcher/format/rss.rb
|
158
|
+
- lib/raw/util/attr.rb
|
159
|
+
- lib/raw/util/markup.rb
|
160
|
+
- lib/raw/util/html_filter.rb
|
161
|
+
- lib/raw/util/encode_uri.rb
|
162
|
+
- test/nitro
|
163
|
+
- test/public
|
164
|
+
- test/glue
|
165
|
+
- test/nitro/adapter
|
166
|
+
- test/nitro/cgi
|
167
|
+
- test/nitro/compiler
|
168
|
+
- test/nitro/CONFIG.rb
|
169
|
+
- test/nitro/helper
|
170
|
+
- test/nitro/tc_caching.rb
|
171
|
+
- test/nitro/tc_cgi.rb
|
172
|
+
- test/nitro/tc_controller_params.rb
|
173
|
+
- test/nitro/tc_controller_aspect.rb
|
174
|
+
- test/nitro/tc_context.rb
|
175
|
+
- test/nitro/tc_controller.rb
|
176
|
+
- test/nitro/tc_dispatcher.rb
|
177
|
+
- test/nitro/tc_element.rb
|
178
|
+
- test/nitro/tc_flash.rb
|
179
|
+
- test/nitro/tc_helper.rb
|
180
|
+
- test/nitro/tc_render.rb
|
181
|
+
- test/nitro/dispatcher
|
182
|
+
- test/nitro/tc_router.rb
|
183
|
+
- test/nitro/tc_server.rb
|
184
|
+
- test/nitro/tc_session.rb
|
185
|
+
- test/nitro/tc_template.rb
|
186
|
+
- test/nitro/util
|
187
|
+
- test/nitro/adapter/raw_post1.bin
|
188
|
+
- test/nitro/adapter/tc_webrick.rb
|
189
|
+
- test/nitro/cgi/tc_cookie.rb
|
190
|
+
- test/nitro/cgi/tc_request.rb
|
191
|
+
- test/nitro/compiler/tc_client_morpher.rb
|
192
|
+
- test/nitro/compiler/tc_compiler.rb
|
193
|
+
- test/nitro/helper/tc_feed.rb
|
194
|
+
- test/nitro/helper/tc_navbar.rb
|
195
|
+
- test/nitro/helper/tc_pager.rb
|
196
|
+
- test/nitro/helper/tc_table.rb
|
197
|
+
- test/nitro/helper/tc_xhtml.rb
|
198
|
+
- test/nitro/dispatcher/tc_mounter.rb
|
199
|
+
- test/nitro/util/tc_encode_url.rb
|
200
|
+
- test/nitro/util/tc_markup.rb
|
201
|
+
- test/public/blog
|
202
|
+
- test/public/dummy_mailer
|
203
|
+
- test/public/blog/another
|
204
|
+
- test/public/blog/inc1.xhtml
|
205
|
+
- test/public/blog/inc2.xhtml
|
206
|
+
- test/public/blog/list.xhtml
|
207
|
+
- test/public/blog/another/very_litle
|
208
|
+
- test/public/blog/another/very_litle/index.xhtml
|
209
|
+
- test/public/dummy_mailer/registration.xhtml
|
210
|
+
- test/glue/tc_webfile.rb
|
211
|
+
- doc/CONTRIBUTORS
|
212
|
+
- doc/LICENSE
|
213
|
+
- doc/coding_conventions.txt
|
214
|
+
test_files: []
|
215
|
+
|
216
|
+
rdoc_options: []
|
217
|
+
|
218
|
+
extra_rdoc_files: []
|
219
|
+
|
220
|
+
executables: []
|
221
|
+
|
222
|
+
extensions: []
|
223
|
+
|
224
|
+
requirements: []
|
225
|
+
|
226
|
+
dependencies:
|
227
|
+
- !ruby/object:Gem::Dependency
|
228
|
+
name: RedCloth
|
229
|
+
version_requirement:
|
230
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: 3.0.4
|
235
|
+
version:
|
236
|
+
- !ruby/object:Gem::Dependency
|
237
|
+
name: ruby-breakpoint
|
238
|
+
version_requirement:
|
239
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: "0.5"
|
244
|
+
version:
|