nitro 0.26.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/CHANGELOG +312 -0
  2. data/INSTALL +3 -1
  3. data/ProjectInfo +6 -9
  4. data/README +32 -5
  5. data/Rakefile +5 -1
  6. data/bin/nitrogen +3 -60
  7. data/doc/MIGRATION +24 -0
  8. data/doc/RELEASES +141 -0
  9. data/doc/lhttpd.txt +3 -0
  10. data/lib/glue/magick.rb +38 -0
  11. data/lib/glue/thumbnails.rb +3 -0
  12. data/lib/glue/webfile.rb +137 -0
  13. data/lib/nitro.rb +1 -1
  14. data/lib/nitro/adapter/acgi.rb +235 -0
  15. data/lib/nitro/adapter/cgi.rb +16 -17
  16. data/lib/nitro/adapter/scgi.rb +4 -4
  17. data/lib/nitro/adapter/webrick.rb +9 -2
  18. data/lib/nitro/cgi.rb +49 -49
  19. data/lib/nitro/cgi/response.rb +4 -0
  20. data/lib/nitro/cgi/stream.rb +7 -7
  21. data/lib/nitro/cgi/utils.rb +2 -1
  22. data/lib/nitro/compiler.rb +47 -4
  23. data/lib/nitro/compiler/elements.rb +40 -20
  24. data/lib/nitro/compiler/layout.rb +21 -0
  25. data/lib/nitro/compiler/localization.rb +3 -1
  26. data/lib/nitro/compiler/markup.rb +2 -0
  27. data/lib/nitro/compiler/morphing.rb +16 -4
  28. data/lib/nitro/compiler/script.rb +109 -0
  29. data/lib/nitro/context.rb +10 -10
  30. data/lib/nitro/dispatcher.rb +4 -2
  31. data/lib/nitro/element.rb +107 -26
  32. data/lib/nitro/element/{java_script.rb → javascript.rb} +7 -1
  33. data/lib/nitro/flash.rb +4 -1
  34. data/lib/nitro/helper.rb +15 -0
  35. data/lib/nitro/helper/benchmark.rb +8 -2
  36. data/lib/nitro/helper/form.rb +3 -3
  37. data/lib/nitro/helper/form/controls.rb +131 -29
  38. data/lib/nitro/helper/{dojo.rb → form/test.xhtml} +0 -0
  39. data/lib/nitro/helper/javascript.rb +69 -59
  40. data/lib/nitro/helper/{scriptaculous.rb → javascript/dojo.rb} +0 -0
  41. data/lib/nitro/helper/javascript/morphing.rb +163 -0
  42. data/lib/nitro/helper/javascript/prototype.rb +96 -0
  43. data/lib/nitro/helper/javascript/scriptaculous.rb +18 -0
  44. data/lib/nitro/helper/layout.rb +42 -0
  45. data/lib/nitro/helper/table.rb +190 -27
  46. data/lib/nitro/{adapter → helper}/wee.rb +9 -3
  47. data/lib/nitro/render.rb +23 -17
  48. data/lib/nitro/scaffolding.rb +19 -2
  49. data/lib/nitro/server.rb +4 -8
  50. data/lib/nitro/server/runner.rb +28 -6
  51. data/lib/nitro/session.rb +7 -7
  52. data/lib/nitro_and_og.rb +2 -0
  53. data/proto/public/Makefile.acgi +40 -0
  54. data/proto/public/acgi.c +138 -0
  55. data/proto/public/js/builder.js +7 -3
  56. data/proto/public/js/controls.js +32 -12
  57. data/proto/public/js/dragdrop.js +4 -3
  58. data/proto/public/js/effects.js +111 -62
  59. data/proto/public/js/scriptaculous.js +10 -13
  60. data/proto/public/js/slider.js +88 -31
  61. data/proto/public/scaffold/new.xhtml +2 -2
  62. data/setup.rb +1585 -0
  63. data/src/part/admin.rb +6 -0
  64. data/src/part/admin/controller.rb +3 -3
  65. data/src/part/admin/skin.rb +1 -8
  66. data/test/nitro/adapter/tc_webrick.rb +2 -0
  67. data/test/nitro/tc_controller_aspect.rb +1 -1
  68. data/test/nitro/tc_element.rb +5 -6
  69. data/test/nitro/tc_table.rb +66 -0
  70. metadata +277 -271
  71. data/doc/architecture.txt +0 -2
  72. data/doc/bugs.txt +0 -15
  73. data/doc/tutorial.txt +0 -26
  74. data/install.rb +0 -37
  75. data/lib/nitro/compiler/script_generator.rb +0 -14
  76. data/lib/nitro/compiler/shaders.rb +0 -206
  77. data/lib/nitro/helper/prototype.rb +0 -49
  78. data/lib/nitro/scaffold/relations.rb +0 -54
