webgen 0.5.17 → 1.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/API.rdoc +143 -0
- data/AUTHORS +0 -1
- data/COPYING +17 -8
- data/ChangeLog +4456 -0
- data/GPL +623 -289
- data/README.md +71 -0
- data/Rakefile +87 -99
- data/VERSION +1 -1
- data/bin/webgen +1 -7
- data/data/webgen/basic_website_template/ext/init.rb +15 -0
- data/data/webgen/basic_website_template/webgen.config +18 -0
- data/data/webgen/bundle_template_files/README.md.erb +24 -0
- data/data/webgen/bundle_template_files/Rakefile.erb +36 -0
- data/data/webgen/bundle_template_files/info.yaml.erb +16 -0
- data/data/webgen/bundle_template_files/init.rb.erb +1 -0
- data/data/webgen/passive_sources/default.metainfo +32 -0
- data/data/webgen/passive_sources/stylesheets/coderay-default.css +109 -118
- data/data/webgen/passive_sources/templates/feed.template +62 -0
- data/data/webgen/passive_sources/templates/sitemap.template +3 -6
- data/data/webgen/passive_sources/templates/tag.template +42 -0
- data/data/webgen/website_bundles/default/README +2 -2
- data/lib/webgen/blackboard.rb +15 -51
- data/lib/webgen/bundle/built-in-show-changes/init.rb +54 -0
- data/lib/webgen/bundle/built-in/init.rb +366 -0
- data/lib/webgen/bundle_loader.rb +126 -0
- data/lib/webgen/cache.rb +9 -18
- data/lib/webgen/cli.rb +131 -58
- data/lib/webgen/cli/bundle_command.rb +30 -0
- data/lib/webgen/cli/create_bundle_command.rb +46 -0
- data/lib/webgen/cli/create_command.rb +48 -60
- data/lib/webgen/cli/generate_command.rb +25 -0
- data/lib/webgen/cli/install_bundle_command.rb +34 -0
- data/lib/webgen/cli/list_bundle_command.rb +108 -0
- data/lib/webgen/cli/logger.rb +45 -0
- data/lib/webgen/cli/show_command.rb +30 -0
- data/lib/webgen/cli/show_config_command.rb +63 -0
- data/lib/webgen/cli/show_dependencies_command.rb +103 -0
- data/lib/webgen/cli/show_extensions_command.rb +74 -0
- data/lib/webgen/cli/utils.rb +68 -95
- data/lib/webgen/configuration.rb +143 -105
- data/lib/webgen/content_processor.rb +160 -0
- data/lib/webgen/content_processor/blocks.rb +96 -0
- data/lib/webgen/content_processor/builder.rb +25 -0
- data/lib/webgen/content_processor/erb.rb +25 -0
- data/lib/webgen/content_processor/erubis.rb +31 -0
- data/lib/webgen/content_processor/fragments.rb +82 -0
- data/lib/webgen/content_processor/haml.rb +25 -0
- data/lib/webgen/content_processor/html_head.rb +157 -0
- data/lib/webgen/content_processor/kramdown.rb +49 -0
- data/lib/webgen/content_processor/maruku.rb +39 -0
- data/lib/webgen/content_processor/r_discount.rb +21 -0
- data/lib/webgen/content_processor/rdoc.rb +22 -0
- data/lib/webgen/content_processor/redcloth.rb +23 -0
- data/lib/webgen/content_processor/ruby.rb +20 -0
- data/lib/webgen/content_processor/sass.rb +145 -0
- data/lib/webgen/content_processor/scss.rb +23 -0
- data/lib/webgen/content_processor/tags.rb +30 -0
- data/lib/webgen/content_processor/tidy.rb +32 -0
- data/lib/webgen/content_processor/tikz.rb +116 -0
- data/lib/webgen/content_processor/xmllint.rb +31 -0
- data/lib/webgen/context.rb +57 -29
- data/lib/webgen/context/html_head.rb +60 -0
- data/lib/webgen/context/nodes.rb +32 -27
- data/lib/webgen/context/rendering.rb +39 -0
- data/lib/webgen/context/webgen_tags.rb +25 -0
- data/lib/webgen/core_ext.rb +25 -0
- data/lib/webgen/destination.rb +151 -0
- data/lib/webgen/destination/file_system.rb +62 -0
- data/lib/webgen/error.rb +59 -49
- data/lib/webgen/extension_manager.rb +121 -0
- data/lib/webgen/item_tracker.rb +237 -0
- data/lib/webgen/item_tracker/file.rb +39 -0
- data/lib/webgen/item_tracker/missing_node.rb +61 -0
- data/lib/webgen/item_tracker/node_content.rb +40 -0
- data/lib/webgen/item_tracker/node_meta_info.rb +53 -0
- data/lib/webgen/item_tracker/nodes.rb +92 -0
- data/lib/webgen/logger.rb +26 -82
- data/lib/webgen/node.rb +122 -367
- data/lib/webgen/node_finder.rb +336 -0
- data/lib/webgen/page.rb +48 -85
- data/lib/webgen/path.rb +218 -156
- data/lib/webgen/path_handler.rb +400 -0
- data/lib/webgen/path_handler/base.rb +220 -0
- data/lib/webgen/path_handler/copy.rb +78 -0
- data/lib/webgen/path_handler/directory.rb +21 -0
- data/lib/webgen/path_handler/feed.rb +82 -0
- data/lib/webgen/path_handler/meta_info.rb +84 -0
- data/lib/webgen/path_handler/page.rb +38 -0
- data/lib/webgen/path_handler/page_utils.rb +79 -0
- data/lib/webgen/path_handler/sitemap.rb +52 -0
- data/lib/webgen/path_handler/template.rb +96 -0
- data/lib/webgen/path_handler/virtual.rb +85 -0
- data/lib/webgen/{webgentask.rb → rake_task.rb} +31 -27
- data/lib/webgen/source.rb +106 -24
- data/lib/webgen/source/file_system.rb +41 -0
- data/lib/webgen/source/stacked.rb +49 -53
- data/lib/webgen/source/tar_archive.rb +59 -0
- data/lib/webgen/tag.rb +250 -19
- data/lib/webgen/tag/breadcrumb_trail.rb +65 -0
- data/lib/webgen/tag/coderay.rb +32 -35
- data/lib/webgen/tag/date.rb +9 -9
- data/lib/webgen/tag/execute_command.rb +31 -0
- data/lib/webgen/tag/include_file.rb +32 -0
- data/lib/webgen/tag/langbar.rb +31 -47
- data/lib/webgen/tag/link.rb +17 -18
- data/lib/webgen/tag/menu.rb +27 -189
- data/lib/webgen/tag/meta_info.rb +31 -0
- data/lib/webgen/tag/relocatable.rb +48 -39
- data/lib/webgen/tag/tikz.rb +24 -100
- data/lib/webgen/task.rb +99 -0
- data/lib/webgen/task/create_bundle.rb +73 -0
- data/lib/webgen/task/create_website.rb +94 -0
- data/lib/webgen/task/generate_website.rb +47 -0
- data/lib/webgen/test_helper.rb +183 -0
- data/lib/webgen/tree.rb +95 -46
- data/lib/webgen/utils.rb +39 -0
- data/lib/webgen/utils/external_command.rb +27 -0
- data/lib/webgen/utils/tag_parser.rb +124 -0
- data/lib/webgen/version.rb +1 -1
- data/lib/webgen/website.rb +134 -296
- data/setup.rb +1 -1
- data/test/test_documentation.rb +43 -0
- data/test/webgen/cli/test_logger.rb +41 -0
- data/test/{test_contentprocessor_blocks.rb → webgen/content_processor/test_blocks.rb} +30 -28
- data/test/webgen/content_processor/test_builder.rb +25 -0
- data/test/webgen/content_processor/test_erb.rb +21 -0
- data/test/webgen/content_processor/test_erubis.rb +33 -0
- data/test/webgen/content_processor/test_fragments.rb +96 -0
- data/test/webgen/content_processor/test_haml.rb +24 -0
- data/test/webgen/content_processor/test_html_head.rb +78 -0
- data/test/webgen/content_processor/test_kramdown.rb +49 -0
- data/test/webgen/content_processor/test_maruku.rb +30 -0
- data/test/webgen/content_processor/test_r_discount.rb +18 -0
- data/test/webgen/content_processor/test_rdoc.rb +18 -0
- data/test/webgen/content_processor/test_redcloth.rb +23 -0
- data/test/webgen/content_processor/test_ruby.rb +24 -0
- data/test/webgen/content_processor/test_sass.rb +44 -0
- data/test/webgen/content_processor/test_scss.rb +23 -0
- data/test/webgen/content_processor/test_tags.rb +44 -0
- data/test/webgen/content_processor/test_tidy.rb +31 -0
- data/test/webgen/content_processor/test_tikz.rb +33 -0
- data/test/webgen/content_processor/test_xmllint.rb +32 -0
- data/test/webgen/destination/test_file_system.rb +54 -0
- data/test/webgen/item_tracker/test_file.rb +31 -0
- data/test/webgen/item_tracker/test_missing_node.rb +70 -0
- data/test/webgen/item_tracker/test_node_content.rb +42 -0
- data/test/webgen/item_tracker/test_node_meta_info.rb +44 -0
- data/test/webgen/item_tracker/test_nodes.rb +61 -0
- data/test/webgen/path_handler/test_base.rb +153 -0
- data/test/webgen/path_handler/test_copy.rb +56 -0
- data/test/webgen/path_handler/test_feed.rb +85 -0
- data/test/webgen/path_handler/test_meta_info.rb +98 -0
- data/test/webgen/path_handler/test_page.rb +25 -0
- data/test/webgen/path_handler/test_page_utils.rb +59 -0
- data/test/webgen/path_handler/test_sitemap.rb +95 -0
- data/test/webgen/path_handler/test_template.rb +64 -0
- data/test/webgen/path_handler/test_virtual.rb +87 -0
- data/test/webgen/source/test_file_system.rb +51 -0
- data/test/webgen/source/test_stacked.rb +35 -0
- data/test/{test_source_tararchive.rb → webgen/source/test_tar_archive.rb} +10 -25
- data/test/webgen/tag/test_breadcrumb_trail.rb +66 -0
- data/test/webgen/tag/test_coderay.rb +34 -0
- data/test/webgen/tag/test_date.rb +18 -0
- data/test/webgen/tag/test_execute_command.rb +36 -0
- data/test/webgen/tag/test_include_file.rb +35 -0
- data/test/webgen/tag/test_langbar.rb +50 -0
- data/test/webgen/tag/test_link.rb +40 -0
- data/test/webgen/tag/test_menu.rb +61 -0
- data/test/webgen/tag/test_meta_info.rb +25 -0
- data/test/webgen/tag/test_relocatable.rb +50 -0
- data/test/webgen/tag/test_tikz.rb +41 -0
- data/test/webgen/task/test_create_website.rb +46 -0
- data/test/webgen/test_blackboard.rb +31 -0
- data/test/webgen/test_bundle_loader.rb +55 -0
- data/test/{test_cache.rb → webgen/test_cache.rb} +3 -15
- data/test/webgen/test_cli.rb +41 -0
- data/test/webgen/test_configuration.rb +131 -0
- data/test/webgen/test_content_processor.rb +86 -0
- data/test/webgen/test_context.rb +73 -0
- data/test/webgen/test_core_ext.rb +20 -0
- data/test/webgen/test_destination.rb +48 -0
- data/test/webgen/test_error.rb +121 -0
- data/test/webgen/test_extension_manager.rb +70 -0
- data/test/webgen/test_item_tracker.rb +106 -0
- data/test/{test_languages.rb → webgen/test_languages.rb} +4 -4
- data/test/webgen/test_logger.rb +46 -0
- data/test/webgen/test_node.rb +178 -0
- data/test/webgen/test_node_finder.rb +127 -0
- data/test/{test_page.rb → webgen/test_page.rb} +44 -48
- data/test/webgen/test_path.rb +271 -0
- data/test/{test_webgentask.rb → webgen/test_rake_task.rb} +4 -4
- data/test/webgen/test_source.rb +59 -0
- data/test/webgen/test_tag.rb +137 -0
- data/test/webgen/test_task.rb +40 -0
- data/test/webgen/test_tree.rb +147 -0
- data/test/webgen/test_utils.rb +16 -0
- data/test/webgen/test_website.rb +45 -0
- data/test/webgen/utils/test_tag_parser.rb +99 -0
- metadata +292 -344
- data/data/webgen/passive_sources/templates/atom_feed.template +0 -39
- data/data/webgen/passive_sources/templates/rss_feed.template +0 -28
- data/data/webgen/resources.yaml +0 -4
- data/data/webgen/webgui/app.rb +0 -11
- data/data/webgen/webgui/controller/main.rb +0 -135
- data/data/webgen/webgui/layout/default.xhtml +0 -40
- data/data/webgen/webgui/overrides/win32console.rb +0 -0
- data/data/webgen/webgui/public/css/jquery.autocomplete.css +0 -50
- data/data/webgen/webgui/public/css/ramaze_error.css +0 -90
- data/data/webgen/webgui/public/css/style.css +0 -55
- data/data/webgen/webgui/public/img/headerbg.jpg +0 -0
- data/data/webgen/webgui/public/img/webgen_logo.png +0 -0
- data/data/webgen/webgui/public/js/jquery.autocomplete.js +0 -15
- data/data/webgen/webgui/public/js/jquery.js +0 -32
- data/data/webgen/webgui/start.rb +0 -9
- data/data/webgen/webgui/view/create_website.xhtml +0 -14
- data/data/webgen/webgui/view/error.xhtml +0 -64
- data/data/webgen/webgui/view/index.xhtml +0 -22
- data/data/webgen/webgui/view/manage_website.xhtml +0 -18
- data/data/webgen/website_skeleton/README +0 -10
- data/data/webgen/website_skeleton/Rakefile +0 -69
- data/data/webgen/website_skeleton/config.yaml +0 -35
- data/data/webgen/website_skeleton/ext/init.rb +0 -10
- data/doc/contentprocessor.template +0 -11
- data/doc/contentprocessor/blocks.page +0 -129
- data/doc/contentprocessor/builder.page +0 -79
- data/doc/contentprocessor/erb.page +0 -60
- data/doc/contentprocessor/erubis.page +0 -46
- data/doc/contentprocessor/fragments.page +0 -26
- data/doc/contentprocessor/haml.page +0 -46
- data/doc/contentprocessor/head.page +0 -31
- data/doc/contentprocessor/kramdown.page +0 -49
- data/doc/contentprocessor/less.page +0 -34
- data/doc/contentprocessor/maruku.page +0 -44
- data/doc/contentprocessor/rdiscount.page +0 -37
- data/doc/contentprocessor/rdoc.page +0 -36
- data/doc/contentprocessor/redcloth.page +0 -41
- data/doc/contentprocessor/sass.page +0 -31
- data/doc/contentprocessor/scss.page +0 -39
- data/doc/contentprocessor/tags.page +0 -73
- data/doc/contentprocessor/tidy.page +0 -14
- data/doc/contentprocessor/xmllint.page +0 -14
- data/doc/extensions.metainfo +0 -29
- data/doc/extensions.page +0 -15
- data/doc/extensions.template +0 -17
- data/doc/faq.page +0 -222
- data/doc/getting_started.page +0 -135
- data/doc/index.page +0 -71
- data/doc/manual.page +0 -727
- data/doc/reference_configuration.page +0 -1254
- data/doc/reference_metainfo.page +0 -265
- data/doc/reference_website_styles.page +0 -32
- data/doc/source/filesystem.page +0 -41
- data/doc/source/tararchive.page +0 -40
- data/doc/sourcehandler.template +0 -23
- data/doc/sourcehandler/copy.page +0 -19
- data/doc/sourcehandler/directory.page +0 -27
- data/doc/sourcehandler/feed.page +0 -102
- data/doc/sourcehandler/metainfo.page +0 -48
- data/doc/sourcehandler/page.page +0 -14
- data/doc/sourcehandler/sitemap.page +0 -46
- data/doc/sourcehandler/template.page +0 -45
- data/doc/sourcehandler/virtual.page +0 -49
- data/doc/tag.template +0 -25
- data/doc/tag/breadcrumbtrail.page +0 -40
- data/doc/tag/coderay.page +0 -53
- data/doc/tag/date.page +0 -31
- data/doc/tag/executecommand.page +0 -26
- data/doc/tag/includefile.page +0 -32
- data/doc/tag/langbar.page +0 -47
- data/doc/tag/link.page +0 -44
- data/doc/tag/menu.page +0 -109
- data/doc/tag/metainfo.page +0 -29
- data/doc/tag/relocatable.page +0 -38
- data/doc/tag/sitemap.page +0 -31
- data/doc/tag/tikz.page +0 -159
- data/doc/upgrading.page +0 -138
- data/doc/webgen_page_format.page +0 -129
- data/doc/website_styles.metainfo +0 -8
- data/lib/webgen/cli/apply_command.rb +0 -66
- data/lib/webgen/cli/run_command.rb +0 -22
- data/lib/webgen/cli/webgui_command.rb +0 -68
- data/lib/webgen/common.rb +0 -27
- data/lib/webgen/common/sitemap.rb +0 -83
- data/lib/webgen/contentprocessor.rb +0 -117
- data/lib/webgen/contentprocessor/blocks.rb +0 -92
- data/lib/webgen/contentprocessor/builder.rb +0 -29
- data/lib/webgen/contentprocessor/erb.rb +0 -26
- data/lib/webgen/contentprocessor/erubis.rb +0 -39
- data/lib/webgen/contentprocessor/fragments.rb +0 -25
- data/lib/webgen/contentprocessor/haml.rb +0 -34
- data/lib/webgen/contentprocessor/head.rb +0 -128
- data/lib/webgen/contentprocessor/kramdown.rb +0 -27
- data/lib/webgen/contentprocessor/kramdown/html.rb +0 -36
- data/lib/webgen/contentprocessor/less.rb +0 -35
- data/lib/webgen/contentprocessor/maruku.rb +0 -36
- data/lib/webgen/contentprocessor/rdiscount.rb +0 -19
- data/lib/webgen/contentprocessor/rdoc.rb +0 -20
- data/lib/webgen/contentprocessor/redcloth.rb +0 -21
- data/lib/webgen/contentprocessor/sass.rb +0 -22
- data/lib/webgen/contentprocessor/scss.rb +0 -22
- data/lib/webgen/contentprocessor/tags.rb +0 -170
- data/lib/webgen/contentprocessor/tidy.rb +0 -38
- data/lib/webgen/contentprocessor/xmllint.rb +0 -37
- data/lib/webgen/context/render.rb +0 -32
- data/lib/webgen/context/tags.rb +0 -20
- data/lib/webgen/coreext.rb +0 -13
- data/lib/webgen/default_config.rb +0 -240
- data/lib/webgen/loggable.rb +0 -25
- data/lib/webgen/output.rb +0 -86
- data/lib/webgen/output/filesystem.rb +0 -69
- data/lib/webgen/source/filesystem.rb +0 -61
- data/lib/webgen/source/resource.rb +0 -45
- data/lib/webgen/source/tararchive.rb +0 -78
- data/lib/webgen/sourcehandler.rb +0 -275
- data/lib/webgen/sourcehandler/base.rb +0 -281
- data/lib/webgen/sourcehandler/copy.rb +0 -44
- data/lib/webgen/sourcehandler/directory.rb +0 -30
- data/lib/webgen/sourcehandler/feed.rb +0 -92
- data/lib/webgen/sourcehandler/fragment.rb +0 -70
- data/lib/webgen/sourcehandler/memory.rb +0 -42
- data/lib/webgen/sourcehandler/metainfo.rb +0 -128
- data/lib/webgen/sourcehandler/page.rb +0 -64
- data/lib/webgen/sourcehandler/sitemap.rb +0 -60
- data/lib/webgen/sourcehandler/template.rb +0 -66
- data/lib/webgen/sourcehandler/virtual.rb +0 -117
- data/lib/webgen/tag/base.rb +0 -170
- data/lib/webgen/tag/breadcrumbtrail.rb +0 -70
- data/lib/webgen/tag/executecommand.rb +0 -31
- data/lib/webgen/tag/includefile.rb +0 -42
- data/lib/webgen/tag/metainfo.rb +0 -27
- data/lib/webgen/tag/sitemap.rb +0 -41
- data/lib/webgen/websiteaccess.rb +0 -31
- data/lib/webgen/websitemanager.rb +0 -125
- data/misc/default.css +0 -403
- data/misc/default.template +0 -76
- data/misc/htmldoc.metainfo +0 -26
- data/misc/htmldoc.virtual +0 -17
- data/misc/images/arrow.gif +0 -0
- data/misc/images/error.png +0 -0
- data/misc/images/headerbg.jpg +0 -0
- data/misc/images/important.png +0 -0
- data/misc/images/information.png +0 -0
- data/misc/images/quote.gif +0 -0
- data/misc/images/warning.png +0 -0
- data/misc/logo.svg +0 -313
- data/misc/style.page +0 -33
- data/test/helper.rb +0 -61
- data/test/test_blackboard.rb +0 -60
- data/test/test_cli.rb +0 -119
- data/test/test_common_sitemap.rb +0 -58
- data/test/test_configuration.rb +0 -68
- data/test/test_contentprocessor.rb +0 -39
- data/test/test_contentprocessor_builder.rb +0 -41
- data/test/test_contentprocessor_erb.rb +0 -33
- data/test/test_contentprocessor_erubis.rb +0 -62
- data/test/test_contentprocessor_fragments.rb +0 -43
- data/test/test_contentprocessor_haml.rb +0 -39
- data/test/test_contentprocessor_head.rb +0 -96
- data/test/test_contentprocessor_kramdown.rb +0 -56
- data/test/test_contentprocessor_less.rb +0 -40
- data/test/test_contentprocessor_maruku.rb +0 -33
- data/test/test_contentprocessor_rdiscount.rb +0 -21
- data/test/test_contentprocessor_rdoc.rb +0 -22
- data/test/test_contentprocessor_redcloth.rb +0 -26
- data/test/test_contentprocessor_sass.rb +0 -28
- data/test/test_contentprocessor_scss.rb +0 -28
- data/test/test_contentprocessor_tags.rb +0 -122
- data/test/test_contentprocessor_tidy.rb +0 -34
- data/test/test_contentprocessor_xmllint.rb +0 -38
- data/test/test_context.rb +0 -81
- data/test/test_error.rb +0 -93
- data/test/test_loggable.rb +0 -32
- data/test/test_logger.rb +0 -94
- data/test/test_node.rb +0 -469
- data/test/test_output_filesystem.rb +0 -60
- data/test/test_path.rb +0 -241
- data/test/test_source_filesystem.rb +0 -76
- data/test/test_source_resource.rb +0 -28
- data/test/test_source_stacked.rb +0 -49
- data/test/test_sourcehandler_base.rb +0 -136
- data/test/test_sourcehandler_copy.rb +0 -47
- data/test/test_sourcehandler_directory.rb +0 -38
- data/test/test_sourcehandler_feed.rb +0 -88
- data/test/test_sourcehandler_fragment.rb +0 -70
- data/test/test_sourcehandler_main.rb +0 -39
- data/test/test_sourcehandler_memory.rb +0 -44
- data/test/test_sourcehandler_metainfo.rb +0 -127
- data/test/test_sourcehandler_page.rb +0 -73
- data/test/test_sourcehandler_sitemap.rb +0 -68
- data/test/test_sourcehandler_template.rb +0 -68
- data/test/test_sourcehandler_virtual.rb +0 -106
- data/test/test_tag_base.rb +0 -62
- data/test/test_tag_breadcrumbtrail.rb +0 -91
- data/test/test_tag_coderay.rb +0 -45
- data/test/test_tag_date.rb +0 -18
- data/test/test_tag_executecommand.rb +0 -41
- data/test/test_tag_includefile.rb +0 -50
- data/test/test_tag_langbar.rb +0 -71
- data/test/test_tag_link.rb +0 -70
- data/test/test_tag_menu.rb +0 -207
- data/test/test_tag_metainfo.rb +0 -26
- data/test/test_tag_relocatable.rb +0 -60
- data/test/test_tag_sitemap.rb +0 -47
- data/test/test_tag_tikz.rb +0 -69
- data/test/test_tree.rb +0 -70
- data/test/test_website.rb +0 -130
- data/test/test_websiteaccess.rb +0 -25
- data/test/test_websitemanager.rb +0 -65
@@ -0,0 +1,40 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
require 'minitest/autorun'
|
4
|
+
require 'webgen/task'
|
5
|
+
|
6
|
+
class Webgen::Task::SampleTestTask
|
7
|
+
|
8
|
+
def self.call(website, other)
|
9
|
+
other
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
class TestTask < MiniTest::Unit::TestCase
|
15
|
+
|
16
|
+
def setup
|
17
|
+
@website = :dummy
|
18
|
+
@task = Webgen::Task.new(@website)
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_register_and_data
|
22
|
+
@task.register('SampleTestTask', :data => :data)
|
23
|
+
assert(@task.registered?('sample_test_task'))
|
24
|
+
assert_equal(:data, @task.data('sample_test_task'))
|
25
|
+
|
26
|
+
@task.register('doit') {|website|}
|
27
|
+
assert(@task.registered?('doit'))
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_execute
|
31
|
+
@task.register('SampleTestTask')
|
32
|
+
@task.register('doit') do |website, param|
|
33
|
+
[website, param]
|
34
|
+
end
|
35
|
+
|
36
|
+
assert_equal([@website, :data], @task.execute('doit', :data))
|
37
|
+
assert_equal(:data, @task.execute('sample_test_task', :data))
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,147 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
require 'webgen/test_helper'
|
4
|
+
require 'webgen/tree'
|
5
|
+
|
6
|
+
class TestTree < MiniTest::Unit::TestCase
|
7
|
+
|
8
|
+
include Webgen::TestHelper
|
9
|
+
|
10
|
+
def setup
|
11
|
+
setup_website
|
12
|
+
@tree = @website.tree
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_initialize
|
16
|
+
refute_equal(nil, @tree.dummy_root)
|
17
|
+
assert_equal('', @tree.dummy_root.alcn)
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_root
|
21
|
+
root = Webgen::Node.new(@tree.dummy_root, '/', '/')
|
22
|
+
assert_equal(root, @tree.root)
|
23
|
+
assert_equal('/', root.alcn)
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_translate_node
|
27
|
+
setup_default_nodes(@tree)
|
28
|
+
|
29
|
+
assert_equal(@tree['/file.de.html'], @tree.translate_node(@tree['/file.en.html'], 'de'))
|
30
|
+
assert_equal(@tree['/file.en.html'], @tree.translate_node(@tree['/file.en.html'], 'en'))
|
31
|
+
assert_equal(@tree['/file.en.html'], @tree.translate_node(@tree['/file.de.html'], 'en'))
|
32
|
+
assert_equal(nil, @tree.translate_node(@tree['/file.de.html'], 'fr'))
|
33
|
+
assert_equal(nil, @tree.translate_node(@tree['/file.en.html'], nil))
|
34
|
+
|
35
|
+
assert_equal(@tree['/other.en.html'], @tree.translate_node(@tree['/other.html'], 'en'))
|
36
|
+
assert_equal(@tree['/other.html'], @tree.translate_node(@tree['/other.html'], 'de'))
|
37
|
+
assert_equal(@tree['/other.html'], @tree.translate_node(@tree['/other.html'], nil))
|
38
|
+
assert_equal(@tree['/other.html'], @tree.translate_node(@tree['/other.en.html'], nil))
|
39
|
+
assert_equal(@tree['/other.html'], @tree.translate_node(@tree['/other.en.html'], 'de'))
|
40
|
+
|
41
|
+
assert_equal(nil, @tree.translate_node(@tree['/file.en.html#frag'], nil))
|
42
|
+
assert_equal(@tree['/file.en.html#frag'], @tree.translate_node(@tree['/file.en.html#frag'], 'en'))
|
43
|
+
assert_equal(@tree['/file.de.html#frag'], @tree.translate_node(@tree['/file.en.html#frag'], 'de'))
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_translations
|
47
|
+
setup_default_nodes(@tree)
|
48
|
+
|
49
|
+
assert_equal([@tree['/file.en.html'], @tree['/file.de.html']], @tree.translations(@tree['/file.en.html']))
|
50
|
+
assert_equal([@tree['/other.html'], @tree['/other.en.html']], @tree.translations(@tree['/other.html']))
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_resolve_node
|
54
|
+
setup_default_nodes(@tree)
|
55
|
+
|
56
|
+
[@tree['/'], @tree['/file.de.html'], @tree['/file.en.html'], @tree['/other.html']].each do |n|
|
57
|
+
assert_equal(nil, n.resolve('file.html', nil))
|
58
|
+
assert_equal(@tree['/file.en.html'], n.resolve('file.html', 'en'))
|
59
|
+
assert_equal(@tree['/file.de.html'], n.resolve('file.html', 'de'))
|
60
|
+
assert_equal(nil, n.resolve('file.html', 'fr'))
|
61
|
+
assert_equal(@tree['/file.en.html'], n.resolve('file.en.html', nil))
|
62
|
+
assert_equal(@tree['/file.en.html'], n.resolve('file.en.html', 'en'))
|
63
|
+
assert_equal(@tree['/file.en.html'], n.resolve('file.en.html', 'de'))
|
64
|
+
assert_equal(nil, n.resolve('somename.fr.html', 'de'))
|
65
|
+
|
66
|
+
assert_equal(@tree['/other.html'], n.resolve('other.html', nil))
|
67
|
+
assert_equal(@tree['/other.html'], n.resolve('other.html', 'fr'))
|
68
|
+
assert_equal(@tree['/other.en.html'], n.resolve('other.html', 'en'))
|
69
|
+
assert_equal(@tree['/other.en.html'], n.resolve('other.en.html', nil))
|
70
|
+
assert_equal(@tree['/other.en.html'], n.resolve('other.en.html', 'de'))
|
71
|
+
assert_equal(nil, n.resolve('other.fr.html', nil))
|
72
|
+
assert_equal(nil, n.resolve('other.fr.html', 'en'))
|
73
|
+
end
|
74
|
+
|
75
|
+
assert_equal(@tree['/file.en.html#frag'], @tree['/file.en.html'].resolve('#frag', 'de'))
|
76
|
+
assert_equal(@tree['/file.en.html#frag'], @tree['/file.en.html'].resolve('#frag', nil))
|
77
|
+
assert_equal(@tree['/file.en.html#nested'], @tree['/file.en.html'].resolve('#nested', nil))
|
78
|
+
|
79
|
+
assert_equal(nil, @tree.resolve_node('/file.html#frag', nil))
|
80
|
+
assert_equal(@tree['/file.en.html#frag'], @tree.resolve_node('/file.html#frag', 'en'))
|
81
|
+
assert_equal(@tree['/file.de.html#frag'], @tree.resolve_node('/file.html#frag', 'de'))
|
82
|
+
assert_equal(@tree['/file.en.html#frag'], @tree.resolve_node('/file.en.html#frag', nil))
|
83
|
+
assert_equal(@tree['/file.de.html#frag'], @tree.resolve_node('/file.de.html#frag', nil))
|
84
|
+
|
85
|
+
assert_equal(@tree['/dir2/index.en.html'], @tree['/dir2/'].resolve('index.en.html'))
|
86
|
+
assert_equal(@tree['/other.html'], @tree['/'].resolve('other.html'))
|
87
|
+
|
88
|
+
assert_equal(@tree['/dir/'], @tree['/file.en.html'].resolve('/dir/'))
|
89
|
+
assert_equal(@tree['/dir/'], @tree['/file.en.html'].resolve('/dir'))
|
90
|
+
assert_equal(@tree['/'], @tree['/file.en.html'].resolve('/'))
|
91
|
+
|
92
|
+
nrcalls = 0
|
93
|
+
@website.blackboard.add_listener(:node_resolution_failed) { nrcalls += 1 }
|
94
|
+
assert_equal(nil, @tree['/'].resolve('other.fr.html', nil, false))
|
95
|
+
assert_equal(0, nrcalls)
|
96
|
+
assert_equal(nil, @tree['/'].resolve('other.fr.html', nil, true))
|
97
|
+
assert_equal(1, nrcalls)
|
98
|
+
end
|
99
|
+
|
100
|
+
def test_register_node
|
101
|
+
node = Webgen::Node.new(@tree.dummy_root, '/', '/')
|
102
|
+
assert_equal(node, @tree['/', :alcn])
|
103
|
+
assert_equal(node, @tree['/', :acn])
|
104
|
+
assert_equal(node, @tree['/', :dest_path])
|
105
|
+
|
106
|
+
other_node = Webgen::Node.new(node, 'dummy.html', '/', 'no_output' => true)
|
107
|
+
assert_equal('/', other_node.dest_path)
|
108
|
+
|
109
|
+
assert_raises(RuntimeError) { Webgen::Node.new(@tree.dummy_root, '/', 'dummy') }
|
110
|
+
assert_raises(RuntimeError) { Webgen::Node.new(@tree.dummy_root, 'dummy', '/') }
|
111
|
+
end
|
112
|
+
|
113
|
+
def test_delete_node
|
114
|
+
nrcalls = 0
|
115
|
+
@website.blackboard.add_listener(:before_node_deleted) { nrcalls += 1 }
|
116
|
+
|
117
|
+
root = Webgen::Node.new(@tree.dummy_root, '/', '/')
|
118
|
+
file = Webgen::Node.new(root, 'testfile', 'testfile')
|
119
|
+
dir = Webgen::Node.new(root, 'testdir/', 'testdir')
|
120
|
+
virtual_root = Webgen::Node.new(root, 'vroot', '/', 'no_output' => true)
|
121
|
+
|
122
|
+
@tree.delete_node(@tree.dummy_root)
|
123
|
+
refute_nil(@tree[''])
|
124
|
+
|
125
|
+
assert_nil(@tree.delete_node('/unknown_path'))
|
126
|
+
|
127
|
+
@tree.delete_node(file)
|
128
|
+
assert_nil(@tree['/testfile'])
|
129
|
+
assert_nil(@tree['/testfile', :acn])
|
130
|
+
assert_nil(@tree['/testfile', :dest_path])
|
131
|
+
assert_equal(0, @tree.node_access[:translation_key]['/testfile'].length)
|
132
|
+
assert_equal(2, root.children.size)
|
133
|
+
assert_equal(1, nrcalls)
|
134
|
+
|
135
|
+
@tree.delete_node(virtual_root)
|
136
|
+
assert_equal(root, @tree['/', :dest_path])
|
137
|
+
|
138
|
+
@tree.delete_node(root)
|
139
|
+
assert_nil(@tree['/testdir'])
|
140
|
+
assert_nil(@tree['/testdir', :acn])
|
141
|
+
assert_nil(@tree['/testdir', :dest_path])
|
142
|
+
assert_nil(@tree['/'])
|
143
|
+
assert_equal(4, nrcalls)
|
144
|
+
assert_equal([@tree.dummy_root], @tree.node_access[:alcn].values)
|
145
|
+
end
|
146
|
+
|
147
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
require 'minitest/autorun'
|
4
|
+
require 'webgen/utils'
|
5
|
+
|
6
|
+
class TestUtils < MiniTest::Unit::TestCase
|
7
|
+
|
8
|
+
def test_class_const_for_name
|
9
|
+
assert_equal(Webgen::Utils, Webgen::Utils.const_for_name('Webgen::Utils'))
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_class_snake_case
|
13
|
+
assert_equal('webgen/html_error_now', Webgen::Utils.snake_case('Webgen::HTMLErrorNow'))
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
require 'fileutils'
|
4
|
+
require 'tmpdir'
|
5
|
+
require 'minitest/autorun'
|
6
|
+
require 'webgen/website'
|
7
|
+
|
8
|
+
class TestWebsite < MiniTest::Unit::TestCase
|
9
|
+
|
10
|
+
def test_initialize
|
11
|
+
i = 0
|
12
|
+
ws = Webgen::Website.new('dir') do |website, before|
|
13
|
+
if i == 0
|
14
|
+
assert_equal(true, before)
|
15
|
+
else
|
16
|
+
assert_equal(false, before)
|
17
|
+
end
|
18
|
+
i += 1
|
19
|
+
end
|
20
|
+
assert(ws.blackboard)
|
21
|
+
assert(ws.cache)
|
22
|
+
assert(ws.config)
|
23
|
+
assert(ws.tree)
|
24
|
+
assert_equal('dir', ws.directory)
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_read_config_file
|
28
|
+
Dir.mktmpdir do |dir|
|
29
|
+
File.open(File.join(dir, 'webgen.config'), 'w+') {|f| f.write('- unknown')}
|
30
|
+
assert_raises(Webgen::Configuration::Error) { Webgen::Website.new(dir) }
|
31
|
+
|
32
|
+
File.open(File.join(dir, 'webgen.config'), 'w+') {|f| f.write("# ruby\nwebsitesdf'] =")}
|
33
|
+
assert_raises(Webgen::Error) { Webgen::Website.new(dir) }
|
34
|
+
|
35
|
+
File.open(File.join(dir, 'webgen.config'), 'w+') {|f| f.write('website.lang: de')}
|
36
|
+
ws = Webgen::Website.new(dir)
|
37
|
+
assert_equal('de', ws.config['website.lang'])
|
38
|
+
|
39
|
+
File.open(File.join(dir, 'webgen.config'), 'w+') {|f| f.write("# -*- ruby -*-\nwebsite.config['website.lang'] = 'de'")}
|
40
|
+
ws = Webgen::Website.new(dir)
|
41
|
+
assert_equal('de', ws.config['website.lang'])
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
require 'webgen/test_helper'
|
4
|
+
require 'webgen/utils/tag_parser'
|
5
|
+
|
6
|
+
class TestTagParser < MiniTest::Unit::TestCase
|
7
|
+
|
8
|
+
include Webgen::TestHelper
|
9
|
+
|
10
|
+
def test_replace_tags
|
11
|
+
@parser = Webgen::Utils::TagParser.new
|
12
|
+
|
13
|
+
# no webgen tag in content
|
14
|
+
check_returned_tags('sdfsdf{asd', [])
|
15
|
+
check_returned_tags('sdfsdf}asd', [])
|
16
|
+
check_returned_tags('sdfsdf{asd}', [])
|
17
|
+
|
18
|
+
# error with invalid brace nesting
|
19
|
+
check_returned_tags('sdfsdf{asd: {}as', [], true)
|
20
|
+
check_returned_tags('sdfsdf{test: {test1: {}}', [], true)
|
21
|
+
|
22
|
+
# error with invalid params
|
23
|
+
check_returned_tags('sdfsdf{test: {test1: [}}', [], true)
|
24
|
+
|
25
|
+
# normal behavious
|
26
|
+
check_returned_tags('sdfsdf{test: {test1: }}', [['test', {'test1' => nil}, '']], 'sdfsdftest1')
|
27
|
+
check_returned_tags('sdfsdf{test:}{test1: }', [['test', nil, ''], ['test1', nil, '']], 'sdfsdftest1test2')
|
28
|
+
|
29
|
+
# brace escaping
|
30
|
+
check_returned_tags('sdfsdf{test:}\\{test1: }', [['test', nil, '']], "sdfsdftest1{test1: }")
|
31
|
+
check_returned_tags('sdfsdf\\{test:}{test1:}', [['test1', nil, '']], "sdfsdf{test:}test1")
|
32
|
+
check_returned_tags('sdfsdf{test: asdf}', [['test', 'asdf', '']], "sdfsdftest1")
|
33
|
+
check_returned_tags('sdfsdf\\{test: asdf}', [], "sdfsdf{test: asdf}")
|
34
|
+
check_returned_tags('sdfsdf\\\\{test: asdf}', [['test', 'asdf', '']], "sdfsdf\\test1")
|
35
|
+
check_returned_tags('sdfsdf\\\\\\{test: asdf}sdf', [['test', 'asdf', '']], "sdfsdf\\{test: asdf}sdf")
|
36
|
+
|
37
|
+
# error when no end tag is found
|
38
|
+
check_returned_tags('before{test::}body{testno}', [], true)
|
39
|
+
|
40
|
+
# tags with body
|
41
|
+
check_returned_tags('before{test::}body{test}', [['test', nil, 'body']], "beforetest1")
|
42
|
+
check_returned_tags('before{test::}body\\{test}other{test}', [['test', nil, 'body{test}other']], "beforetest1")
|
43
|
+
check_returned_tags('before{test::}body\\{test}{test}', [['test', nil, 'body{test}']], "beforetest1")
|
44
|
+
check_returned_tags('before{test::}body\\{test}\\\\{test}after', [['test', nil, 'body{test}\\']], "beforetest1after")
|
45
|
+
check_returned_tags('before\\{test::}body{test}', [['test', nil, 'body']], "before{test::}body{test}")
|
46
|
+
check_returned_tags('before\\\\{test:: asdf}body{test}after', [['test', 'asdf', 'body']], "before\\test1after")
|
47
|
+
|
48
|
+
# content with non-ascii characters
|
49
|
+
check_returned_tags('sdfsüdf{test: }', [['test', nil, '']], "sdfsüdftest1")
|
50
|
+
check_returned_tags('sdfsüüdf{test: asdf}', [['test', 'asdf', '']], "sdfsüüdftest1")
|
51
|
+
check_returned_tags('sdfsüüdf{test: asüdf}a', [['test', 'asüdf', '']], "sdfsüüdftest1a")
|
52
|
+
check_returned_tags('sdfsüüdf\\{test: asdf}ab', [], "sdfsüüdf{test: asdf}ab")
|
53
|
+
check_returned_tags('sdfsüüdf\\\\{test: asdf}ab', [['test', 'asdf', '']], "sdfsüüdf\\test1ab")
|
54
|
+
check_returned_tags('sdfsüüdf\\\\\\{test: asdf}ab', [], "sdfsüüdf\\{test: asdf}ab")
|
55
|
+
check_returned_tags('sdfsüüdf{test:: asdf}abü{test}ab', [['test', 'asdf', 'abü']], "sdfsüüdftest1ab")
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_replace_tags_with_prefix
|
59
|
+
@parser = Webgen::Utils::TagParser.new('hallo')
|
60
|
+
check_returned_tags('sdfsüdf{test: }', [], "sdfsüdf{test: }")
|
61
|
+
check_returned_tags('sdfsüdf{hallotest: }', [['test', nil, '']], "sdfsüdftest1")
|
62
|
+
end
|
63
|
+
|
64
|
+
def check_returned_tags(content, data, result = content)
|
65
|
+
i = 0
|
66
|
+
check_proc = proc do |tag, params, body|
|
67
|
+
assert_equal(data[i][0], tag, 'error on tag with content: ' + content)
|
68
|
+
assert_equal(data[i][1], params, 'error on params with content: ' + content)
|
69
|
+
assert_equal(data[i][2], body, 'error on body with content: ' + content)
|
70
|
+
i += 1
|
71
|
+
'test' + i.to_s
|
72
|
+
end
|
73
|
+
|
74
|
+
if result.kind_of?(TrueClass)
|
75
|
+
assert_error_on_line(Webgen::Utils::TagParser::Error, 1) { @parser.replace_tags(content, &check_proc) }
|
76
|
+
else
|
77
|
+
@parser.replace_tags(content, &check_proc)
|
78
|
+
assert_equal(content, result)
|
79
|
+
end
|
80
|
+
assert(i, data.length)
|
81
|
+
end
|
82
|
+
|
83
|
+
def test_error_line_and_column
|
84
|
+
@parser = Webgen::Utils::TagParser.new
|
85
|
+
check_line_and_column("error\non\nline 3 {test1: {}", 3, 8)
|
86
|
+
check_line_and_column("line {test1: {}", 1, 6)
|
87
|
+
check_line_and_column("error\no\n{test1: {}", 3, 1)
|
88
|
+
end
|
89
|
+
|
90
|
+
def check_line_and_column(content, line, column)
|
91
|
+
begin
|
92
|
+
@parser.replace_tags(content) { }
|
93
|
+
rescue Webgen::Utils::TagParser::Error => e
|
94
|
+
assert_equal(line, e.line)
|
95
|
+
assert_equal(column, e.column)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0.beta1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Thomas Leitner
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cmdparse
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.
|
21
|
+
version: 2.0.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,15 +26,15 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.0.
|
29
|
+
version: 2.0.5
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
31
|
+
name: systemu
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
35
|
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: 2.5.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,23 +42,23 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 2.5.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
47
|
+
name: kramdown
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
51
51
|
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
54
|
-
type: :
|
53
|
+
version: 0.14.0
|
54
|
+
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
none: false
|
58
58
|
requirements:
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.14.0
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rake
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,13 +76,13 @@ dependencies:
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: 0.8.3
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
79
|
+
name: diff-lcs
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
81
81
|
none: false
|
82
82
|
requirements:
|
83
83
|
- - ! '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
85
|
+
version: 1.1.0
|
86
86
|
type: :development
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -90,15 +90,15 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ! '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
93
|
+
version: 1.1.0
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
|
-
name:
|
95
|
+
name: rubyforge
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
99
|
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.
|
101
|
+
version: 2.0.2
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,15 +106,15 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
109
|
+
version: 2.0.2
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
111
|
+
name: maruku
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
114
|
requirements:
|
115
115
|
- - ! '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.6.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,15 +122,15 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ! '>='
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.
|
125
|
+
version: 0.6.0
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
127
|
+
name: RedCloth
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
131
|
- - ! '>='
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
133
|
+
version: 4.1.9
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -138,15 +138,15 @@ dependencies:
|
|
138
138
|
requirements:
|
139
139
|
- - ! '>='
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
141
|
+
version: 4.1.9
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
|
-
name:
|
143
|
+
name: haml
|
144
144
|
requirement: !ruby/object:Gem::Requirement
|
145
145
|
none: false
|
146
146
|
requirements:
|
147
147
|
- - ! '>='
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
149
|
+
version: 3.1.0
|
150
150
|
type: :development
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -154,15 +154,15 @@ dependencies:
|
|
154
154
|
requirements:
|
155
155
|
- - ! '>='
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
157
|
+
version: 3.1.0
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
|
-
name:
|
159
|
+
name: sass
|
160
160
|
requirement: !ruby/object:Gem::Requirement
|
161
161
|
none: false
|
162
162
|
requirements:
|
163
163
|
- - ! '>='
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: 3.0
|
165
|
+
version: 3.2.0
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -170,7 +170,7 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - ! '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 3.0
|
173
|
+
version: 3.2.0
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
175
|
name: builder
|
176
176
|
requirement: !ruby/object:Gem::Requirement
|
@@ -194,7 +194,7 @@ dependencies:
|
|
194
194
|
requirements:
|
195
195
|
- - ! '>='
|
196
196
|
- !ruby/object:Gem::Version
|
197
|
-
version:
|
197
|
+
version: '3.0'
|
198
198
|
type: :development
|
199
199
|
prerelease: false
|
200
200
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -202,7 +202,7 @@ dependencies:
|
|
202
202
|
requirements:
|
203
203
|
- - ! '>='
|
204
204
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
205
|
+
version: '3.0'
|
206
206
|
- !ruby/object:Gem::Dependency
|
207
207
|
name: coderay
|
208
208
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,7 +210,7 @@ dependencies:
|
|
210
210
|
requirements:
|
211
211
|
- - ! '>='
|
212
212
|
- !ruby/object:Gem::Version
|
213
|
-
version: 0.
|
213
|
+
version: 1.0.0
|
214
214
|
type: :development
|
215
215
|
prerelease: false
|
216
216
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -218,7 +218,7 @@ dependencies:
|
|
218
218
|
requirements:
|
219
219
|
- - ! '>='
|
220
220
|
- !ruby/object:Gem::Version
|
221
|
-
version: 0.
|
221
|
+
version: 1.0.0
|
222
222
|
- !ruby/object:Gem::Dependency
|
223
223
|
name: erubis
|
224
224
|
requirement: !ruby/object:Gem::Requirement
|
@@ -280,7 +280,8 @@ email: t_leitner@gmx.at
|
|
280
280
|
executables:
|
281
281
|
- webgen
|
282
282
|
extensions: []
|
283
|
-
extra_rdoc_files:
|
283
|
+
extra_rdoc_files:
|
284
|
+
- API.rdoc
|
284
285
|
files:
|
285
286
|
- Rakefile
|
286
287
|
- setup.rb
|
@@ -290,338 +291,283 @@ files:
|
|
290
291
|
- THANKS
|
291
292
|
- COPYING
|
292
293
|
- GPL
|
294
|
+
- API.rdoc
|
295
|
+
- README.md
|
293
296
|
- bin/webgen
|
294
|
-
- data/webgen/
|
295
|
-
- data/webgen/
|
296
|
-
- data/webgen/
|
297
|
-
- data/webgen/
|
298
|
-
- data/webgen/website_bundles/
|
299
|
-
- data/webgen/website_bundles/
|
300
|
-
- data/webgen/website_bundles/style/
|
301
|
-
- data/webgen/website_bundles/style/
|
302
|
-
- data/webgen/website_bundles/style/
|
303
|
-
- data/webgen/website_bundles/style/
|
304
|
-
- data/webgen/website_bundles/style/
|
305
|
-
- data/webgen/website_bundles/style/
|
306
|
-
- data/webgen/website_bundles/style/
|
297
|
+
- data/webgen/website_bundles/style/andreas09/README
|
298
|
+
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-purple.jpg
|
299
|
+
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-red.jpg
|
300
|
+
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-green.jpg
|
301
|
+
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-red.jpg
|
302
|
+
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-black.jpg
|
303
|
+
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-orange.jpg
|
304
|
+
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-black.jpg
|
305
|
+
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-purple.jpg
|
306
|
+
- data/webgen/website_bundles/style/andreas09/src/images/bodybg.jpg
|
307
|
+
- data/webgen/website_bundles/style/andreas09/src/images/footerbg.jpg
|
308
|
+
- data/webgen/website_bundles/style/andreas09/src/images/menuhover.jpg
|
309
|
+
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-green.jpg
|
310
|
+
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-orange.jpg
|
311
|
+
- data/webgen/website_bundles/style/andreas09/src/default.css
|
312
|
+
- data/webgen/website_bundles/style/andreas09/src/default.template
|
313
|
+
- data/webgen/website_bundles/style/andreas05/README
|
314
|
+
- data/webgen/website_bundles/style/andreas05/src/images/front.png
|
315
|
+
- data/webgen/website_bundles/style/andreas05/src/images/bodybg.gif
|
316
|
+
- data/webgen/website_bundles/style/andreas05/src/default.css
|
317
|
+
- data/webgen/website_bundles/style/andreas05/src/default.template
|
318
|
+
- data/webgen/website_bundles/style/simple/README
|
319
|
+
- data/webgen/website_bundles/style/simple/src/default.css
|
320
|
+
- data/webgen/website_bundles/style/simple/src/default.template
|
321
|
+
- data/webgen/website_bundles/style/andreas01/README
|
307
322
|
- data/webgen/website_bundles/style/andreas01/src/images/bg.gif
|
308
323
|
- data/webgen/website_bundles/style/andreas01/src/images/front.jpg
|
309
|
-
- data/webgen/website_bundles/style/andreas01/src/default.template
|
310
|
-
- data/webgen/website_bundles/style/andreas01/src/default.css
|
311
324
|
- data/webgen/website_bundles/style/andreas01/src/print.css
|
312
|
-
- data/webgen/website_bundles/style/andreas01/
|
325
|
+
- data/webgen/website_bundles/style/andreas01/src/default.css
|
326
|
+
- data/webgen/website_bundles/style/andreas01/src/default.template
|
327
|
+
- data/webgen/website_bundles/style/andreas03/README
|
328
|
+
- data/webgen/website_bundles/style/andreas03/src/images/gradient1.png
|
329
|
+
- data/webgen/website_bundles/style/andreas03/src/images/contbg.png
|
330
|
+
- data/webgen/website_bundles/style/andreas03/src/images/gradient2.png
|
331
|
+
- data/webgen/website_bundles/style/andreas03/src/images/footerbg.png
|
332
|
+
- data/webgen/website_bundles/style/andreas03/src/images/bodybg.png
|
333
|
+
- data/webgen/website_bundles/style/andreas03/src/default.css
|
334
|
+
- data/webgen/website_bundles/style/andreas03/src/default.template
|
335
|
+
- data/webgen/website_bundles/style/1024px/README
|
313
336
|
- data/webgen/website_bundles/style/1024px/src/images/background.gif
|
314
|
-
- data/webgen/website_bundles/style/1024px/src/default.template
|
315
337
|
- data/webgen/website_bundles/style/1024px/src/default.css
|
316
|
-
- data/webgen/website_bundles/style/1024px/
|
317
|
-
- data/webgen/website_bundles/style/andreas08/src/default.template
|
318
|
-
- data/webgen/website_bundles/style/andreas08/src/default.css
|
338
|
+
- data/webgen/website_bundles/style/1024px/src/default.template
|
319
339
|
- data/webgen/website_bundles/style/andreas08/README
|
320
|
-
- data/webgen/website_bundles/style/
|
321
|
-
- data/webgen/website_bundles/style/
|
322
|
-
- data/webgen/website_bundles/style/
|
323
|
-
- data/webgen/website_bundles/style/
|
324
|
-
- data/webgen/website_bundles/style/
|
325
|
-
- data/webgen/website_bundles/style/
|
326
|
-
- data/webgen/website_bundles/style/
|
340
|
+
- data/webgen/website_bundles/style/andreas08/src/default.css
|
341
|
+
- data/webgen/website_bundles/style/andreas08/src/default.template
|
342
|
+
- data/webgen/website_bundles/style/andreas00/README
|
343
|
+
- data/webgen/website_bundles/style/andreas00/src/images/menubg.gif
|
344
|
+
- data/webgen/website_bundles/style/andreas00/src/images/bg.gif
|
345
|
+
- data/webgen/website_bundles/style/andreas00/src/images/front.jpg
|
346
|
+
- data/webgen/website_bundles/style/andreas00/src/images/menubg2.gif
|
347
|
+
- data/webgen/website_bundles/style/andreas00/src/default.css
|
348
|
+
- data/webgen/website_bundles/style/andreas00/src/default.template
|
349
|
+
- data/webgen/website_bundles/style/andreas04/README
|
350
|
+
- data/webgen/website_bundles/style/andreas04/src/images/flash.gif
|
327
351
|
- data/webgen/website_bundles/style/andreas04/src/images/globebottom.gif
|
328
|
-
- data/webgen/website_bundles/style/andreas04/src/images/flash2.gif
|
329
352
|
- data/webgen/website_bundles/style/andreas04/src/images/globe.gif
|
330
353
|
- data/webgen/website_bundles/style/andreas04/src/images/menuhover.png
|
331
|
-
- data/webgen/website_bundles/style/andreas04/src/images/
|
354
|
+
- data/webgen/website_bundles/style/andreas04/src/images/linkarrow.gif
|
332
355
|
- data/webgen/website_bundles/style/andreas04/src/images/entrybg.png
|
356
|
+
- data/webgen/website_bundles/style/andreas04/src/images/flash2.gif
|
357
|
+
- data/webgen/website_bundles/style/andreas04/src/images/contentbg.png
|
358
|
+
- data/webgen/website_bundles/style/andreas04/src/images/bodybg.png
|
333
359
|
- data/webgen/website_bundles/style/andreas04/src/images/blinkarrow.gif
|
334
|
-
- data/webgen/website_bundles/style/andreas04/src/images/flash.gif
|
335
|
-
- data/webgen/website_bundles/style/andreas04/src/images/linkarrow.gif
|
336
|
-
- data/webgen/website_bundles/style/andreas04/src/default.template
|
337
360
|
- data/webgen/website_bundles/style/andreas04/src/default.css
|
338
|
-
- data/webgen/website_bundles/style/andreas04/
|
339
|
-
- data/webgen/website_bundles/style/
|
340
|
-
- data/webgen/website_bundles/style/
|
341
|
-
- data/webgen/website_bundles/style/simple/README
|
342
|
-
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-red.jpg
|
343
|
-
- data/webgen/website_bundles/style/andreas09/src/images/footerbg.jpg
|
344
|
-
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-green.jpg
|
345
|
-
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-purple.jpg
|
346
|
-
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-orange.jpg
|
347
|
-
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-black.jpg
|
348
|
-
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-orange.jpg
|
349
|
-
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-purple.jpg
|
350
|
-
- data/webgen/website_bundles/style/andreas09/src/images/bodybg-black.jpg
|
351
|
-
- data/webgen/website_bundles/style/andreas09/src/images/menuhover.jpg
|
352
|
-
- data/webgen/website_bundles/style/andreas09/src/images/bodybg.jpg
|
353
|
-
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-red.jpg
|
354
|
-
- data/webgen/website_bundles/style/andreas09/src/images/menuhover-green.jpg
|
355
|
-
- data/webgen/website_bundles/style/andreas09/src/default.template
|
356
|
-
- data/webgen/website_bundles/style/andreas09/src/default.css
|
357
|
-
- data/webgen/website_bundles/style/andreas09/README
|
358
|
-
- data/webgen/website_bundles/style/andreas05/src/images/front.png
|
359
|
-
- data/webgen/website_bundles/style/andreas05/src/images/bodybg.gif
|
360
|
-
- data/webgen/website_bundles/style/andreas05/src/default.template
|
361
|
-
- data/webgen/website_bundles/style/andreas05/src/default.css
|
362
|
-
- data/webgen/website_bundles/style/andreas05/README
|
361
|
+
- data/webgen/website_bundles/style/andreas04/src/default.template
|
362
|
+
- data/webgen/website_bundles/style/andreas06/README
|
363
|
+
- data/webgen/website_bundles/style/andreas06/src/images/greypx.gif
|
363
364
|
- data/webgen/website_bundles/style/andreas06/src/images/header.jpg
|
364
|
-
- data/webgen/website_bundles/style/andreas06/src/images/boxbg.gif
|
365
365
|
- data/webgen/website_bundles/style/andreas06/src/images/tabs.gif
|
366
|
-
- data/webgen/website_bundles/style/andreas06/src/images/bodybg.gif
|
367
|
-
- data/webgen/website_bundles/style/andreas06/src/images/leaves.jpg
|
368
|
-
- data/webgen/website_bundles/style/andreas06/src/images/greypx.gif
|
369
366
|
- data/webgen/website_bundles/style/andreas06/src/images/innerbg.gif
|
370
|
-
- data/webgen/website_bundles/style/andreas06/src/
|
367
|
+
- data/webgen/website_bundles/style/andreas06/src/images/leaves.jpg
|
368
|
+
- data/webgen/website_bundles/style/andreas06/src/images/bodybg.gif
|
369
|
+
- data/webgen/website_bundles/style/andreas06/src/images/boxbg.gif
|
371
370
|
- data/webgen/website_bundles/style/andreas06/src/default.css
|
372
|
-
- data/webgen/website_bundles/style/andreas06/
|
373
|
-
- data/webgen/website_bundles/style/
|
374
|
-
- data/webgen/website_bundles/style/
|
375
|
-
- data/webgen/website_bundles/style/
|
376
|
-
- data/webgen/website_bundles/style/
|
377
|
-
- data/webgen/website_bundles/style/
|
378
|
-
- data/webgen/website_bundles/style/
|
379
|
-
- data/webgen/website_bundles/
|
380
|
-
- data/webgen/website_bundles/
|
381
|
-
- data/webgen/
|
382
|
-
- data/webgen/webgui/view/create_website.xhtml
|
383
|
-
- data/webgen/webgui/view/error.xhtml
|
384
|
-
- data/webgen/webgui/view/manage_website.xhtml
|
385
|
-
- data/webgen/webgui/layout/default.xhtml
|
386
|
-
- data/webgen/webgui/app.rb
|
387
|
-
- data/webgen/webgui/controller/main.rb
|
388
|
-
- data/webgen/webgui/overrides/win32console.rb
|
389
|
-
- data/webgen/webgui/public/img/webgen_logo.png
|
390
|
-
- data/webgen/webgui/public/img/headerbg.jpg
|
391
|
-
- data/webgen/webgui/public/js/jquery.autocomplete.js
|
392
|
-
- data/webgen/webgui/public/js/jquery.js
|
393
|
-
- data/webgen/webgui/public/css/style.css
|
394
|
-
- data/webgen/webgui/public/css/ramaze_error.css
|
395
|
-
- data/webgen/webgui/public/css/jquery.autocomplete.css
|
396
|
-
- data/webgen/webgui/start.rb
|
397
|
-
- data/webgen/resources.yaml
|
371
|
+
- data/webgen/website_bundles/style/andreas06/src/default.template
|
372
|
+
- data/webgen/website_bundles/style/andreas07/README
|
373
|
+
- data/webgen/website_bundles/style/andreas07/src/images/sidebarbg.gif
|
374
|
+
- data/webgen/website_bundles/style/andreas07/src/images/bodybg.gif
|
375
|
+
- data/webgen/website_bundles/style/andreas07/src/default.css
|
376
|
+
- data/webgen/website_bundles/style/andreas07/src/browserfix.css
|
377
|
+
- data/webgen/website_bundles/style/andreas07/src/default.template
|
378
|
+
- data/webgen/website_bundles/default/README
|
379
|
+
- data/webgen/website_bundles/default/src/index.page
|
380
|
+
- data/webgen/passive_sources/stylesheets/coderay-default.css
|
398
381
|
- data/webgen/passive_sources/images/webgen_logo.png
|
399
382
|
- data/webgen/passive_sources/images/generated_by_webgen.png
|
400
|
-
- data/webgen/passive_sources/stylesheets/coderay-default.css
|
401
|
-
- data/webgen/passive_sources/templates/rss_feed.template
|
402
383
|
- data/webgen/passive_sources/templates/sitemap.template
|
403
|
-
- data/webgen/passive_sources/templates/
|
404
|
-
-
|
405
|
-
-
|
406
|
-
-
|
407
|
-
-
|
408
|
-
-
|
409
|
-
-
|
410
|
-
-
|
411
|
-
-
|
412
|
-
-
|
413
|
-
-
|
414
|
-
-
|
415
|
-
-
|
416
|
-
-
|
417
|
-
-
|
418
|
-
-
|
419
|
-
-
|
420
|
-
-
|
421
|
-
-
|
422
|
-
- doc/extensions.page
|
423
|
-
- doc/reference_website_styles.page
|
424
|
-
- doc/manual.page
|
425
|
-
- doc/extensions.metainfo
|
426
|
-
- doc/sourcehandler/copy.page
|
427
|
-
- doc/sourcehandler/template.page
|
428
|
-
- doc/sourcehandler/feed.page
|
429
|
-
- doc/sourcehandler/page.page
|
430
|
-
- doc/sourcehandler/directory.page
|
431
|
-
- doc/sourcehandler/virtual.page
|
432
|
-
- doc/sourcehandler/metainfo.page
|
433
|
-
- doc/sourcehandler/sitemap.page
|
434
|
-
- doc/faq.page
|
435
|
-
- doc/tag.template
|
436
|
-
- doc/webgen_page_format.page
|
437
|
-
- doc/getting_started.page
|
438
|
-
- doc/source/tararchive.page
|
439
|
-
- doc/source/filesystem.page
|
440
|
-
- doc/contentprocessor/xmllint.page
|
441
|
-
- doc/contentprocessor/head.page
|
442
|
-
- doc/contentprocessor/erb.page
|
443
|
-
- doc/contentprocessor/builder.page
|
444
|
-
- doc/contentprocessor/rdiscount.page
|
445
|
-
- doc/contentprocessor/redcloth.page
|
446
|
-
- doc/contentprocessor/less.page
|
447
|
-
- doc/contentprocessor/tags.page
|
448
|
-
- doc/contentprocessor/erubis.page
|
449
|
-
- doc/contentprocessor/scss.page
|
450
|
-
- doc/contentprocessor/rdoc.page
|
451
|
-
- doc/contentprocessor/sass.page
|
452
|
-
- doc/contentprocessor/haml.page
|
453
|
-
- doc/contentprocessor/maruku.page
|
454
|
-
- doc/contentprocessor/tidy.page
|
455
|
-
- doc/contentprocessor/blocks.page
|
456
|
-
- doc/contentprocessor/fragments.page
|
457
|
-
- doc/contentprocessor/kramdown.page
|
458
|
-
- doc/upgrading.page
|
459
|
-
- doc/website_styles.metainfo
|
460
|
-
- lib/webgen/tag/breadcrumbtrail.rb
|
461
|
-
- lib/webgen/tag/coderay.rb
|
462
|
-
- lib/webgen/tag/relocatable.rb
|
463
|
-
- lib/webgen/tag/includefile.rb
|
464
|
-
- lib/webgen/tag/tikz.rb
|
465
|
-
- lib/webgen/tag/base.rb
|
466
|
-
- lib/webgen/tag/metainfo.rb
|
467
|
-
- lib/webgen/tag/executecommand.rb
|
468
|
-
- lib/webgen/tag/langbar.rb
|
469
|
-
- lib/webgen/tag/date.rb
|
470
|
-
- lib/webgen/tag/link.rb
|
471
|
-
- lib/webgen/tag/sitemap.rb
|
472
|
-
- lib/webgen/tag/menu.rb
|
473
|
-
- lib/webgen/websitemanager.rb
|
474
|
-
- lib/webgen/page.rb
|
475
|
-
- lib/webgen/contentprocessor.rb
|
476
|
-
- lib/webgen/output.rb
|
477
|
-
- lib/webgen/sourcehandler.rb
|
478
|
-
- lib/webgen/webgentask.rb
|
384
|
+
- data/webgen/passive_sources/templates/feed.template
|
385
|
+
- data/webgen/passive_sources/templates/tag.template
|
386
|
+
- data/webgen/passive_sources/default.metainfo
|
387
|
+
- data/webgen/bundle_template_files/init.rb.erb
|
388
|
+
- data/webgen/bundle_template_files/info.yaml.erb
|
389
|
+
- data/webgen/bundle_template_files/README.md.erb
|
390
|
+
- data/webgen/bundle_template_files/Rakefile.erb
|
391
|
+
- data/webgen/basic_website_template/ext/init.rb
|
392
|
+
- data/webgen/basic_website_template/webgen.config
|
393
|
+
- lib/webgen/bundle/built-in-show-changes/init.rb
|
394
|
+
- lib/webgen/bundle/built-in/init.rb
|
395
|
+
- lib/webgen/path_handler.rb
|
396
|
+
- lib/webgen/rake_task.rb
|
397
|
+
- lib/webgen/logger.rb
|
398
|
+
- lib/webgen/utils.rb
|
399
|
+
- lib/webgen/utils/external_command.rb
|
400
|
+
- lib/webgen/utils/tag_parser.rb
|
401
|
+
- lib/webgen/core_ext.rb
|
402
|
+
- lib/webgen/destination/file_system.rb
|
479
403
|
- lib/webgen/tree.rb
|
480
|
-
- lib/webgen/
|
481
|
-
- lib/webgen/node.rb
|
482
|
-
- lib/webgen/context.rb
|
483
|
-
- lib/webgen/tag.rb
|
484
|
-
- lib/webgen/coreext.rb
|
485
|
-
- lib/webgen/common/sitemap.rb
|
486
|
-
- lib/webgen/blackboard.rb
|
487
|
-
- lib/webgen/sourcehandler/virtual.rb
|
488
|
-
- lib/webgen/sourcehandler/page.rb
|
489
|
-
- lib/webgen/sourcehandler/directory.rb
|
490
|
-
- lib/webgen/sourcehandler/template.rb
|
491
|
-
- lib/webgen/sourcehandler/base.rb
|
492
|
-
- lib/webgen/sourcehandler/metainfo.rb
|
493
|
-
- lib/webgen/sourcehandler/feed.rb
|
494
|
-
- lib/webgen/sourcehandler/fragment.rb
|
495
|
-
- lib/webgen/sourcehandler/sitemap.rb
|
496
|
-
- lib/webgen/sourcehandler/memory.rb
|
497
|
-
- lib/webgen/sourcehandler/copy.rb
|
404
|
+
- lib/webgen/extension_manager.rb
|
498
405
|
- lib/webgen/source.rb
|
499
|
-
- lib/webgen/
|
500
|
-
- lib/webgen/
|
501
|
-
- lib/webgen/cli/webgui_command.rb
|
502
|
-
- lib/webgen/cli/utils.rb
|
503
|
-
- lib/webgen/cli/create_command.rb
|
504
|
-
- lib/webgen/websiteaccess.rb
|
505
|
-
- lib/webgen/loggable.rb
|
406
|
+
- lib/webgen/context.rb
|
407
|
+
- lib/webgen/version.rb
|
506
408
|
- lib/webgen/languages.rb
|
507
|
-
- lib/webgen/context/nodes.rb
|
508
|
-
- lib/webgen/context/render.rb
|
509
|
-
- lib/webgen/context/tags.rb
|
510
409
|
- lib/webgen/error.rb
|
511
|
-
- lib/webgen/
|
512
|
-
- lib/webgen/
|
513
|
-
- lib/webgen/
|
410
|
+
- lib/webgen/context/rendering.rb
|
411
|
+
- lib/webgen/context/html_head.rb
|
412
|
+
- lib/webgen/context/webgen_tags.rb
|
413
|
+
- lib/webgen/context/nodes.rb
|
414
|
+
- lib/webgen/item_tracker.rb
|
415
|
+
- lib/webgen/cli/show_command.rb
|
416
|
+
- lib/webgen/cli/logger.rb
|
417
|
+
- lib/webgen/cli/utils.rb
|
418
|
+
- lib/webgen/cli/create_command.rb
|
419
|
+
- lib/webgen/cli/generate_command.rb
|
420
|
+
- lib/webgen/cli/show_config_command.rb
|
421
|
+
- lib/webgen/cli/install_bundle_command.rb
|
422
|
+
- lib/webgen/cli/list_bundle_command.rb
|
423
|
+
- lib/webgen/cli/show_dependencies_command.rb
|
424
|
+
- lib/webgen/cli/bundle_command.rb
|
425
|
+
- lib/webgen/cli/show_extensions_command.rb
|
426
|
+
- lib/webgen/cli/create_bundle_command.rb
|
427
|
+
- lib/webgen/source/tar_archive.rb
|
514
428
|
- lib/webgen/source/stacked.rb
|
515
|
-
- lib/webgen/source/
|
516
|
-
- lib/webgen/
|
517
|
-
- lib/webgen/
|
518
|
-
- lib/webgen/
|
519
|
-
- lib/webgen/
|
520
|
-
- lib/webgen/
|
521
|
-
- lib/webgen/
|
522
|
-
- lib/webgen/contentprocessor/blocks.rb
|
523
|
-
- lib/webgen/contentprocessor/rdoc.rb
|
524
|
-
- lib/webgen/contentprocessor/redcloth.rb
|
525
|
-
- lib/webgen/contentprocessor/sass.rb
|
526
|
-
- lib/webgen/contentprocessor/tags.rb
|
527
|
-
- lib/webgen/contentprocessor/head.rb
|
528
|
-
- lib/webgen/contentprocessor/rdiscount.rb
|
529
|
-
- lib/webgen/contentprocessor/kramdown.rb
|
530
|
-
- lib/webgen/contentprocessor/fragments.rb
|
531
|
-
- lib/webgen/contentprocessor/kramdown/html.rb
|
532
|
-
- lib/webgen/contentprocessor/less.rb
|
533
|
-
- lib/webgen/contentprocessor/haml.rb
|
534
|
-
- lib/webgen/contentprocessor/scss.rb
|
535
|
-
- lib/webgen/contentprocessor/erubis.rb
|
536
|
-
- lib/webgen/contentprocessor/builder.rb
|
537
|
-
- lib/webgen/version.rb
|
538
|
-
- lib/webgen/common.rb
|
539
|
-
- lib/webgen/output/filesystem.rb
|
540
|
-
- lib/webgen/logger.rb
|
429
|
+
- lib/webgen/source/file_system.rb
|
430
|
+
- lib/webgen/website.rb
|
431
|
+
- lib/webgen/item_tracker/node_content.rb
|
432
|
+
- lib/webgen/item_tracker/file.rb
|
433
|
+
- lib/webgen/item_tracker/nodes.rb
|
434
|
+
- lib/webgen/item_tracker/node_meta_info.rb
|
435
|
+
- lib/webgen/item_tracker/missing_node.rb
|
541
436
|
- lib/webgen/configuration.rb
|
437
|
+
- lib/webgen/task.rb
|
438
|
+
- lib/webgen/test_helper.rb
|
439
|
+
- lib/webgen/path_handler/sitemap.rb
|
440
|
+
- lib/webgen/path_handler/base.rb
|
441
|
+
- lib/webgen/path_handler/directory.rb
|
442
|
+
- lib/webgen/path_handler/template.rb
|
443
|
+
- lib/webgen/path_handler/feed.rb
|
444
|
+
- lib/webgen/path_handler/page_utils.rb
|
445
|
+
- lib/webgen/path_handler/virtual.rb
|
446
|
+
- lib/webgen/path_handler/meta_info.rb
|
447
|
+
- lib/webgen/path_handler/copy.rb
|
448
|
+
- lib/webgen/path_handler/page.rb
|
449
|
+
- lib/webgen/tag/menu.rb
|
450
|
+
- lib/webgen/tag/coderay.rb
|
451
|
+
- lib/webgen/tag/relocatable.rb
|
452
|
+
- lib/webgen/tag/langbar.rb
|
453
|
+
- lib/webgen/tag/include_file.rb
|
454
|
+
- lib/webgen/tag/execute_command.rb
|
455
|
+
- lib/webgen/tag/tikz.rb
|
456
|
+
- lib/webgen/tag/date.rb
|
457
|
+
- lib/webgen/tag/link.rb
|
458
|
+
- lib/webgen/tag/breadcrumb_trail.rb
|
459
|
+
- lib/webgen/tag/meta_info.rb
|
542
460
|
- lib/webgen/cache.rb
|
461
|
+
- lib/webgen/path.rb
|
462
|
+
- lib/webgen/node_finder.rb
|
463
|
+
- lib/webgen/task/generate_website.rb
|
464
|
+
- lib/webgen/task/create_website.rb
|
465
|
+
- lib/webgen/task/create_bundle.rb
|
466
|
+
- lib/webgen/content_processor/builder.rb
|
467
|
+
- lib/webgen/content_processor/blocks.rb
|
468
|
+
- lib/webgen/content_processor/redcloth.rb
|
469
|
+
- lib/webgen/content_processor/tags.rb
|
470
|
+
- lib/webgen/content_processor/haml.rb
|
471
|
+
- lib/webgen/content_processor/html_head.rb
|
472
|
+
- lib/webgen/content_processor/ruby.rb
|
473
|
+
- lib/webgen/content_processor/xmllint.rb
|
474
|
+
- lib/webgen/content_processor/erubis.rb
|
475
|
+
- lib/webgen/content_processor/tikz.rb
|
476
|
+
- lib/webgen/content_processor/fragments.rb
|
477
|
+
- lib/webgen/content_processor/maruku.rb
|
478
|
+
- lib/webgen/content_processor/rdoc.rb
|
479
|
+
- lib/webgen/content_processor/erb.rb
|
480
|
+
- lib/webgen/content_processor/kramdown.rb
|
481
|
+
- lib/webgen/content_processor/sass.rb
|
482
|
+
- lib/webgen/content_processor/r_discount.rb
|
483
|
+
- lib/webgen/content_processor/tidy.rb
|
484
|
+
- lib/webgen/content_processor/scss.rb
|
485
|
+
- lib/webgen/content_processor.rb
|
486
|
+
- lib/webgen/blackboard.rb
|
487
|
+
- lib/webgen/destination.rb
|
488
|
+
- lib/webgen/bundle_loader.rb
|
489
|
+
- lib/webgen/cli.rb
|
490
|
+
- lib/webgen/node.rb
|
491
|
+
- lib/webgen/page.rb
|
492
|
+
- lib/webgen/tag.rb
|
543
493
|
- man/man1/webgen.1
|
544
|
-
-
|
545
|
-
-
|
546
|
-
-
|
547
|
-
-
|
548
|
-
-
|
549
|
-
-
|
550
|
-
-
|
551
|
-
-
|
552
|
-
-
|
553
|
-
-
|
554
|
-
-
|
555
|
-
-
|
556
|
-
-
|
557
|
-
- test/
|
558
|
-
- test/
|
559
|
-
- test/
|
560
|
-
- test/
|
561
|
-
- test/
|
562
|
-
- test/
|
563
|
-
- test/
|
564
|
-
- test/
|
565
|
-
- test/
|
566
|
-
- test/
|
567
|
-
- test/
|
568
|
-
- test/
|
569
|
-
- test/
|
570
|
-
- test/
|
571
|
-
- test/
|
572
|
-
- test/
|
573
|
-
- test/
|
574
|
-
- test/
|
575
|
-
- test/
|
576
|
-
- test/
|
577
|
-
- test/
|
578
|
-
- test/
|
579
|
-
- test/
|
580
|
-
- test/
|
581
|
-
- test/
|
582
|
-
- test/
|
583
|
-
- test/
|
584
|
-
- test/
|
585
|
-
- test/
|
586
|
-
- test/
|
587
|
-
- test/
|
588
|
-
- test/
|
589
|
-
- test/
|
590
|
-
- test/
|
591
|
-
- test/
|
592
|
-
- test/
|
593
|
-
- test/
|
594
|
-
- test/
|
595
|
-
- test/
|
596
|
-
- test/
|
597
|
-
- test/
|
598
|
-
- test/
|
599
|
-
- test/
|
600
|
-
- test/
|
601
|
-
- test/
|
602
|
-
- test/
|
603
|
-
- test/
|
604
|
-
- test/
|
605
|
-
- test/
|
606
|
-
- test/
|
607
|
-
- test/
|
608
|
-
- test/
|
609
|
-
- test/
|
610
|
-
- test/
|
611
|
-
- test/
|
612
|
-
- test/
|
613
|
-
- test/
|
614
|
-
- test/
|
615
|
-
- test/
|
616
|
-
- test/
|
617
|
-
- test/
|
618
|
-
- test/
|
619
|
-
- test/
|
620
|
-
- test/
|
621
|
-
- test/test_contentprocessor_rdiscount.rb
|
622
|
-
- test/test_contentprocessor_redcloth.rb
|
623
|
-
- test/test_contentprocessor.rb
|
624
|
-
- test/helper.rb
|
494
|
+
- test/test_documentation.rb
|
495
|
+
- test/webgen/test_rake_task.rb
|
496
|
+
- test/webgen/test_logger.rb
|
497
|
+
- test/webgen/test_utils.rb
|
498
|
+
- test/webgen/utils/test_tag_parser.rb
|
499
|
+
- test/webgen/test_tag.rb
|
500
|
+
- test/webgen/destination/test_file_system.rb
|
501
|
+
- test/webgen/test_node.rb
|
502
|
+
- test/webgen/test_bundle_loader.rb
|
503
|
+
- test/webgen/test_configuration.rb
|
504
|
+
- test/webgen/test_page.rb
|
505
|
+
- test/webgen/test_destination.rb
|
506
|
+
- test/webgen/test_task.rb
|
507
|
+
- test/webgen/test_content_processor.rb
|
508
|
+
- test/webgen/test_cli.rb
|
509
|
+
- test/webgen/test_error.rb
|
510
|
+
- test/webgen/cli/test_logger.rb
|
511
|
+
- test/webgen/source/test_stacked.rb
|
512
|
+
- test/webgen/source/test_tar_archive.rb
|
513
|
+
- test/webgen/source/test_file_system.rb
|
514
|
+
- test/webgen/item_tracker/test_nodes.rb
|
515
|
+
- test/webgen/item_tracker/test_node_content.rb
|
516
|
+
- test/webgen/item_tracker/test_file.rb
|
517
|
+
- test/webgen/item_tracker/test_missing_node.rb
|
518
|
+
- test/webgen/item_tracker/test_node_meta_info.rb
|
519
|
+
- test/webgen/test_item_tracker.rb
|
520
|
+
- test/webgen/test_core_ext.rb
|
521
|
+
- test/webgen/path_handler/test_page_utils.rb
|
522
|
+
- test/webgen/path_handler/test_base.rb
|
523
|
+
- test/webgen/path_handler/test_page.rb
|
524
|
+
- test/webgen/path_handler/test_template.rb
|
525
|
+
- test/webgen/path_handler/test_feed.rb
|
526
|
+
- test/webgen/path_handler/test_copy.rb
|
527
|
+
- test/webgen/path_handler/test_virtual.rb
|
528
|
+
- test/webgen/path_handler/test_sitemap.rb
|
529
|
+
- test/webgen/path_handler/test_meta_info.rb
|
530
|
+
- test/webgen/test_node_finder.rb
|
531
|
+
- test/webgen/tag/test_execute_command.rb
|
532
|
+
- test/webgen/tag/test_tikz.rb
|
533
|
+
- test/webgen/tag/test_include_file.rb
|
534
|
+
- test/webgen/tag/test_langbar.rb
|
535
|
+
- test/webgen/tag/test_relocatable.rb
|
536
|
+
- test/webgen/tag/test_link.rb
|
537
|
+
- test/webgen/tag/test_menu.rb
|
538
|
+
- test/webgen/tag/test_date.rb
|
539
|
+
- test/webgen/tag/test_coderay.rb
|
540
|
+
- test/webgen/tag/test_meta_info.rb
|
541
|
+
- test/webgen/tag/test_breadcrumb_trail.rb
|
542
|
+
- test/webgen/test_path.rb
|
543
|
+
- test/webgen/test_source.rb
|
544
|
+
- test/webgen/test_blackboard.rb
|
545
|
+
- test/webgen/test_languages.rb
|
546
|
+
- test/webgen/test_cache.rb
|
547
|
+
- test/webgen/test_context.rb
|
548
|
+
- test/webgen/task/test_create_website.rb
|
549
|
+
- test/webgen/test_tree.rb
|
550
|
+
- test/webgen/content_processor/test_tikz.rb
|
551
|
+
- test/webgen/content_processor/test_xmllint.rb
|
552
|
+
- test/webgen/content_processor/test_maruku.rb
|
553
|
+
- test/webgen/content_processor/test_kramdown.rb
|
554
|
+
- test/webgen/content_processor/test_erubis.rb
|
555
|
+
- test/webgen/content_processor/test_builder.rb
|
556
|
+
- test/webgen/content_processor/test_redcloth.rb
|
557
|
+
- test/webgen/content_processor/test_haml.rb
|
558
|
+
- test/webgen/content_processor/test_rdoc.rb
|
559
|
+
- test/webgen/content_processor/test_ruby.rb
|
560
|
+
- test/webgen/content_processor/test_tidy.rb
|
561
|
+
- test/webgen/content_processor/test_tags.rb
|
562
|
+
- test/webgen/content_processor/test_r_discount.rb
|
563
|
+
- test/webgen/content_processor/test_erb.rb
|
564
|
+
- test/webgen/content_processor/test_sass.rb
|
565
|
+
- test/webgen/content_processor/test_fragments.rb
|
566
|
+
- test/webgen/content_processor/test_scss.rb
|
567
|
+
- test/webgen/content_processor/test_blocks.rb
|
568
|
+
- test/webgen/content_processor/test_html_head.rb
|
569
|
+
- test/webgen/test_website.rb
|
570
|
+
- test/webgen/test_extension_manager.rb
|
625
571
|
homepage: http://webgen.rubyforge.org
|
626
572
|
licenses: []
|
627
573
|
post_install_message: ! '
|
@@ -632,8 +578,10 @@ post_install_message: ! '
|
|
632
578
|
|
633
579
|
* The mailing list archive at <http://rubyforge.org/pipermail/webgen-users/>
|
634
580
|
|
581
|
+
* The webgen Wiki at <http://github.com/gettalong/webgen/wiki>
|
635
582
|
|
636
|
-
|
583
|
+
|
584
|
+
Have a look at <http://webgen.rubyforge.org/> for a list of changes!
|
637
585
|
|
638
586
|
|
639
587
|
Have fun!
|
@@ -643,7 +591,7 @@ post_install_message: ! '
|
|
643
591
|
rdoc_options:
|
644
592
|
- --line-numbers
|
645
593
|
- --main
|
646
|
-
-
|
594
|
+
- API.rdoc
|
647
595
|
require_paths:
|
648
596
|
- lib
|
649
597
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -651,13 +599,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
651
599
|
requirements:
|
652
600
|
- - ! '>='
|
653
601
|
- !ruby/object:Gem::Version
|
654
|
-
version:
|
602
|
+
version: 1.9.2
|
655
603
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
656
604
|
none: false
|
657
605
|
requirements:
|
658
|
-
- - ! '
|
606
|
+
- - ! '>'
|
659
607
|
- !ruby/object:Gem::Version
|
660
|
-
version:
|
608
|
+
version: 1.3.1
|
661
609
|
requirements: []
|
662
610
|
rubyforge_project: webgen
|
663
611
|
rubygems_version: 1.8.24
|