nitro 0.31.0 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. data/bin/nitro +135 -37
  2. data/doc/CHANGELOG.1 +108 -108
  3. data/doc/CHANGELOG.2 +89 -89
  4. data/doc/CHANGELOG.3 +105 -105
  5. data/{CHANGELOG → doc/CHANGELOG.4} +509 -509
  6. data/doc/{AUTHORS → CONTRIBUTORS} +49 -37
  7. data/doc/LIBRARIES +13 -0
  8. data/doc/LICENSE +2 -3
  9. data/doc/MIGRATION +45 -0
  10. data/doc/RELEASES +131 -11
  11. data/doc/TODO +67 -0
  12. data/lib/glue/magick.rb +0 -3
  13. data/lib/glue/sweeper.rb +30 -15
  14. data/lib/glue/thumbnails.rb +0 -2
  15. data/lib/glue/webfile.rb +23 -11
  16. data/lib/nitro.rb +37 -44
  17. data/lib/nitro/adapter/cgi.rb +0 -3
  18. data/lib/nitro/adapter/console.rb +0 -2
  19. data/lib/nitro/adapter/fastcgi.rb +6 -3
  20. data/lib/nitro/adapter/mongrel.rb +97 -58
  21. data/lib/nitro/adapter/script.rb +4 -6
  22. data/lib/nitro/adapter/webrick.rb +33 -87
  23. data/lib/nitro/adapter/webrick/vcr.rb +85 -0
  24. data/lib/nitro/caching.rb +0 -2
  25. data/lib/nitro/caching/actions.rb +0 -2
  26. data/lib/nitro/caching/fragments.rb +0 -2
  27. data/lib/nitro/caching/output.rb +45 -16
  28. data/lib/nitro/caching/proxy.rb +49 -0
  29. data/lib/nitro/cgi.rb +3 -6
  30. data/lib/nitro/cgi/cookie.rb +0 -3
  31. data/lib/nitro/cgi/request.rb +67 -24
  32. data/lib/nitro/cgi/response.rb +0 -2
  33. data/lib/nitro/cgi/{sendfile.rb → send_file.rb} +7 -6
  34. data/lib/nitro/compiler.rb +62 -55
  35. data/lib/nitro/compiler/cleanup.rb +0 -3
  36. data/lib/nitro/compiler/elements.rb +31 -28
  37. data/lib/nitro/compiler/errors.rb +2 -5
  38. data/lib/nitro/compiler/include.rb +10 -8
  39. data/lib/nitro/compiler/layout.rb +0 -2
  40. data/lib/nitro/compiler/localization.rb +0 -2
  41. data/lib/nitro/compiler/markup.rb +14 -6
  42. data/lib/nitro/compiler/morphing.rb +1 -5
  43. data/lib/nitro/compiler/script.rb +2 -4
  44. data/lib/nitro/compiler/squeeze.rb +0 -2
  45. data/lib/nitro/compiler/xslt.rb +0 -2
  46. data/lib/nitro/context.rb +10 -5
  47. data/lib/nitro/control.rb +18 -0
  48. data/lib/nitro/control/attribute.rb +88 -0
  49. data/lib/nitro/control/attribute/checkbox.rb +19 -0
  50. data/lib/nitro/control/attribute/datetime.rb +21 -0
  51. data/lib/nitro/control/attribute/file.rb +20 -0
  52. data/lib/nitro/control/attribute/fixnum.rb +26 -0
  53. data/lib/nitro/control/attribute/float.rb +26 -0
  54. data/lib/nitro/control/attribute/options.rb +38 -0
  55. data/lib/nitro/control/attribute/password.rb +16 -0
  56. data/lib/nitro/control/attribute/text.rb +16 -0
  57. data/lib/nitro/control/attribute/textarea.rb +16 -0
  58. data/lib/nitro/control/none.rb +16 -0
  59. data/lib/nitro/control/relation.rb +53 -0
  60. data/lib/nitro/control/relation/belongs_to.rb +0 -0
  61. data/lib/nitro/control/relation/has_many.rb +97 -0
  62. data/lib/nitro/control/relation/joins_many.rb +0 -0
  63. data/lib/nitro/control/relation/many_to_many.rb +0 -0
  64. data/lib/nitro/control/relation/refers_to.rb +29 -0
  65. data/lib/nitro/controller.rb +7 -296
  66. data/lib/nitro/dispatcher.rb +72 -34
  67. data/lib/nitro/element.rb +36 -10
  68. data/lib/nitro/element/javascript.rb +0 -2
  69. data/lib/nitro/flash.rb +23 -10
  70. data/lib/nitro/global.rb +36 -11
  71. data/lib/nitro/helper.rb +22 -8
  72. data/lib/nitro/helper/benchmark.rb +0 -2
  73. data/lib/nitro/helper/buffer.rb +0 -3
  74. data/lib/nitro/helper/css.rb +12 -0
  75. data/lib/nitro/helper/debug.rb +1 -3
  76. data/lib/nitro/helper/default.rb +1 -0
  77. data/lib/nitro/helper/feed.rb +400 -386
  78. data/lib/nitro/helper/form.rb +246 -116
  79. data/lib/nitro/helper/javascript.rb +28 -2
  80. data/lib/nitro/helper/javascript/morphing.rb +0 -2
  81. data/lib/nitro/helper/javascript/prototype.rb +0 -2
  82. data/lib/nitro/helper/javascript/scriptaculous.rb +0 -1
  83. data/lib/nitro/helper/layout.rb +0 -2
  84. data/lib/nitro/helper/navigation.rb +87 -0
  85. data/lib/nitro/helper/pager.rb +11 -22
  86. data/lib/nitro/helper/table.rb +9 -32
  87. data/lib/nitro/helper/url.rb +104 -0
  88. data/lib/nitro/helper/xhtml.rb +20 -4
  89. data/lib/nitro/helper/xml.rb +0 -2
  90. data/lib/nitro/markup.rb +131 -0
  91. data/lib/nitro/part.rb +52 -7
  92. data/lib/nitro/publishable.rb +328 -0
  93. data/lib/nitro/render.rb +30 -61
  94. data/lib/nitro/router.rb +12 -4
  95. data/lib/nitro/sanitize.rb +48 -0
  96. data/lib/nitro/scaffold.rb +9 -11
  97. data/lib/nitro/scaffold/controller.rb +25 -0
  98. data/lib/nitro/scaffold/model.rb +150 -0
  99. data/lib/nitro/scaffolding.rb +1 -3
  100. data/lib/nitro/server.rb +57 -32
  101. data/lib/nitro/server/drb.rb +16 -2
  102. data/lib/nitro/server/runner.rb +80 -102
  103. data/lib/nitro/service.rb +0 -1
  104. data/lib/nitro/service/xmlrpc.rb +0 -2
  105. data/lib/nitro/session.rb +26 -18
  106. data/lib/nitro/session/drb.rb +2 -16
  107. data/lib/nitro/session/memory.rb +0 -2
  108. data/lib/nitro/template.rb +219 -0
  109. data/lib/nitro/test/assertions.rb +1 -3
  110. data/lib/nitro/test/context.rb +0 -1
  111. data/lib/nitro/test/testcase.rb +0 -1
  112. data/lib/nitro/version.rb +6 -0
  113. data/lib/part/admin.rb +16 -0
  114. data/lib/part/admin/controller.rb +19 -0
  115. data/lib/part/admin/helper.rb +30 -0
  116. data/lib/part/admin/og/controller.rb +114 -0
  117. data/lib/part/admin/og/customize.rb +4 -0
  118. data/lib/part/admin/og/template/index.xhtml +27 -0
  119. data/lib/part/admin/og/template/list.xhtml +38 -0
  120. data/lib/part/admin/og/template/search.xhtml +20 -0
  121. data/lib/part/admin/og/template/update.xhtml +25 -0
  122. data/lib/part/admin/skin.rb +207 -0
  123. data/lib/part/admin/template/denied.xhtml +13 -0
  124. data/lib/part/admin/template/index.xhtml +12 -0
  125. data/lib/part/admin/todo.txt +2 -0
  126. data/proto/public/error.xhtml +4 -2
  127. data/proto/run.rb +0 -2
  128. data/test/glue/tc_webfile.rb +1 -0
  129. data/test/nitro/cgi/tc_request.rb +23 -0
  130. data/test/nitro/helper/tc_feed.rb +0 -3
  131. data/test/nitro/helper/tc_navbar.rb +74 -0
  132. data/test/nitro/helper/tc_table.rb +2 -0
  133. data/test/nitro/tc_cgi.rb +72 -19
  134. data/test/nitro/tc_controller.rb +35 -26
  135. data/test/nitro/tc_controller_aspect.rb +1 -0
  136. data/test/nitro/tc_controller_params.rb +864 -0
  137. data/test/nitro/tc_dispatcher.rb +2 -2
  138. data/test/nitro/tc_element.rb +16 -16
  139. data/test/nitro/tc_flash.rb +3 -3
  140. data/test/nitro/tc_markup.rb +31 -0
  141. data/test/nitro/tc_render.rb +12 -14
  142. data/test/nitro/tc_session.rb +9 -7
  143. data/test/nitro/tc_template.rb +34 -0
  144. metadata +217 -198
  145. data/INSTALL +0 -121
  146. data/ProjectInfo +0 -74
  147. data/README +0 -555
  148. data/doc/apache.txt +0 -9
  149. data/doc/config.txt +0 -28
  150. data/doc/faq.txt +0 -7
  151. data/doc/lhttpd.txt +0 -7
  152. data/lib/nitro/adapter/scgi.rb +0 -239
  153. data/lib/nitro/helper/form/builder.rb +0 -144
  154. data/lib/nitro/helper/form/controls.rb +0 -389
  155. data/lib/nitro/helper/rss.rb +0 -72
  156. data/proto/conf/apache.conf +0 -51
  157. data/proto/public/scaffold/advanced_search.xhtml +0 -30
  158. data/proto/public/scaffold/edit.xhtml +0 -11
  159. data/proto/public/scaffold/form.xhtml +0 -1
  160. data/proto/public/scaffold/index.xhtml +0 -20
  161. data/proto/public/scaffold/list.xhtml +0 -32
  162. data/proto/public/scaffold/new.xhtml +0 -11
  163. data/proto/public/scaffold/search.xhtml +0 -29
  164. data/proto/public/scaffold/view.xhtml +0 -8
  165. data/proto/script/scgi_ctl +0 -221
  166. data/proto/script/scgi_service +0 -128
  167. data/setup.rb +0 -1585
  168. data/src/part/admin.rb +0 -16
  169. data/src/part/admin/controller.rb +0 -81
  170. data/src/part/admin/skin.rb +0 -21
  171. data/src/part/admin/system.css +0 -135
  172. data/src/part/admin/template/denied.xhtml +0 -1
  173. data/src/part/admin/template/index.xhtml +0 -43
  174. data/test/nitro/helper/tc_rss.rb +0 -24