data/src/part/admin.rb CHANGED
@@ -7,4 +7,10 @@ Nitro::Server.map['/admin'] = AdminController
7
7
 
8
8
  # The admin part.
9
9
 
10
+ class AdminPart
11
+ # The charset used in the admin pages.
12
+
13
+ setting :charset, :default => 'utf-8', :doc => 'The charset used in the admin pages'
14
+ end
15
+
10
16
  # * George Moschovitis <gm@navel.gr>
@@ -51,15 +51,15 @@ class AdminController < Nitro::Controller
51
51
 
52
52
  def stylesheet(sheet='system')
53
53
  sheet << ".css"
54
- [Server.public_root, File.dirname(__FILE__)].each do |path|
54
+ [Nitro::Server.public_root, File.dirname(__FILE__)].each do |path|
55
55
  css_file = File.join(path, sheet)
56
56
  if File.exists? css_file
57
57
  response.content_type = 'text/css'
58
58
  @out << File.read(css_file)
59
- raise RenderExit
59
+ raise Nitro::RenderExit
60
60
  end
61
61
  end
62
- raise "stylesheet not found"
62
+ raise RenderExit
63
63
  end
64
64
  alias_action :stylesheets, :stylesheet
65
65
 
@@ -7,14 +7,7 @@ class SystemPage < Nitro::Element
7
7
  <head>
8
8
  <title>System</title>
9
9
  <base href="\#{context.host_url}\#{base}/" />
10
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
11
- <!--
12
- <script src="/js/behaviour.js" type="text/javascript"> </script>
13
- <script src="/js/prototype.js" type="text/javascript"> </script>
14
- <script src="/js/effects.js" type="text/javascript"> </script>
15
- <script src="/js/dragdrop.js" type="text/javascript"> </script>
16
- <script src="/js/controls.js" type="text/javascript"> </script>
17
- -->
10
+ <meta http-equiv="content-type" content="text/html; charset=#{AdminPart.charset}" />
18
11
  <link rel="stylesheet" href="stylesheet/system" type="text/css" media="screen" />
19
12
  </head>
20
13
  <body>
@@ -3,6 +3,8 @@ $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
3
3
  require 'test/unit'
4
4
  require 'ostruct'
5
5
 
6
+ require 'glue'
7
+ require 'nitro'
6
8
  require 'nitro/adapter/webrick'
7
9
 
8
10
  class TC_AdaptersWebrick < Test::Unit::TestCase # :nodoc: all
@@ -2,7 +2,7 @@ $:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
2
2
 
3
3
  require 'test/unit'
4
4
 
5
- require 'nitro/controller'
5
+ require 'nitro'
6
6
 
7
7
  class TestControllerAspect < Test::Unit::TestCase # :nodoc: all
8
8
  include Nitro
@@ -2,6 +2,7 @@ $:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
2
2
 
3
3
  require 'test/unit'
4
4
 
5
+ require 'glue'
5
6
  require 'nitro/compiler/elements'
6
7
 
7
8
  include Nitro
@@ -47,7 +48,7 @@ class Page < Nitro::Element
47
48
  %~
48
49
  <html id="2">
49
50
  #{content}
50
- #{content :foo}
51
+ #{content :bar}
51
52
  </html>
52
53
  ~
53
54
  end
@@ -64,8 +65,6 @@ class Box < Nitro::Element
64
65
  end
65
66
 
66
67
  class Bar < Nitro::Element
67
- name :foo
68
-
69
68
  def render
70
69
  %~
71
70
  This is a great #{content}.
@@ -75,10 +74,10 @@ end
75
74
 
76
75
  class TC_Element < Test::Unit::TestCase # :nodoc: all
77
76
  def test_all
78
- res = ElementProcessor.transform($source)
77
+ res = ElementProcessor.transform($source, nil)
79
78
  assert_match /div style/, res
80
- res = ElementProcessor.transform($source2)
79
+ res = ElementProcessor.transform($source2, nil)
81
80
  assert_match /div style/, res
82
- res = ElementProcessor.transform($source3)
81
+ res = ElementProcessor.transform($source3, nil)
83
82
  end
84
83
  end
