manveru-innate 2009.04 → 2009.04.01
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +0 -258
- data/MANIFEST +22 -23
- data/README.md +9 -1
- data/Rakefile +6 -6
- data/example/app/retro_games.rb +8 -8
- data/example/app/todo/layout/{default.xhtml → default.erb} +1 -1
- data/example/app/todo/view/{index.xhtml → index.erb} +11 -11
- data/example/app/whywiki_erb/start.rb +1 -2
- data/example/app/whywiki_erb/view/{edit.erb → edit.html.erb} +0 -0
- data/example/app/whywiki_erb/view/{index.erb → index.html.erb} +0 -0
- data/example/howto_spec.rb +1 -1
- data/example/provides.rb +6 -9
- data/example/session.rb +3 -3
- data/innate.gemspec +14 -6
- data/lib/innate.rb +18 -12
- data/lib/innate/action.rb +11 -22
- data/lib/innate/cache/file_based.rb +0 -2
- data/lib/innate/core_compatibility/basic_object.rb +10 -0
- data/lib/innate/core_compatibility/string.rb +3 -0
- data/lib/innate/dynamap.rb +0 -5
- data/lib/innate/helper.rb +29 -20
- data/lib/innate/helper/cgi.rb +19 -32
- data/lib/innate/helper/link.rb +2 -2
- data/lib/innate/helper/partial.rb +93 -0
- data/lib/innate/helper/redirect.rb +1 -1
- data/lib/innate/helper/send_file.rb +1 -9
- data/lib/innate/mock.rb +3 -2
- data/lib/innate/node.rb +51 -78
- data/lib/innate/options.rb +1 -1
- data/lib/innate/request.rb +23 -3
- data/lib/innate/response.rb +7 -0
- data/lib/innate/session.rb +2 -1
- data/lib/innate/spec.rb +50 -6
- data/lib/innate/version.rb +1 -1
- data/lib/innate/view/erb.rb +1 -1
- data/lib/innate/view/etanni.rb +2 -2
- data/lib/innate/view/none.rb +1 -1
- data/spec/example/session.rb +14 -8
- data/spec/innate/action/layout.rb +1 -1
- data/spec/innate/action/layout/file_layout.erb +1 -0
- data/spec/innate/helper/aspect.rb +6 -6
- data/spec/innate/helper/flash.rb +47 -28
- data/spec/innate/helper/link.rb +0 -8
- data/spec/innate/helper/partial.rb +101 -0
- data/spec/innate/helper/redirect.rb +43 -58
- data/spec/innate/helper/view/aspect_hello.erb +1 -0
- data/spec/innate/helper/view/locals.erb +1 -0
- data/spec/innate/helper/view/loop.erb +4 -0
- data/spec/innate/helper/view/num.erb +1 -0
- data/spec/innate/helper/view/partial.erb +1 -0
- data/spec/innate/helper/view/recursive.erb +8 -0
- data/spec/innate/node/node.rb +13 -5
- data/spec/innate/node/view/another_layout/{another_layout.xhtml → another_layout.erb} +1 -1
- data/spec/innate/node/view/{bar.xhtml → bar.erb} +0 -0
- data/spec/innate/node/view/foo.html.erb +1 -0
- data/spec/innate/node/view/{only_view.xhtml → only_view.erb} +0 -0
- data/spec/innate/node/view/with_layout.erb +1 -0
- data/spec/innate/provides.rb +2 -2
- data/spec/innate/provides/list.html.erb +1 -0
- data/spec/innate/provides/list.txt.erb +1 -0
- data/spec/innate/session.rb +15 -14
- data/spec/innate/state/fiber.rb +7 -8
- data/tasks/bacon.rake +21 -38
- data/tasks/install_dependencies.rake +4 -2
- data/tasks/release.rake +9 -48
- metadata +57 -29
- data/lib/innate/helper/render.rb +0 -87
- data/spec/example/app/retro_games.rb +0 -30
- data/spec/example/provides.rb +0 -16
- data/spec/innate/action/layout/file_layout.xhtml +0 -1
- data/spec/innate/helper/render.rb +0 -133
- data/spec/innate/helper/view/aspect_hello.xhtml +0 -1
- data/spec/innate/helper/view/locals.xhtml +0 -1
- data/spec/innate/helper/view/loop.xhtml +0 -4
- data/spec/innate/helper/view/num.xhtml +0 -1
- data/spec/innate/helper/view/partial.xhtml +0 -1
- data/spec/innate/helper/view/recursive.xhtml +0 -7
- data/spec/innate/node/view/foo.html.xhtml +0 -1
- data/spec/innate/node/view/with_layout.xhtml +0 -1
- data/spec/innate/provides/list.html.xhtml +0 -1
- data/spec/innate/provides/list.txt.xhtml +0 -1
- data/tasks/setup.rake +0 -28
@@ -1 +0,0 @@
|
|
1
|
-
#{@n}
|
@@ -1 +0,0 @@
|
|
1
|
-
From Partial #{@here}
|
@@ -1 +0,0 @@
|
|
1
|
-
<?r 10.times do |n| ?>#{n}<?r end ?>
|
@@ -1 +0,0 @@
|
|
1
|
-
<div class="content">#{@content}</div>
|
@@ -1 +0,0 @@
|
|
1
|
-
<ul><?r @users.each do |user| ?><li>#{user}</li><?r end ?></ul>
|
@@ -1 +0,0 @@
|
|
1
|
-
<?r @users.each do |user| ?>#{"#{user}\n"}<?r end ?>
|
data/tasks/setup.rake
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# Currently, Innate is not usable without Rack from the master branch head.
|
2
|
-
# Also, our specs now depend on the latest rack-test.
|
3
|
-
#
|
4
|
-
# In order to make setup simpler for folks, I'll put up some gemspecs on github
|
5
|
-
# and use their automatic building to provide development versions of these
|
6
|
-
# libraries as gems for easier deployment.
|
7
|
-
#
|
8
|
-
# Once the libraries are officially released in a usable state I'll switch
|
9
|
-
# dependencies to the official ones again.
|
10
|
-
#
|
11
|
-
# Please note that this makes running in environments that enforce their own
|
12
|
-
# Rack (like jruby-rack) still quite difficult, but should allow for easier
|
13
|
-
# development.
|
14
|
-
#
|
15
|
-
# Please be patient.
|
16
|
-
|
17
|
-
desc 'install dependencies'
|
18
|
-
task :setup do
|
19
|
-
GemInstaller.new do
|
20
|
-
gem 'bacon', '>= 1.0'
|
21
|
-
gem 'json', '~> 1.1.3'
|
22
|
-
|
23
|
-
gem 'manveru-rack-test', '> 0.1.0', :lib => 'rack-test'
|
24
|
-
gem 'manveru-rack', '>= 0.9.9', :lib => 'rack'
|
25
|
-
|
26
|
-
setup
|
27
|
-
end
|
28
|
-
end
|