@@ -7,7 +7,7 @@ require 'nitro'
7
7
  class TC_Dispatcher < Test::Unit::TestCase # :nodoc: all
8
8
  include Nitro
9
9
 
10
- Glue::Template.root = File.expand_path(File.join('..', 'public'))
10
+ Nitro::Template.root = File.expand_path(File.join('..', 'public'))
11
11
 
12
12
  class MyContext
13
13
  attr_accessor :headers
@@ -62,7 +62,7 @@ class TC_Dispatcher < Test::Unit::TestCase # :nodoc: all
62
62
  assert_equal BlogController, klass
63
63
  assert_equal 'another__very_litle_action', action
64
64
 
65
- assert_raises(NoActionError) do
65
+ assert_raises(ActionError) do
66
66
  @d.dispatch('a/nonexistent/action')
67
67
  end
68
68
  =begin
@@ -54,32 +54,32 @@ class Page < Nitro::Element
54
54
  end
55
55
  end
56
56
 
57
- class Nitro::Element
58
- class Box < Nitro::Element
59
- def open
60
- %|<div style="color: #@color">|
61
- end
62
-
63
- def close
64
- "</div>"
65
- end
57
+ class Box < Nitro::Element
58
+ def open
59
+ %|<div style="color: #@color">|
60
+ end
61
+
62
+ def close
63
+ "</div>"
66
64
  end