@@ -0,0 +1,66 @@
1
+ $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
2
+
3
+ require 'test/unit'
4
+ require 'nitro/helper/table'
5
+
6
+ class TC_TableHelper < Test::Unit::TestCase # :nodoc: all
7
+ include Nitro
8
+ include TableHelper
9
+
10
+ User = Struct.new(:name, :password, :email)
11
+
12
+ def setup
13
+ @headers = %w{Name Password Email}
14
+ @users = [
15
+ User.new('gmosx', 'huh?', 'gm@nowhere.com'),
16
+ User.new('renos', 'nah', 'renos@nowhere.com'),
17
+ User.new('stella', 'hoh', 'stella@love.com')
18
+ ]
19
+ end
20
+
21
+ def teardown
22
+ @users = nil
23
+ end
24
+
25
+ def test_table
26
+ values = @users.collect { |u| [u.name, u.password, u.email] }
27
+ table = build_table(:id => 'test', :headers => @headers, :values => values)
28
+ res = %|<table id="test"><tr><th>Name</th><th>Password</th><th>Email</th></tr><tr><td>gmosx</td><td>huh?</td><td>gm@nowhere.com</td></tr><tr><td>renos</td><td>nah</td><td>renos@nowhere.com</td></tr><tr><td>stella</td><td>hoh</td><td>stella@love.com</td></tr></table>|
29
+ assert_equal res, table
30
+ end
31
+
32
+ def test_table_footer
33
+ values = @users.collect { |u| [u.name, u.password, u.email] }
34
+ footers = ["#{@users.size}users", '', '']
35
+
36
+ table = build_table(:id => 'test2', :headers => @headers, :values => values, :footers => footers)
37
+
38
+ res = %|<table id="test2"><thead><tr><th>Name</th><th>Password</th><th>Email</th></tr></thead><tfoot><tr><td>3users</td><td></td><td></td></tr></tfoot><tr><td>gmosx</td><td>huh?</td><td>gm@nowhere.com</td></tr><tr><td>renos</td><td>nah</td><td>renos@nowhere.com</td></tr><tr><td>stella</td><td>hoh</td><td>stella@love.com</td></tr></table>|
39
+ assert_equal res, table
40
+ end
41
+
42
+ def test_table_tbody
43
+ values = []
44
+ values << @users[0...1].collect { |u| [u.name, u.password, u.email] }
45
+ values << @users[1..2].collect { |u| [u.name, u.password, u.email] }
46
+ table = build_table(:id => 'test', :headers => @headers, :values => values)
47
+ res = %|<table id="test"><thead><tr><th>Name</th><th>Password</th><th>Email</th></tr></thead><tbody><tr><td>gmosx</td><td>huh?</td><td>gm@nowhere.com</td></tr></tbody><tbody><tr><td>renos</td><td>nah</td><td>renos@nowhere.com</td></tr><tr><td>stella</td><td>hoh</td><td>stella@love.com</td></tr></tbody></table>|
48
+ assert_equal res, table
49
+ end
50
+
51
+ def test_table_alternating_rows
52
+ values = @users.collect { |u| [u.name, u.password, u.email] }
53
+ table = build_table(:id => 'test', :headers => @headers, :values => values, :alternating_rows => true)
54
+ res = %|<table id="test"><tr><th>Name</th><th>Password</th><th>Email</th></tr><tr class="row_odd"><td>gmosx</td><td>huh?</td><td>gm@nowhere.com</td></tr><tr class="row_even"><td>renos</td><td>nah</td><td>renos@nowhere.com</td></tr><tr class="row_odd"><td>stella</td><td>hoh</td><td>stella@love.com</td></tr></table>|
55
+ assert_equal res, table
56
+ end
57
+
58
+ def test_table_alternating_rows_tbody
59
+ values = []
60
+ values << @users[0...1].collect { |u| [u.name, u.password, u.email] }
61
+ values << @users[1..2].collect { |u| [u.name, u.password, u.email] }
62
+ table = build_table(:id => 'test', :headers => @headers, :values => values, :alternating_rows => true)
63
+ res = %|<table id="test"><thead><tr><th>Name</th><th>Password</th><th>Email</th></tr></thead><tbody><tr class="row_odd"><td>gmosx</td><td>huh?</td><td>gm@nowhere.com</td></tr></tbody><tbody><tr class="row_even"><td>renos</td><td>nah</td><td>renos@nowhere.com</td></tr><tr class="row_odd"><td>stella</td><td>hoh</td><td>stella@love.com</td></tr></tbody></table>|
64
+ assert_equal res, table
65
+ end
66
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.10
2
+ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: nitro
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.26.0
7
- date: 2005-12-21
6
+ version: 0.27.0
7
+ date: 2006-01-16 00:00:00 +02:00
8
8
  summary: Everything you need to create Web 2.0 applications with Ruby and Javascript
