waves-stable 0.7.7 → 2009.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/waves +20 -74
- data/doc/HISTORY +1 -44
- data/doc/README +1 -0
- data/doc/VERSION +1 -0
- data/lib/caches/file.rb +48 -0
- data/lib/caches/memcached.rb +40 -0
- data/lib/caches/simple.rb +25 -0
- data/lib/caches/synchronized.rb +25 -0
- data/lib/commands/console.rb +35 -0
- data/lib/commands/generate.rb +52 -0
- data/lib/commands/help.rb +5 -0
- data/lib/commands/{waves-server.rb → server.rb} +16 -3
- data/lib/dispatchers/base.rb +22 -21
- data/lib/dispatchers/default.rb +10 -66
- data/lib/ext/float.rb +13 -0
- data/lib/{utilities → ext}/hash.rb +2 -2
- data/lib/{utilities → ext}/integer.rb +5 -2
- data/lib/ext/kernel.rb +20 -0
- data/lib/ext/module.rb +20 -0
- data/lib/{utilities → ext}/object.rb +3 -5
- data/lib/ext/string.rb +20 -0
- data/lib/ext/symbol.rb +11 -0
- data/lib/ext/tempfile.rb +5 -0
- data/lib/foundations/classic.rb +66 -0
- data/lib/foundations/compact.rb +50 -0
- data/lib/helpers/basic.rb +11 -0
- data/lib/helpers/doc_type.rb +34 -0
- data/lib/helpers/extended.rb +21 -0
- data/lib/helpers/form.rb +3 -1
- data/lib/helpers/formatting.rb +3 -3
- data/lib/helpers/layouts.rb +37 -0
- data/lib/helpers/model.rb +8 -4
- data/lib/helpers/view.rb +2 -4
- data/lib/layers/inflect/english.rb +48 -5
- data/lib/layers/mvc.rb +18 -18
- data/lib/layers/mvc/controllers.rb +41 -0
- data/lib/layers/mvc/extensions.rb +52 -0
- data/lib/layers/orm/migration.rb +1 -1
- data/lib/layers/orm/{active_record.rb → providers/active_record.rb} +9 -14
- data/lib/layers/orm/{active_record → providers/active_record}/migrations/empty.rb.erb +0 -0
- data/lib/layers/orm/{active_record → providers/active_record}/tasks/generate.rb +1 -1
- data/lib/layers/orm/{active_record → providers/active_record}/tasks/schema.rb +1 -1
- data/lib/layers/orm/{data_mapper.rb → providers/data_mapper.rb} +3 -4
- data/lib/layers/orm/providers/filebase.rb +25 -0
- data/lib/layers/orm/{sequel.rb → providers/sequel.rb} +11 -7
- data/lib/layers/orm/{sequel → providers/sequel}/migrations/empty.rb.erb +0 -0
- data/lib/layers/orm/{sequel → providers/sequel}/tasks/generate.rb +5 -3
- data/lib/layers/orm/{sequel → providers/sequel}/tasks/schema.rb +2 -2
- data/lib/{renderers → layers/renderers}/erubis.rb +13 -16
- data/lib/{renderers → layers/renderers}/haml.rb +27 -25
- data/lib/layers/renderers/markaby.rb +29 -0
- data/lib/matchers/accept.rb +21 -0
- data/lib/matchers/base.rb +30 -0
- data/lib/matchers/content_type.rb +17 -0
- data/lib/matchers/path.rb +67 -0
- data/lib/matchers/query.rb +21 -0
- data/lib/matchers/request.rb +27 -0
- data/lib/matchers/resource.rb +19 -0
- data/lib/matchers/traits.rb +19 -0
- data/lib/matchers/uri.rb +20 -0
- data/lib/renderers/mixin.rb +15 -29
- data/lib/resources/mixin.rb +134 -0
- data/lib/resources/paths.rb +34 -0
- data/lib/runtime/configuration.rb +51 -136
- data/lib/runtime/console.rb +4 -1
- data/lib/runtime/logger.rb +24 -48
- data/lib/runtime/mime_types.rb +516 -2
- data/lib/runtime/mocks.rb +14 -0
- data/lib/runtime/monitor.rb +32 -0
- data/lib/runtime/request.rb +107 -39
- data/lib/runtime/response.rb +5 -2
- data/lib/runtime/response_mixin.rb +41 -22
- data/lib/runtime/runtime.rb +67 -0
- data/lib/runtime/server.rb +14 -101
- data/lib/runtime/session.rb +4 -43
- data/lib/runtime/worker.rb +86 -0
- data/lib/servers/base.rb +42 -0
- data/lib/servers/mongrel.rb +13 -0
- data/lib/servers/webrick.rb +13 -0
- data/lib/tasks/gem.rb +1 -0
- data/lib/tasks/generate.rb +67 -62
- data/lib/views/errors.rb +49 -0
- data/lib/views/mixin.rb +34 -82
- data/lib/waves.rb +36 -57
- data/samples/blog/Rakefile +16 -5
- data/samples/blog/configurations/default.rb +11 -0
- data/samples/blog/configurations/development.rb +9 -11
- data/samples/blog/configurations/production.rb +11 -15
- data/samples/blog/models/comment.rb +9 -0
- data/samples/blog/models/entry.rb +17 -0
- data/samples/blog/public/css/site.css +13 -2
- data/samples/blog/public/javascript/jquery-1.2.6.min.js +32 -0
- data/samples/blog/resources/entry.rb +39 -0
- data/samples/blog/resources/map.rb +9 -0
- data/samples/blog/schema/migrations/001_initial_schema.rb +3 -3
- data/samples/blog/schema/migrations/002_add_comments.rb +2 -2
- data/samples/blog/startup.rb +8 -6
- data/samples/blog/templates/comment/add.mab +6 -4
- data/samples/blog/templates/comment/list.mab +4 -4
- data/samples/blog/templates/entry/{editor.mab → edit.mab} +7 -6
- data/samples/blog/templates/entry/list.mab +10 -5
- data/samples/blog/templates/entry/show.mab +16 -7
- data/samples/blog/templates/entry/summary.mab +8 -4
- data/samples/blog/templates/errors/not_found_404.mab +6 -1
- data/samples/blog/templates/layouts/default.mab +5 -3
- data/samples/blog/templates/waves/status.mab +85 -0
- data/{app → templates/classic}/Rakefile +21 -3
- data/templates/classic/configurations/default.rb.erb +9 -0
- data/{app → templates/classic}/configurations/development.rb.erb +3 -8
- data/{app → templates/classic}/configurations/production.rb.erb +3 -5
- data/{app → templates/classic}/controllers/.gitignore +0 -0
- data/{app/doc → templates/classic/helpers}/.gitignore +0 -0
- data/{app/helpers → templates/classic/lib/tasks}/.gitignore +0 -0
- data/{app/lib/tasks → templates/classic/models}/.gitignore +0 -0
- data/{app/log → templates/classic/public/css}/.gitignore +0 -0
- data/{app/models → templates/classic/public/flash}/.gitignore +0 -0
- data/{app/public/css → templates/classic/public/images}/.gitignore +0 -0
- data/{app/public/flash → templates/classic/public/javascript}/.gitignore +0 -0
- data/{app/public/images → templates/classic/resources}/.gitignore +0 -0
- data/templates/classic/resources/map.rb.erb +8 -0
- data/{app/public/javascript → templates/classic/schema/migrations}/.gitignore +0 -0
- data/templates/classic/startup.rb.erb +11 -0
- data/templates/classic/templates/errors/not_found_404.mab +7 -0
- data/templates/classic/templates/errors/server_error_500.mab +7 -0
- data/{app → templates/classic}/templates/layouts/default.mab +0 -0
- data/{app/schema/migrations → templates/classic/tmp/sessions}/.gitignore +0 -0
- data/{app/tmp/sessions → templates/classic/views}/.gitignore +0 -0
- data/templates/compact/startup.rb.erb +11 -0
- metadata +152 -258
- data/app/bin/waves-console +0 -4
- data/app/bin/waves-server +0 -4
- data/app/configurations/mapping.rb.erb +0 -14
- data/app/lib/application.rb.erb +0 -5
- data/app/startup.rb +0 -5
- data/app/templates/errors/not_found_404.mab +0 -2
- data/app/templates/errors/server_error_500.mab +0 -2
- data/app/views/.gitignore +0 -0
- data/bin/waves-console +0 -4
- data/bin/waves-server +0 -4
- data/lib/commands/waves-console.rb +0 -21
- data/lib/controllers/base.rb +0 -11
- data/lib/controllers/mixin.rb +0 -165
- data/lib/foundations/default.rb +0 -27
- data/lib/foundations/simple.rb +0 -30
- data/lib/helpers/asset_helper.rb +0 -67
- data/lib/helpers/common.rb +0 -66
- data/lib/helpers/default.rb +0 -13
- data/lib/helpers/number_helper.rb +0 -25
- data/lib/helpers/tag_helper.rb +0 -58
- data/lib/helpers/url_helper.rb +0 -77
- data/lib/layers/default_errors.rb +0 -26
- data/lib/layers/inflect/english/rules.rb +0 -88
- data/lib/layers/inflect/english/string.rb +0 -24
- data/lib/layers/orm/filebase.rb +0 -22
- data/lib/layers/simple.rb +0 -32
- data/lib/layers/simple_errors.rb +0 -23
- data/lib/mapping/mapping.rb +0 -289
- data/lib/mapping/pretty_urls.rb +0 -96
- data/lib/renderers/markaby.rb +0 -33
- data/lib/runtime/application.rb +0 -69
- data/lib/runtime/blackboard.rb +0 -57
- data/lib/runtime/debugger.rb +0 -9
- data/lib/runtime/response_proxy.rb +0 -30
- data/lib/tasks/cluster.rb +0 -26
- data/lib/utilities/inflect.rb +0 -110
- data/lib/utilities/module.rb +0 -21
- data/lib/utilities/proc.rb +0 -16
- data/lib/utilities/string.rb +0 -49
- data/lib/utilities/symbol.rb +0 -10
- data/lib/utilities/tempfile.rb +0 -9
- data/lib/views/base.rb +0 -9
- data/samples/blog/bin/waves-console +0 -3
- data/samples/blog/bin/waves-server +0 -3
- data/samples/blog/configurations/mapping.rb +0 -23
- data/samples/blog/doc/EMTPY +0 -0
- data/samples/blog/lib/application.rb +0 -5
- data/verify/app_generation/helpers.rb +0 -24
- data/verify/app_generation/startup.rb +0 -39
- data/verify/blackboard/blackboard_verify.rb +0 -92
- data/verify/blackboard/helpers.rb +0 -5
- data/verify/configurations/attributes.rb +0 -37
- data/verify/configurations/helpers.rb +0 -1
- data/verify/configurations/rack_integration.rb +0 -29
- data/verify/controllers/base.rb +0 -37
- data/verify/controllers/helpers.rb +0 -13
- data/verify/controllers/interface.rb +0 -51
- data/verify/core/helpers.rb +0 -3
- data/verify/core/utilities.rb +0 -177
- data/verify/foundations/default.rb +0 -86
- data/verify/foundations/default_application/Rakefile +0 -14
- data/verify/foundations/default_application/bin/waves-console +0 -3
- data/verify/foundations/default_application/bin/waves-server +0 -3
- data/verify/foundations/default_application/configurations/development.rb +0 -26
- data/verify/foundations/default_application/configurations/mapping.rb +0 -14
- data/verify/foundations/default_application/configurations/production.rb +0 -30
- data/verify/foundations/default_application/controllers/default.rb +0 -15
- data/verify/foundations/default_application/controllers/loaded.rb +0 -15
- data/verify/foundations/default_application/defaultapplication.db +0 -0
- data/verify/foundations/default_application/helpers/loaded.rb +0 -10
- data/verify/foundations/default_application/lib/application.rb +0 -5
- data/verify/foundations/default_application/models/default.rb +0 -13
- data/verify/foundations/default_application/models/loaded.rb +0 -13
- data/verify/foundations/default_application/schema/migrations/templates/empty.rb.erb +0 -9
- data/verify/foundations/default_application/startup.rb +0 -7
- data/verify/foundations/default_application/templates/errors/not_found_404.mab +0 -2
- data/verify/foundations/default_application/templates/errors/server_error_500.mab +0 -2
- data/verify/foundations/default_application/templates/layouts/default.mab +0 -14
- data/verify/foundations/default_application/views/default.rb +0 -7
- data/verify/foundations/default_application/views/loaded.rb +0 -15
- data/verify/foundations/helpers.rb +0 -1
- data/verify/foundations/simple.rb +0 -25
- data/verify/helpers.rb +0 -76
- data/verify/layers/data_mapper/association_verify.rb +0 -87
- data/verify/layers/default_errors.rb +0 -29
- data/verify/layers/helpers.rb +0 -1
- data/verify/layers/migration.rb +0 -33
- data/verify/layers/sequel/model.rb +0 -41
- data/verify/mapping/always.rb +0 -19
- data/verify/mapping/filters.rb +0 -65
- data/verify/mapping/handle.rb +0 -24
- data/verify/mapping/helpers.rb +0 -7
- data/verify/mapping/matches.rb +0 -27
- data/verify/mapping/named.rb +0 -29
- data/verify/mapping/options.rb +0 -17
- data/verify/mapping/path.rb +0 -40
- data/verify/mapping/response_proxy.rb +0 -50
- data/verify/mapping/threaded.rb +0 -25
- data/verify/requests/helpers.rb +0 -16
- data/verify/requests/request.rb +0 -73
- data/verify/requests/response.rb +0 -59
- data/verify/requests/session.rb +0 -54
- data/verify/views/helpers.rb +0 -1
- data/verify/views/rendering.rb +0 -34
- data/verify/views/templates/foo.erb +0 -0
- data/verify/views/templates/moo.erb +0 -0
- data/verify/views/templates/moo.mab +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
@comments.each do |comment|
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
div.comment do
|
3
|
+
textile comment.content
|
4
|
+
p.info "#{ comment.attribution }, at #{ comment.time }" if comment.updated_on
|
5
|
+
end
|
6
6
|
end
|
@@ -1,13 +1,14 @@
|
|
1
1
|
layout :default, :title => 'Edit Entry' do
|
2
|
-
form :action =>
|
2
|
+
form :action => paths.update( @entry.name ), :method => 'POST' do
|
3
3
|
input :name => '_method', :type => 'hidden', :value => 'put'
|
4
4
|
label 'Title'; br
|
5
|
-
input :type => :text, :value => @entry.title, :name => 'entry.title'; br
|
6
|
-
label '
|
7
|
-
|
5
|
+
input :type => :text, :value => @entry.title, :name => 'entry.title', :size => 50; br
|
6
|
+
label 'URL name'; br
|
7
|
+
input :type => :text, :value => @entry.name, :name => 'entry.name', :size => 50; br
|
8
8
|
label 'Content'; br
|
9
|
-
textarea @entry.content, :name => 'entry.content', :rows => 20, :cols =>
|
9
|
+
textarea @entry.content, :name => 'entry.content', :rows => 20, :cols => 70; br
|
10
10
|
input :type => :submit, :value => 'Save'
|
11
|
-
a
|
11
|
+
a 'Cancel', :href => paths.show( @entry.name )
|
12
12
|
end
|
13
13
|
end
|
14
|
+
|
@@ -1,11 +1,16 @@
|
|
1
1
|
layout :default, :title => 'Blog Entries' do
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
|
3
|
+
div.create do
|
4
|
+
h2 'Create a new entry'
|
5
|
+
form :action => paths.create, :method => 'post' do
|
6
|
+
label 'URL Name'
|
7
|
+
input :type => :text, :name => 'entry.name', :size => 25
|
8
|
+
input :type => :submit, :value => 'Add'
|
9
|
+
end
|
7
10
|
end
|
11
|
+
|
8
12
|
@entries.each do |entry|
|
9
13
|
view :entry, :summary, :entry => entry
|
10
14
|
end
|
15
|
+
p { i "Nothing to see here, move along." } if @entries.empty?
|
11
16
|
end
|
@@ -1,9 +1,18 @@
|
|
1
|
-
layout :default, :title => @entry.title do
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
layout :default, :title => @entry.title do
|
2
|
+
|
3
|
+
div.entry do
|
4
|
+
h4 @entry.date if @entry.updated_on
|
5
|
+
h2 { a @entry.title }
|
6
|
+
textile @entry.content
|
7
|
+
p do
|
8
|
+
a 'Edit', :href => paths.edit( @entry.name )
|
9
|
+
text ' '
|
10
|
+
a.delete 'Delete', :href => paths.delete( @entry.name )
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
h3 @entry.comment_number
|
8
15
|
view :comment, :list, :comments => @entry.comments
|
16
|
+
view :comment, :add, :entry => @entry
|
17
|
+
|
9
18
|
end
|
@@ -1,5 +1,9 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
div.entry do
|
2
|
+
h4 @entry.date if @entry.updated_on
|
3
|
+
h2 { a @entry.title, :href => paths.show( @entry.name ) }
|
4
|
+
textile @entry.content
|
5
|
+
p do
|
6
|
+
a @entry.comment_number, :href => paths.show( @entry.name )
|
7
|
+
end
|
3
8
|
end
|
4
|
-
|
5
|
-
a 'Read more ...', :href => "/entry/#{@entry.name}"
|
9
|
+
|
@@ -1,2 +1,7 @@
|
|
1
|
+
style <<-STYLE
|
2
|
+
body { background: #933; padding: 20px; font-family: verdana, sans-serif; }
|
3
|
+
h1 { font-size: 60px; font-weight: bold; margin: 0px; }
|
4
|
+
p { font-size: 24px; margin: 0px; }
|
5
|
+
STYLE
|
1
6
|
h1 '404'
|
2
|
-
p
|
7
|
+
p { 'That URL does not exist on this server.' }
|
@@ -4,14 +4,16 @@ html do
|
|
4
4
|
|
5
5
|
head do
|
6
6
|
title @title
|
7
|
-
script :src => '
|
8
|
-
:type => 'text/javascript'
|
7
|
+
script :src => '/javascript/jquery-1.2.6.min.js', :type => 'text/javascript'
|
9
8
|
script :src => '/javascript/site.js', :type => 'text/javascript'
|
10
9
|
link :href => '/css/site.css', :rel => 'stylesheet', :type => 'text/css'
|
11
10
|
end
|
12
11
|
|
13
12
|
body do
|
14
|
-
|
13
|
+
h1 { a 'I Am Blog!', :href => '/entries' }
|
14
|
+
div.main do
|
15
|
+
layout_content
|
16
|
+
end
|
15
17
|
end
|
16
18
|
|
17
19
|
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
doctype :html4_strict
|
2
|
+
|
3
|
+
html do
|
4
|
+
|
5
|
+
head do
|
6
|
+
title "Welcome to Waves"
|
7
|
+
script :src => 'http://jqueryjs.googlecode.com/files/jquery-1.2.5.min.js',
|
8
|
+
:type => 'text/javascript'
|
9
|
+
script :src => '/javascript/site.js', :type => 'text/javascript'
|
10
|
+
style <<-STYLE
|
11
|
+
h1 { margin: 0px; padding: 0px;}
|
12
|
+
h1 a { color: navy; font-family: Optima, serif; font-size: 144px; text-decoration: none;}
|
13
|
+
p { margin: 0px;}
|
14
|
+
h4 { margin-bottom: 6px; padding: 3px 5px;background: #eee; border: 1px solid #aac; font-family: monospace}
|
15
|
+
pre { margin: 0px 10px}
|
16
|
+
a { color: navy }
|
17
|
+
STYLE
|
18
|
+
end
|
19
|
+
|
20
|
+
body do
|
21
|
+
h1 do
|
22
|
+
a "Waves", :href => 'http://rubywaves.com'
|
23
|
+
end
|
24
|
+
|
25
|
+
div.status! :style => "position: absolute; margin: 0px 25px; width: 450px; left: 550px" do
|
26
|
+
h3 "Running in #{Waves.mode} mode"
|
27
|
+
|
28
|
+
h3 "Host: #{Waves.config.host}"
|
29
|
+
h3 "Port(s): #{Waves.config.ports || Waves.config.port}"
|
30
|
+
h3 "Using #{Waves.config.handler.first.name}" if Waves.config.handler
|
31
|
+
|
32
|
+
h3 "Loaded applications:"
|
33
|
+
ol do
|
34
|
+
Waves.applications.each do |app|
|
35
|
+
li app.name
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
h3.collapse "Loaded gems:"
|
40
|
+
span do
|
41
|
+
Gem.loaded_specs.to_a.sort.map do |name, spec|
|
42
|
+
a( name, :href => spec.homepage, :target => '_blank').chomp
|
43
|
+
end.join(", ")
|
44
|
+
end
|
45
|
+
h3 "RUBY_PLATFORM # => '#{RUBY_PLATFORM}' "
|
46
|
+
end
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
div.how :style => "margin: 0px 25px; width: 500px" do
|
51
|
+
h3 "It's running. Now what do I do?"
|
52
|
+
p "Profit, we hope. But if the nature of phase two isn't completely clear, you can start by looking at these files in your application:"
|
53
|
+
|
54
|
+
h4 "configurations/#{Waves.mode}.rb"
|
55
|
+
p "Configure the host, port, database, and other settings for the current configuration."
|
56
|
+
|
57
|
+
h4 "configurations/mapping.rb"
|
58
|
+
p <<-TEXT
|
59
|
+
Map actions to HTTP requests with fancy constraint matching. This is the loose equivalent to routes in Waves.
|
60
|
+
A newly generated application has a route that redirects to this page.
|
61
|
+
TEXT
|
62
|
+
|
63
|
+
h4 "resources/*.rb, models/*.rb, controllers/*.rb, views/*.rb, helpers/*.rb"
|
64
|
+
p do
|
65
|
+
"Resources, models, controllers, views, and helpers live in their respective directories. You can generate new wild things using rake tasks:"
|
66
|
+
end
|
67
|
+
pre do
|
68
|
+
code do
|
69
|
+
"$ rake generate:model name=entry"
|
70
|
+
end
|
71
|
+
code do
|
72
|
+
"$ rake generate:controller name=entry"""
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
|
77
|
+
h4 "templates/**/*"
|
78
|
+
p "View templates live here, in directories named after the resource."
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
|
84
|
+
|
85
|
+
end
|
@@ -4,19 +4,37 @@
|
|
4
4
|
# application with the waves script. Accordingly, you may
|
5
5
|
# wish to keep your tasks in .rb or .rake files in lib/tasks
|
6
6
|
|
7
|
+
require 'rubygems'
|
8
|
+
|
9
|
+
WAVES = "#{File.dirname(__FILE__)}/.." unless defined? WAVES
|
10
|
+
|
11
|
+
waves = [
|
12
|
+
WAVES, ENV['WAVES'], './waves'
|
13
|
+
].compact.map { |dir| File.join(dir, 'lib') }.find { |d|
|
14
|
+
File.exist? File.join( d, 'waves.rb' )
|
15
|
+
}
|
16
|
+
if waves
|
17
|
+
$: << waves
|
18
|
+
waves = File.join( waves, 'waves' )
|
19
|
+
else
|
20
|
+
waves = 'waves'
|
21
|
+
end
|
22
|
+
|
23
|
+
require waves
|
24
|
+
require 'runtime/console'
|
25
|
+
|
7
26
|
begin
|
8
|
-
require 'startup'
|
9
27
|
Waves::Console.load(:mode => ENV['mode'])
|
10
28
|
|
11
29
|
# load tasks from waves framework
|
12
|
-
%w(
|
30
|
+
%w( generate gem ).each { |task| require "tasks/#{task}.rb" }
|
13
31
|
|
14
32
|
# load tasks from this app's lib/tasks
|
15
33
|
Dir["lib/tasks/*.{rb,rake}"].each { |task| require task }
|
16
34
|
|
17
35
|
rescue LoadError => e
|
18
36
|
if e.message == 'no such file to load -- waves'
|
19
|
-
puts "Can't find Waves source. Install gem, freeze Waves, or define WAVES
|
37
|
+
puts "Can't find Waves source. Install gem, freeze Waves, or define WAVES at the top of the Rakefile"
|
20
38
|
puts
|
21
39
|
else
|
22
40
|
raise e
|
@@ -7,23 +7,18 @@ module <%= @name %>
|
|
7
7
|
database :adapter => 'sqlite', :database => '<%= @name.downcase %>'
|
8
8
|
|
9
9
|
reloadable [ <%= @name %> ]
|
10
|
-
|
11
10
|
log :level => :debug
|
12
|
-
|
13
11
|
host '127.0.0.1'
|
14
|
-
|
15
12
|
port 3000
|
16
|
-
|
17
|
-
handler ::Rack::Handler::Mongrel, :Host => host, :Port => port
|
18
|
-
# handler ::Rack::Handler::WEBrick, :BindAddress => host, :Port => port
|
19
|
-
# handler ::Rack::Handler::Thin, :Host => host, :Port => port
|
13
|
+
dependencies []
|
20
14
|
|
21
15
|
application do
|
22
16
|
use ::Rack::ShowExceptions
|
23
|
-
use ::Rack::Static, :urls => [ '/css/', '/javascript/', '/
|
17
|
+
use ::Rack::Static, :urls => [ '/css/', '/javascript/', '/favicon.ico' ], :root => 'public'
|
24
18
|
run ::Waves::Dispatchers::Default.new
|
25
19
|
end
|
26
20
|
|
21
|
+
server Waves::Servers::Mongrel
|
27
22
|
end
|
28
23
|
|
29
24
|
end
|
@@ -17,14 +17,12 @@ module <%= @name %>
|
|
17
17
|
|
18
18
|
port 80
|
19
19
|
|
20
|
-
handler ::Rack::Handler::Mongrel, :Host => host, :Port => port
|
21
|
-
# handler ::Rack::Handler::WEBrick, :BindAddress => host, :Port => port
|
22
|
-
# handler ::Rack::Handler::Thin, :Host => host, :Port => port
|
23
|
-
|
24
20
|
application do
|
25
|
-
use ::Rack::Static, :urls => [ '/css/', '/javascript/', '/
|
21
|
+
use ::Rack::Static, :urls => [ '/css/', '/javascript/', '/favicon.ico' ], :root => 'public'
|
26
22
|
run ::Waves::Dispatchers::Default.new
|
27
23
|
end
|
24
|
+
|
25
|
+
server Waves::Servers::Mongrel
|
28
26
|
|
29
27
|
end
|
30
28
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,7 @@
|
|
1
|
+
style <<-STYLE
|
2
|
+
body { background: #c93; padding: 20px; font-family: verdana, sans-serif; }
|
3
|
+
h1 { font-size: 60px; font-weight: bold; margin: 0px; }
|
4
|
+
p { font-size: 24px; margin: 0px; }
|
5
|
+
STYLE
|
6
|
+
h1 '500'
|
7
|
+
p %q( Internal server error. Sorry, but your request could not be processed. )
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waves-stable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2009.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Yoder
|
@@ -9,128 +9,112 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
13
|
-
default_executable:
|
12
|
+
date: 2009-03-10 00:00:00 -07:00
|
13
|
+
default_executable: waves
|
14
14
|
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: mongrel
|
17
|
-
version_requirement:
|
18
|
-
version_requirements: !ruby/object:Gem::Requirement
|
19
|
-
requirements:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: "0"
|
23
|
-
version:
|
24
15
|
- !ruby/object:Gem::Dependency
|
25
16
|
name: rack
|
17
|
+
type: :runtime
|
26
18
|
version_requirement:
|
27
19
|
version_requirements: !ruby/object:Gem::Requirement
|
28
20
|
requirements:
|
29
|
-
- -
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version: "0"
|
32
|
-
version:
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: markaby
|
35
|
-
version_requirement:
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
21
|
+
- - ~>
|
39
22
|
- !ruby/object:Gem::Version
|
40
|
-
version: "0"
|
23
|
+
version: "0.4"
|
41
24
|
version:
|
42
25
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
26
|
+
name: filebase
|
27
|
+
type: :runtime
|
44
28
|
version_requirement:
|
45
29
|
version_requirements: !ruby/object:Gem::Requirement
|
46
30
|
requirements:
|
47
31
|
- - ">="
|
48
32
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
33
|
+
version: 0.3.5
|
50
34
|
version:
|
51
35
|
- !ruby/object:Gem::Dependency
|
52
|
-
name:
|
36
|
+
name: english
|
37
|
+
type: :runtime
|
53
38
|
version_requirement:
|
54
39
|
version_requirements: !ruby/object:Gem::Requirement
|
55
40
|
requirements:
|
56
|
-
- -
|
41
|
+
- - ~>
|
57
42
|
- !ruby/object:Gem::Version
|
58
|
-
version: "0"
|
43
|
+
version: "0.3"
|
59
44
|
version:
|
60
45
|
- !ruby/object:Gem::Dependency
|
61
46
|
name: RedCloth
|
47
|
+
type: :runtime
|
62
48
|
version_requirement:
|
63
49
|
version_requirements: !ruby/object:Gem::Requirement
|
64
50
|
requirements:
|
65
|
-
- -
|
51
|
+
- - ~>
|
66
52
|
- !ruby/object:Gem::Version
|
67
|
-
version: "0"
|
53
|
+
version: "4.0"
|
68
54
|
version:
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: live_console
|
57
|
+
type: :runtime
|
71
58
|
version_requirement:
|
72
59
|
version_requirements: !ruby/object:Gem::Requirement
|
73
60
|
requirements:
|
74
|
-
- -
|
61
|
+
- - ~>
|
75
62
|
- !ruby/object:Gem::Version
|
76
|
-
version: "0"
|
63
|
+
version: "0.2"
|
77
64
|
version:
|
78
65
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
66
|
+
name: choice
|
67
|
+
type: :runtime
|
80
68
|
version_requirement:
|
81
69
|
version_requirements: !ruby/object:Gem::Requirement
|
82
70
|
requirements:
|
83
|
-
- -
|
71
|
+
- - ~>
|
84
72
|
- !ruby/object:Gem::Version
|
85
|
-
version: "0"
|
73
|
+
version: "0.1"
|
86
74
|
version:
|
87
75
|
- !ruby/object:Gem::Dependency
|
88
|
-
name:
|
76
|
+
name: rack-cache
|
77
|
+
type: :runtime
|
89
78
|
version_requirement:
|
90
79
|
version_requirements: !ruby/object:Gem::Requirement
|
91
80
|
requirements:
|
92
|
-
- -
|
81
|
+
- - ~>
|
93
82
|
- !ruby/object:Gem::Version
|
94
|
-
version: "0"
|
83
|
+
version: "0.2"
|
95
84
|
version:
|
96
85
|
- !ruby/object:Gem::Dependency
|
97
|
-
name:
|
86
|
+
name: functor
|
87
|
+
type: :runtime
|
98
88
|
version_requirement:
|
99
89
|
version_requirements: !ruby/object:Gem::Requirement
|
100
90
|
requirements:
|
101
91
|
- - ">="
|
102
92
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
93
|
+
version: 0.5.0
|
104
94
|
version:
|
105
95
|
- !ruby/object:Gem::Dependency
|
106
|
-
name:
|
96
|
+
name: extensions
|
97
|
+
type: :runtime
|
107
98
|
version_requirement:
|
108
99
|
version_requirements: !ruby/object:Gem::Requirement
|
109
100
|
requirements:
|
110
|
-
- -
|
101
|
+
- - ~>
|
111
102
|
- !ruby/object:Gem::Version
|
112
|
-
version: "0"
|
103
|
+
version: "0.6"
|
113
104
|
version:
|
114
105
|
- !ruby/object:Gem::Dependency
|
115
106
|
name: rakegen
|
107
|
+
type: :runtime
|
116
108
|
version_requirement:
|
117
109
|
version_requirements: !ruby/object:Gem::Requirement
|
118
110
|
requirements:
|
119
|
-
- -
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: "0"
|
122
|
-
version:
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: sequel
|
125
|
-
version_requirement:
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
111
|
+
- - ~>
|
129
112
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
113
|
+
version: "0.6"
|
131
114
|
version:
|
132
115
|
- !ruby/object:Gem::Dependency
|
133
116
|
name: autocode
|
117
|
+
type: :runtime
|
134
118
|
version_requirement:
|
135
119
|
version_requirements: !ruby/object:Gem::Requirement
|
136
120
|
requirements:
|
@@ -142,143 +126,144 @@ description:
|
|
142
126
|
email: dan@zeraweb.com
|
143
127
|
executables:
|
144
128
|
- waves
|
145
|
-
- waves-server
|
146
|
-
- waves-console
|
147
129
|
extensions: []
|
148
130
|
|
149
131
|
extra_rdoc_files: []
|
150
132
|
|
151
133
|
files:
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
-
|
156
|
-
-
|
157
|
-
-
|
158
|
-
-
|
159
|
-
-
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
-
|
164
|
-
-
|
165
|
-
-
|
166
|
-
-
|
167
|
-
-
|
168
|
-
-
|
169
|
-
-
|
170
|
-
-
|
171
|
-
-
|
172
|
-
-
|
173
|
-
-
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
-
|
179
|
-
-
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
- lib/
|
199
|
-
- lib/
|
200
|
-
- lib/
|
201
|
-
- lib/
|
134
|
+
- templates/classic
|
135
|
+
- templates/classic/configurations
|
136
|
+
- templates/classic/configurations/default.rb.erb
|
137
|
+
- templates/classic/configurations/development.rb.erb
|
138
|
+
- templates/classic/configurations/production.rb.erb
|
139
|
+
- templates/classic/controllers
|
140
|
+
- templates/classic/helpers
|
141
|
+
- templates/classic/lib
|
142
|
+
- templates/classic/lib/tasks
|
143
|
+
- templates/classic/models
|
144
|
+
- templates/classic/public
|
145
|
+
- templates/classic/public/css
|
146
|
+
- templates/classic/public/flash
|
147
|
+
- templates/classic/public/images
|
148
|
+
- templates/classic/public/javascript
|
149
|
+
- templates/classic/Rakefile
|
150
|
+
- templates/classic/resources
|
151
|
+
- templates/classic/resources/map.rb.erb
|
152
|
+
- templates/classic/schema
|
153
|
+
- templates/classic/schema/migrations
|
154
|
+
- templates/classic/startup.rb.erb
|
155
|
+
- templates/classic/templates
|
156
|
+
- templates/classic/templates/errors
|
157
|
+
- templates/classic/templates/errors/not_found_404.mab
|
158
|
+
- templates/classic/templates/errors/server_error_500.mab
|
159
|
+
- templates/classic/templates/layouts
|
160
|
+
- templates/classic/templates/layouts/default.mab
|
161
|
+
- templates/classic/tmp
|
162
|
+
- templates/classic/tmp/sessions
|
163
|
+
- templates/classic/views
|
164
|
+
- templates/compact
|
165
|
+
- templates/compact/startup.rb.erb
|
166
|
+
- templates/classic/controllers/.gitignore
|
167
|
+
- templates/classic/helpers/.gitignore
|
168
|
+
- templates/classic/lib/tasks/.gitignore
|
169
|
+
- templates/classic/models/.gitignore
|
170
|
+
- templates/classic/public/css/.gitignore
|
171
|
+
- templates/classic/public/flash/.gitignore
|
172
|
+
- templates/classic/public/images/.gitignore
|
173
|
+
- templates/classic/public/javascript/.gitignore
|
174
|
+
- templates/classic/resources/.gitignore
|
175
|
+
- templates/classic/schema/migrations/.gitignore
|
176
|
+
- templates/classic/tmp/sessions/.gitignore
|
177
|
+
- templates/classic/views/.gitignore
|
178
|
+
- lib/caches/file.rb
|
179
|
+
- lib/caches/memcached.rb
|
180
|
+
- lib/caches/simple.rb
|
181
|
+
- lib/caches/synchronized.rb
|
182
|
+
- lib/commands/console.rb
|
183
|
+
- lib/commands/generate.rb
|
184
|
+
- lib/commands/help.rb
|
185
|
+
- lib/commands/server.rb
|
202
186
|
- lib/dispatchers/base.rb
|
203
187
|
- lib/dispatchers/default.rb
|
204
|
-
- lib/
|
205
|
-
- lib/
|
206
|
-
- lib/
|
207
|
-
- lib/
|
208
|
-
- lib/
|
188
|
+
- lib/ext/float.rb
|
189
|
+
- lib/ext/hash.rb
|
190
|
+
- lib/ext/integer.rb
|
191
|
+
- lib/ext/kernel.rb
|
192
|
+
- lib/ext/module.rb
|
193
|
+
- lib/ext/object.rb
|
194
|
+
- lib/ext/string.rb
|
195
|
+
- lib/ext/symbol.rb
|
196
|
+
- lib/ext/tempfile.rb
|
197
|
+
- lib/foundations/classic.rb
|
198
|
+
- lib/foundations/compact.rb
|
199
|
+
- lib/helpers/basic.rb
|
200
|
+
- lib/helpers/doc_type.rb
|
201
|
+
- lib/helpers/extended.rb
|
209
202
|
- lib/helpers/form.rb
|
210
203
|
- lib/helpers/formatting.rb
|
204
|
+
- lib/helpers/layouts.rb
|
211
205
|
- lib/helpers/model.rb
|
212
|
-
- lib/helpers/number_helper.rb
|
213
|
-
- lib/helpers/tag_helper.rb
|
214
|
-
- lib/helpers/url_helper.rb
|
215
206
|
- lib/helpers/view.rb
|
216
|
-
- lib/layers/default_errors.rb
|
217
|
-
- lib/layers/inflect/english/rules.rb
|
218
|
-
- lib/layers/inflect/english/string.rb
|
219
207
|
- lib/layers/inflect/english.rb
|
208
|
+
- lib/layers/mvc/controllers.rb
|
209
|
+
- lib/layers/mvc/extensions.rb
|
220
210
|
- lib/layers/mvc.rb
|
221
|
-
- lib/layers/orm/active_record/tasks/generate.rb
|
222
|
-
- lib/layers/orm/active_record/tasks/schema.rb
|
223
|
-
- lib/layers/orm/active_record.rb
|
224
|
-
- lib/layers/orm/data_mapper.rb
|
225
|
-
- lib/layers/orm/filebase.rb
|
226
211
|
- lib/layers/orm/migration.rb
|
227
|
-
- lib/layers/orm/
|
228
|
-
- lib/layers/orm/
|
229
|
-
- lib/layers/orm/
|
230
|
-
- lib/layers/
|
231
|
-
- lib/layers/
|
232
|
-
- lib/
|
233
|
-
- lib/
|
234
|
-
- lib/
|
235
|
-
- lib/renderers/
|
236
|
-
- lib/renderers/
|
212
|
+
- lib/layers/orm/providers/active_record/tasks/generate.rb
|
213
|
+
- lib/layers/orm/providers/active_record/tasks/schema.rb
|
214
|
+
- lib/layers/orm/providers/active_record.rb
|
215
|
+
- lib/layers/orm/providers/data_mapper.rb
|
216
|
+
- lib/layers/orm/providers/filebase.rb
|
217
|
+
- lib/layers/orm/providers/sequel/tasks/generate.rb
|
218
|
+
- lib/layers/orm/providers/sequel/tasks/schema.rb
|
219
|
+
- lib/layers/orm/providers/sequel.rb
|
220
|
+
- lib/layers/renderers/erubis.rb
|
221
|
+
- lib/layers/renderers/haml.rb
|
222
|
+
- lib/layers/renderers/markaby.rb
|
223
|
+
- lib/matchers/accept.rb
|
224
|
+
- lib/matchers/base.rb
|
225
|
+
- lib/matchers/content_type.rb
|
226
|
+
- lib/matchers/path.rb
|
227
|
+
- lib/matchers/query.rb
|
228
|
+
- lib/matchers/request.rb
|
229
|
+
- lib/matchers/resource.rb
|
230
|
+
- lib/matchers/traits.rb
|
231
|
+
- lib/matchers/uri.rb
|
237
232
|
- lib/renderers/mixin.rb
|
238
|
-
- lib/
|
239
|
-
- lib/
|
233
|
+
- lib/resources/mixin.rb
|
234
|
+
- lib/resources/paths.rb
|
240
235
|
- lib/runtime/configuration.rb
|
241
236
|
- lib/runtime/console.rb
|
242
|
-
- lib/runtime/debugger.rb
|
243
237
|
- lib/runtime/logger.rb
|
244
238
|
- lib/runtime/mime_types.rb
|
239
|
+
- lib/runtime/mocks.rb
|
240
|
+
- lib/runtime/monitor.rb
|
245
241
|
- lib/runtime/request.rb
|
246
242
|
- lib/runtime/response.rb
|
247
243
|
- lib/runtime/response_mixin.rb
|
248
|
-
- lib/runtime/
|
244
|
+
- lib/runtime/runtime.rb
|
249
245
|
- lib/runtime/server.rb
|
250
246
|
- lib/runtime/session.rb
|
251
|
-
- lib/
|
247
|
+
- lib/runtime/worker.rb
|
248
|
+
- lib/servers/base.rb
|
249
|
+
- lib/servers/mongrel.rb
|
250
|
+
- lib/servers/webrick.rb
|
252
251
|
- lib/tasks/gem.rb
|
253
252
|
- lib/tasks/generate.rb
|
254
|
-
- lib/
|
255
|
-
- lib/utilities/inflect.rb
|
256
|
-
- lib/utilities/integer.rb
|
257
|
-
- lib/utilities/module.rb
|
258
|
-
- lib/utilities/object.rb
|
259
|
-
- lib/utilities/proc.rb
|
260
|
-
- lib/utilities/string.rb
|
261
|
-
- lib/utilities/symbol.rb
|
262
|
-
- lib/utilities/tempfile.rb
|
263
|
-
- lib/views/base.rb
|
253
|
+
- lib/views/errors.rb
|
264
254
|
- lib/views/mixin.rb
|
265
255
|
- lib/waves.rb
|
266
|
-
- lib/layers/orm/active_record/migrations/empty.rb.erb
|
267
|
-
- lib/layers/orm/sequel/migrations/empty.rb.erb
|
256
|
+
- lib/layers/orm/providers/active_record/migrations/empty.rb.erb
|
257
|
+
- lib/layers/orm/providers/sequel/migrations/empty.rb.erb
|
268
258
|
- doc/HISTORY
|
269
259
|
- doc/LICENSE
|
260
|
+
- doc/README
|
261
|
+
- doc/VERSION
|
270
262
|
- samples/blog
|
271
|
-
- samples/blog/bin
|
272
|
-
- samples/blog/bin/waves-console
|
273
|
-
- samples/blog/bin/waves-server
|
274
263
|
- samples/blog/configurations
|
264
|
+
- samples/blog/configurations/default.rb
|
275
265
|
- samples/blog/configurations/development.rb
|
276
|
-
- samples/blog/configurations/mapping.rb
|
277
266
|
- samples/blog/configurations/production.rb
|
278
|
-
- samples/blog/doc
|
279
|
-
- samples/blog/doc/EMTPY
|
280
|
-
- samples/blog/lib
|
281
|
-
- samples/blog/lib/application.rb
|
282
267
|
- samples/blog/models
|
283
268
|
- samples/blog/models/comment.rb
|
284
269
|
- samples/blog/models/entry.rb
|
@@ -286,8 +271,12 @@ files:
|
|
286
271
|
- samples/blog/public/css
|
287
272
|
- samples/blog/public/css/site.css
|
288
273
|
- samples/blog/public/javascript
|
274
|
+
- samples/blog/public/javascript/jquery-1.2.6.min.js
|
289
275
|
- samples/blog/public/javascript/site.js
|
290
276
|
- samples/blog/Rakefile
|
277
|
+
- samples/blog/resources
|
278
|
+
- samples/blog/resources/entry.rb
|
279
|
+
- samples/blog/resources/map.rb
|
291
280
|
- samples/blog/schema
|
292
281
|
- samples/blog/schema/migrations
|
293
282
|
- samples/blog/schema/migrations/001_initial_schema.rb
|
@@ -300,7 +289,7 @@ files:
|
|
300
289
|
- samples/blog/templates/comment/add.mab
|
301
290
|
- samples/blog/templates/comment/list.mab
|
302
291
|
- samples/blog/templates/entry
|
303
|
-
- samples/blog/templates/entry/
|
292
|
+
- samples/blog/templates/entry/edit.mab
|
304
293
|
- samples/blog/templates/entry/list.mab
|
305
294
|
- samples/blog/templates/entry/show.mab
|
306
295
|
- samples/blog/templates/entry/summary.mab
|
@@ -309,106 +298,11 @@ files:
|
|
309
298
|
- samples/blog/templates/errors/server_error_500.mab
|
310
299
|
- samples/blog/templates/layouts
|
311
300
|
- samples/blog/templates/layouts/default.mab
|
312
|
-
-
|
313
|
-
-
|
314
|
-
-
|
315
|
-
-
|
316
|
-
- verify/blackboard/blackboard_verify.rb
|
317
|
-
- verify/blackboard/helpers.rb
|
318
|
-
- verify/configurations
|
319
|
-
- verify/configurations/attributes.rb
|
320
|
-
- verify/configurations/helpers.rb
|
321
|
-
- verify/configurations/rack_integration.rb
|
322
|
-
- verify/controllers
|
323
|
-
- verify/controllers/base.rb
|
324
|
-
- verify/controllers/helpers.rb
|
325
|
-
- verify/controllers/interface.rb
|
326
|
-
- verify/core
|
327
|
-
- verify/core/helpers.rb
|
328
|
-
- verify/core/utilities.rb
|
329
|
-
- verify/foundations
|
330
|
-
- verify/foundations/default.rb
|
331
|
-
- verify/foundations/default_application
|
332
|
-
- verify/foundations/default_application/bin
|
333
|
-
- verify/foundations/default_application/bin/waves-console
|
334
|
-
- verify/foundations/default_application/bin/waves-server
|
335
|
-
- verify/foundations/default_application/configurations
|
336
|
-
- verify/foundations/default_application/configurations/development.rb
|
337
|
-
- verify/foundations/default_application/configurations/mapping.rb
|
338
|
-
- verify/foundations/default_application/configurations/production.rb
|
339
|
-
- verify/foundations/default_application/controllers
|
340
|
-
- verify/foundations/default_application/controllers/default.rb
|
341
|
-
- verify/foundations/default_application/controllers/loaded.rb
|
342
|
-
- verify/foundations/default_application/defaultapplication.db
|
343
|
-
- verify/foundations/default_application/doc
|
344
|
-
- verify/foundations/default_application/helpers
|
345
|
-
- verify/foundations/default_application/helpers/loaded.rb
|
346
|
-
- verify/foundations/default_application/lib
|
347
|
-
- verify/foundations/default_application/lib/application.rb
|
348
|
-
- verify/foundations/default_application/lib/tasks
|
349
|
-
- verify/foundations/default_application/log
|
350
|
-
- verify/foundations/default_application/models
|
351
|
-
- verify/foundations/default_application/models/default.rb
|
352
|
-
- verify/foundations/default_application/models/loaded.rb
|
353
|
-
- verify/foundations/default_application/public
|
354
|
-
- verify/foundations/default_application/public/css
|
355
|
-
- verify/foundations/default_application/public/flash
|
356
|
-
- verify/foundations/default_application/public/images
|
357
|
-
- verify/foundations/default_application/public/javascript
|
358
|
-
- verify/foundations/default_application/Rakefile
|
359
|
-
- verify/foundations/default_application/schema
|
360
|
-
- verify/foundations/default_application/schema/migrations
|
361
|
-
- verify/foundations/default_application/schema/migrations/templates
|
362
|
-
- verify/foundations/default_application/schema/migrations/templates/empty.rb.erb
|
363
|
-
- verify/foundations/default_application/startup.rb
|
364
|
-
- verify/foundations/default_application/templates
|
365
|
-
- verify/foundations/default_application/templates/errors
|
366
|
-
- verify/foundations/default_application/templates/errors/not_found_404.mab
|
367
|
-
- verify/foundations/default_application/templates/errors/server_error_500.mab
|
368
|
-
- verify/foundations/default_application/templates/layouts
|
369
|
-
- verify/foundations/default_application/templates/layouts/default.mab
|
370
|
-
- verify/foundations/default_application/tmp
|
371
|
-
- verify/foundations/default_application/tmp/sessions
|
372
|
-
- verify/foundations/default_application/views
|
373
|
-
- verify/foundations/default_application/views/default.rb
|
374
|
-
- verify/foundations/default_application/views/loaded.rb
|
375
|
-
- verify/foundations/helpers.rb
|
376
|
-
- verify/foundations/simple.rb
|
377
|
-
- verify/helpers.rb
|
378
|
-
- verify/layers
|
379
|
-
- verify/layers/data_mapper
|
380
|
-
- verify/layers/data_mapper/association_verify.rb
|
381
|
-
- verify/layers/default_errors.rb
|
382
|
-
- verify/layers/helpers.rb
|
383
|
-
- verify/layers/migration.rb
|
384
|
-
- verify/layers/sequel
|
385
|
-
- verify/layers/sequel/model.rb
|
386
|
-
- verify/mapping
|
387
|
-
- verify/mapping/always.rb
|
388
|
-
- verify/mapping/filters.rb
|
389
|
-
- verify/mapping/handle.rb
|
390
|
-
- verify/mapping/helpers.rb
|
391
|
-
- verify/mapping/matches.rb
|
392
|
-
- verify/mapping/named.rb
|
393
|
-
- verify/mapping/options.rb
|
394
|
-
- verify/mapping/path.rb
|
395
|
-
- verify/mapping/response_proxy.rb
|
396
|
-
- verify/mapping/threaded.rb
|
397
|
-
- verify/requests
|
398
|
-
- verify/requests/helpers.rb
|
399
|
-
- verify/requests/request.rb
|
400
|
-
- verify/requests/response.rb
|
401
|
-
- verify/requests/session.rb
|
402
|
-
- verify/views
|
403
|
-
- verify/views/helpers.rb
|
404
|
-
- verify/views/rendering.rb
|
405
|
-
- verify/views/templates
|
406
|
-
- verify/views/templates/foo.erb
|
407
|
-
- verify/views/templates/moo.erb
|
408
|
-
- verify/views/templates/moo.mab
|
301
|
+
- samples/blog/templates/waves
|
302
|
+
- samples/blog/templates/waves/status.mab
|
303
|
+
- samples/blog/tmp
|
304
|
+
- samples/blog/tmp/sessions
|
409
305
|
- bin/waves
|
410
|
-
- bin/waves-server
|
411
|
-
- bin/waves-console
|
412
306
|
has_rdoc: true
|
413
307
|
homepage: http://rubywaves.com
|
414
308
|
post_install_message:
|