65
+ end
67
66
 
68
- class Bar < Nitro::Element
69
- def render
70
- %~
67
+ class Bar < Nitro::Element
68
+ def render
69
+ %~
71
70
  This is a great #{content}.
72
71
  ~
73
- end
74
72
  end
75
73
  end
76
74
 
77
75
  class TC_Element < Test::Unit::TestCase # :nodoc: all
78
76
  def test_all
79
- res = ElementProcessor.transform($source, nil)
77
+ compiler_mock = Struct.new(:controller).new
78
+
79
+ res = ElementCompiler.transform($source, compiler_mock)
80
80
  assert_match /div style/, res
81
- res = ElementProcessor.transform($source2, nil)
81
+ res = ElementCompiler.transform($source2, compiler_mock)
82
82
  assert_match /div style/, res
83
- res = ElementProcessor.transform($source3, nil)
83
+ res = ElementCompiler.transform($source3, compiler_mock)
84
84
  end
85
85
  end
@@ -50,10 +50,10 @@ class TC_Flash < Test::Unit::TestCase # :nodoc: all
50
50
 
51
51
  assert_equal 2, f[:errors].size
52
52
 
53
- f.push :errors, [1, 2, 3]
53
+ f.push :errors, 'Error 3'
54
54
 
55
- assert_equal 5, f[:errors].size
55
+ assert_equal 3, f[:errors].size
56
56
 
57
- assert_equal 3, f[:errors].pop
57
+ assert_equal 'Error 3', f[:errors].pop
58
58
  end
59
59
  end
@@ -0,0 +1,31 @@
1
+ require File.join(File.dirname(__FILE__), 'CONFIG.rb')
2
+
3
+ require 'test/unit'
4
+
5
+ require 'nitro/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 %{&lt;p&gt;Hello World!&lt;/p&gt;},
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
@@ -13,24 +13,24 @@ class TestRender < Test::Unit::TestCase # :nodoc: all
13
13
  mock :response_headers, {}
14
14
  mock :host_url, 'http://www.nitroproject.org'
15
15
  end
16
-
16
+
17
17
  class TestController < Controller
18
18
  end
19
-
19
+
20
20
  def setup
21
21
  ctx = ContextMock.new
22
- @controller = TestController.new(ContextMock.new, '/base')
22
+ @controller = TestController.new(ctx)
23
23
  end
24
-
24
+
25
25
  def teardown
26
26
  @controller = nil
27
27
  end
28
-
28
+
29
29
  def test_redirect
30
- # relative url, the controller base_url is prepended
30
+ # relative url, the controller base_url is prepended (uh, really?)
31
31
  redirect 'hello'
32
- assert_equal 'http://www.nitroproject.org/base/hello', @controller.context.response_headers['location']
33
-
32
+ assert_equal 'http://www.nitroproject.org/hello', @controller.context.response_headers['location']
33
+
34
34
  # absolute url, use as is.
35
35
  redirect '/main'
36
36
  assert_equal 'http://www.nitroproject.org/main', @controller.context.response_headers['location']