9
9
  require_paths:
10
- - lib
10
+ - lib
11
11
  email: gm@navel.gr
12
12
  homepage: http://www.nitrohq.com
13
13
  rubyforge_project: nitro
@@ -15,283 +15,289 @@ description:
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin
18
- has_rdoc: false
18
+ has_rdoc: true
19
19
  required_ruby_version: !ruby/object:Gem::Version::Requirement
20
20
  requirements:
21
- -
22
- - ">"
23
- - !ruby/object:Gem::Version
24
- version: 0.0.0
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
25
24
  version:
26
25
  platform: ruby
26
+ signing_key:
27
+ cert_chain:
27
28
  authors:
28
- - George Moschovitis
29
+ - George Moschovitis
29
30
  files:
30
- - bin
31
- - CHANGELOG
32
- - doc
33
- - INSTALL
34
- - install.rb
35
- - lib
36
- - ProjectInfo
37
- - proto
38
- - Rakefile
39
- - README
40
- - src
41
- - test
42
- - bin/nitro
43
- - bin/nitrogen
44
- - doc/apache.txt
45
- - doc/architecture.txt
46
- - doc/AUTHORS
47
- - doc/bugs.txt
48
- - doc/CHANGELOG.1
49
- - doc/CHANGELOG.2
50
- - doc/CHANGELOG.3
51
- - doc/config.txt
52
- - doc/faq.txt
53
- - doc/lhttpd.txt
54
- - doc/LICENSE
55
- - doc/MIGRATION
56
- - doc/RELEASES
57
- - doc/tutorial.txt
58
- - lib/glue
59
- - lib/nitro
60
- - lib/nitro.rb
61
- - lib/glue/sweeper.rb
62
- - lib/nitro/adapter
63
- - lib/nitro/caching
64
- - lib/nitro/caching.rb
65
- - lib/nitro/cgi
66
- - lib/nitro/cgi.rb
67
- - lib/nitro/compiler
68
- - lib/nitro/compiler.rb
69
- - lib/nitro/context.rb
70
- - lib/nitro/controller.rb
71
- - lib/nitro/dispatcher.rb
72
- - lib/nitro/element
73
- - lib/nitro/element.rb
74
- - lib/nitro/flash.rb
75
- - lib/nitro/helper
76
- - lib/nitro/helper.rb
77
- - lib/nitro/render.rb
78
- - lib/nitro/routing.rb
79
- - lib/nitro/scaffold
80
- - lib/nitro/scaffolding.rb
81
- - lib/nitro/server
82
- - lib/nitro/server.rb
83
- - lib/nitro/service
84
- - lib/nitro/service.rb
85
- - lib/nitro/session
86
- - lib/nitro/session.rb
87
- - lib/nitro/test
88
- - lib/nitro/test.rb
89
- - lib/nitro/adapter/cgi.rb
90
- - lib/nitro/adapter/fastcgi.rb
91
- - lib/nitro/adapter/scgi.rb
92
- - lib/nitro/adapter/webrick.rb
93
- - lib/nitro/adapter/wee.rb
94
- - lib/nitro/caching/actions.rb
95
- - lib/nitro/caching/fragments.rb
96
- - lib/nitro/caching/invalidation.rb
97
- - lib/nitro/caching/output.rb
98
- - lib/nitro/caching/stores.rb
99
- - lib/nitro/cgi/cookie.rb
100
- - lib/nitro/cgi/http.rb
101
- - lib/nitro/cgi/request.rb
102
- - lib/nitro/cgi/response.rb
103
- - lib/nitro/cgi/stream.rb
104
- - lib/nitro/cgi/utils.rb
105
- - lib/nitro/compiler/cleanup.rb
106
- - lib/nitro/compiler/css.rb
107
- - lib/nitro/compiler/elements.rb
108
- - lib/nitro/compiler/errors.rb
109
- - lib/nitro/compiler/include.rb
110
- - lib/nitro/compiler/localization.rb
111
- - lib/nitro/compiler/markup.rb
112
- - lib/nitro/compiler/morphing.rb
113
- - lib/nitro/compiler/script_generator.rb
114
- - lib/nitro/compiler/shaders.rb
115
- - lib/nitro/compiler/squeeze.rb
116
- - lib/nitro/compiler/xslt.rb
117
- - lib/nitro/element/java_script.rb
118
- - lib/nitro/helper/benchmark.rb
119
- - lib/nitro/helper/buffer.rb
120
- - lib/nitro/helper/debug.rb
121
- - lib/nitro/helper/default.rb
122
- - lib/nitro/helper/dojo.rb
123
- - lib/nitro/helper/form
124
- - lib/nitro/helper/form.rb
125
- - lib/nitro/helper/javascript.rb
126
- - lib/nitro/helper/pager.rb
127
- - lib/nitro/helper/prototype.rb
128
- - lib/nitro/helper/rss.rb
129
- - lib/nitro/helper/scriptaculous.rb
130
- - lib/nitro/helper/table.rb
131
- - lib/nitro/helper/xhtml.rb
132
- - lib/nitro/helper/xml.rb
133
- - lib/nitro/helper/form/controls.rb
134
- - lib/nitro/scaffold/relations.rb
135
- - lib/nitro/server/runner.rb
136
- - lib/nitro/service/xmlrpc.rb
137
- - lib/nitro/session/drb.rb
138
- - lib/nitro/session/drbserver.rb
139
- - lib/nitro/session/file.rb
140
- - lib/nitro/session/memory.rb
141
- - lib/nitro/session/og.rb
142
- - lib/nitro/test/assertions.rb
143
- - lib/nitro/test/context.rb
144
- - lib/nitro/test/testcase.rb
145
- - proto/conf
146
- - proto/public
147
- - proto/run.rb
148
- - proto/script
149
- - proto/src
150
- - proto/conf/apache.conf
151
- - proto/conf/lhttpd.conf
152
- - proto/public/cgi.rb
153
- - proto/public/error.xhtml
154
- - proto/public/fcgi.rb
155
- - proto/public/js
156
- - proto/public/media
157
- - proto/public/robots.txt
158
- - proto/public/scaffold
159
- - proto/public/js/behaviour.js
160
- - proto/public/js/builder.js
161
- - proto/public/js/controls.js
162
- - proto/public/js/cookies.js
163
- - proto/public/js/dragdrop.js
164
- - proto/public/js/effects.js
165
- - proto/public/js/prototype.js
166
- - proto/public/js/scriptaculous.js
167
- - proto/public/js/slider.js
168
- - proto/public/js/unittest.js
169
- - proto/public/js/util.js
170
- - proto/public/media/nitro.png
171
- - proto/public/scaffold/edit.xhtml
172
- - proto/public/scaffold/form.xhtml
173
- - proto/public/scaffold/index.xhtml
174
- - proto/public/scaffold/list.xhtml
175
- - proto/public/scaffold/new.xhtml
176
- - proto/public/scaffold/search.xhtml
177
- - proto/public/scaffold/view.xhtml
178
- - proto/script/benchmark
179
- - proto/script/runner
180
- - proto/script/scgi_ctl
181
- - proto/script/scgi_service
182
- - proto/src/skin.rb
183
- - src/part
184
- - src/part/admin
185
- - src/part/admin.rb
186
- - src/part/admin/controller.rb
187
- - src/part/admin/skin.rb
188
- - src/part/admin/system.css
189
- - src/part/admin/template
190
- - src/part/admin/template/denied.xhtml
191
- - src/part/admin/template/index.xhtml
192
- - test/nitro
193
- - test/public
194
- - test/nitro/adapter
195
- - test/nitro/caching
196
- - test/nitro/cgi
197
- - test/nitro/compiler
198
- - test/nitro/helper
199
- - test/nitro/tc_caching.rb
200
- - test/nitro/tc_cgi.rb
201
- - test/nitro/tc_context.rb
202
- - test/nitro/tc_controller.rb
203
- - test/nitro/tc_controller_aspect.rb
204
- - test/nitro/tc_dispatcher.rb
205
- - test/nitro/tc_element.rb
206
- - test/nitro/tc_flash.rb
207
- - test/nitro/tc_helper.rb
208
- - test/nitro/tc_render.rb
209
- - test/nitro/tc_server.rb
210
- - test/nitro/tc_session.rb
211
- - test/nitro/adapter/raw_post1.bin
212
- - test/nitro/adapter/tc_webrick.rb
213
- - test/nitro/caching/tc_stores.rb
214
- - test/nitro/cgi/tc_cookie.rb
215
- - test/nitro/cgi/tc_request.rb
216
- - test/nitro/helper/tc_pager.rb
217
- - test/nitro/helper/tc_rss.rb
218
- - test/nitro/helper/tc_table.rb
219
- - test/nitro/helper/tc_xhtml.rb
220
- - test/public/blog
221
- - test/public/dummy_mailer
222
- - test/public/blog/another
223
- - test/public/blog/inc1.xhtml
224
- - test/public/blog/inc2.xhtml
225
- - test/public/blog/list.xhtml
226
- - test/public/blog/another/very_litle
227
- - test/public/blog/another/very_litle/index.xhtml
228
- - test/public/dummy_mailer/registration.xhtml
31
+ - bin
32
+ - doc
33
+ - lib
34
+ - src
35
+ - test
36
+ - ProjectInfo
37
+ - setup.rb
38
+ - Rakefile
39
+ - README
40
+ - INSTALL
41
+ - CHANGELOG
42
+ - proto
43
+ - bin/nitrogen
44
+ - bin/nitro
45
+ - doc/lhttpd.txt
46
+ - doc/faq.txt
47
+ - doc/config.txt
48
+ - doc/RELEASES
49
+ - doc/CHANGELOG.3
50
+ - doc/apache.txt
51
+ - doc/MIGRATION
52
+ - doc/LICENSE
53
+ - doc/CHANGELOG.2
54
+ - doc/CHANGELOG.1
55
+ - doc/AUTHORS
56
+ - lib/nitro
57
+ - lib/glue
58
+ - lib/nitro.rb
59
+ - lib/nitro_and_og.rb
60
+ - lib/nitro/adapter
61
+ - lib/nitro/caching
62
+ - lib/nitro/cgi
63
+ - lib/nitro/compiler
64
+ - lib/nitro/element
65
+ - lib/nitro/server
66
+ - lib/nitro/service
67
+ - lib/nitro/session
68
+ - lib/nitro/test
69
+ - lib/nitro/session.rb
70
+ - lib/nitro/test.rb
71
+ - lib/nitro/service.rb
72
+ - lib/nitro/server.rb
73
+ - lib/nitro/compiler.rb
74
+ - lib/nitro/routing.rb
75
+ - lib/nitro/render.rb
76
+ - lib/nitro/flash.rb
77
+ - lib/nitro/element.rb
78
+ - lib/nitro/context.rb
79
+ - lib/nitro/dispatcher.rb
80
+ - lib/nitro/controller.rb
81
+ - lib/nitro/helper
82
+ - lib/nitro/cgi.rb
83
+ - lib/nitro/caching.rb
84
+ - lib/nitro/helper.rb
85
+ - lib/nitro/scaffolding.rb
86
+ - lib/nitro/adapter/scgi.rb
87
+ - lib/nitro/adapter/acgi.rb
88
+ - lib/nitro/adapter/webrick.rb
89
+ - lib/nitro/adapter/fastcgi.rb
90
+ - lib/nitro/adapter/cgi.rb
91
+ - lib/nitro/caching/fragments.rb
92
+ - lib/nitro/caching/stores.rb
93
+ - lib/nitro/caching/output.rb
94
+ - lib/nitro/caching/invalidation.rb
95
+ - lib/nitro/caching/actions.rb
96
+ - lib/nitro/cgi/response.rb
97
+ - lib/nitro/cgi/utils.rb
98
+ - lib/nitro/cgi/stream.rb
99
+ - lib/nitro/cgi/request.rb
100
+ - lib/nitro/cgi/http.rb
101
+ - lib/nitro/cgi/cookie.rb
102
+ - lib/nitro/compiler/elements.rb
103
+ - lib/nitro/compiler/xslt.rb
104
+ - lib/nitro/compiler/squeeze.rb
105
+ - lib/nitro/compiler/layout.rb
106
+ - lib/nitro/compiler/markup.rb
107
+ - lib/nitro/compiler/errors.rb
108
+ - lib/nitro/compiler/localization.rb
109
+ - lib/nitro/compiler/css.rb
110
+ - lib/nitro/compiler/morphing.rb
111
+ - lib/nitro/compiler/include.rb
112
+ - lib/nitro/compiler/cleanup.rb
113
+ - lib/nitro/compiler/script.rb
114
+ - lib/nitro/element/javascript.rb
115
+ - lib/nitro/server/runner.rb
116
+ - lib/nitro/service/xmlrpc.rb
117
+ - lib/nitro/session/drbserver.rb
118
+ - lib/nitro/session/memory.rb
119
+ - lib/nitro/session/file.rb
120
+ - lib/nitro/session/drb.rb
121
+ - lib/nitro/session/og.rb
122
+ - lib/nitro/test/testcase.rb
123
+ - lib/nitro/test/context.rb
124
+ - lib/nitro/test/assertions.rb
125
+ - lib/nitro/helper/xhtml.rb
126
+ - lib/nitro/helper/xml.rb
127
+ - lib/nitro/helper/benchmark.rb
128
+ - lib/nitro/helper/table.rb
129
+ - lib/nitro/helper/rss.rb
130
+ - lib/nitro/helper/pager.rb
131
+ - lib/nitro/helper/form.rb
132
+ - lib/nitro/helper/javascript.rb
133
+ - lib/nitro/helper/default.rb
134
+ - lib/nitro/helper/debug.rb
135
+ - lib/nitro/helper/buffer.rb
136
+ - lib/nitro/helper/form
137
+ - lib/nitro/helper/wee.rb
138
+ - lib/nitro/helper/javascript
139
+ - lib/nitro/helper/layout.rb
140
+ - lib/nitro/helper/form/controls.rb
141
+ - lib/nitro/helper/form/test.xhtml
142
+ - lib/nitro/helper/javascript/scriptaculous.rb
143
+ - lib/nitro/helper/javascript/prototype.rb
144
+ - lib/nitro/helper/javascript/morphing.rb
145
+ - lib/nitro/helper/javascript/dojo.rb
146
+ - lib/glue/sweeper.rb
147
+ - lib/glue/magick.rb
148
+ - lib/glue/webfile.rb
149
+ - lib/glue/thumbnails.rb
150
+ - src/part
151
+ - src/part/admin
152
+ - src/part/admin.rb
153
+ - src/part/admin/template
154
+ - src/part/admin/skin.rb
155
+ - src/part/admin/system.css
156
+ - src/part/admin/controller.rb
157
+ - src/part/admin/template/index.xhtml
158
+ - src/part/admin/template/denied.xhtml
159
+ - test/nitro
160
+ - test/public
161
+ - test/nitro/adapter
162
+ - test/nitro/cgi
163
+ - test/nitro/compiler
164
+ - test/nitro/tc_dispatcher.rb
165
+ - test/nitro/tc_session.rb
166
+ - test/nitro/tc_server.rb
167
+ - test/nitro/tc_render.rb
168
+ - test/nitro/tc_flash.rb
169
+ - test/nitro/tc_element.rb
170
+ - test/nitro/helper
171
+ - test/nitro/tc_helper.rb
172
+ - test/nitro/tc_controller_aspect.rb
173
+ - test/nitro/tc_controller.rb
174
+ - test/nitro/tc_context.rb
175
+ - test/nitro/tc_cgi.rb
176
+ - test/nitro/tc_caching.rb
177
+ - test/nitro/caching
178
+ - test/nitro/tc_table.rb
179
+ - test/nitro/adapter/tc_webrick.rb
180
+ - test/nitro/adapter/raw_post1.bin
181
+ - test/nitro/cgi/tc_request.rb
182
+ - test/nitro/cgi/tc_cookie.rb
183
+ - test/nitro/helper/tc_xhtml.rb
184
+ - test/nitro/helper/tc_table.rb
185
+ - test/nitro/helper/tc_rss.rb
186
+ - test/nitro/helper/tc_pager.rb
187
+ - test/nitro/caching/tc_stores.rb
188
+ - test/public/blog
189
+ - test/public/dummy_mailer
190
+ - test/public/blog/another
191
+ - test/public/blog/list.xhtml
192
+ - test/public/blog/inc2.xhtml
193
+ - test/public/blog/inc1.xhtml
194
+ - test/public/blog/another/very_litle
195
+ - test/public/blog/another/very_litle/index.xhtml
196
+ - test/public/dummy_mailer/registration.xhtml
197
+ - proto/conf
198
+ - proto/public
199
+ - proto/script
200
+ - proto/src
201
+ - proto/run.rb
202
+ - proto/conf/lhttpd.conf
203
+ - proto/conf/apache.conf
204
+ - proto/public/js
205
+ - proto/public/media
206
+ - proto/public/scaffold
207
+ - proto/public/acgi.c
208
+ - proto/public/robots.txt
209
+ - proto/public/fcgi.rb
210
+ - proto/public/error.xhtml
211
+ - proto/public/cgi.rb
212
+ - proto/public/Makefile.acgi
213
+ - proto/public/js/util.js
214
+ - proto/public/js/scriptaculous.js
215
+ - proto/public/js/prototype.js
216
+ - proto/public/js/effects.js
217
+ - proto/public/js/dragdrop.js
218
+ - proto/public/js/cookies.js
219
+ - proto/public/js/controls.js
220
+ - proto/public/js/behaviour.js
221
+ - proto/public/js/unittest.js
222
+ - proto/public/js/slider.js
223
+ - proto/public/js/builder.js
224
+ - proto/public/media/nitro.png
225
+ - proto/public/scaffold/index.xhtml
226
+ - proto/public/scaffold/view.xhtml
227
+ - proto/public/scaffold/new.xhtml
228
+ - proto/public/scaffold/list.xhtml
229
+ - proto/public/scaffold/form.xhtml
230
+ - proto/public/scaffold/edit.xhtml
231
+ - proto/public/scaffold/search.xhtml
232
+ - proto/script/scgi_service
233
+ - proto/script/scgi_ctl
234
+ - proto/script/runner
235
+ - proto/script/benchmark
236
+ - proto/src/skin.rb
229
237
  test_files: []
