waves 0.7.7 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/waves +17 -72
- 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 +21 -20
- data/lib/dispatchers/default.rb +11 -63
- 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 +64 -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/{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 +10 -13
- 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 +132 -0
- data/lib/resources/paths.rb +34 -0
- data/lib/runtime/configuration.rb +55 -135
- 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 +43 -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/blog.db +0 -0
- 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/log/waves.production +3 -0
- 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 +58 -0
- 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/templates/classic/resources/map.rb.erb +8 -0
- data/templates/classic/startup.rb.erb +11 -0
- data/{app → templates/classic}/templates/errors/not_found_404.mab +0 -0
- data/{app → templates/classic}/templates/errors/server_error_500.mab +0 -0
- data/{app → templates/classic}/templates/layouts/default.mab +0 -0
- data/templates/compact/startup.rb.erb +11 -0
- metadata +257 -610
- data/app/bin/waves-console +0 -4
- data/app/bin/waves-server +0 -4
- data/app/configurations/mapping.rb.erb +0 -14
- data/app/controllers/.gitignore +0 -0
- data/app/doc/.gitignore +0 -0
- data/app/helpers/.gitignore +0 -0
- data/app/lib/application.rb.erb +0 -5
- data/app/lib/tasks/.gitignore +0 -0
- data/app/log/.gitignore +0 -0
- data/app/models/.gitignore +0 -0
- data/app/public/css/.gitignore +0 -0
- data/app/public/flash/.gitignore +0 -0
- data/app/public/images/.gitignore +0 -0
- data/app/public/javascript/.gitignore +0 -0
- data/app/schema/migrations/.gitignore +0 -0
- data/app/startup.rb +0 -5
- data/app/tmp/sessions/.gitignore +0 -0
- data/app/views/.gitignore +0 -0
- data/bin/waves-console +0 -4
- data/bin/waves-server +0 -4
- data/doc/rdoc/classes/Erubis/Context.html +0 -218
- data/doc/rdoc/classes/Kernel.html +0 -145
- data/doc/rdoc/classes/Symbol.html +0 -154
- data/doc/rdoc/classes/Tempfile.html +0 -161
- data/doc/rdoc/classes/Waves.html +0 -455
- data/doc/rdoc/classes/Waves/Application.html +0 -371
- data/doc/rdoc/classes/Waves/Blackboard.html +0 -296
- data/doc/rdoc/classes/Waves/Configurations.html +0 -283
- data/doc/rdoc/classes/Waves/Configurations/Base.html +0 -209
- data/doc/rdoc/classes/Waves/Configurations/Default.html +0 -237
- data/doc/rdoc/classes/Waves/Console.html +0 -187
- data/doc/rdoc/classes/Waves/Controllers.html +0 -203
- data/doc/rdoc/classes/Waves/Controllers/Base.html +0 -151
- data/doc/rdoc/classes/Waves/Controllers/Mixin.html +0 -312
- data/doc/rdoc/classes/Waves/Dispatchers.html +0 -118
- data/doc/rdoc/classes/Waves/Dispatchers/Base.html +0 -198
- data/doc/rdoc/classes/Waves/Dispatchers/Default.html +0 -224
- data/doc/rdoc/classes/Waves/Dispatchers/NotFoundError.html +0 -122
- data/doc/rdoc/classes/Waves/Dispatchers/Redirect.html +0 -173
- data/doc/rdoc/classes/Waves/Foundations.html +0 -131
- data/doc/rdoc/classes/Waves/Foundations/Default.html +0 -179
- data/doc/rdoc/classes/Waves/Foundations/Simple.html +0 -167
- data/doc/rdoc/classes/Waves/Helpers.html +0 -176
- data/doc/rdoc/classes/Waves/Helpers/AssetHelper.html +0 -212
- data/doc/rdoc/classes/Waves/Helpers/Common.html +0 -213
- data/doc/rdoc/classes/Waves/Helpers/Default.html +0 -135
- data/doc/rdoc/classes/Waves/Helpers/Form.html +0 -201
- data/doc/rdoc/classes/Waves/Helpers/Formatting.html +0 -232
- data/doc/rdoc/classes/Waves/Helpers/Model.html +0 -194
- data/doc/rdoc/classes/Waves/Helpers/NumberHelper.html +0 -165
- data/doc/rdoc/classes/Waves/Helpers/TagHelper.html +0 -226
- data/doc/rdoc/classes/Waves/Helpers/UrlHelper.html +0 -242
- data/doc/rdoc/classes/Waves/Helpers/View.html +0 -163
- data/doc/rdoc/classes/Waves/Inflect/InflectorMethods.html +0 -475
- data/doc/rdoc/classes/Waves/Layers.html +0 -175
- data/doc/rdoc/classes/Waves/Layers/DefaultErrors.html +0 -161
- data/doc/rdoc/classes/Waves/Layers/Inflect.html +0 -119
- data/doc/rdoc/classes/Waves/Layers/Inflect/English.html +0 -168
- data/doc/rdoc/classes/Waves/Layers/Inflect/English/Rules.html +0 -112
- data/doc/rdoc/classes/Waves/Layers/Inflect/English/StringMethods.html +0 -194
- data/doc/rdoc/classes/Waves/Layers/MVC.html +0 -204
- data/doc/rdoc/classes/Waves/Layers/ORM/ActiveRecord.html +0 -239
- data/doc/rdoc/classes/Waves/Layers/ORM/ActiveRecord/ControllerMethods.html +0 -246
- data/doc/rdoc/classes/Waves/Layers/ORM/ActiveRecord/Symbol.html +0 -132
- data/doc/rdoc/classes/Waves/Layers/ORM/DataMapper.html +0 -166
- data/doc/rdoc/classes/Waves/Layers/ORM/Filebase.html +0 -157
- data/doc/rdoc/classes/Waves/Layers/ORM/Sequel.html +0 -232
- data/doc/rdoc/classes/Waves/Layers/ORM/Sequel/ControllerMethods.html +0 -246
- data/doc/rdoc/classes/Waves/Layers/Simple.html +0 -169
- data/doc/rdoc/classes/Waves/Layers/SimpleErrors.html +0 -159
- data/doc/rdoc/classes/Waves/Logger.html +0 -288
- data/doc/rdoc/classes/Waves/Mapping.html +0 -760
- data/doc/rdoc/classes/Waves/Mapping/PrettyUrls.html +0 -129
- data/doc/rdoc/classes/Waves/Mapping/PrettyUrls/GetRules.html +0 -174
- data/doc/rdoc/classes/Waves/Mapping/PrettyUrls/RestRules.html +0 -180
- data/doc/rdoc/classes/Waves/MimeTypes.html +0 -200
- data/doc/rdoc/classes/Waves/Renderers/Erubis.html +0 -162
- data/doc/rdoc/classes/Waves/Renderers/Haml.html +0 -160
- data/doc/rdoc/classes/Waves/Renderers/Markaby.html +0 -167
- data/doc/rdoc/classes/Waves/Renderers/Mixin.html +0 -191
- data/doc/rdoc/classes/Waves/Renderers/Scope.html +0 -181
- data/doc/rdoc/classes/Waves/Request.html +0 -441
- data/doc/rdoc/classes/Waves/Request/ParseError.html +0 -111
- data/doc/rdoc/classes/Waves/Response.html +0 -283
- data/doc/rdoc/classes/Waves/ResponseMixin.html +0 -460
- data/doc/rdoc/classes/Waves/ResponseProxy.html +0 -269
- data/doc/rdoc/classes/Waves/Server.html +0 -488
- data/doc/rdoc/classes/Waves/Session.html +0 -330
- data/doc/rdoc/classes/Waves/Utilities/Hash.html +0 -185
- data/doc/rdoc/classes/Waves/Utilities/Integer.html +0 -424
- data/doc/rdoc/classes/Waves/Utilities/Module.html +0 -174
- data/doc/rdoc/classes/Waves/Utilities/Object.html +0 -155
- data/doc/rdoc/classes/Waves/Utilities/Proc.html +0 -145
- data/doc/rdoc/classes/Waves/Utilities/String.html +0 -290
- data/doc/rdoc/classes/Waves/Views.html +0 -278
- data/doc/rdoc/classes/Waves/Views/Base.html +0 -118
- data/doc/rdoc/classes/Waves/Views/Mixin.html +0 -279
- data/doc/rdoc/classes/Waves/Views/NoTemplateError.html +0 -111
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/README_rdoc.html +0 -415
- data/doc/rdoc/files/bin/waves.html +0 -135
- data/doc/rdoc/files/doc/HISTORY.html +0 -265
- data/doc/rdoc/files/lib/commands/waves-console_rb.html +0 -110
- data/doc/rdoc/files/lib/commands/waves-server_rb.html +0 -108
- data/doc/rdoc/files/lib/controllers/base_rb.html +0 -101
- data/doc/rdoc/files/lib/controllers/mixin_rb.html +0 -101
- data/doc/rdoc/files/lib/dispatchers/base_rb.html +0 -101
- data/doc/rdoc/files/lib/dispatchers/default_rb.html +0 -101
- data/doc/rdoc/files/lib/foundations/default_rb.html +0 -101
- data/doc/rdoc/files/lib/foundations/simple_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/asset_helper_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/common_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/default_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/form_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/formatting_rb.html +0 -108
- data/doc/rdoc/files/lib/helpers/model_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/number_helper_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/tag_helper_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/url_helper_rb.html +0 -101
- data/doc/rdoc/files/lib/helpers/view_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/default_errors_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/inflect/english/rules_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/inflect/english/string_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/inflect/english_rb.html +0 -109
- data/doc/rdoc/files/lib/layers/mvc_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/orm/active_record/tasks/generate_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/orm/active_record/tasks/schema_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/orm/active_record_rb.html +0 -108
- data/doc/rdoc/files/lib/layers/orm/data_mapper_rb.html +0 -108
- data/doc/rdoc/files/lib/layers/orm/filebase_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/orm/migration_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/orm/sequel/tasks/generate_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/orm/sequel/tasks/schema_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/orm/sequel_rb.html +0 -108
- data/doc/rdoc/files/lib/layers/simple_errors_rb.html +0 -101
- data/doc/rdoc/files/lib/layers/simple_rb.html +0 -101
- data/doc/rdoc/files/lib/mapping/mapping_rb.html +0 -101
- data/doc/rdoc/files/lib/mapping/pretty_urls_rb.html +0 -101
- data/doc/rdoc/files/lib/renderers/erubis_rb.html +0 -108
- data/doc/rdoc/files/lib/renderers/haml_rb.html +0 -108
- data/doc/rdoc/files/lib/renderers/markaby_rb.html +0 -108
- data/doc/rdoc/files/lib/renderers/mixin_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/application_rb.html +0 -107
- data/doc/rdoc/files/lib/runtime/blackboard_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/configuration_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/console_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/debugger_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/logger_rb.html +0 -108
- data/doc/rdoc/files/lib/runtime/mime_types_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/request_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/response_mixin_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/response_proxy_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/response_rb.html +0 -101
- data/doc/rdoc/files/lib/runtime/server_rb.html +0 -108
- data/doc/rdoc/files/lib/runtime/session_rb.html +0 -101
- data/doc/rdoc/files/lib/tasks/cluster_rb.html +0 -101
- data/doc/rdoc/files/lib/tasks/gem_rb.html +0 -108
- data/doc/rdoc/files/lib/tasks/generate_rb.html +0 -101
- data/doc/rdoc/files/lib/utilities/hash_rb.html +0 -101
- data/doc/rdoc/files/lib/utilities/inflect_rb.html +0 -111
- data/doc/rdoc/files/lib/utilities/integer_rb.html +0 -101
- data/doc/rdoc/files/lib/utilities/module_rb.html +0 -101
- data/doc/rdoc/files/lib/utilities/object_rb.html +0 -101
- data/doc/rdoc/files/lib/utilities/proc_rb.html +0 -101
- data/doc/rdoc/files/lib/utilities/string_rb.html +0 -101
- data/doc/rdoc/files/lib/utilities/symbol_rb.html +0 -101
- data/doc/rdoc/files/lib/utilities/tempfile_rb.html +0 -115
- data/doc/rdoc/files/lib/views/base_rb.html +0 -101
- data/doc/rdoc/files/lib/views/mixin_rb.html +0 -101
- data/doc/rdoc/files/lib/waves_rb.html +0 -195
- data/doc/rdoc/fr_class_index.html +0 -104
- data/doc/rdoc/fr_file_index.html +0 -97
- data/doc/rdoc/fr_method_index.html +0 -233
- data/doc/rdoc/index.html +0 -24
- data/doc/rdoc/rdoc-style.css +0 -208
- 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/samples/jub/Rakefile +0 -72
- data/samples/jub/bin/waves-console +0 -4
- data/samples/jub/bin/waves-server +0 -4
- data/samples/jub/configurations/development.rb +0 -31
- data/samples/jub/configurations/mapping.rb +0 -18
- data/samples/jub/configurations/production.rb +0 -31
- data/samples/jub/lib/application.rb +0 -5
- data/samples/jub/startup.rb +0 -6
- data/samples/jub/templates/errors/not_found_404.mab +0 -2
- data/samples/jub/templates/errors/server_error_500.mab +0 -2
- data/samples/jub/templates/layouts/default.mab +0 -14
- 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/layers/sequeltest.db +0 -0
- 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
|
@@ -23,6 +23,64 @@ rescue LoadError => e
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
+
namespace :dep do
|
27
|
+
|
28
|
+
desc "check if all the dependencies specified in the configuration"
|
29
|
+
task :check do
|
30
|
+
|
31
|
+
gems = Gem::SourceIndex.from_installed_gems.to_a.to_s
|
32
|
+
missing = Array.new
|
33
|
+
|
34
|
+
puts "\nApplication-level dependencies:"
|
35
|
+
puts " ('*' means gem is installed and available)"
|
36
|
+
|
37
|
+
Waves.config.dependencies.each do |dep|
|
38
|
+
pattern = /=#{dep}\s/
|
39
|
+
print "\t#{dep}:\t\t"
|
40
|
+
print "\t" if dep.length < 7 # keep our formatting pretty, please.
|
41
|
+
unless pattern.match(gems).nil?
|
42
|
+
print "[*]\n"
|
43
|
+
else
|
44
|
+
print "[ ]\n"
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
desc "install any missing dependencies specified in the configuration"
|
50
|
+
task :install do
|
51
|
+
|
52
|
+
gems = Gem::SourceIndex.from_installed_gems.to_a.to_s
|
53
|
+
missing = Array.new
|
54
|
+
|
55
|
+
Waves.config.dependencies.each do |dep|
|
56
|
+
pattern = /=#{dep}\s/
|
57
|
+
missing << dep if pattern.match(gems).nil?
|
58
|
+
end
|
59
|
+
|
60
|
+
missing.each do |m|
|
61
|
+
dep,ver = m.is_a?(String) ? [m,''] : m
|
62
|
+
puts "Installing dependency: #{dep}"
|
63
|
+
puts ver
|
64
|
+
begin
|
65
|
+
require 'rubygems/dependency_installer'
|
66
|
+
if Gem::RubyGemsVersion =~ /^1\.0\./
|
67
|
+
Gem::DependencyInstaller.new(dep).install
|
68
|
+
else
|
69
|
+
# as of 1.1.0
|
70
|
+
Gem::DependencyInstaller.new.install(dep)
|
71
|
+
end
|
72
|
+
rescue LoadError # < rubygems 1.0.1
|
73
|
+
require 'rubygems/remote_installer'
|
74
|
+
Gem::RemoteInstaller.new.install(dep)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
puts "Environment complete. Nothing to install." if missing.empty?
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
|
26
84
|
namespace :waves do
|
27
85
|
|
28
86
|
desc "freeze src=<wherever> to ./waves"
|
@@ -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
|
metadata
CHANGED
@@ -1,666 +1,313 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
2
|
-
|
3
|
-
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: waves
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.8.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dan Yoder
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-11-02 01:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rakegen
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.6.6
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: autocode
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.0
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: rack-cache
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.2.0
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: rack
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.4.0
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: filebase
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.3.5
|
64
|
+
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: english
|
67
|
+
type: :runtime
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 0.3.0
|
74
|
+
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: extensions
|
77
|
+
type: :runtime
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 0.6.0
|
84
|
+
version:
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: RedCloth
|
87
|
+
type: :runtime
|
88
|
+
version_requirement:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 4.0.0
|
94
|
+
version:
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: live_console
|
97
|
+
type: :runtime
|
98
|
+
version_requirement:
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.2.0
|
104
|
+
version:
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: functor
|
107
|
+
type: :runtime
|
108
|
+
version_requirement:
|
109
|
+
version_requirements: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 0.5.0
|
114
|
+
version:
|
115
|
+
description:
|
116
|
+
email: dan@zeraweb.com
|
4
117
|
executables:
|
5
118
|
- waves
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
post_install_message:
|
11
|
-
date: 2008-07-11 05:00:00 +00:00
|
119
|
+
extensions: []
|
120
|
+
|
121
|
+
extra_rdoc_files: []
|
122
|
+
|
12
123
|
files:
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
16
|
-
-
|
17
|
-
-
|
18
|
-
-
|
19
|
-
-
|
20
|
-
-
|
21
|
-
- app/public
|
22
|
-
- app/Rakefile
|
23
|
-
- app/schema
|
24
|
-
- app/startup.rb
|
25
|
-
- app/templates
|
26
|
-
- app/tmp
|
27
|
-
- app/views
|
28
|
-
- app/bin/waves-console
|
29
|
-
- app/bin/waves-server
|
30
|
-
- app/configurations/development.rb.erb
|
31
|
-
- app/configurations/mapping.rb.erb
|
32
|
-
- app/configurations/production.rb.erb
|
33
|
-
- app/lib/application.rb.erb
|
34
|
-
- app/lib/tasks
|
35
|
-
- app/public/css
|
36
|
-
- app/public/flash
|
37
|
-
- app/public/images
|
38
|
-
- app/public/javascript
|
39
|
-
- app/schema/migrations
|
40
|
-
- app/templates/errors
|
41
|
-
- app/templates/layouts
|
42
|
-
- app/templates/errors/not_found_404.mab
|
43
|
-
- app/templates/errors/server_error_500.mab
|
44
|
-
- app/templates/layouts/default.mab
|
45
|
-
- app/tmp/sessions
|
46
|
-
- app/controllers/.gitignore
|
47
|
-
- app/doc/.gitignore
|
48
|
-
- app/helpers/.gitignore
|
49
|
-
- app/lib/tasks/.gitignore
|
50
|
-
- app/log/.gitignore
|
51
|
-
- app/models/.gitignore
|
52
|
-
- app/public/css/.gitignore
|
53
|
-
- app/public/flash/.gitignore
|
54
|
-
- app/public/images/.gitignore
|
55
|
-
- app/public/javascript/.gitignore
|
56
|
-
- app/schema/migrations/.gitignore
|
57
|
-
- app/tmp/sessions/.gitignore
|
58
|
-
- app/views/.gitignore
|
59
|
-
- lib/waves.rb
|
60
|
-
- lib/commands/waves-console.rb
|
61
|
-
- lib/commands/waves-server.rb
|
62
|
-
- lib/controllers/base.rb
|
63
|
-
- lib/controllers/mixin.rb
|
124
|
+
- lib/caches/file.rb
|
125
|
+
- lib/caches/memcached.rb
|
126
|
+
- lib/caches/simple.rb
|
127
|
+
- lib/caches/synchronized.rb
|
128
|
+
- lib/commands/console.rb
|
129
|
+
- lib/commands/generate.rb
|
130
|
+
- lib/commands/help.rb
|
131
|
+
- lib/commands/server.rb
|
64
132
|
- lib/dispatchers/base.rb
|
65
133
|
- lib/dispatchers/default.rb
|
66
|
-
- lib/
|
67
|
-
- lib/
|
68
|
-
- lib/
|
69
|
-
- lib/
|
70
|
-
- lib/
|
134
|
+
- lib/ext/float.rb
|
135
|
+
- lib/ext/hash.rb
|
136
|
+
- lib/ext/integer.rb
|
137
|
+
- lib/ext/kernel.rb
|
138
|
+
- lib/ext/module.rb
|
139
|
+
- lib/ext/object.rb
|
140
|
+
- lib/ext/string.rb
|
141
|
+
- lib/ext/symbol.rb
|
142
|
+
- lib/ext/tempfile.rb
|
143
|
+
- lib/foundations/classic.rb
|
144
|
+
- lib/foundations/compact.rb
|
145
|
+
- lib/helpers/basic.rb
|
146
|
+
- lib/helpers/doc_type.rb
|
147
|
+
- lib/helpers/extended.rb
|
71
148
|
- lib/helpers/form.rb
|
72
149
|
- lib/helpers/formatting.rb
|
150
|
+
- lib/helpers/layouts.rb
|
73
151
|
- lib/helpers/model.rb
|
74
|
-
- lib/helpers/number_helper.rb
|
75
|
-
- lib/helpers/tag_helper.rb
|
76
|
-
- lib/helpers/url_helper.rb
|
77
152
|
- lib/helpers/view.rb
|
78
|
-
- lib/layers/default_errors.rb
|
79
|
-
- lib/layers/mvc.rb
|
80
|
-
- lib/layers/simple.rb
|
81
|
-
- lib/layers/simple_errors.rb
|
82
153
|
- lib/layers/inflect/english.rb
|
83
|
-
- lib/layers/
|
84
|
-
- lib/layers/
|
85
|
-
- lib/layers/
|
86
|
-
- lib/layers/orm/data_mapper.rb
|
87
|
-
- lib/layers/orm/filebase.rb
|
154
|
+
- lib/layers/mvc/controllers.rb
|
155
|
+
- lib/layers/mvc/extensions.rb
|
156
|
+
- lib/layers/mvc.rb
|
88
157
|
- lib/layers/orm/migration.rb
|
89
|
-
- lib/layers/orm/
|
90
|
-
- lib/layers/orm/active_record/tasks/
|
91
|
-
- lib/layers/orm/active_record
|
92
|
-
- lib/layers/orm/
|
93
|
-
- lib/layers/orm/
|
94
|
-
- lib/
|
95
|
-
- lib/
|
96
|
-
- lib/
|
97
|
-
- lib/renderers/
|
98
|
-
- lib/renderers/
|
158
|
+
- lib/layers/orm/providers/active_record/tasks/generate.rb
|
159
|
+
- lib/layers/orm/providers/active_record/tasks/schema.rb
|
160
|
+
- lib/layers/orm/providers/active_record.rb
|
161
|
+
- lib/layers/orm/providers/data_mapper.rb
|
162
|
+
- lib/layers/orm/providers/filebase.rb
|
163
|
+
- lib/layers/orm/providers/sequel/tasks/generate.rb
|
164
|
+
- lib/layers/orm/providers/sequel/tasks/schema.rb
|
165
|
+
- lib/layers/orm/providers/sequel.rb
|
166
|
+
- lib/layers/renderers/erubis.rb
|
167
|
+
- lib/layers/renderers/haml.rb
|
168
|
+
- lib/layers/renderers/markaby.rb
|
169
|
+
- lib/matchers/accept.rb
|
170
|
+
- lib/matchers/base.rb
|
171
|
+
- lib/matchers/content_type.rb
|
172
|
+
- lib/matchers/path.rb
|
173
|
+
- lib/matchers/query.rb
|
174
|
+
- lib/matchers/request.rb
|
175
|
+
- lib/matchers/resource.rb
|
176
|
+
- lib/matchers/traits.rb
|
177
|
+
- lib/matchers/uri.rb
|
99
178
|
- lib/renderers/mixin.rb
|
100
|
-
- lib/
|
101
|
-
- lib/
|
179
|
+
- lib/resources/mixin.rb
|
180
|
+
- lib/resources/paths.rb
|
102
181
|
- lib/runtime/configuration.rb
|
103
182
|
- lib/runtime/console.rb
|
104
|
-
- lib/runtime/debugger.rb
|
105
183
|
- lib/runtime/logger.rb
|
106
184
|
- lib/runtime/mime_types.rb
|
185
|
+
- lib/runtime/mocks.rb
|
186
|
+
- lib/runtime/monitor.rb
|
107
187
|
- lib/runtime/request.rb
|
108
188
|
- lib/runtime/response.rb
|
109
189
|
- lib/runtime/response_mixin.rb
|
110
|
-
- lib/runtime/
|
190
|
+
- lib/runtime/runtime.rb
|
111
191
|
- lib/runtime/server.rb
|
112
192
|
- lib/runtime/session.rb
|
113
|
-
- lib/
|
193
|
+
- lib/runtime/worker.rb
|
194
|
+
- lib/servers/base.rb
|
195
|
+
- lib/servers/mongrel.rb
|
196
|
+
- lib/servers/webrick.rb
|
114
197
|
- lib/tasks/gem.rb
|
115
198
|
- lib/tasks/generate.rb
|
116
|
-
- lib/
|
117
|
-
- lib/utilities/inflect.rb
|
118
|
-
- lib/utilities/integer.rb
|
119
|
-
- lib/utilities/module.rb
|
120
|
-
- lib/utilities/object.rb
|
121
|
-
- lib/utilities/proc.rb
|
122
|
-
- lib/utilities/string.rb
|
123
|
-
- lib/utilities/symbol.rb
|
124
|
-
- lib/utilities/tempfile.rb
|
125
|
-
- lib/views/base.rb
|
199
|
+
- lib/views/errors.rb
|
126
200
|
- lib/views/mixin.rb
|
127
|
-
- lib/
|
128
|
-
- lib/layers/orm/
|
201
|
+
- lib/waves.rb
|
202
|
+
- lib/layers/orm/providers/active_record/migrations/empty.rb.erb
|
203
|
+
- lib/layers/orm/providers/sequel/migrations/empty.rb.erb
|
129
204
|
- doc/HISTORY
|
130
205
|
- doc/LICENSE
|
131
|
-
- doc/
|
132
|
-
- doc/
|
133
|
-
- doc/rdoc/created.rid
|
134
|
-
- doc/rdoc/files
|
135
|
-
- doc/rdoc/fr_class_index.html
|
136
|
-
- doc/rdoc/fr_file_index.html
|
137
|
-
- doc/rdoc/fr_method_index.html
|
138
|
-
- doc/rdoc/index.html
|
139
|
-
- doc/rdoc/rdoc-style.css
|
140
|
-
- doc/rdoc/classes/Erubis
|
141
|
-
- doc/rdoc/classes/Kernel.html
|
142
|
-
- doc/rdoc/classes/Symbol.html
|
143
|
-
- doc/rdoc/classes/Tempfile.html
|
144
|
-
- doc/rdoc/classes/Waves
|
145
|
-
- doc/rdoc/classes/Waves.html
|
146
|
-
- doc/rdoc/classes/Erubis/Context.html
|
147
|
-
- doc/rdoc/classes/Waves/Application.html
|
148
|
-
- doc/rdoc/classes/Waves/Blackboard.html
|
149
|
-
- doc/rdoc/classes/Waves/Configurations
|
150
|
-
- doc/rdoc/classes/Waves/Configurations.html
|
151
|
-
- doc/rdoc/classes/Waves/Console.html
|
152
|
-
- doc/rdoc/classes/Waves/Controllers
|
153
|
-
- doc/rdoc/classes/Waves/Controllers.html
|
154
|
-
- doc/rdoc/classes/Waves/Dispatchers
|
155
|
-
- doc/rdoc/classes/Waves/Dispatchers.html
|
156
|
-
- doc/rdoc/classes/Waves/Foundations
|
157
|
-
- doc/rdoc/classes/Waves/Foundations.html
|
158
|
-
- doc/rdoc/classes/Waves/Helpers
|
159
|
-
- doc/rdoc/classes/Waves/Helpers.html
|
160
|
-
- doc/rdoc/classes/Waves/Inflect
|
161
|
-
- doc/rdoc/classes/Waves/Layers
|
162
|
-
- doc/rdoc/classes/Waves/Layers.html
|
163
|
-
- doc/rdoc/classes/Waves/Logger.html
|
164
|
-
- doc/rdoc/classes/Waves/Mapping
|
165
|
-
- doc/rdoc/classes/Waves/Mapping.html
|
166
|
-
- doc/rdoc/classes/Waves/MimeTypes.html
|
167
|
-
- doc/rdoc/classes/Waves/Renderers
|
168
|
-
- doc/rdoc/classes/Waves/Request
|
169
|
-
- doc/rdoc/classes/Waves/Request.html
|
170
|
-
- doc/rdoc/classes/Waves/Response.html
|
171
|
-
- doc/rdoc/classes/Waves/ResponseMixin.html
|
172
|
-
- doc/rdoc/classes/Waves/ResponseProxy.html
|
173
|
-
- doc/rdoc/classes/Waves/Server.html
|
174
|
-
- doc/rdoc/classes/Waves/Session.html
|
175
|
-
- doc/rdoc/classes/Waves/Utilities
|
176
|
-
- doc/rdoc/classes/Waves/Views
|
177
|
-
- doc/rdoc/classes/Waves/Views.html
|
178
|
-
- doc/rdoc/classes/Waves/Configurations/Base.html
|
179
|
-
- doc/rdoc/classes/Waves/Configurations/Default.html
|
180
|
-
- doc/rdoc/classes/Waves/Controllers/Base.html
|
181
|
-
- doc/rdoc/classes/Waves/Controllers/Mixin.html
|
182
|
-
- doc/rdoc/classes/Waves/Dispatchers/Base.html
|
183
|
-
- doc/rdoc/classes/Waves/Dispatchers/Default.html
|
184
|
-
- doc/rdoc/classes/Waves/Dispatchers/NotFoundError.html
|
185
|
-
- doc/rdoc/classes/Waves/Dispatchers/Redirect.html
|
186
|
-
- doc/rdoc/classes/Waves/Foundations/Default.html
|
187
|
-
- doc/rdoc/classes/Waves/Foundations/Simple.html
|
188
|
-
- doc/rdoc/classes/Waves/Helpers/AssetHelper.html
|
189
|
-
- doc/rdoc/classes/Waves/Helpers/Common.html
|
190
|
-
- doc/rdoc/classes/Waves/Helpers/Default.html
|
191
|
-
- doc/rdoc/classes/Waves/Helpers/Form.html
|
192
|
-
- doc/rdoc/classes/Waves/Helpers/Formatting.html
|
193
|
-
- doc/rdoc/classes/Waves/Helpers/Model.html
|
194
|
-
- doc/rdoc/classes/Waves/Helpers/NumberHelper.html
|
195
|
-
- doc/rdoc/classes/Waves/Helpers/TagHelper.html
|
196
|
-
- doc/rdoc/classes/Waves/Helpers/UrlHelper.html
|
197
|
-
- doc/rdoc/classes/Waves/Helpers/View.html
|
198
|
-
- doc/rdoc/classes/Waves/Inflect/InflectorMethods.html
|
199
|
-
- doc/rdoc/classes/Waves/Layers/DefaultErrors.html
|
200
|
-
- doc/rdoc/classes/Waves/Layers/Inflect
|
201
|
-
- doc/rdoc/classes/Waves/Layers/Inflect.html
|
202
|
-
- doc/rdoc/classes/Waves/Layers/MVC.html
|
203
|
-
- doc/rdoc/classes/Waves/Layers/ORM
|
204
|
-
- doc/rdoc/classes/Waves/Layers/Simple.html
|
205
|
-
- doc/rdoc/classes/Waves/Layers/SimpleErrors.html
|
206
|
-
- doc/rdoc/classes/Waves/Layers/Inflect/English
|
207
|
-
- doc/rdoc/classes/Waves/Layers/Inflect/English.html
|
208
|
-
- doc/rdoc/classes/Waves/Layers/Inflect/English/Rules.html
|
209
|
-
- doc/rdoc/classes/Waves/Layers/Inflect/English/StringMethods.html
|
210
|
-
- doc/rdoc/classes/Waves/Layers/ORM/ActiveRecord
|
211
|
-
- doc/rdoc/classes/Waves/Layers/ORM/ActiveRecord.html
|
212
|
-
- doc/rdoc/classes/Waves/Layers/ORM/DataMapper.html
|
213
|
-
- doc/rdoc/classes/Waves/Layers/ORM/Filebase.html
|
214
|
-
- doc/rdoc/classes/Waves/Layers/ORM/Sequel
|
215
|
-
- doc/rdoc/classes/Waves/Layers/ORM/Sequel.html
|
216
|
-
- doc/rdoc/classes/Waves/Layers/ORM/ActiveRecord/ControllerMethods.html
|
217
|
-
- doc/rdoc/classes/Waves/Layers/ORM/ActiveRecord/Symbol.html
|
218
|
-
- doc/rdoc/classes/Waves/Layers/ORM/Sequel/ControllerMethods.html
|
219
|
-
- doc/rdoc/classes/Waves/Mapping/PrettyUrls
|
220
|
-
- doc/rdoc/classes/Waves/Mapping/PrettyUrls.html
|
221
|
-
- doc/rdoc/classes/Waves/Mapping/PrettyUrls/GetRules.html
|
222
|
-
- doc/rdoc/classes/Waves/Mapping/PrettyUrls/RestRules.html
|
223
|
-
- doc/rdoc/classes/Waves/Renderers/Erubis.html
|
224
|
-
- doc/rdoc/classes/Waves/Renderers/Haml.html
|
225
|
-
- doc/rdoc/classes/Waves/Renderers/Markaby.html
|
226
|
-
- doc/rdoc/classes/Waves/Renderers/Mixin.html
|
227
|
-
- doc/rdoc/classes/Waves/Renderers/Scope.html
|
228
|
-
- doc/rdoc/classes/Waves/Request/ParseError.html
|
229
|
-
- doc/rdoc/classes/Waves/Utilities/Hash.html
|
230
|
-
- doc/rdoc/classes/Waves/Utilities/Integer.html
|
231
|
-
- doc/rdoc/classes/Waves/Utilities/Module.html
|
232
|
-
- doc/rdoc/classes/Waves/Utilities/Object.html
|
233
|
-
- doc/rdoc/classes/Waves/Utilities/Proc.html
|
234
|
-
- doc/rdoc/classes/Waves/Utilities/String.html
|
235
|
-
- doc/rdoc/classes/Waves/Views/Base.html
|
236
|
-
- doc/rdoc/classes/Waves/Views/Mixin.html
|
237
|
-
- doc/rdoc/classes/Waves/Views/NoTemplateError.html
|
238
|
-
- doc/rdoc/files/bin
|
239
|
-
- doc/rdoc/files/doc
|
240
|
-
- doc/rdoc/files/lib
|
241
|
-
- doc/rdoc/files/README_rdoc.html
|
242
|
-
- doc/rdoc/files/bin/waves.html
|
243
|
-
- doc/rdoc/files/doc/HISTORY.html
|
244
|
-
- doc/rdoc/files/lib/commands
|
245
|
-
- doc/rdoc/files/lib/controllers
|
246
|
-
- doc/rdoc/files/lib/dispatchers
|
247
|
-
- doc/rdoc/files/lib/foundations
|
248
|
-
- doc/rdoc/files/lib/helpers
|
249
|
-
- doc/rdoc/files/lib/layers
|
250
|
-
- doc/rdoc/files/lib/mapping
|
251
|
-
- doc/rdoc/files/lib/renderers
|
252
|
-
- doc/rdoc/files/lib/runtime
|
253
|
-
- doc/rdoc/files/lib/tasks
|
254
|
-
- doc/rdoc/files/lib/utilities
|
255
|
-
- doc/rdoc/files/lib/views
|
256
|
-
- doc/rdoc/files/lib/waves_rb.html
|
257
|
-
- doc/rdoc/files/lib/commands/waves-console_rb.html
|
258
|
-
- doc/rdoc/files/lib/commands/waves-server_rb.html
|
259
|
-
- doc/rdoc/files/lib/controllers/base_rb.html
|
260
|
-
- doc/rdoc/files/lib/controllers/mixin_rb.html
|
261
|
-
- doc/rdoc/files/lib/dispatchers/base_rb.html
|
262
|
-
- doc/rdoc/files/lib/dispatchers/default_rb.html
|
263
|
-
- doc/rdoc/files/lib/foundations/default_rb.html
|
264
|
-
- doc/rdoc/files/lib/foundations/simple_rb.html
|
265
|
-
- doc/rdoc/files/lib/helpers/asset_helper_rb.html
|
266
|
-
- doc/rdoc/files/lib/helpers/common_rb.html
|
267
|
-
- doc/rdoc/files/lib/helpers/default_rb.html
|
268
|
-
- doc/rdoc/files/lib/helpers/form_rb.html
|
269
|
-
- doc/rdoc/files/lib/helpers/formatting_rb.html
|
270
|
-
- doc/rdoc/files/lib/helpers/model_rb.html
|
271
|
-
- doc/rdoc/files/lib/helpers/number_helper_rb.html
|
272
|
-
- doc/rdoc/files/lib/helpers/tag_helper_rb.html
|
273
|
-
- doc/rdoc/files/lib/helpers/url_helper_rb.html
|
274
|
-
- doc/rdoc/files/lib/helpers/view_rb.html
|
275
|
-
- doc/rdoc/files/lib/layers/default_errors_rb.html
|
276
|
-
- doc/rdoc/files/lib/layers/inflect
|
277
|
-
- doc/rdoc/files/lib/layers/mvc_rb.html
|
278
|
-
- doc/rdoc/files/lib/layers/orm
|
279
|
-
- doc/rdoc/files/lib/layers/simple_errors_rb.html
|
280
|
-
- doc/rdoc/files/lib/layers/simple_rb.html
|
281
|
-
- doc/rdoc/files/lib/layers/inflect/english
|
282
|
-
- doc/rdoc/files/lib/layers/inflect/english_rb.html
|
283
|
-
- doc/rdoc/files/lib/layers/inflect/english/rules_rb.html
|
284
|
-
- doc/rdoc/files/lib/layers/inflect/english/string_rb.html
|
285
|
-
- doc/rdoc/files/lib/layers/orm/active_record
|
286
|
-
- doc/rdoc/files/lib/layers/orm/active_record_rb.html
|
287
|
-
- doc/rdoc/files/lib/layers/orm/data_mapper_rb.html
|
288
|
-
- doc/rdoc/files/lib/layers/orm/filebase_rb.html
|
289
|
-
- doc/rdoc/files/lib/layers/orm/migration_rb.html
|
290
|
-
- doc/rdoc/files/lib/layers/orm/sequel
|
291
|
-
- doc/rdoc/files/lib/layers/orm/sequel_rb.html
|
292
|
-
- doc/rdoc/files/lib/layers/orm/active_record/tasks
|
293
|
-
- doc/rdoc/files/lib/layers/orm/active_record/tasks/generate_rb.html
|
294
|
-
- doc/rdoc/files/lib/layers/orm/active_record/tasks/schema_rb.html
|
295
|
-
- doc/rdoc/files/lib/layers/orm/sequel/tasks
|
296
|
-
- doc/rdoc/files/lib/layers/orm/sequel/tasks/generate_rb.html
|
297
|
-
- doc/rdoc/files/lib/layers/orm/sequel/tasks/schema_rb.html
|
298
|
-
- doc/rdoc/files/lib/mapping/mapping_rb.html
|
299
|
-
- doc/rdoc/files/lib/mapping/pretty_urls_rb.html
|
300
|
-
- doc/rdoc/files/lib/renderers/erubis_rb.html
|
301
|
-
- doc/rdoc/files/lib/renderers/haml_rb.html
|
302
|
-
- doc/rdoc/files/lib/renderers/markaby_rb.html
|
303
|
-
- doc/rdoc/files/lib/renderers/mixin_rb.html
|
304
|
-
- doc/rdoc/files/lib/runtime/application_rb.html
|
305
|
-
- doc/rdoc/files/lib/runtime/blackboard_rb.html
|
306
|
-
- doc/rdoc/files/lib/runtime/configuration_rb.html
|
307
|
-
- doc/rdoc/files/lib/runtime/console_rb.html
|
308
|
-
- doc/rdoc/files/lib/runtime/debugger_rb.html
|
309
|
-
- doc/rdoc/files/lib/runtime/logger_rb.html
|
310
|
-
- doc/rdoc/files/lib/runtime/mime_types_rb.html
|
311
|
-
- doc/rdoc/files/lib/runtime/request_rb.html
|
312
|
-
- doc/rdoc/files/lib/runtime/response_mixin_rb.html
|
313
|
-
- doc/rdoc/files/lib/runtime/response_proxy_rb.html
|
314
|
-
- doc/rdoc/files/lib/runtime/response_rb.html
|
315
|
-
- doc/rdoc/files/lib/runtime/server_rb.html
|
316
|
-
- doc/rdoc/files/lib/runtime/session_rb.html
|
317
|
-
- doc/rdoc/files/lib/tasks/cluster_rb.html
|
318
|
-
- doc/rdoc/files/lib/tasks/gem_rb.html
|
319
|
-
- doc/rdoc/files/lib/tasks/generate_rb.html
|
320
|
-
- doc/rdoc/files/lib/utilities/hash_rb.html
|
321
|
-
- doc/rdoc/files/lib/utilities/inflect_rb.html
|
322
|
-
- doc/rdoc/files/lib/utilities/integer_rb.html
|
323
|
-
- doc/rdoc/files/lib/utilities/module_rb.html
|
324
|
-
- doc/rdoc/files/lib/utilities/object_rb.html
|
325
|
-
- doc/rdoc/files/lib/utilities/proc_rb.html
|
326
|
-
- doc/rdoc/files/lib/utilities/string_rb.html
|
327
|
-
- doc/rdoc/files/lib/utilities/symbol_rb.html
|
328
|
-
- doc/rdoc/files/lib/utilities/tempfile_rb.html
|
329
|
-
- doc/rdoc/files/lib/views/base_rb.html
|
330
|
-
- doc/rdoc/files/lib/views/mixin_rb.html
|
206
|
+
- doc/README
|
207
|
+
- doc/VERSION
|
331
208
|
- samples/blog
|
332
|
-
- samples/jub
|
333
|
-
- samples/blog/bin
|
334
209
|
- samples/blog/blog.db
|
335
210
|
- samples/blog/configurations
|
336
|
-
- samples/blog/
|
337
|
-
- samples/blog/lib
|
338
|
-
- samples/blog/models
|
339
|
-
- samples/blog/public
|
340
|
-
- samples/blog/Rakefile
|
341
|
-
- samples/blog/schema
|
342
|
-
- samples/blog/startup.rb
|
343
|
-
- samples/blog/templates
|
344
|
-
- samples/blog/bin/waves-console
|
345
|
-
- samples/blog/bin/waves-server
|
211
|
+
- samples/blog/configurations/default.rb
|
346
212
|
- samples/blog/configurations/development.rb
|
347
|
-
- samples/blog/configurations/mapping.rb
|
348
213
|
- samples/blog/configurations/production.rb
|
349
|
-
- samples/blog/
|
350
|
-
- samples/blog/
|
214
|
+
- samples/blog/log
|
215
|
+
- samples/blog/log/waves.production
|
216
|
+
- samples/blog/models
|
351
217
|
- samples/blog/models/comment.rb
|
352
218
|
- samples/blog/models/entry.rb
|
219
|
+
- samples/blog/public
|
353
220
|
- samples/blog/public/css
|
354
|
-
- samples/blog/public/javascript
|
355
221
|
- samples/blog/public/css/site.css
|
222
|
+
- samples/blog/public/javascript
|
223
|
+
- samples/blog/public/javascript/jquery-1.2.6.min.js
|
356
224
|
- samples/blog/public/javascript/site.js
|
225
|
+
- samples/blog/Rakefile
|
226
|
+
- samples/blog/resources
|
227
|
+
- samples/blog/resources/entry.rb
|
228
|
+
- samples/blog/resources/map.rb
|
229
|
+
- samples/blog/schema
|
357
230
|
- samples/blog/schema/migrations
|
358
231
|
- samples/blog/schema/migrations/001_initial_schema.rb
|
359
232
|
- samples/blog/schema/migrations/002_add_comments.rb
|
360
233
|
- samples/blog/schema/migrations/templates
|
361
234
|
- samples/blog/schema/migrations/templates/empty.rb.erb
|
235
|
+
- samples/blog/startup.rb
|
236
|
+
- samples/blog/templates
|
362
237
|
- samples/blog/templates/comment
|
363
|
-
- samples/blog/templates/entry
|
364
|
-
- samples/blog/templates/errors
|
365
|
-
- samples/blog/templates/layouts
|
366
238
|
- samples/blog/templates/comment/add.mab
|
367
239
|
- samples/blog/templates/comment/list.mab
|
368
|
-
- samples/blog/templates/entry
|
240
|
+
- samples/blog/templates/entry
|
241
|
+
- samples/blog/templates/entry/edit.mab
|
369
242
|
- samples/blog/templates/entry/list.mab
|
370
243
|
- samples/blog/templates/entry/show.mab
|
371
244
|
- samples/blog/templates/entry/summary.mab
|
245
|
+
- samples/blog/templates/errors
|
372
246
|
- samples/blog/templates/errors/not_found_404.mab
|
373
247
|
- samples/blog/templates/errors/server_error_500.mab
|
248
|
+
- samples/blog/templates/layouts
|
374
249
|
- samples/blog/templates/layouts/default.mab
|
375
|
-
- samples/
|
376
|
-
- samples/
|
377
|
-
- samples/
|
378
|
-
- samples/
|
379
|
-
-
|
380
|
-
-
|
381
|
-
-
|
382
|
-
-
|
383
|
-
-
|
384
|
-
-
|
385
|
-
-
|
386
|
-
-
|
387
|
-
-
|
388
|
-
-
|
389
|
-
-
|
390
|
-
-
|
391
|
-
-
|
392
|
-
-
|
393
|
-
-
|
394
|
-
-
|
395
|
-
-
|
396
|
-
-
|
397
|
-
-
|
398
|
-
-
|
399
|
-
-
|
400
|
-
-
|
401
|
-
-
|
402
|
-
-
|
403
|
-
-
|
404
|
-
-
|
405
|
-
-
|
406
|
-
-
|
407
|
-
-
|
408
|
-
-
|
409
|
-
-
|
410
|
-
-
|
411
|
-
- verify/controllers
|
412
|
-
- verify/core
|
413
|
-
- verify/foundations
|
414
|
-
- verify/helpers.rb
|
415
|
-
- verify/layers
|
416
|
-
- verify/mapping
|
417
|
-
- verify/requests
|
418
|
-
- verify/views
|
419
|
-
- verify/app_generation/helpers.rb
|
420
|
-
- verify/app_generation/startup.rb
|
421
|
-
- verify/blackboard/blackboard_verify.rb
|
422
|
-
- verify/blackboard/helpers.rb
|
423
|
-
- verify/configurations/attributes.rb
|
424
|
-
- verify/configurations/helpers.rb
|
425
|
-
- verify/configurations/rack_integration.rb
|
426
|
-
- verify/controllers/base.rb
|
427
|
-
- verify/controllers/helpers.rb
|
428
|
-
- verify/controllers/interface.rb
|
429
|
-
- verify/core/helpers.rb
|
430
|
-
- verify/core/utilities.rb
|
431
|
-
- verify/foundations/default.rb
|
432
|
-
- verify/foundations/default_application
|
433
|
-
- verify/foundations/helpers.rb
|
434
|
-
- verify/foundations/simple.rb
|
435
|
-
- verify/foundations/default_application/bin
|
436
|
-
- verify/foundations/default_application/configurations
|
437
|
-
- verify/foundations/default_application/controllers
|
438
|
-
- verify/foundations/default_application/defaultapplication.db
|
439
|
-
- verify/foundations/default_application/doc
|
440
|
-
- verify/foundations/default_application/helpers
|
441
|
-
- verify/foundations/default_application/lib
|
442
|
-
- verify/foundations/default_application/log
|
443
|
-
- verify/foundations/default_application/models
|
444
|
-
- verify/foundations/default_application/public
|
445
|
-
- verify/foundations/default_application/Rakefile
|
446
|
-
- verify/foundations/default_application/schema
|
447
|
-
- verify/foundations/default_application/startup.rb
|
448
|
-
- verify/foundations/default_application/templates
|
449
|
-
- verify/foundations/default_application/tmp
|
450
|
-
- verify/foundations/default_application/views
|
451
|
-
- verify/foundations/default_application/bin/waves-console
|
452
|
-
- verify/foundations/default_application/bin/waves-server
|
453
|
-
- verify/foundations/default_application/configurations/development.rb
|
454
|
-
- verify/foundations/default_application/configurations/mapping.rb
|
455
|
-
- verify/foundations/default_application/configurations/production.rb
|
456
|
-
- verify/foundations/default_application/controllers/default.rb
|
457
|
-
- verify/foundations/default_application/controllers/loaded.rb
|
458
|
-
- verify/foundations/default_application/helpers/loaded.rb
|
459
|
-
- verify/foundations/default_application/lib/application.rb
|
460
|
-
- verify/foundations/default_application/lib/tasks
|
461
|
-
- verify/foundations/default_application/models/default.rb
|
462
|
-
- verify/foundations/default_application/models/loaded.rb
|
463
|
-
- verify/foundations/default_application/public/css
|
464
|
-
- verify/foundations/default_application/public/flash
|
465
|
-
- verify/foundations/default_application/public/images
|
466
|
-
- verify/foundations/default_application/public/javascript
|
467
|
-
- verify/foundations/default_application/schema/migrations
|
468
|
-
- verify/foundations/default_application/schema/migrations/templates
|
469
|
-
- verify/foundations/default_application/schema/migrations/templates/empty.rb.erb
|
470
|
-
- verify/foundations/default_application/templates/errors
|
471
|
-
- verify/foundations/default_application/templates/layouts
|
472
|
-
- verify/foundations/default_application/templates/errors/not_found_404.mab
|
473
|
-
- verify/foundations/default_application/templates/errors/server_error_500.mab
|
474
|
-
- verify/foundations/default_application/templates/layouts/default.mab
|
475
|
-
- verify/foundations/default_application/tmp/sessions
|
476
|
-
- verify/foundations/default_application/views/default.rb
|
477
|
-
- verify/foundations/default_application/views/loaded.rb
|
478
|
-
- verify/layers/data_mapper
|
479
|
-
- verify/layers/default_errors.rb
|
480
|
-
- verify/layers/helpers.rb
|
481
|
-
- verify/layers/migration.rb
|
482
|
-
- verify/layers/sequel
|
483
|
-
- verify/layers/sequeltest.db
|
484
|
-
- verify/layers/data_mapper/association_verify.rb
|
485
|
-
- verify/layers/sequel/model.rb
|
486
|
-
- verify/mapping/always.rb
|
487
|
-
- verify/mapping/filters.rb
|
488
|
-
- verify/mapping/handle.rb
|
489
|
-
- verify/mapping/helpers.rb
|
490
|
-
- verify/mapping/matches.rb
|
491
|
-
- verify/mapping/named.rb
|
492
|
-
- verify/mapping/options.rb
|
493
|
-
- verify/mapping/path.rb
|
494
|
-
- verify/mapping/response_proxy.rb
|
495
|
-
- verify/mapping/threaded.rb
|
496
|
-
- verify/requests/helpers.rb
|
497
|
-
- verify/requests/request.rb
|
498
|
-
- verify/requests/response.rb
|
499
|
-
- verify/requests/session.rb
|
500
|
-
- verify/views/helpers.rb
|
501
|
-
- verify/views/rendering.rb
|
502
|
-
- verify/views/templates
|
503
|
-
- verify/views/templates/foo.erb
|
504
|
-
- verify/views/templates/moo.erb
|
505
|
-
- verify/views/templates/moo.mab
|
506
|
-
rubygems_version: 1.1.1
|
507
|
-
rdoc_options: []
|
508
|
-
signing_key:
|
509
|
-
cert_chain: []
|
510
|
-
name: waves
|
250
|
+
- samples/blog/templates/waves
|
251
|
+
- samples/blog/templates/waves/status.mab
|
252
|
+
- samples/blog/tmp
|
253
|
+
- samples/blog/tmp/sessions
|
254
|
+
- templates/classic
|
255
|
+
- templates/classic/configurations
|
256
|
+
- templates/classic/configurations/default.rb.erb
|
257
|
+
- templates/classic/configurations/development.rb.erb
|
258
|
+
- templates/classic/configurations/production.rb.erb
|
259
|
+
- templates/classic/controllers
|
260
|
+
- templates/classic/helpers
|
261
|
+
- templates/classic/lib
|
262
|
+
- templates/classic/lib/tasks
|
263
|
+
- templates/classic/models
|
264
|
+
- templates/classic/public
|
265
|
+
- templates/classic/public/css
|
266
|
+
- templates/classic/public/flash
|
267
|
+
- templates/classic/public/images
|
268
|
+
- templates/classic/public/javascript
|
269
|
+
- templates/classic/Rakefile
|
270
|
+
- templates/classic/resources
|
271
|
+
- templates/classic/resources/map.rb.erb
|
272
|
+
- templates/classic/schema
|
273
|
+
- templates/classic/schema/migrations
|
274
|
+
- templates/classic/startup.rb.erb
|
275
|
+
- templates/classic/templates
|
276
|
+
- templates/classic/templates/errors
|
277
|
+
- templates/classic/templates/errors/not_found_404.mab
|
278
|
+
- templates/classic/templates/errors/server_error_500.mab
|
279
|
+
- templates/classic/templates/layouts
|
280
|
+
- templates/classic/templates/layouts/default.mab
|
281
|
+
- templates/classic/tmp
|
282
|
+
- templates/classic/tmp/sessions
|
283
|
+
- templates/classic/views
|
284
|
+
- templates/compact
|
285
|
+
- templates/compact/startup.rb.erb
|
511
286
|
has_rdoc: true
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
287
|
+
homepage: http://rubywaves.com
|
288
|
+
post_install_message:
|
289
|
+
rdoc_options: []
|
290
|
+
|
291
|
+
require_paths:
|
292
|
+
- lib
|
293
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
518
294
|
requirements:
|
519
|
-
- -
|
520
|
-
- !ruby/object:Gem::Version
|
521
|
-
version:
|
522
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
295
|
+
- - ">="
|
296
|
+
- !ruby/object:Gem::Version
|
297
|
+
version: 1.8.6
|
523
298
|
version:
|
299
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
524
300
|
requirements:
|
525
|
-
- -
|
526
|
-
- !ruby/object:Gem::Version
|
527
|
-
version:
|
528
|
-
|
529
|
-
- lib
|
530
|
-
specification_version: 2
|
531
|
-
test_files: []
|
532
|
-
dependencies:
|
533
|
-
- !ruby/object:Gem::Dependency
|
534
|
-
name: mongrel
|
535
|
-
version_requirement:
|
536
|
-
version_requirements: !ruby/object:Gem::Requirement
|
537
|
-
version:
|
538
|
-
requirements:
|
539
|
-
- - '>='
|
540
|
-
- !ruby/object:Gem::Version
|
541
|
-
version: !str 0
|
542
|
-
- !ruby/object:Gem::Dependency
|
543
|
-
name: rack
|
544
|
-
version_requirement:
|
545
|
-
version_requirements: !ruby/object:Gem::Requirement
|
546
|
-
version:
|
547
|
-
requirements:
|
548
|
-
- - '>='
|
549
|
-
- !ruby/object:Gem::Version
|
550
|
-
version: !str 0
|
551
|
-
- !ruby/object:Gem::Dependency
|
552
|
-
name: markaby
|
553
|
-
version_requirement:
|
554
|
-
version_requirements: !ruby/object:Gem::Requirement
|
555
|
-
version:
|
556
|
-
requirements:
|
557
|
-
- - '>='
|
558
|
-
- !ruby/object:Gem::Version
|
559
|
-
version: !str 0
|
560
|
-
- !ruby/object:Gem::Dependency
|
561
|
-
name: erubis
|
562
|
-
version_requirement:
|
563
|
-
version_requirements: !ruby/object:Gem::Requirement
|
564
|
-
version:
|
565
|
-
requirements:
|
566
|
-
- - '>='
|
567
|
-
- !ruby/object:Gem::Version
|
568
|
-
version: !str 0
|
569
|
-
- !ruby/object:Gem::Dependency
|
570
|
-
name: haml
|
571
|
-
version_requirement:
|
572
|
-
version_requirements: !ruby/object:Gem::Requirement
|
573
|
-
version:
|
574
|
-
requirements:
|
575
|
-
- - '>='
|
576
|
-
- !ruby/object:Gem::Version
|
577
|
-
version: !str 0
|
578
|
-
- !ruby/object:Gem::Dependency
|
579
|
-
name: RedCloth
|
580
|
-
version_requirement:
|
581
|
-
version_requirements: !ruby/object:Gem::Requirement
|
582
|
-
version:
|
583
|
-
requirements:
|
584
|
-
- - '>='
|
585
|
-
- !ruby/object:Gem::Version
|
586
|
-
version: !str 0
|
587
|
-
- !ruby/object:Gem::Dependency
|
588
|
-
name: metaid
|
589
|
-
version_requirement:
|
590
|
-
version_requirements: !ruby/object:Gem::Requirement
|
591
|
-
version:
|
592
|
-
requirements:
|
593
|
-
- - '>='
|
594
|
-
- !ruby/object:Gem::Version
|
595
|
-
version: !str 0
|
596
|
-
- !ruby/object:Gem::Dependency
|
597
|
-
name: extensions
|
598
|
-
version_requirement:
|
599
|
-
version_requirements: !ruby/object:Gem::Requirement
|
600
|
-
version:
|
601
|
-
requirements:
|
602
|
-
- - '>='
|
603
|
-
- !ruby/object:Gem::Version
|
604
|
-
version: !str 0
|
605
|
-
- !ruby/object:Gem::Dependency
|
606
|
-
name: live_console
|
607
|
-
version_requirement:
|
608
|
-
version_requirements: !ruby/object:Gem::Requirement
|
609
|
-
version:
|
610
|
-
requirements:
|
611
|
-
- - '>='
|
612
|
-
- !ruby/object:Gem::Version
|
613
|
-
version: !str 0
|
614
|
-
- !ruby/object:Gem::Dependency
|
615
|
-
name: choice
|
616
|
-
version_requirement:
|
617
|
-
version_requirements: !ruby/object:Gem::Requirement
|
618
|
-
version:
|
619
|
-
requirements:
|
620
|
-
- - '>='
|
621
|
-
- !ruby/object:Gem::Version
|
622
|
-
version: !str 0
|
623
|
-
- !ruby/object:Gem::Dependency
|
624
|
-
name: daemons
|
625
|
-
version_requirement:
|
626
|
-
version_requirements: !ruby/object:Gem::Requirement
|
627
|
-
version:
|
628
|
-
requirements:
|
629
|
-
- - '>='
|
630
|
-
- !ruby/object:Gem::Version
|
631
|
-
version: !str 0
|
632
|
-
- !ruby/object:Gem::Dependency
|
633
|
-
name: rakegen
|
634
|
-
version_requirement:
|
635
|
-
version_requirements: !ruby/object:Gem::Requirement
|
636
|
-
version:
|
637
|
-
requirements:
|
638
|
-
- - '>='
|
639
|
-
- !ruby/object:Gem::Version
|
640
|
-
version: !str 0
|
641
|
-
- !ruby/object:Gem::Dependency
|
642
|
-
name: sequel
|
643
|
-
version_requirement:
|
644
|
-
version_requirements: !ruby/object:Gem::Requirement
|
645
|
-
version:
|
646
|
-
requirements:
|
647
|
-
- - '>='
|
648
|
-
- !ruby/object:Gem::Version
|
649
|
-
version: 2.0.0
|
650
|
-
- !ruby/object:Gem::Dependency
|
651
|
-
name: autocode
|
652
|
-
version_requirement:
|
653
|
-
version_requirements: !ruby/object:Gem::Requirement
|
654
|
-
version:
|
655
|
-
requirements:
|
656
|
-
- - '>='
|
657
|
-
- !ruby/object:Gem::Version
|
658
|
-
version: 1.0.0
|
659
|
-
description:
|
660
|
-
email: dan@zeraweb.com
|
661
|
-
authors:
|
662
|
-
- Dan Yoder
|
663
|
-
extra_rdoc_files: []
|
301
|
+
- - ">="
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: "0"
|
304
|
+
version:
|
664
305
|
requirements: []
|
306
|
+
|
665
307
|
rubyforge_project: waves
|
666
|
-
|
308
|
+
rubygems_version: 1.2.0
|
309
|
+
signing_key:
|
310
|
+
specification_version: 2
|
311
|
+
summary: Open-source framework for building Ruby-based Web applications.
|
312
|
+
test_files: []
|
313
|
+
|