@@ -39,15 +39,13 @@ class TestRender < Test::Unit::TestCase # :nodoc: all
39
39
  redirect 'http://www.gmosx.com/info'
40
40
  assert_equal 'http://www.gmosx.com/info', @controller.context.response_headers['location']
41
41
 
42
- # bug.
43
- redirect 'edit/Home'
44
- assert_equal 'http://www.nitroproject.org/base/edit/Home', @controller.context.response_headers['location']
45
-
46
- @controller.base = nil
47
42
  redirect 'edit/Home'
43
+ assert_equal 'http://www.nitroproject.org/edit/Home', @controller.context.response_headers['location']
44
+
45
+ redirect '/edit/Home'
48
46
  assert_equal 'http://www.nitroproject.org/edit/Home', @controller.context.response_headers['location']
49
47
  end
50
-
48
+
51
49
  def redirect(*args)
52
50
  begin
53
51
  @controller.send :redirect, *args
@@ -10,13 +10,15 @@ require 'nitro/session'
10
10
  class TC_Session < Test::Unit::TestCase # :nodoc: all
11
11
  include Nitro
12
12
 
13
- CACHES = [:memory, :file, :og]
13
+ # TODO: also check for :og !
14
+ CACHES = [:memory, :file] #, :og]
14
15
  begin
15
16
  require 'glue/cache/memcached'
16
17
  Glue::MemCached.new
17
18
  CACHES << :memcached
18
- rescue Object # Errno::EBADF => e
19
+ rescue Errno::ECONNREFUSED => ex # FIXME: Lookup Win32/Linux/BSD error
19
20
  Logger.warn "skipping memcached test: server not running"
21
+ #Logger.warn ex.class # FIXME: remove when all error types listed above
20
22
  end
21
23
 
22
24
 
@@ -39,16 +41,17 @@ class TC_Session < Test::Unit::TestCase # :nodoc: all
39
41
  FileUtils.rm_r path if File.exists? path
40
42
  end
41
43
 
42
- Session.cache_type = cache_type
44
+ Session.setup(cache_type)
43
45
 
44
46
  if cache_type == :og
45
- Og.setup(:store => :sqlite, :destroy => true)
47
+ Og.start(:store => :sqlite, :destroy => true)
48
+ # Og.start(:store => :mysql, :name => 'test', :user => 'root', :destroy => true)
46
49
  end
47
50
 
48
51
  sessions = (1..2).collect do
49
52
  s = Session.new
50
- s.sync
51
- s
53
+ s.sync
54
+ s
52
55
  end
53
56
 
54
57
  Session.cache.gc!
@@ -60,5 +63,4 @@ class TC_Session < Test::Unit::TestCase # :nodoc: all
60
63
  sessions.each { |s| assert_nil(Session.cache[s.session_id]) }
61
64
  end
62
65
  end
63
-
64
66
  end
@@ -0,0 +1,34 @@
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
+ end
metadata CHANGED
@@ -3,15 +3,15 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: nitro
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.31.0
7
- date: 2006-07-20 00:00:00 -07:00
6
+ version: 0.40.0
7
+ date: 2006-11-13 10:56:16 +02:00
8
8
  summary: Everything you need to create Web 2.0 applications with Ruby and Javascript
9
9
  require_paths:
10
10
  - lib
11
- email: gm@navel.gr
11
+ email:
12
12
  homepage: http://www.nitroproject.org
13
13
  rubyforge_project:
14
- description:
14
+ description: Nitro provides everything you need to develop professional Web applications using Ruby and Javascript. Nitro redefines Rapid Application Development by providing a clean, yet efficient API, a layer of domain specific languages implemented on top of Ruby and the most powerful and elegant object relational mapping solution available everywhere. Nitro is Web 2.0 ready, featuring excellent support for AJAX, XML, Syndication while staying standards compliant.
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin
@@ -27,219 +27,238 @@ signing_key:
27
27
  cert_chain:
28
28
  post_install_message:
29
29
  authors:
30
- - George Moschovitis
30
+ - George K. Moschovitis
31
31
  files:
32
- - bin
33
- - doc
34
- - lib
35
- - src
36
- - test
37
- - proto
38
- - .
32
+ - bin/nitro
39
33
  - lib/glue
40
34
  - lib/nitro
35
+ - lib/nitro.rb
36
+ - lib/nitro_and_og.rb
37
+ - lib/part
38
+ - lib/glue/magick.rb
39
+ - lib/glue/sweeper.rb
40
+ - lib/glue/thumbnails.rb
41
+ - lib/glue/webfile.rb
42
+ - lib/nitro/adapter
43
+ - lib/nitro/caching
44
+ - lib/nitro/caching.rb
41
45
  - lib/nitro/cgi
42
- - lib/nitro/test
43
- - lib/nitro/service
44
- - lib/nitro/session
45
- - lib/nitro/element
46
+ - lib/nitro/cgi.rb
46
47
  - lib/nitro/compiler