238
+
230
239
  rdoc_options: []
240
+
231
241
  extra_rdoc_files: []
242
+
232
243
  executables:
233
- - nitro
234
- - nitrogen
244
+ - nitro
235
245
  extensions: []
246
+
236
247
  requirements: []
248
+
237
249
  dependencies:
238
- - !ruby/object:Gem::Dependency
239
- name: og
240
- version_requirement:
241
- version_requirements: !ruby/object:Gem::Version::Requirement
242
- requirements:
243
- -
244
- - "="
245
- - !ruby/object:Gem::Version
246
- version: 0.26.0
247
- version:
248
- - !ruby/object:Gem::Dependency
249
- name: gen
250
- version_requirement:
251
- version_requirements: !ruby/object:Gem::Version::Requirement
252
- requirements:
253
- -
254
- - "="
255
- - !ruby/object:Gem::Version
256
- version: 0.26.0
257
- version:
258
- - !ruby/object:Gem::Dependency
259
- name: glue
260
- version_requirement:
261
- version_requirements: !ruby/object:Gem::Version::Requirement
262
- requirements:
263
- -
264
- - "="
265
- - !ruby/object:Gem::Version
266
- version: 0.26.0
267
- version:
268
- - !ruby/object:Gem::Dependency
269
- name: RedCloth
270
- version_requirement:
271
- version_requirements: !ruby/object:Gem::Version::Requirement
272
- requirements:
273
- -
274
- - "="
275
- - !ruby/object:Gem::Version
276
- version: 3.0.3
277
- version:
278
- - !ruby/object:Gem::Dependency
279
- name: ruby-breakpoint
280
- version_requirement:
281
- version_requirements: !ruby/object:Gem::Version::Requirement
282
- requirements:
283
- -
284
- - "="
285
- - !ruby/object:Gem::Version
286
- version: "0.5"
287
- version:
288
- - !ruby/object:Gem::Dependency
289
- name: daemons
290
- version_requirement:
291
- version_requirements: !ruby/object:Gem::Version::Requirement
292
- requirements:
293
- -
294
- - "="
295
- - !ruby/object:Gem::Version
296
- version: 0.4.2
297
- version:
250
+ - !ruby/object:Gem::Dependency
251
+ name: og
252
+ version_requirement:
253
+ version_requirements: !ruby/object:Gem::Version::Requirement
254
+ requirements:
255
+ - - "="
256
+ - !ruby/object:Gem::Version
257
+ version: 0.27.0
258
+ version:
259
+ - !ruby/object:Gem::Dependency
260
+ name: gen
261
+ version_requirement:
262
+ version_requirements: !ruby/object:Gem::Version::Requirement
263
+ requirements:
264
+ - - "="
265
+ - !ruby/object:Gem::Version
266
+ version: 0.27.0
267
+ version:
268
+ - !ruby/object:Gem::Dependency
269
+ name: glue
270
+ version_requirement:
271
+ version_requirements: !ruby/object:Gem::Version::Requirement
272
+ requirements:
273
+ - - "="
274
+ - !ruby/object:Gem::Version
275
+ version: 0.27.0
276
+ version:
277
+ - !ruby/object:Gem::Dependency
278
+ name: RedCloth
279
+ version_requirement:
280
+ version_requirements: !ruby/object:Gem::Version::Requirement
281
+ requirements:
282
+ - - "="
283
+ - !ruby/object:Gem::Version
284
+ version: 3.0.3
285
+ version:
286
+ - !ruby/object:Gem::Dependency
287
+ name: ruby-breakpoint
288
+ version_requirement:
289
+ version_requirements: !ruby/object:Gem::Version::Requirement
290
+ requirements:
291
+ - - "="
292
+ - !ruby/object:Gem::Version
293
+ version: "0.5"
294
+ version:
295
+ - !ruby/object:Gem::Dependency
296
+ name: daemons
297
+ version_requirement:
298
+ version_requirements: !ruby/object:Gem::Version::Requirement
299
+ requirements:
300
+ - - "="
301
+ - !ruby/object:Gem::Version
302
+ version: 0.4.2
303
+ version: