nitro 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. data/CHANGELOG +124 -0
  2. data/README +2 -2
  3. data/Rakefile +4 -12
  4. data/bin/nitro +1 -1
  5. data/bin/nitrogen +47 -31
  6. data/doc/AUTHORS +3 -3
  7. data/doc/RELEASES +50 -1
  8. data/examples/README +7 -0
  9. data/lib/nitro.rb +5 -4
  10. data/lib/nitro/{adapters → adapter}/cgi.rb +2 -4
  11. data/lib/nitro/{adapters → adapter}/fastcgi.rb +1 -1
  12. data/lib/nitro/{adapters → adapter}/webrick.rb +5 -10
  13. data/lib/nitro/buffering.rb +6 -0
  14. data/lib/nitro/{builders → builder}/atom.rb +1 -5
  15. data/lib/nitro/{builders → builder}/form.rb +1 -5
  16. data/lib/nitro/{builders → builder}/rss.rb +3 -1
  17. data/lib/nitro/{builders → builder}/table.rb +2 -4
  18. data/lib/nitro/{builders → builder}/xhtml.rb +3 -5
  19. data/lib/nitro/{builders → builder}/xml.rb +2 -4
  20. data/lib/nitro/caching.rb +6 -4
  21. data/lib/nitro/caching/output.rb +18 -11
  22. data/lib/nitro/context.rb +3 -1
  23. data/lib/nitro/controller.rb +29 -18
  24. data/lib/nitro/dispatcher.rb +2 -4
  25. data/lib/nitro/element.rb +2 -0
  26. data/lib/nitro/environment.rb +2 -4
  27. data/lib/nitro/errors.rb +69 -0
  28. data/lib/nitro/mail.rb +2 -4
  29. data/lib/nitro/markup.rb +20 -3
  30. data/lib/nitro/output.rb +5 -9
  31. data/lib/nitro/part.rb +2 -3
  32. data/lib/nitro/render.rb +49 -30
  33. data/lib/nitro/request.rb +2 -1
  34. data/lib/nitro/runner.rb +23 -12
  35. data/lib/nitro/scaffold.rb +5 -3
  36. data/lib/nitro/service.rb +22 -0
  37. data/lib/nitro/service/xmlrpc.rb +42 -0
  38. data/lib/nitro/session.rb +2 -4
  39. data/lib/nitro/template.rb +8 -10
  40. data/lib/nitro/testing.rb +0 -4
  41. data/proto/public/error.xhtml +27 -2
  42. data/test/nitro/{adapters → adapter}/raw_post1.bin +0 -0
  43. data/test/nitro/{adapters → adapter}/tc_cgi.rb +1 -1
  44. data/test/nitro/{adapters → adapter}/tc_webrick.rb +1 -1
  45. data/test/nitro/{builders → builder}/tc_atom.rb +1 -1
  46. data/test/nitro/{builders → builder}/tc_rss.rb +1 -1
  47. data/test/nitro/{builders → builder}/tc_table.rb +1 -1
  48. data/test/nitro/{builders → builder}/tc_xhtml.rb +1 -1
  49. data/test/nitro/{builders → builder}/tc_xml.rb +1 -1
  50. data/test/nitro/tc_caching.rb +18 -0
  51. data/test/nitro/tc_controller.rb +1 -1
  52. data/test/nitro/tc_mail.rb +3 -1
  53. metadata +33 -168
  54. data/examples/README.windows +0 -9
  55. data/examples/ajax/controller.rb +0 -21
  56. data/examples/ajax/public/index.xhtml +0 -72
  57. data/examples/ajax/public/js/ajax.js +0 -64
  58. data/examples/ajax/run.rb +0 -14
  59. data/examples/blog/README +0 -70
  60. data/examples/blog/conf/apache.conf +0 -30
  61. data/examples/blog/conf/apache.conf.new +0 -53
  62. data/examples/blog/conf/lhttpd.conf +0 -79
  63. data/examples/blog/conf/locales/de.yml +0 -4
  64. data/examples/blog/conf/locales/en.yml +0 -4
  65. data/examples/blog/log/README +0 -3
  66. data/examples/blog/log/apache.error_log +0 -6647
  67. data/examples/blog/log/rewrite_log +0 -161
  68. data/examples/blog/public/base.xsl +0 -153
  69. data/examples/blog/public/fcgi.rb +0 -5
  70. data/examples/blog/public/m/bubbles.gif +0 -0
  71. data/examples/blog/public/m/comments_curve.gif +0 -0
  72. data/examples/blog/public/m/down.gif +0 -0
  73. data/examples/blog/public/m/footer_bg.gif +0 -0
  74. data/examples/blog/public/m/garrow.gif +0 -0
  75. data/examples/blog/public/m/gbull.gif +0 -0
  76. data/examples/blog/public/m/grbull.gif +0 -0
  77. data/examples/blog/public/m/h1_bg.gif +0 -0
  78. data/examples/blog/public/m/header_bg.gif +0 -0
  79. data/examples/blog/public/m/nitro.gif +0 -0
  80. data/examples/blog/public/m/obull.gif +0 -0
  81. data/examples/blog/public/m/page_bg.gif +0 -0
  82. data/examples/blog/public/m/rss.gif +0 -0
  83. data/examples/blog/public/m/side_title_bg.gif +0 -0
  84. data/examples/blog/public/m/sidebar_bg.gif +0 -0
  85. data/examples/blog/public/style.css +0 -305
  86. data/examples/blog/run.rb +0 -43
  87. data/examples/blog/src/blog.rb +0 -21
  88. data/examples/blog/src/controller.rb +0 -151
  89. data/examples/blog/src/mailer.rb +0 -23
  90. data/examples/blog/src/models/blog.rb +0 -33
  91. data/examples/blog/src/models/content.rb +0 -18
  92. data/examples/blog/src/views/blog_entry_email.xhtml +0 -16
  93. data/examples/blog/src/views/comments.xhtml +0 -36
  94. data/examples/blog/src/views/entry_form.xhtml +0 -22
  95. data/examples/blog/src/views/error.xhtml +0 -56
  96. data/examples/blog/src/views/index.xhtml +0 -49
  97. data/examples/blog/src/views/login.xhtml +0 -26
  98. data/examples/blog/src/views/recent_posts.xhtml +0 -14
  99. data/examples/blog/src/views/view_entry.xhtml +0 -37
  100. data/examples/blog/src/views/view_entry.xml +0 -12
  101. data/examples/blog/src/xsl/base.xsl +0 -160
  102. data/examples/blog/src/xsl/style.xsl +0 -143
  103. data/examples/blog/test/tc_blog.rb +0 -43
  104. data/examples/flash/log/README +0 -3
  105. data/examples/flash/root/index.xhtml +0 -16
  106. data/examples/flash/root/show_inline_text.xhtml +0 -17
  107. data/examples/flash/run.rb +0 -7
  108. data/examples/no_xsl_blog/README +0 -24
  109. data/examples/no_xsl_blog/conf/apache.conf +0 -30
  110. data/examples/no_xsl_blog/conf/lhttpd.conf +0 -79
  111. data/examples/no_xsl_blog/conf/locales/de.yml +0 -4
  112. data/examples/no_xsl_blog/conf/locales/en.yml +0 -4
  113. data/examples/no_xsl_blog/lib/blog.rb +0 -16
  114. data/examples/no_xsl_blog/lib/blog/controller.rb +0 -116
  115. data/examples/no_xsl_blog/lib/blog/model.rb +0 -35
  116. data/examples/no_xsl_blog/lib/blog/template.rb +0 -138
  117. data/examples/no_xsl_blog/lib/content.rb +0 -47
  118. data/examples/no_xsl_blog/log/README +0 -3
  119. data/examples/no_xsl_blog/log/apache.error_log +0 -473
  120. data/examples/no_xsl_blog/public/comments.xhtml +0 -36
  121. data/examples/no_xsl_blog/public/entry_form.xhtml +0 -22
  122. data/examples/no_xsl_blog/public/fcgi.rb +0 -5
  123. data/examples/no_xsl_blog/public/index.xhtml +0 -39
  124. data/examples/no_xsl_blog/public/login.xhtml +0 -21
  125. data/examples/no_xsl_blog/public/m/bubbles.gif +0 -0
  126. data/examples/no_xsl_blog/public/m/comments_curve.gif +0 -0
  127. data/examples/no_xsl_blog/public/m/down.gif +0 -0
  128. data/examples/no_xsl_blog/public/m/footer_bg.gif +0 -0
  129. data/examples/no_xsl_blog/public/m/garrow.gif +0 -0
  130. data/examples/no_xsl_blog/public/m/gbull.gif +0 -0
  131. data/examples/no_xsl_blog/public/m/grbull.gif +0 -0
  132. data/examples/no_xsl_blog/public/m/h1_bg.gif +0 -0
  133. data/examples/no_xsl_blog/public/m/header_bg.gif +0 -0
  134. data/examples/no_xsl_blog/public/m/nitro.gif +0 -0
  135. data/examples/no_xsl_blog/public/m/obull.gif +0 -0
  136. data/examples/no_xsl_blog/public/m/page_bg.gif +0 -0
  137. data/examples/no_xsl_blog/public/m/rss.gif +0 -0
  138. data/examples/no_xsl_blog/public/m/side_title_bg.gif +0 -0
  139. data/examples/no_xsl_blog/public/m/sidebar_bg.gif +0 -0
  140. data/examples/no_xsl_blog/public/recent_posts.xhtml +0 -14
  141. data/examples/no_xsl_blog/public/style.css +0 -299
  142. data/examples/no_xsl_blog/public/view_entry.xhtml +0 -25
  143. data/examples/no_xsl_blog/public/view_entry.xml +0 -12
  144. data/examples/no_xsl_blog/run.rb +0 -35
  145. data/examples/tiny/README +0 -14
  146. data/examples/tiny/conf/apache.conf +0 -30
  147. data/examples/tiny/conf/lhttpd.conf +0 -79
  148. data/examples/tiny/log/README +0 -3
  149. data/examples/tiny/log/apache.error_log +0 -154
  150. data/examples/tiny/public/deep/dir/hello.xhtml +0 -3
  151. data/examples/tiny/public/fcgi.rb +0 -5
  152. data/examples/tiny/public/include.xhtml +0 -3
  153. data/examples/tiny/public/index.xhtml +0 -55
  154. data/examples/tiny/public/nitro.png +0 -0
  155. data/examples/tiny/public/upload.xhtml +0 -21
  156. data/examples/tiny/run.rb +0 -7
  157. data/examples/wee_style/README +0 -10
  158. data/examples/wee_style/run.rb +0 -50
  159. data/examples/why_wiki/README +0 -5
  160. data/examples/why_wiki/run.rb +0 -59
  161. data/proto/public/js/ajax.js +0 -63
data/lib/nitro/testing.rb CHANGED
@@ -1,6 +1,2 @@
1
- # * George Moschovitis <gm@navel.gr>
2
- # (c) 2004-2005 Navel, all rights reserved.
3
- # $Id: testing.rb 1 2005-04-11 11:04:30Z gmosx $
4
-
5
1
  require 'nitro/testing/assertions'
6
2
  require 'nitro/testing/testcase'
@@ -17,6 +17,11 @@
17
17
  padding: 5px;
18
18
  color: #555;
19
19
  }
20
+ .source {
21
+ border: 1px solid #ccc;
22
+ padding: 10px;
23
+ margin-top: 10px; margin-bottom: 10px;
24
+ }
20
25
  h2 {
21
26
  padding-left: 5px;
22
27
  background: #eee;
@@ -28,9 +33,26 @@
28
33
 
29
34
  <?r for error, path in @context.rendering_errors ?>
30
35
  <div class="path"><strong>Path:</strong> #{path}</div>
31
- <div class="error"><strong>#{error.class.name}:</strong> #{Nitro::Markup.expand(error.to_s)}</div>
36
+ <div class="error"><strong>#{error.to_s}</strong></div>
32
37
  <div class="load">Click here to <strong><a href="#{request.uri}">reload</a></strong>.</div>
33
- <div class="load">Click here to go to the <strong><a href="#{request.referer}">referer</a></strong>.</div>
38
+ <div class="load">Click here to go to the <strong><a href="#{request.referer}">referer</a></strong> or the <strong><a href="/">home page</a></strong>.</div>
39
+ <?r if error.respond_to?(:source_extract) ?>
40
+ <div class="source">
41
+ <?r
42
+ extract = error.source_extract.split("\n")
43
+ extract.each_with_index do |line, idx|
44
+ line = Nitro::Markup.expand(line)
45
+ if 4 == idx
46
+ ?>
47
+ <div style="background: #eee">#{line}</div>
48
+ <?r else ?>
49
+ <div>#{line}</div>
50
+ <?r
51
+ end
52
+ end
53
+ ?>
54
+ </div>
55
+ <?r end ?>
34
56
  <h2><a href="#" onclick="document.getElementById('trace').style.display = 'block'; return false">Stack Trace</a></h2>
35
57
  <p id="trace" style="display: none">#{error.backtrace.join('<br />')}</p>
36
58
  <?r end ?>
@@ -52,5 +74,8 @@
52
74
  <div id="session" style="display: none">
53
75
  <p><strong>Values:</strong> #{session.inspect}</p>
54
76
  </div>
77
+
78
+ <br /><br />
79
+ Powered by <a href="http://www.nitrohq.com">Nitro</a> version #{Nitro::Version}
55
80
  </body>
56
81
  </html>
File without changes
@@ -5,7 +5,7 @@ require 'ostruct'
5
5
  require 'test/unit'
6
6
 
7
7
  require 'nitro/cookie'
8
- require 'nitro/adapters/cgi'
8
+ require 'nitro/adapter/cgi'
9
9
 
10
10
  class TC_AdaptersCgi < Test::Unit::TestCase # :nodoc: all
11
11
  include Nitro
@@ -3,7 +3,7 @@ $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
3
3
  require 'test/unit'
4
4
  require 'ostruct'
5
5
 
6
- require 'nitro/adapters/webrick'
6
+ require 'nitro/adapter/webrick'
7
7
 
8
8
  class TC_AdaptersWebrick < Test::Unit::TestCase # :nodoc: all
9
9
  include Nitro
@@ -1,7 +1,7 @@
1
1
  $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
2
2
 
3
3
  require 'test/unit'
4
- require 'nitro/builders/atom'
4
+ require 'nitro/builder/atom'
5
5
 
6
6
  class TestCaseBuildersAtom < Test::Unit::TestCase # :nodoc: all
7
7
  include Nitro
@@ -1,7 +1,7 @@
1
1
  $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
2
2
 
3
3
  require 'test/unit'
4
- require 'nitro/builders/rss'
4
+ require 'nitro/builder/rss'
5
5
 
6
6
  class TC_BuildersRss < Test::Unit::TestCase # :nodoc: all
7
7
  include Nitro
@@ -1,7 +1,7 @@
1
1
  $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
2
2
 
3
3
  require 'test/unit'
4
- require 'nitro/builders/table'
4
+ require 'nitro/builder/table'
5
5
 
6
6
  class TC_BuildersTable < Test::Unit::TestCase # :nodoc: all
7
7
  include Nitro
@@ -1,7 +1,7 @@
1
1
  $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
2
2
 
3
3
  require 'test/unit'
4
- require 'nitro/builders/xhtml'
4
+ require 'nitro/builder/xhtml'
5
5
 
6
6
  class TC_BuildersXhtml < Test::Unit::TestCase # :nodoc: all
7
7
  include Nitro
@@ -1,7 +1,7 @@
1
1
  $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
2
2
 
3
3
  require 'test/unit'
4
- require 'nitro/builders/xml'
4
+ require 'nitro/builder/xml'
5
5
 
6
6
  class TC_BuildersXml < Test::Unit::TestCase # :nodoc: all
7
7
  include Nitro
@@ -0,0 +1,18 @@
1
+ $:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
2
+
3
+ require 'test/unit'
4
+
5
+ require 'nitro/caching'
6
+
7
+ class TC_Caching < Test::Unit::TestCase # :nodoc: all
8
+ include Nitro
9
+
10
+ class DummyCa
11
+ include Nitro::Caching
12
+ end
13
+
14
+ def test_all
15
+ p Caching.public_instance_methods
16
+ p DummyCa.public_instance_methods
17
+ end
18
+ end
@@ -26,7 +26,7 @@ class TC_Controller < Test::Unit::TestCase # :nodoc: all
26
26
  @disp = Dispatcher.new({
27
27
  'blog' => Blog2Controller,
28
28
  })
29
- @disp.template_root = File.join(File.dirname(__FILE__), '..', 'public')
29
+ @disp.template_root = 'test/public/root'
30
30
  @conf = OpenStruct.new
31
31
  @conf.dispatcher = @disp
32
32
  end
@@ -1,9 +1,11 @@
1
1
  $:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
2
2
 
3
+ $NITRO_NO_ENVIRONMENT = true
4
+
3
5
  require 'test/unit'
4
6
  require 'ostruct'
5
7
 
6
- require 'nitro/controller'
8
+ require 'nitro'
7
9
  require 'nitro/mail'
8
10
 
9
11
  class TestCaseMail < Test::Unit::TestCase # :nodoc: all
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
3
3
  specification_version: 1
4
4
  name: nitro
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.17.0
7
- date: 2005-05-16
6
+ version: 0.18.0
7
+ date: 2005-06-01
8
8
  summary: Nitro Web Engine
9
9
  require_paths:
10
10
  - lib
@@ -42,147 +42,7 @@ files:
42
42
  - benchmark/tiny-lhttpd-n-200-c-5.txt
43
43
  - benchmark/static-webrick-n-200.txt
44
44
  - benchmark/simple-webrick-n-200.txt
45
- - examples/wee_style
46
- - examples/tiny
47
- - examples/ajax
48
- - examples/blog
49
- - examples/no_xsl_blog
50
- - examples/why_wiki
51
- - examples/flash
52
- - examples/README.windows
53
- - examples/wee_style/run.rb
54
- - examples/wee_style/README
55
- - examples/tiny/log
56
- - examples/tiny/conf
57
- - examples/tiny/public
58
- - examples/tiny/run.rb
59
- - examples/tiny/README
60
- - examples/tiny/log/apache.error_log
61
- - examples/tiny/log/README
62
- - examples/tiny/conf/lhttpd.conf
63
- - examples/tiny/conf/apache.conf
64
- - examples/tiny/public/deep
65
- - examples/tiny/public/include.xhtml
66
- - examples/tiny/public/upload.xhtml
67
- - examples/tiny/public/index.xhtml
68
- - examples/tiny/public/fcgi.rb
69
- - examples/tiny/public/nitro.png
70
- - examples/tiny/public/deep/dir
71
- - examples/tiny/public/deep/dir/hello.xhtml
72
- - examples/ajax/public
73
- - examples/ajax/controller.rb
74
- - examples/ajax/run.rb
75
- - examples/ajax/public/js
76
- - examples/ajax/public/index.xhtml
77
- - examples/ajax/public/js/ajax.js
78
- - examples/blog/test
79
- - examples/blog/log
80
- - examples/blog/conf
81
- - examples/blog/src
82
- - examples/blog/public
83
- - examples/blog/run.rb
84
- - examples/blog/README
85
- - examples/blog/test/tc_blog.rb
86
- - examples/blog/log/apache.error_log
87
- - examples/blog/log/rewrite_log
88
- - examples/blog/log/README
89
- - examples/blog/conf/locales
90
- - examples/blog/conf/apache.conf.new
91
- - examples/blog/conf/lhttpd.conf
92
- - examples/blog/conf/apache.conf
93
- - examples/blog/conf/locales/en.yml
94
- - examples/blog/conf/locales/de.yml
95
- - examples/blog/src/models
96
- - examples/blog/src/xsl
97
- - examples/blog/src/views
98
- - examples/blog/src/mailer.rb
99
- - examples/blog/src/blog.rb
100
- - examples/blog/src/controller.rb
101
- - examples/blog/src/models/content.rb
102
- - examples/blog/src/models/blog.rb
103
- - examples/blog/src/xsl/style.xsl
104
- - examples/blog/src/xsl/base.xsl
105
- - examples/blog/src/views/recent_posts.xhtml
106
- - examples/blog/src/views/entry_form.xhtml
107
- - examples/blog/src/views/comments.xhtml
108
- - examples/blog/src/views/index.xhtml
109
- - examples/blog/src/views/view_entry.xhtml
110
- - examples/blog/src/views/login.xhtml
111
- - examples/blog/src/views/error.xhtml
112
- - examples/blog/src/views/blog_entry_email.xhtml
113
- - examples/blog/src/views/view_entry.xml
114
- - examples/blog/public/m
115
- - examples/blog/public/style.css
116
- - examples/blog/public/base.xsl
117
- - examples/blog/public/fcgi.rb
118
- - examples/blog/public/m/header_bg.gif
119
- - examples/blog/public/m/nitro.gif
120
- - examples/blog/public/m/obull.gif
121
- - examples/blog/public/m/side_title_bg.gif
122
- - examples/blog/public/m/bubbles.gif
123
- - examples/blog/public/m/sidebar_bg.gif
124
- - examples/blog/public/m/h1_bg.gif
125
- - examples/blog/public/m/garrow.gif
126
- - examples/blog/public/m/footer_bg.gif
127
- - examples/blog/public/m/page_bg.gif
128
- - examples/blog/public/m/gbull.gif
129
- - examples/blog/public/m/grbull.gif
130
- - examples/blog/public/m/rss.gif
131
- - examples/blog/public/m/down.gif
132
- - examples/blog/public/m/comments_curve.gif
133
- - examples/no_xsl_blog/log
134
- - examples/no_xsl_blog/conf
135
- - examples/no_xsl_blog/lib
136
- - examples/no_xsl_blog/public
137
- - examples/no_xsl_blog/run.rb
138
- - examples/no_xsl_blog/README
139
- - examples/no_xsl_blog/log/apache.error_log
140
- - examples/no_xsl_blog/log/README
141
- - examples/no_xsl_blog/conf/locales
142
- - examples/no_xsl_blog/conf/lhttpd.conf
143
- - examples/no_xsl_blog/conf/apache.conf
144
- - examples/no_xsl_blog/conf/locales/en.yml
145
- - examples/no_xsl_blog/conf/locales/de.yml
146
- - examples/no_xsl_blog/lib/blog
147
- - examples/no_xsl_blog/lib/content.rb
148
- - examples/no_xsl_blog/lib/blog.rb
149
- - examples/no_xsl_blog/lib/blog/template.rb
150
- - examples/no_xsl_blog/lib/blog/model.rb
151
- - examples/no_xsl_blog/lib/blog/controller.rb
152
- - examples/no_xsl_blog/public/m
153
- - examples/no_xsl_blog/public/recent_posts.xhtml
154
- - examples/no_xsl_blog/public/entry_form.xhtml
155
- - examples/no_xsl_blog/public/comments.xhtml
156
- - examples/no_xsl_blog/public/index.xhtml
157
- - examples/no_xsl_blog/public/login.xhtml
158
- - examples/no_xsl_blog/public/view_entry.xhtml
159
- - examples/no_xsl_blog/public/style.css
160
- - examples/no_xsl_blog/public/fcgi.rb
161
- - examples/no_xsl_blog/public/view_entry.xml
162
- - examples/no_xsl_blog/public/m/header_bg.gif
163
- - examples/no_xsl_blog/public/m/nitro.gif
164
- - examples/no_xsl_blog/public/m/obull.gif
165
- - examples/no_xsl_blog/public/m/side_title_bg.gif
166
- - examples/no_xsl_blog/public/m/bubbles.gif
167
- - examples/no_xsl_blog/public/m/sidebar_bg.gif
168
- - examples/no_xsl_blog/public/m/h1_bg.gif
169
- - examples/no_xsl_blog/public/m/garrow.gif
170
- - examples/no_xsl_blog/public/m/footer_bg.gif
171
- - examples/no_xsl_blog/public/m/page_bg.gif
172
- - examples/no_xsl_blog/public/m/gbull.gif
173
- - examples/no_xsl_blog/public/m/grbull.gif
174
- - examples/no_xsl_blog/public/m/rss.gif
175
- - examples/no_xsl_blog/public/m/down.gif
176
- - examples/no_xsl_blog/public/m/comments_curve.gif
177
- - examples/why_wiki/run.rb
178
- - examples/why_wiki/README
179
- - examples/flash/log
180
- - examples/flash/root
181
- - examples/flash/conf
182
- - examples/flash/run.rb
183
- - examples/flash/log/README
184
- - examples/flash/root/index.xhtml
185
- - examples/flash/root/show_inline_text.xhtml
45
+ - examples/README
186
46
  - doc/architecture.txt
187
47
  - doc/apache.txt
188
48
  - doc/tutorial.txt
@@ -198,6 +58,7 @@ files:
198
58
  - proto/conf
199
59
  - proto/doc
200
60
  - proto/public
61
+ - proto/src
201
62
  - proto/run.rb
202
63
  - proto/README
203
64
  - proto/conf/lhttpd.conf
@@ -212,15 +73,14 @@ files:
212
73
  - proto/public/fcgi.rb
213
74
  - proto/public/media/nitro.png
214
75
  - proto/public/js/prototype.js
215
- - proto/public/js/ajax.js
216
76
  - lib/nitro
217
77
  - lib/nitro.rb
218
- - lib/nitro/adapters
78
+ - lib/nitro/builder
219
79
  - lib/nitro/testing
220
80
  - lib/nitro/session
221
- - lib/nitro/shaders
81
+ - lib/nitro/adapter
222
82
  - lib/nitro/caching
223
- - lib/nitro/builders
83
+ - lib/nitro/element
224
84
  - lib/nitro/ui
225
85
  - lib/nitro/controller.rb
226
86
  - lib/nitro/scaffold.rb
@@ -245,37 +105,41 @@ files:
245
105
  - lib/nitro/environment.rb
246
106
  - lib/nitro/shaders.rb
247
107
  - lib/nitro/response.rb
108
+ - lib/nitro/errors.rb
248
109
  - lib/nitro/runner.rb
249
110
  - lib/nitro/template.rb
250
111
  - lib/nitro/element.rb
251
- - lib/nitro/adapters/fastcgi.rb
252
- - lib/nitro/adapters/cgi.rb
253
- - lib/nitro/adapters/webrick.rb
112
+ - lib/nitro/service.rb
113
+ - lib/nitro/service
114
+ - lib/nitro/builder/xhtml.rb
115
+ - lib/nitro/builder/xml.rb
116
+ - lib/nitro/builder/form.rb
117
+ - lib/nitro/builder/rss.rb
118
+ - lib/nitro/builder/table.rb
119
+ - lib/nitro/builder/atom.rb
254
120
  - lib/nitro/testing/assertions.rb
255
121
  - lib/nitro/testing/context.rb
256
122
  - lib/nitro/testing/testcase.rb
257
123
  - lib/nitro/session/drbserver.rb
258
124
  - lib/nitro/session/drb.rb
259
125
  - lib/nitro/session/memory.rb
126
+ - lib/nitro/adapter/fastcgi.rb
127
+ - lib/nitro/adapter/cgi.rb
128
+ - lib/nitro/adapter/webrick.rb
260
129
  - lib/nitro/caching/invalidation.rb
261
130
  - lib/nitro/caching/stores.rb
262
131
  - lib/nitro/caching/actions.rb
263
132
  - lib/nitro/caching/output.rb
264
133
  - lib/nitro/caching/fragments.rb
265
- - lib/nitro/builders/xhtml.rb
266
- - lib/nitro/builders/xml.rb
267
- - lib/nitro/builders/form.rb
268
- - lib/nitro/builders/rss.rb
269
- - lib/nitro/builders/table.rb
270
- - lib/nitro/builders/atom.rb
271
134
  - lib/nitro/ui/pager.rb
272
135
  - lib/nitro/ui/popup.rb
273
136
  - lib/nitro/ui/tabs.rb
137
+ - lib/nitro/service/xmlrpc.rb
274
138
  - test/nitro
275
139
  - test/public
276
- - test/nitro/adapters
277
- - test/nitro/builders
140
+ - test/nitro/builder
278
141
  - test/nitro/ui
142
+ - test/nitro/adapter
279
143
  - test/nitro/tc_localization.rb
280
144
  - test/nitro/tc_template.rb
281
145
  - test/nitro/tc_uri.rb
@@ -285,15 +149,16 @@ files:
285
149
  - test/nitro/tc_context.rb
286
150
  - test/nitro/tc_dispatcher.rb
287
151
  - test/nitro/tc_element.rb
288
- - test/nitro/adapters/raw_post1.bin
289
- - test/nitro/adapters/tc_cgi.rb
290
- - test/nitro/adapters/tc_webrick.rb
291
- - test/nitro/builders/tc_rss.rb
292
- - test/nitro/builders/tc_table.rb
293
- - test/nitro/builders/tc_xhtml.rb
294
- - test/nitro/builders/tc_xml.rb
295
- - test/nitro/builders/tc_atom.rb
152
+ - test/nitro/tc_caching.rb
153
+ - test/nitro/builder/tc_rss.rb
154
+ - test/nitro/builder/tc_table.rb
155
+ - test/nitro/builder/tc_xhtml.rb
156
+ - test/nitro/builder/tc_xml.rb
157
+ - test/nitro/builder/tc_atom.rb
296
158
  - test/nitro/ui/tc_pager.rb
159
+ - test/nitro/adapter/raw_post1.bin
160
+ - test/nitro/adapter/tc_cgi.rb
161
+ - test/nitro/adapter/tc_webrick.rb
297
162
  - test/public/blog
298
163
  - test/public/dummy_mailer
299
164
  - test/public/blog/inc1.xhtml
@@ -327,7 +192,7 @@ dependencies:
327
192
  -
328
193
  - "="
329
194
  - !ruby/object:Gem::Version
330
- version: 0.17.0
195
+ version: 0.18.0
331
196
  version:
332
197
  - !ruby/object:Gem::Dependency
333
198
  name: og
@@ -337,7 +202,7 @@ dependencies:
337
202
  -
338
203
  - "="
339
204
  - !ruby/object:Gem::Version
340
- version: 0.17.0
205
+ version: 0.18.0
341
206
  version:
342
207
  - !ruby/object:Gem::Dependency
343
208
  name: facets