48
+ - lib/nitro/compiler.rb
49
+ - lib/nitro/context.rb
50
+ - lib/nitro/control
51
+ - lib/nitro/control.rb
52
+ - lib/nitro/controller.rb
53
+ - lib/nitro/dispatcher.rb
54
+ - lib/nitro/element
55
+ - lib/nitro/element.rb
56
+ - lib/nitro/flash.rb
57
+ - lib/nitro/global.rb
47
58
  - lib/nitro/helper
48
- - lib/nitro/adapter
59
+ - lib/nitro/helper.rb
60
+ - lib/nitro/markup.rb
61
+ - lib/nitro/part.rb
62
+ - lib/nitro/publishable.rb
63
+ - lib/nitro/render.rb
64
+ - lib/nitro/router.rb
65
+ - lib/nitro/sanitize.rb
66
+ - lib/nitro/scaffolding.rb
67
+ - lib/nitro/scaffold
68
+ - lib/nitro/scaffold.rb
49
69
  - lib/nitro/server
50
- - lib/nitro/caching
51
- - lib/nitro/helper/form
70
+ - lib/nitro/server.rb
71
+ - lib/nitro/service
72
+ - lib/nitro/service.rb
73
+ - lib/nitro/session
74
+ - lib/nitro/session.rb
75
+ - lib/nitro/template.rb
76
+ - lib/nitro/test
77
+ - lib/nitro/test.rb
78
+ - lib/nitro/version.rb
79
+ - lib/nitro/adapter/cgi.rb
80
+ - lib/nitro/adapter/console.rb
81
+ - lib/nitro/adapter/fastcgi.rb
82
+ - lib/nitro/adapter/mongrel.rb
83
+ - lib/nitro/adapter/script.rb
84
+ - lib/nitro/adapter/webrick
85
+ - lib/nitro/adapter/webrick.rb
86
+ - lib/nitro/adapter/webrick/vcr.rb
87
+ - lib/nitro/caching/actions.rb
88
+ - lib/nitro/caching/fragments.rb
89
+ - lib/nitro/caching/output.rb
90
+ - lib/nitro/caching/proxy.rb
91
+ - lib/nitro/cgi/cookie.rb
92
+ - lib/nitro/cgi/http.rb
93
+ - lib/nitro/cgi/request.rb
94
+ - lib/nitro/cgi/response.rb
95
+ - lib/nitro/cgi/send_file.rb
96
+ - lib/nitro/cgi/stream.rb
97
+ - lib/nitro/cgi/utils.rb
98
+ - lib/nitro/compiler/cleanup.rb
99
+ - lib/nitro/compiler/css.rb
100
+ - lib/nitro/compiler/elements.rb
101
+ - lib/nitro/compiler/errors.rb
102
+ - lib/nitro/compiler/include.rb
103
+ - lib/nitro/compiler/layout.rb
104
+ - lib/nitro/compiler/localization.rb
105
+ - lib/nitro/compiler/markup.rb
106
+ - lib/nitro/compiler/morphing.rb
107
+ - lib/nitro/compiler/script.rb
108
+ - lib/nitro/compiler/squeeze.rb
109
+ - lib/nitro/compiler/xslt.rb
110
+ - lib/nitro/control/attribute
111
+ - lib/nitro/control/attribute.rb
112
+ - lib/nitro/control/none.rb
113
+ - lib/nitro/control/relation
114
+ - lib/nitro/control/relation.rb
115
+ - lib/nitro/control/attribute/checkbox.rb
116
+ - lib/nitro/control/attribute/datetime.rb
117
+ - lib/nitro/control/attribute/file.rb
118
+ - lib/nitro/control/attribute/fixnum.rb
119
+ - lib/nitro/control/attribute/float.rb
120
+ - lib/nitro/control/attribute/options.rb
121
+ - lib/nitro/control/attribute/password.rb
122
+ - lib/nitro/control/attribute/text.rb
123
+ - lib/nitro/control/attribute/textarea.rb
124
+ - lib/nitro/control/relation/belongs_to.rb
125
+ - lib/nitro/control/relation/has_many.rb
126
+ - lib/nitro/control/relation/joins_many.rb
127
+ - lib/nitro/control/relation/many_to_many.rb
128
+ - lib/nitro/control/relation/refers_to.rb
129
+ - lib/nitro/element/javascript.rb
130
+ - lib/nitro/helper/benchmark.rb
131
+ - lib/nitro/helper/buffer.rb
132
+ - lib/nitro/helper/css.rb
133
+ - lib/nitro/helper/debug.rb
134
+ - lib/nitro/helper/default.rb
135
+ - lib/nitro/helper/feed.rb
136
+ - lib/nitro/helper/form.rb
52
137
  - lib/nitro/helper/javascript
53
- - src/part
54
- - src/part/admin
55
- - src/part/admin/template
138
+ - lib/nitro/helper/javascript.rb
139
+ - lib/nitro/helper/layout.rb
140
+ - lib/nitro/helper/navigation.rb
141
+ - lib/nitro/helper/pager.rb
142
+ - lib/nitro/helper/table.rb
143
+ - lib/nitro/helper/url.rb
144
+ - lib/nitro/helper/xhtml.rb
145
+ - lib/nitro/helper/xml.rb
146
+ - lib/nitro/helper/javascript/dojo.rb
147
+ - lib/nitro/helper/javascript/morphing.rb
148
+ - lib/nitro/helper/javascript/prototype.rb
149
+ - lib/nitro/helper/javascript/scriptaculous.rb
150
+ - lib/nitro/scaffold/controller.rb
151
+ - lib/nitro/scaffold/model.rb
152
+ - lib/nitro/server/drb.rb
153
+ - lib/nitro/server/runner.rb
154
+ - lib/nitro/service/xmlrpc.rb
155
+ - lib/nitro/session/drb.rb
156
+ - lib/nitro/session/file.rb
157
+ - lib/nitro/session/memcached.rb
158
+ - lib/nitro/session/memory.rb
159
+ - lib/nitro/session/og.rb
160
+ - lib/nitro/test/assertions.rb
161
+ - lib/nitro/test/context.rb
162
+ - lib/nitro/test/testcase.rb
163
+ - lib/part/admin.rb
164
+ - lib/part/admin
165
+ - lib/part/admin/controller.rb
166
+ - lib/part/admin/helper.rb
167
+ - lib/part/admin/og
168
+ - lib/part/admin/skin.rb
169
+ - lib/part/admin/todo.txt
170
+ - lib/part/admin/template
171
+ - lib/part/admin/og/controller.rb
172
+ - lib/part/admin/og/customize.rb
173
+ - lib/part/admin/og/template
174
+ - lib/part/admin/og/template/index.xhtml
175
+ - lib/part/admin/og/template/list.xhtml
176
+ - lib/part/admin/og/template/search.xhtml
177
+ - lib/part/admin/og/template/update.xhtml
178
+ - lib/part/admin/template/denied.xhtml
179
+ - lib/part/admin/template/index.xhtml
56
180
  - test/nitro
57
181
  - test/public
182
+ - test/glue
183
+ - test/nitro/adapter
58
184
  - test/nitro/cgi
59
185
  - test/nitro/compiler
186
+ - test/nitro/CONFIG.rb
60
187
  - test/nitro/helper
61
- - test/nitro/adapter
188
+ - test/nitro/tc_caching.rb
189
+ - test/nitro/tc_cgi.rb
190
+ - test/nitro/tc_controller_params.rb
191
+ - test/nitro/tc_controller_aspect.rb
192
+ - test/nitro/tc_context.rb
193
+ - test/nitro/tc_controller.rb
194
+ - test/nitro/tc_dispatcher.rb
195
+ - test/nitro/tc_element.rb
196
+ - test/nitro/tc_flash.rb
197
+ - test/nitro/tc_helper.rb
198
+ - test/nitro/tc_markup.rb
199
+ - test/nitro/tc_render.rb
200
+ - test/nitro/tc_router.rb
201
+ - test/nitro/tc_server.rb
202
+ - test/nitro/tc_session.rb
203
+ - test/nitro/tc_template.rb
204
+ - test/nitro/adapter/raw_post1.bin
205
+ - test/nitro/adapter/tc_webrick.rb
206
+ - test/nitro/cgi/tc_cookie.rb
207
+ - test/nitro/cgi/tc_request.rb
208
+ - test/nitro/compiler/tc_client_morpher.rb
209
+ - test/nitro/compiler/tc_compiler.rb
210
+ - test/nitro/helper/tc_feed.rb
211
+ - test/nitro/helper/tc_navbar.rb
212
+ - test/nitro/helper/tc_pager.rb
213
+ - test/nitro/helper/tc_table.rb
214
+ - test/nitro/helper/tc_xhtml.rb
62
215
  - test/public/blog
63
216
  - test/public/dummy_mailer
64
217
  - test/public/blog/another
218
+ - test/public/blog/inc1.xhtml
219
+ - test/public/blog/inc2.xhtml
220
+ - test/public/blog/list.xhtml
65
221
  - test/public/blog/another/very_litle
66
- - proto/src
222
+ - test/public/blog/another/very_litle/index.xhtml
223
+ - test/public/dummy_mailer/registration.xhtml
224
+ - test/glue/tc_webfile.rb
225
+ - doc/CHANGELOG.1
226
+ - doc/CHANGELOG.2
227
+ - doc/CHANGELOG.3
228
+ - doc/CONTRIBUTORS
229
+ - doc/LIBRARIES
230
+ - doc/LICENSE
231
+ - doc/MIGRATION
232
+ - doc/RELEASES
233
+ - doc/TODO
234
+ - doc/CHANGELOG.4
67
235
  - proto/conf
68
236
  - proto/public
237
+ - proto/run.rb
69
238
  - proto/script
239
+ - proto/src
240
+ - proto/conf/lhttpd.conf
241
+ - proto/public/cgi.rb
242
+ - proto/public/error.xhtml
243
+ - proto/public/fcgi.rb
70
244
  - proto/public/js
71
245
  - proto/public/media
72
- - proto/public/scaffold
73
- - proto/script/scgi_service
74
- - proto/public/scaffold/edit.xhtml
75
- - proto/public/js/slider.js
76
- - test/nitro/CONFIG.rb
77
- - lib/nitro/test/context.rb
78
- - src/part/admin/controller.rb
79
- - test/nitro/tc_controller.rb
80
- - lib/nitro/session/og.rb
81
- - lib/nitro/helper/javascript/morphing.rb
82
- - doc/config.txt
83
- - src/part/admin.rb
84
- - test/nitro/helper/tc_rss.rb
85
- - README
86
- - test/nitro/tc_render.rb
87
- - lib/nitro/compiler/errors.rb
88
- - doc/faq.txt
89
- - proto/public/scaffold/list.xhtml
90
- - test/nitro/tc_context.rb
91
- - lib/nitro/context.rb
92
- - lib/nitro/service.rb
93
- - lib/nitro/part.rb
94
- - lib/nitro/adapter/mongrel.rb
95
- - lib/nitro/adapter/console.rb
96
- - proto/script/runner
97
- - proto/public/js/behaviour.js
98
246
  - proto/public/robots.txt
99
- - bin/nitro
100
- - lib/nitro/helper/xhtml.rb
101
- - lib/nitro/helper/buffer.rb
102
- - doc/CHANGELOG.1
103
- - proto/script/benchmark
104
- - test/nitro/tc_caching.rb
105
- - lib/nitro/helper/benchmark.rb
106
- - lib/nitro/render.rb
107
- - CHANGELOG
108
- - doc/CHANGELOG.2
109
- - lib/nitro/helper/xml.rb
110
- - proto/public/media/nitro.png
111
- - proto/public/error.xhtml
112
- - lib/nitro/compiler/css.rb
113
- - lib/nitro/cgi/utils.rb
114
- - doc/CHANGELOG.3
115
- - proto/conf/apache.conf
116
- - lib/nitro/compiler/cleanup.rb
117
- - proto/public/scaffold/index.xhtml
118
- - proto/public/scaffold/search.xhtml
119
- - test/public/blog/list.xhtml
120
- - test/nitro/tc_session.rb
121
- - lib/nitro/session/memory.rb
122
- - lib/nitro/session.rb
123
- - proto/run.rb
124
- - doc/MIGRATION
125
- - lib/nitro/scaffolding.rb
126
- - lib/glue/thumbnails.rb
127
- - lib/nitro/cgi/response.rb
128
- - lib/nitro/adapter/cgi.rb
129
- - lib/nitro/helper/default.rb
130
- - lib/nitro/server.rb
131
- - test/public/blog/another/very_litle/index.xhtml
132
- - test/nitro/cgi/tc_cookie.rb
133
- - lib/nitro/helper/javascript.rb
134
- - lib/nitro/helper/layout.rb
135
- - lib/nitro/caching.rb
136
- - lib/nitro/server/drb.rb
137
- - lib/glue/webfile.rb
138
- - lib/nitro/test/assertions.rb
139
- - proto/public/scaffold/advanced_search.xhtml
140
- - lib/nitro/scaffold.rb
141
- - lib/glue/sweeper.rb
142
- - proto/public/scaffold/view.xhtml
143
- - lib/nitro/dispatcher.rb
144
- - doc/AUTHORS
145
- - lib/nitro/adapter/fastcgi.rb
146
- - test/nitro/tc_element.rb
147
- - lib/nitro/session/memcached.rb
148
- - doc/RELEASES
149
- - test/nitro/adapter/tc_webrick.rb
150
- - test/nitro/helper/tc_xhtml.rb
151
- - test/nitro/tc_server.rb
152
- - lib/nitro/compiler/include.rb
153
- - proto/public/scaffold/form.xhtml
154
- - proto/public/js/prototype.js
155
- - test/public/dummy_mailer/registration.xhtml
156
- - lib/nitro/adapter/scgi.rb
157
- - lib/nitro/helper/javascript/scriptaculous.rb
158
- - lib/nitro/compiler/script.rb
159
- - lib/nitro/helper/form/controls.rb
160
- - test/nitro/tc_flash.rb
161
- - test/nitro/tc_cgi.rb
162
- - lib/nitro/test.rb
163
- - lib/nitro/cgi/cookie.rb
164
- - lib/nitro/compiler/localization.rb
165
- - doc/lhttpd.txt
166
- - lib/nitro/cgi/request.rb
167
- - lib/nitro/helper/form/builder.rb
168
- - lib/nitro/flash.rb
169
- - lib/nitro/test/testcase.rb
170
- - lib/nitro/controller.rb
171
- - lib/glue/magick.rb
172
- - lib/nitro/helper/form.rb
173
- - src/part/admin/skin.rb
174
- - test/nitro/cgi/tc_request.rb
175
- - lib/nitro/element.rb
176
- - lib/nitro/helper/feed.rb
247
+ - proto/public/js/behaviour.js
248
+ - proto/public/js/builder.js
249
+ - proto/public/js/controls.js
250
+ - proto/public/js/cookies.js
177
251
  - proto/public/js/dragdrop.js
178
- - proto/public/fcgi.rb
179
- - lib/nitro/helper/table.rb
180
- - lib/nitro/compiler/markup.rb
181
- - lib/nitro/session/file.rb
182
- - lib/nitro/service/xmlrpc.rb
183
- - lib/nitro/cgi/sendfile.rb
184
- - lib/nitro_and_og.rb
185
- - lib/nitro/helper/pager.rb
186
- - lib/nitro/cgi/stream.rb
187
- - lib/nitro/session/drb.rb
188
- - lib/nitro/compiler.rb
189
- - lib/nitro/compiler/layout.rb
190
- - lib/nitro/caching/actions.rb
191
- - lib/nitro/global.rb
192
- - test/nitro/tc_controller_aspect.rb
193
- - test/nitro/tc_helper.rb
194
- - lib/nitro/helper/debug.rb
195
- - lib/nitro/compiler/xslt.rb
196
- - lib/nitro/adapter/webrick.rb
197
- - lib/nitro/adapter/script.rb
198
- - src/part/admin/template/denied.xhtml
199
- - doc/LICENSE
200
- - lib/nitro/compiler/morphing.rb
201
- - test/nitro/compiler/tc_client_morpher.rb
202
- - lib/nitro/caching/fragments.rb
203
- - lib/nitro.rb
204
252
  - proto/public/js/effects.js
205
- - test/nitro/tc_router.rb
206
- - lib/nitro/helper.rb
207
- - INSTALL
208
- - test/public/blog/inc2.xhtml
209
- - test/nitro/adapter/raw_post1.bin
210
- - test/nitro/helper/tc_feed.rb
211
- - lib/nitro/helper/javascript/dojo.rb
212
- - src/part/admin/system.css
213
- - proto/public/js/util.js
214
- - test/nitro/tc_dispatcher.rb
215
- - lib/nitro/router.rb
216
- - doc/apache.txt
217
- - src/part/admin/template/index.xhtml
218
- - proto/public/cgi.rb
219
- - proto/conf/lhttpd.conf
220
- - ProjectInfo
221
- - proto/public/scaffold/new.xhtml
222
- - proto/public/js/cookies.js
223
- - proto/public/js/controls.js
224
- - test/nitro/compiler/tc_compiler.rb
225
- - lib/nitro/compiler/elements.rb
253
+ - proto/public/js/prototype.js
254
+ - proto/public/js/scriptaculous.js
255
+ - proto/public/js/slider.js
226
256
  - proto/public/js/unittest.js
257
+ - proto/public/js/util.js
258
+ - proto/public/media/nitro.png
259
+ - proto/script/benchmark
260
+ - proto/script/runner
227
261
  - proto/src/skin.rb
228
- - lib/nitro/caching/output.rb
229
- - proto/script/scgi_ctl
230
- - test/nitro/helper/tc_table.rb
231
- - setup.rb
232
- - lib/nitro/compiler/squeeze.rb
233
- - lib/nitro/server/runner.rb
234
- - proto/public/js/builder.js
235
- - proto/public/js/scriptaculous.js
236
- - test/public/blog/inc1.xhtml
237
- - test/nitro/helper/tc_pager.rb
238
- - lib/nitro/element/javascript.rb
239
- - lib/nitro/cgi/http.rb
240
- - lib/nitro/helper/javascript/prototype.rb
241
- - lib/nitro/cgi.rb
242
- - lib/nitro/helper/rss.rb
243
262
  test_files: []
244
263
 
245
264
  rdoc_options: []
@@ -260,7 +279,7 @@ dependencies:
260
279
  requirements:
261
280
  - - "="
262
281
  - !ruby/object:Gem::Version
263
- version: 0.31.0
282
+ version: 0.40.0
264
283
  version:
265
284
  - !ruby/object:Gem::Dependency
266
285
  name: gen
@@ -269,7 +288,7 @@ dependencies:
269
288
  requirements:
270
289
  - - "="
271
290
  - !ruby/object:Gem::Version
272
- version: 0.31.0
291
+ version: 0.40.0
273
292
  version:
274
293
  - !ruby/object:Gem::Dependency
275
294
  name: glue
@@ -278,23 +297,23 @@ dependencies:
278
297
  requirements:
279
298
  - - "="
280
299
  - !ruby/object:Gem::Version
281
- version: 0.31.0
300
+ version: 0.40.0
282
301
  version:
283
302
  - !ruby/object:Gem::Dependency
284
303
  name: RedCloth
285
304
  version_requirement:
286
305
  version_requirements: !ruby/object:Gem::Version::Requirement
287
306
  requirements:
288
- - - "="
307
+ - - ">="
289
308
  - !ruby/object:Gem::Version
290
- version: 3.0.3
309
+ version: 3.0.4
291
310
  version:
292
311
  - !ruby/object:Gem::Dependency
293
312
  name: ruby-breakpoint
294
313
  version_requirement:
295
314
  version_requirements: !ruby/object:Gem::Version::Requirement
296
315
  requirements:
297
- - - ~>
316
+ - - "="
298
317
  - !ruby/object:Gem::Version
299
318
  version: "0.5"
300
319
  version:
@@ -303,7 +322,7 @@ dependencies:
303
322
  version_requirement:
304
323
  version_requirements: !ruby/object:Gem::Version::Requirement
305
324
  requirements:
306
- - - ~>
325
+ - - "="
307
326
  - !ruby/object:Gem::Version
308
- version: "0.4"
327
+ version: 0.4.2
309
328
  version: