gettalong-webgen 0.5.4.20080929

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. data/AUTHORS +5 -0
  2. data/COPYING +10 -0
  3. data/GPL +340 -0
  4. data/Rakefile +324 -0
  5. data/THANKS +17 -0
  6. data/bin/webgen +10 -0
  7. data/data/webgen/resources.yaml +3 -0
  8. data/data/webgen/webgui/controller/main.rb +129 -0
  9. data/data/webgen/webgui/overrides/win32console.rb +0 -0
  10. data/data/webgen/webgui/public/css/jquery.autocomplete.css +50 -0
  11. data/data/webgen/webgui/public/css/ramaze_error.css +90 -0
  12. data/data/webgen/webgui/public/css/style.css +55 -0
  13. data/data/webgen/webgui/public/img/headerbg.jpg +0 -0
  14. data/data/webgen/webgui/public/img/webgen_logo.png +0 -0
  15. data/data/webgen/webgui/public/js/jquery.autocomplete.js +15 -0
  16. data/data/webgen/webgui/public/js/jquery.js +32 -0
  17. data/data/webgen/webgui/view/create_website.xhtml +22 -0
  18. data/data/webgen/webgui/view/error.xhtml +64 -0
  19. data/data/webgen/webgui/view/index.xhtml +22 -0
  20. data/data/webgen/webgui/view/manage_website.xhtml +18 -0
  21. data/data/webgen/webgui/view/page.xhtml +40 -0
  22. data/data/webgen/website_skeleton/README +10 -0
  23. data/data/webgen/website_skeleton/Rakefile +40 -0
  24. data/data/webgen/website_skeleton/config.yaml +17 -0
  25. data/data/webgen/website_skeleton/ext/init.rb +6 -0
  26. data/data/webgen/website_styles/1024px/README +13 -0
  27. data/data/webgen/website_styles/1024px/src/default.css +188 -0
  28. data/data/webgen/website_styles/1024px/src/default.template +60 -0
  29. data/data/webgen/website_styles/1024px/src/images/background.gif +0 -0
  30. data/data/webgen/website_styles/andreas00/README +13 -0
  31. data/data/webgen/website_styles/andreas00/src/default.css +290 -0
  32. data/data/webgen/website_styles/andreas00/src/default.template +60 -0
  33. data/data/webgen/website_styles/andreas00/src/images/bg.gif +0 -0
  34. data/data/webgen/website_styles/andreas00/src/images/front.jpg +0 -0
  35. data/data/webgen/website_styles/andreas00/src/images/menubg.gif +0 -0
  36. data/data/webgen/website_styles/andreas00/src/images/menubg2.gif +0 -0
  37. data/data/webgen/website_styles/andreas01/README +14 -0
  38. data/data/webgen/website_styles/andreas01/src/default.css +310 -0
  39. data/data/webgen/website_styles/andreas01/src/default.template +61 -0
  40. data/data/webgen/website_styles/andreas01/src/images/bg.gif +0 -0
  41. data/data/webgen/website_styles/andreas01/src/images/front.jpg +0 -0
  42. data/data/webgen/website_styles/andreas01/src/print.css +35 -0
  43. data/data/webgen/website_styles/andreas03/README +14 -0
  44. data/data/webgen/website_styles/andreas03/src/default.css +223 -0
  45. data/data/webgen/website_styles/andreas03/src/default.template +58 -0
  46. data/data/webgen/website_styles/andreas03/src/images/bodybg.png +0 -0
  47. data/data/webgen/website_styles/andreas03/src/images/contbg.png +0 -0
  48. data/data/webgen/website_styles/andreas03/src/images/footerbg.png +0 -0
  49. data/data/webgen/website_styles/andreas03/src/images/gradient1.png +0 -0
  50. data/data/webgen/website_styles/andreas03/src/images/gradient2.png +0 -0
  51. data/data/webgen/website_styles/andreas04/README +15 -0
  52. data/data/webgen/website_styles/andreas04/src/default.css +290 -0
  53. data/data/webgen/website_styles/andreas04/src/default.template +81 -0
  54. data/data/webgen/website_styles/andreas04/src/images/blinkarrow.gif +0 -0
  55. data/data/webgen/website_styles/andreas04/src/images/bodybg.png +0 -0
  56. data/data/webgen/website_styles/andreas04/src/images/contentbg.png +0 -0
  57. data/data/webgen/website_styles/andreas04/src/images/entrybg.png +0 -0
  58. data/data/webgen/website_styles/andreas04/src/images/flash.gif +0 -0
  59. data/data/webgen/website_styles/andreas04/src/images/flash2.gif +0 -0
  60. data/data/webgen/website_styles/andreas04/src/images/globe.gif +0 -0
  61. data/data/webgen/website_styles/andreas04/src/images/globebottom.gif +0 -0
  62. data/data/webgen/website_styles/andreas04/src/images/linkarrow.gif +0 -0
  63. data/data/webgen/website_styles/andreas04/src/images/menuhover.png +0 -0
  64. data/data/webgen/website_styles/andreas05/README +14 -0
  65. data/data/webgen/website_styles/andreas05/src/default.css +33 -0
  66. data/data/webgen/website_styles/andreas05/src/default.template +40 -0
  67. data/data/webgen/website_styles/andreas05/src/images/bodybg.gif +0 -0
  68. data/data/webgen/website_styles/andreas05/src/images/front.png +0 -0
  69. data/data/webgen/website_styles/andreas06/README +14 -0
  70. data/data/webgen/website_styles/andreas06/src/default.css +354 -0
  71. data/data/webgen/website_styles/andreas06/src/default.template +70 -0
  72. data/data/webgen/website_styles/andreas06/src/images/bodybg.gif +0 -0
  73. data/data/webgen/website_styles/andreas06/src/images/boxbg.gif +0 -0
  74. data/data/webgen/website_styles/andreas06/src/images/greypx.gif +0 -0
  75. data/data/webgen/website_styles/andreas06/src/images/header.jpg +0 -0
  76. data/data/webgen/website_styles/andreas06/src/images/innerbg.gif +0 -0
  77. data/data/webgen/website_styles/andreas06/src/images/leaves.jpg +0 -0
  78. data/data/webgen/website_styles/andreas06/src/images/tabs.gif +0 -0
  79. data/data/webgen/website_styles/andreas07/README +15 -0
  80. data/data/webgen/website_styles/andreas07/src/browserfix.css +7 -0
  81. data/data/webgen/website_styles/andreas07/src/default.css +92 -0
  82. data/data/webgen/website_styles/andreas07/src/default.template +42 -0
  83. data/data/webgen/website_styles/andreas07/src/images/bodybg.gif +0 -0
  84. data/data/webgen/website_styles/andreas07/src/images/sidebarbg.gif +0 -0
  85. data/data/webgen/website_styles/andreas08/README +14 -0
  86. data/data/webgen/website_styles/andreas08/src/default.css +224 -0
  87. data/data/webgen/website_styles/andreas08/src/default.template +51 -0
  88. data/data/webgen/website_styles/andreas09/README +14 -0
  89. data/data/webgen/website_styles/andreas09/src/default.css +308 -0
  90. data/data/webgen/website_styles/andreas09/src/default.template +68 -0
  91. data/data/webgen/website_styles/andreas09/src/images/bodybg-black.jpg +0 -0
  92. data/data/webgen/website_styles/andreas09/src/images/bodybg-green.jpg +0 -0
  93. data/data/webgen/website_styles/andreas09/src/images/bodybg-orange.jpg +0 -0
  94. data/data/webgen/website_styles/andreas09/src/images/bodybg-purple.jpg +0 -0
  95. data/data/webgen/website_styles/andreas09/src/images/bodybg-red.jpg +0 -0
  96. data/data/webgen/website_styles/andreas09/src/images/bodybg.jpg +0 -0
  97. data/data/webgen/website_styles/andreas09/src/images/footerbg.jpg +0 -0
  98. data/data/webgen/website_styles/andreas09/src/images/menuhover-black.jpg +0 -0
  99. data/data/webgen/website_styles/andreas09/src/images/menuhover-green.jpg +0 -0
  100. data/data/webgen/website_styles/andreas09/src/images/menuhover-orange.jpg +0 -0
  101. data/data/webgen/website_styles/andreas09/src/images/menuhover-purple.jpg +0 -0
  102. data/data/webgen/website_styles/andreas09/src/images/menuhover-red.jpg +0 -0
  103. data/data/webgen/website_styles/andreas09/src/images/menuhover.jpg +0 -0
  104. data/data/webgen/website_styles/simple/README +6 -0
  105. data/data/webgen/website_styles/simple/src/default.css +84 -0
  106. data/data/webgen/website_styles/simple/src/default.template +36 -0
  107. data/data/webgen/website_templates/default/README +6 -0
  108. data/data/webgen/website_templates/default/src/index.page +8 -0
  109. data/data/webgen/website_templates/project/README +5 -0
  110. data/data/webgen/website_templates/project/src/about.page +12 -0
  111. data/data/webgen/website_templates/project/src/download.page +15 -0
  112. data/data/webgen/website_templates/project/src/features.page +8 -0
  113. data/data/webgen/website_templates/project/src/index.page +9 -0
  114. data/data/webgen/website_templates/project/src/screenshots.page +18 -0
  115. data/doc/contentprocessor.template +11 -0
  116. data/doc/contentprocessor/blocks.page +66 -0
  117. data/doc/contentprocessor/builder.page +80 -0
  118. data/doc/contentprocessor/erb.page +56 -0
  119. data/doc/contentprocessor/erubis.page +46 -0
  120. data/doc/contentprocessor/haml.page +47 -0
  121. data/doc/contentprocessor/maruku.page +41 -0
  122. data/doc/contentprocessor/rdiscount.page +37 -0
  123. data/doc/contentprocessor/rdoc.page +36 -0
  124. data/doc/contentprocessor/redcloth.page +39 -0
  125. data/doc/contentprocessor/sass.page +31 -0
  126. data/doc/contentprocessor/tags.page +73 -0
  127. data/doc/extensions.metainfo +29 -0
  128. data/doc/extensions.page +16 -0
  129. data/doc/extensions.template +17 -0
  130. data/doc/faq.page +214 -0
  131. data/doc/getting_started.page +134 -0
  132. data/doc/index.page +65 -0
  133. data/doc/manual.page +532 -0
  134. data/doc/reference_configuration.page +646 -0
  135. data/doc/reference_metainfo.page +213 -0
  136. data/doc/sourcehandler.template +21 -0
  137. data/doc/sourcehandler/copy.page +19 -0
  138. data/doc/sourcehandler/directory.page +27 -0
  139. data/doc/sourcehandler/feed.page +82 -0
  140. data/doc/sourcehandler/metainfo.page +41 -0
  141. data/doc/sourcehandler/page.page +30 -0
  142. data/doc/sourcehandler/sitemap.page +46 -0
  143. data/doc/sourcehandler/template.page +45 -0
  144. data/doc/sourcehandler/virtual.page +49 -0
  145. data/doc/tag.template +25 -0
  146. data/doc/tag/breadcrumbtrail.page +40 -0
  147. data/doc/tag/coderay.page +49 -0
  148. data/doc/tag/date.page +31 -0
  149. data/doc/tag/executecommand.page +26 -0
  150. data/doc/tag/includefile.page +32 -0
  151. data/doc/tag/langbar.page +22 -0
  152. data/doc/tag/menu.page +92 -0
  153. data/doc/tag/metainfo.page +29 -0
  154. data/doc/tag/relocatable.page +38 -0
  155. data/doc/tag/sitemap.page +31 -0
  156. data/doc/upgrading.page +139 -0
  157. data/doc/webgen_page_format.page +128 -0
  158. data/lib/webgen/blackboard.rb +73 -0
  159. data/lib/webgen/cache.rb +85 -0
  160. data/lib/webgen/cli.rb +118 -0
  161. data/lib/webgen/cli/create_command.rb +64 -0
  162. data/lib/webgen/cli/run_command.rb +20 -0
  163. data/lib/webgen/cli/utils.rb +86 -0
  164. data/lib/webgen/cli/webgui_command.rb +49 -0
  165. data/lib/webgen/common.rb +10 -0
  166. data/lib/webgen/common/sitemap.rb +76 -0
  167. data/lib/webgen/configuration.rb +147 -0
  168. data/lib/webgen/contentprocessor.rb +96 -0
  169. data/lib/webgen/contentprocessor/blocks.rb +46 -0
  170. data/lib/webgen/contentprocessor/builder.rb +26 -0
  171. data/lib/webgen/contentprocessor/context.rb +90 -0
  172. data/lib/webgen/contentprocessor/erb.rb +24 -0
  173. data/lib/webgen/contentprocessor/erubis.rb +40 -0
  174. data/lib/webgen/contentprocessor/haml.rb +25 -0
  175. data/lib/webgen/contentprocessor/maruku.rb +18 -0
  176. data/lib/webgen/contentprocessor/rdiscount.rb +15 -0
  177. data/lib/webgen/contentprocessor/rdoc.rb +17 -0
  178. data/lib/webgen/contentprocessor/redcloth.rb +15 -0
  179. data/lib/webgen/contentprocessor/sass.rb +18 -0
  180. data/lib/webgen/contentprocessor/tags.rb +134 -0
  181. data/lib/webgen/coreext.rb +10 -0
  182. data/lib/webgen/default_config.rb +198 -0
  183. data/lib/webgen/languages.rb +578 -0
  184. data/lib/webgen/loggable.rb +23 -0
  185. data/lib/webgen/logger.rb +78 -0
  186. data/lib/webgen/node.rb +347 -0
  187. data/lib/webgen/output.rb +37 -0
  188. data/lib/webgen/output/filesystem.rb +67 -0
  189. data/lib/webgen/page.rb +133 -0
  190. data/lib/webgen/path.rb +182 -0
  191. data/lib/webgen/source.rb +24 -0
  192. data/lib/webgen/source/filesystem.rb +58 -0
  193. data/lib/webgen/source/resource.rb +42 -0
  194. data/lib/webgen/source/stacked.rb +53 -0
  195. data/lib/webgen/sourcehandler.rb +202 -0
  196. data/lib/webgen/sourcehandler/base.rb +211 -0
  197. data/lib/webgen/sourcehandler/copy.rb +41 -0
  198. data/lib/webgen/sourcehandler/directory.rb +31 -0
  199. data/lib/webgen/sourcehandler/feed.rb +121 -0
  200. data/lib/webgen/sourcehandler/fragment.rb +71 -0
  201. data/lib/webgen/sourcehandler/metainfo.rb +117 -0
  202. data/lib/webgen/sourcehandler/page.rb +77 -0
  203. data/lib/webgen/sourcehandler/sitemap.rb +60 -0
  204. data/lib/webgen/sourcehandler/template.rb +68 -0
  205. data/lib/webgen/sourcehandler/virtual.rb +75 -0
  206. data/lib/webgen/tag.rb +23 -0
  207. data/lib/webgen/tag/base.rb +162 -0
  208. data/lib/webgen/tag/breadcrumbtrail.rb +71 -0
  209. data/lib/webgen/tag/coderay.rb +32 -0
  210. data/lib/webgen/tag/date.rb +18 -0
  211. data/lib/webgen/tag/executecommand.rb +29 -0
  212. data/lib/webgen/tag/includefile.rb +42 -0
  213. data/lib/webgen/tag/langbar.rb +52 -0
  214. data/lib/webgen/tag/menu.rb +186 -0
  215. data/lib/webgen/tag/metainfo.rb +25 -0
  216. data/lib/webgen/tag/relocatable.rb +53 -0
  217. data/lib/webgen/tag/sitemap.rb +42 -0
  218. data/lib/webgen/tree.rb +80 -0
  219. data/lib/webgen/version.rb +6 -0
  220. data/lib/webgen/webgentask.rb +148 -0
  221. data/lib/webgen/website.rb +214 -0
  222. data/lib/webgen/websiteaccess.rb +29 -0
  223. data/lib/webgen/websitemanager.rb +125 -0
  224. data/man/man1/webgen.1 +67 -0
  225. data/misc/default.css +360 -0
  226. data/misc/default.template +75 -0
  227. data/misc/htmldoc.metainfo +25 -0
  228. data/misc/htmldoc.virtual +5 -0
  229. data/misc/images/arrow.gif +0 -0
  230. data/misc/images/error.gif +0 -0
  231. data/misc/images/exclamation.gif +0 -0
  232. data/misc/images/headerbg.jpg +0 -0
  233. data/misc/images/information.gif +0 -0
  234. data/misc/images/quote.gif +0 -0
  235. data/setup.rb +1585 -0
  236. data/test/helper.rb +41 -0
  237. data/test/test_blackboard.rb +58 -0
  238. data/test/test_cache.rb +57 -0
  239. data/test/test_common_sitemap.rb +56 -0
  240. data/test/test_configuration.rb +66 -0
  241. data/test/test_contentprocessor.rb +31 -0
  242. data/test/test_contentprocessor_blocks.rb +34 -0
  243. data/test/test_contentprocessor_builder.rb +19 -0
  244. data/test/test_contentprocessor_context.rb +38 -0
  245. data/test/test_contentprocessor_erb.rb +20 -0
  246. data/test/test_contentprocessor_erubis.rb +47 -0
  247. data/test/test_contentprocessor_haml.rb +20 -0
  248. data/test/test_contentprocessor_maruku.rb +27 -0
  249. data/test/test_contentprocessor_rdiscount.rb +15 -0
  250. data/test/test_contentprocessor_rdoc.rb +16 -0
  251. data/test/test_contentprocessor_redcloth.rb +12 -0
  252. data/test/test_contentprocessor_sass.rb +20 -0
  253. data/test/test_contentprocessor_tags.rb +97 -0
  254. data/test/test_languages.rb +53 -0
  255. data/test/test_loggable.rb +30 -0
  256. data/test/test_logger.rb +73 -0
  257. data/test/test_node.rb +339 -0
  258. data/test/test_output_filesystem.rb +58 -0
  259. data/test/test_page.rb +203 -0
  260. data/test/test_path.rb +131 -0
  261. data/test/test_source_filesystem.rb +59 -0
  262. data/test/test_source_resource.rb +26 -0
  263. data/test/test_source_stacked.rb +34 -0
  264. data/test/test_sourcehandler_base.rb +92 -0
  265. data/test/test_sourcehandler_copy.rb +45 -0
  266. data/test/test_sourcehandler_directory.rb +25 -0
  267. data/test/test_sourcehandler_feed.rb +74 -0
  268. data/test/test_sourcehandler_fragment.rb +67 -0
  269. data/test/test_sourcehandler_metainfo.rb +93 -0
  270. data/test/test_sourcehandler_page.rb +70 -0
  271. data/test/test_sourcehandler_sitemap.rb +47 -0
  272. data/test/test_sourcehandler_template.rb +63 -0
  273. data/test/test_sourcehandler_virtual.rb +56 -0
  274. data/test/test_tag_base.rb +82 -0
  275. data/test/test_tag_breadcrumbtrail.rb +89 -0
  276. data/test/test_tag_coderay.rb +30 -0
  277. data/test/test_tag_date.rb +16 -0
  278. data/test/test_tag_executecommand.rb +39 -0
  279. data/test/test_tag_includefile.rb +48 -0
  280. data/test/test_tag_langbar.rb +60 -0
  281. data/test/test_tag_menu.rb +195 -0
  282. data/test/test_tag_metainfo.rb +17 -0
  283. data/test/test_tag_relocatable.rb +57 -0
  284. data/test/test_tag_sitemap.rb +44 -0
  285. data/test/test_tree.rb +69 -0
  286. data/test/test_webgentask.rb +21 -0
  287. data/test/test_website.rb +96 -0
  288. data/test/test_websiteaccess.rb +23 -0
  289. data/test/test_websitemanager.rb +68 -0
  290. metadata +575 -0
data/test/test_tree.rb ADDED
@@ -0,0 +1,69 @@
1
+ require 'test/unit'
2
+ require 'helper'
3
+ require 'webgen/tree'
4
+
5
+ class TestTree < Test::Unit::TestCase
6
+
7
+ include Test::WebsiteHelper
8
+
9
+ def setup
10
+ super
11
+ @tree = Webgen::Tree.new
12
+ end
13
+
14
+ def test_initialize
15
+ assert_not_nil(@tree.dummy_root)
16
+ end
17
+
18
+ def test_root
19
+ root = Webgen::Node.new(@tree.dummy_root, '/', '/')
20
+ assert_equal(root, @tree.root)
21
+ end
22
+
23
+ def test_register_node
24
+ # Tree#register_node is called when creating a node
25
+ node = Webgen::Node.new(@tree.dummy_root, 'dummy/', 'dummy')
26
+ assert_equal(node, @tree['/dummy', :alcn])
27
+ assert_equal(node, @tree['/dummy', :acn])
28
+ assert_equal(node, @tree['dummy/', :path])
29
+ assert_raise(RuntimeError) { Webgen::Node.new(@tree.dummy_root, '/', 'dummy') }
30
+ assert_raise(RuntimeError) { Webgen::Node.new(@tree.dummy_root, 'dummy/', 'other') }
31
+ assert_nothing_raised { Webgen::Node.new(@tree.dummy_root, 'dummy/', 'unknown', {'no_output' => true}) }
32
+ end
33
+
34
+ def test_delete_node
35
+ nrcalls = 0
36
+ @website.blackboard.add_listener(:before_node_deleted) { nrcalls += 1 }
37
+
38
+ root = Webgen::Node.new(@tree.dummy_root, '/', '/')
39
+ file = Webgen::Node.new(root, 'testfile', 'testfile')
40
+ dir = Webgen::Node.new(root, 'testdir/', 'testdir')
41
+
42
+ @tree.delete_node(@tree.dummy_root)
43
+ assert_not_nil(@tree[''])
44
+
45
+ @tree.delete_node(root)
46
+ assert_not_nil(@tree['/'])
47
+
48
+ @tree.delete_node(file)
49
+ assert_nil(@tree['/testfile'])
50
+ assert_nil(@tree['/testfile', :acn])
51
+ assert_nil(@tree.node_info['/testfile'])
52
+ assert_equal(1, root.children.size)
53
+ assert_equal(1, nrcalls)
54
+
55
+ @tree.delete_node('/', true)
56
+ assert_nil(@tree['/testdir'])
57
+ assert_nil(@tree['/testdir', :acn])
58
+ assert_nil(@tree.node_info['/testdir'])
59
+ assert_nil(@tree['/'])
60
+ assert_nil(@tree.node_info['/'])
61
+ assert_equal(3, nrcalls)
62
+
63
+ Webgen::Node.new(root, 'testfile', 'testfile')
64
+ Webgen::Node.new(root, 'testdir/', 'testdir')
65
+ @tree.delete_node(root, true)
66
+ assert_equal([@tree.dummy_root], @tree.node_access[:alcn].values)
67
+ end
68
+
69
+ end
@@ -0,0 +1,21 @@
1
+ require 'test/unit'
2
+ require 'webgen/webgentask'
3
+
4
+ class TestWebgenTask < Test::Unit::TestCase
5
+
6
+ include Rake
7
+
8
+ def test_create
9
+ site = Webgen::WebgenTask.new('doit') do |s|
10
+ s.clobber_outdir = true
11
+ s.config_block = lambda {|c| c}
12
+ s.directory = 'website'
13
+ end
14
+ assert_equal('website', site.directory)
15
+ assert_equal(true, site.clobber_outdir)
16
+ assert_equal(5, site.config_block[5])
17
+ assert(Task['doit'])
18
+ assert(Task['clobber_doit'])
19
+ end
20
+
21
+ end
@@ -0,0 +1,96 @@
1
+ require 'test/unit'
2
+ require 'webgen/website'
3
+ require 'tmpdir'
4
+ require 'fileutils'
5
+
6
+ class TestWebsite < Test::Unit::TestCase
7
+
8
+ def test_initialize
9
+ ws = Webgen::Website.new('dir') do
10
+ assert_equal(ws, Webgen::WebsiteAccess.website)
11
+ throw :called
12
+ end
13
+ assert_nil(ws.blackboard)
14
+ assert_nil(ws.cache)
15
+ assert_nil(ws.config)
16
+ assert_nil(ws.tree)
17
+ assert_equal('dir', ws.directory)
18
+ assert_throws(:called) { ws.init }
19
+ assert_nil(Thread.current[:webgen_website])
20
+ end
21
+
22
+ def test_autoload_service
23
+ ws = Webgen::Website.new('unknown', nil)
24
+ ws.init
25
+ ws.instance_eval { @cache = Webgen::Cache.new }
26
+ ws.autoload_service('[]', 'Hash')
27
+ assert_equal([], ws.cache.permanent[:classes])
28
+ ws.blackboard.invoke('[]', 5)
29
+ assert_equal(['Hash'], ws.cache.permanent[:classes])
30
+ end
31
+
32
+ def test_init
33
+ ws = Webgen::Website.new('hallo')
34
+ ws.init
35
+ assert_not_nil(ws.config)
36
+ assert_not_nil(ws.blackboard)
37
+ assert_not_nil(ws.cache)
38
+ assert_not_nil(ws.tree)
39
+ end
40
+
41
+ def test_render
42
+ ws = Webgen::Website.new(File.dirname(__FILE__), nil) do |config|
43
+ config['website.cache'] = [:string, '']
44
+ end
45
+ ws.render
46
+ assert(ws.config['website.cache'][1].length > 0)
47
+ end
48
+
49
+ def test_execute_in_env
50
+ ws = Webgen::Website.new('hallo')
51
+ assert_nil(Webgen::WebsiteAccess.website)
52
+ ws.execute_in_env { assert_not_nil(Webgen::WebsiteAccess.website) }
53
+ end
54
+
55
+ def test_read_config_file
56
+ dir = File.join(Dir.tmpdir, 'webgen-' + Process.pid.to_s)
57
+ FileUtils.mkdir_p(dir)
58
+
59
+ ws = Webgen::Website.new(dir)
60
+ ws.init
61
+ assert_equal('', ws.logger.log_output)
62
+ FileUtils.touch(File.join(dir, 'config.yml'))
63
+ ws.init
64
+ assert_match(/spelling error/, ws.logger.log_output)
65
+
66
+ File.open(File.join(dir, 'config.yaml'), 'w+') {|f| f.write('- unknown')}
67
+ assert_raise(Webgen::Website::ConfigFileInvalid) { ws.init }
68
+
69
+ File.open(File.join(dir, 'config.yaml'), 'w+') {|f| f.write('webgen.unknown: doit')}
70
+ assert_raise(Webgen::Website::ConfigFileInvalid) { ws.init }
71
+
72
+ File.open(File.join(dir, 'config.yaml'), 'w+') {|f| f.write("website.lang: de\ndefault_meta_info: {:all: {hallo: du}}")}
73
+ ws.init
74
+ assert_equal('de', ws.config['website.lang'])
75
+ assert_equal('du', ws.config['sourcehandler.default_meta_info'][:all]['hallo'])
76
+ ensure
77
+ FileUtils.rm_rf(dir)
78
+ end
79
+
80
+ def test_clean
81
+ dir = File.join(Dir.tmpdir, 'webgen-' + Process.pid.to_s)
82
+ FileUtils.mkdir_p(dir)
83
+ FileUtils.mkdir_p(File.join(dir, 'src'))
84
+ FileUtils.touch(File.join(dir, 'src', 'test.jpg'))
85
+
86
+ ws = Webgen::Website.new(dir, nil)
87
+ ws.render
88
+ assert(File.exists?(File.join(dir, 'out', 'test.jpg')))
89
+ ws.clean
90
+ assert(!File.exists?(File.join(dir, 'out', 'test.jpg')))
91
+ assert(File.directory?(File.join(dir, 'out')))
92
+ ws.clean(true)
93
+ assert(!File.directory?(File.join(dir, 'out')))
94
+ end
95
+
96
+ end
@@ -0,0 +1,23 @@
1
+ require 'test/unit'
2
+ require 'webgen/websiteaccess'
3
+
4
+
5
+ class TestWebsiteaccess < Test::Unit::TestCase
6
+
7
+ class WSAccessSubClass
8
+ include Webgen::WebsiteAccess
9
+
10
+ def get_private_website
11
+ website
12
+ end
13
+ end
14
+
15
+ def test_accessors
16
+ Thread.current[:webgen_website] = :value
17
+ assert_equal(:value, Webgen::WebsiteAccess.website)
18
+ assert_equal(:value, WSAccessSubClass.website)
19
+ assert_equal(:value, WSAccessSubClass.new.get_private_website)
20
+ Thread.current[:webgen_website] = nil
21
+ end
22
+
23
+ end
@@ -0,0 +1,68 @@
1
+ require 'fileutils'
2
+ require 'tmpdir'
3
+ require 'helper'
4
+ require 'test/unit'
5
+ require 'webgen/websitemanager'
6
+
7
+ class TestWebsiteManager < Test::Unit::TestCase
8
+
9
+ def test_initialize
10
+ wm = Webgen::WebsiteManager.new('.')
11
+ t = wm.templates['default']
12
+ assert_equal('Thomas Leitner', t.author)
13
+ assert(t.paths.length > 0)
14
+
15
+ s = wm.styles['1024px']
16
+ assert(s.paths.length > 0)
17
+ end
18
+
19
+ def test_create_website
20
+ with_tmpdir do |dir|
21
+ wm = Webgen::WebsiteManager.new(dir)
22
+ wm.create_website
23
+ assert(File.directory?(File.join(dir, 'ext')))
24
+ assert(File.directory?(File.join(dir, 'src')))
25
+ assert(File.file?(File.join(dir, 'README')))
26
+ assert(File.file?(File.join(dir, 'config.yaml')))
27
+ end
28
+ end
29
+
30
+ def test_apply_template
31
+ with_tmpdir do |dir|
32
+ wm = Webgen::WebsiteManager.new(dir)
33
+ assert_raise(RuntimeError) { wm.apply_template('default') }
34
+
35
+ Dir.mkdir(dir)
36
+ wm.apply_template('default')
37
+ assert(File.directory?(File.join(dir, 'src')))
38
+ assert(File.file?(File.join(dir, 'src', 'index.page')))
39
+
40
+ assert_raise(ArgumentError) { wm.apply_template('unknown-template') }
41
+ end
42
+ end
43
+
44
+ def test_apply_style
45
+ dir = with_tmpdir
46
+ wm = Webgen::WebsiteManager.new(dir)
47
+ assert_raise(RuntimeError) { wm.apply_style('simple') }
48
+
49
+ wm.styles.each do |name, infos|
50
+ Dir.mkdir(dir)
51
+ wm.apply_style(name)
52
+ assert(File.directory?(File.join(dir, 'src')))
53
+ assert(File.file?(File.join(dir, 'src', 'default.template')))
54
+ assert(File.file?(File.join(dir, 'src', 'default.css')))
55
+ FileUtils.rm_rf(dir)
56
+ end
57
+ assert_raise(ArgumentError) { wm.apply_style('unknown-style') }
58
+ end
59
+
60
+ def with_tmpdir
61
+ dir = File.join(Dir.tmpdir, 'webgen-' + Process.pid.to_s)
62
+ yield(dir) if block_given?
63
+ dir
64
+ ensure
65
+ FileUtils.rm_rf(dir)
66
+ end
67
+
68
+ end
metadata ADDED
@@ -0,0 +1,575 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gettalong-webgen
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.4.20080929
5
+ platform: ruby
6
+ authors:
7
+ - Thomas Leitner
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-09-28 15:00:00 -07:00
13
+ default_executable: webgen
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: cmdparse
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 2.0.0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: maruku
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.5.6
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: facets
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 2.4.3
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: rake
47
+ type: :runtime
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 0.8.0
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: ramaze
57
+ type: :runtime
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "="
62
+ - !ruby/object:Gem::Version
63
+ version: "2008.06"
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: launchy
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.2
74
+ version:
75
+ - !ruby/object:Gem::Dependency
76
+ name: rcov
77
+ type: :development
78
+ version_requirement:
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: 0.8.0
84
+ version:
85
+ - !ruby/object:Gem::Dependency
86
+ name: dcov
87
+ type: :development
88
+ version_requirement:
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: 0.2.2
94
+ version:
95
+ - !ruby/object:Gem::Dependency
96
+ name: rubyforge
97
+ type: :development
98
+ version_requirement:
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 1.0.0
104
+ version:
105
+ - !ruby/object:Gem::Dependency
106
+ name: RedCloth
107
+ type: :development
108
+ version_requirement:
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 3.0.0
114
+ version:
115
+ - !ruby/object:Gem::Dependency
116
+ name: haml
117
+ type: :development
118
+ version_requirement:
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: 2.0.1
124
+ version:
125
+ - !ruby/object:Gem::Dependency
126
+ name: builder
127
+ type: :development
128
+ version_requirement:
129
+ version_requirements: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: 2.1.0
134
+ version:
135
+ - !ruby/object:Gem::Dependency
136
+ name: rdoc
137
+ type: :development
138
+ version_requirement:
139
+ version_requirements: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: 2.0.0
144
+ version:
145
+ - !ruby/object:Gem::Dependency
146
+ name: coderay
147
+ type: :development
148
+ version_requirement:
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: 0.7.4.215
154
+ version:
155
+ - !ruby/object:Gem::Dependency
156
+ name: feedtools
157
+ type: :development
158
+ version_requirement:
159
+ version_requirements: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: 0.2.29
164
+ version:
165
+ - !ruby/object:Gem::Dependency
166
+ name: erubis
167
+ type: :development
168
+ version_requirement:
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: 2.6.2
174
+ version:
175
+ - !ruby/object:Gem::Dependency
176
+ name: rdiscount
177
+ type: :development
178
+ version_requirement:
179
+ version_requirements: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: 1.2.9
184
+ version:
185
+ description: webgen is used to generate static websites from templates and content files (which can be written in a markup language). It can generate dynamic content like menus on the fly and comes with many powerful extensions.
186
+ email: t_leitner@gmx.at
187
+ executables:
188
+ - webgen
189
+ extensions: []
190
+
191
+ extra_rdoc_files: []
192
+
193
+ files:
194
+ - Rakefile
195
+ - setup.rb
196
+ - AUTHORS
197
+ - THANKS
198
+ - COPYING
199
+ - GPL
200
+ - bin/webgen
201
+ - data/webgen
202
+ - data/webgen/resources.yaml
203
+ - data/webgen/webgui
204
+ - data/webgen/webgui/controller
205
+ - data/webgen/webgui/controller/main.rb
206
+ - data/webgen/webgui/overrides
207
+ - data/webgen/webgui/overrides/win32console.rb
208
+ - data/webgen/webgui/public
209
+ - data/webgen/webgui/public/css
210
+ - data/webgen/webgui/public/css/jquery.autocomplete.css
211
+ - data/webgen/webgui/public/css/ramaze_error.css
212
+ - data/webgen/webgui/public/css/style.css
213
+ - data/webgen/webgui/public/img
214
+ - data/webgen/webgui/public/img/headerbg.jpg
215
+ - data/webgen/webgui/public/img/webgen_logo.png
216
+ - data/webgen/webgui/public/js
217
+ - data/webgen/webgui/public/js/jquery.autocomplete.js
218
+ - data/webgen/webgui/public/js/jquery.js
219
+ - data/webgen/webgui/view
220
+ - data/webgen/webgui/view/create_website.xhtml
221
+ - data/webgen/webgui/view/error.xhtml
222
+ - data/webgen/webgui/view/index.xhtml
223
+ - data/webgen/webgui/view/manage_website.xhtml
224
+ - data/webgen/webgui/view/page.xhtml
225
+ - data/webgen/website_skeleton
226
+ - data/webgen/website_skeleton/config.yaml
227
+ - data/webgen/website_skeleton/ext
228
+ - data/webgen/website_skeleton/ext/init.rb
229
+ - data/webgen/website_skeleton/Rakefile
230
+ - data/webgen/website_skeleton/README
231
+ - data/webgen/website_skeleton/src
232
+ - data/webgen/website_styles
233
+ - data/webgen/website_styles/1024px
234
+ - data/webgen/website_styles/1024px/README
235
+ - data/webgen/website_styles/1024px/src
236
+ - data/webgen/website_styles/1024px/src/default.css
237
+ - data/webgen/website_styles/1024px/src/default.template
238
+ - data/webgen/website_styles/1024px/src/images
239
+ - data/webgen/website_styles/1024px/src/images/background.gif
240
+ - data/webgen/website_styles/andreas00
241
+ - data/webgen/website_styles/andreas00/README
242
+ - data/webgen/website_styles/andreas00/src
243
+ - data/webgen/website_styles/andreas00/src/default.css
244
+ - data/webgen/website_styles/andreas00/src/default.template
245
+ - data/webgen/website_styles/andreas00/src/images
246
+ - data/webgen/website_styles/andreas00/src/images/bg.gif
247
+ - data/webgen/website_styles/andreas00/src/images/front.jpg
248
+ - data/webgen/website_styles/andreas00/src/images/menubg.gif
249
+ - data/webgen/website_styles/andreas00/src/images/menubg2.gif
250
+ - data/webgen/website_styles/andreas01
251
+ - data/webgen/website_styles/andreas01/README
252
+ - data/webgen/website_styles/andreas01/src
253
+ - data/webgen/website_styles/andreas01/src/default.css
254
+ - data/webgen/website_styles/andreas01/src/default.template
255
+ - data/webgen/website_styles/andreas01/src/images
256
+ - data/webgen/website_styles/andreas01/src/images/bg.gif
257
+ - data/webgen/website_styles/andreas01/src/images/front.jpg
258
+ - data/webgen/website_styles/andreas01/src/print.css
259
+ - data/webgen/website_styles/andreas03
260
+ - data/webgen/website_styles/andreas03/README
261
+ - data/webgen/website_styles/andreas03/src
262
+ - data/webgen/website_styles/andreas03/src/default.css
263
+ - data/webgen/website_styles/andreas03/src/default.template
264
+ - data/webgen/website_styles/andreas03/src/images
265
+ - data/webgen/website_styles/andreas03/src/images/bodybg.png
266
+ - data/webgen/website_styles/andreas03/src/images/contbg.png
267
+ - data/webgen/website_styles/andreas03/src/images/footerbg.png
268
+ - data/webgen/website_styles/andreas03/src/images/gradient1.png
269
+ - data/webgen/website_styles/andreas03/src/images/gradient2.png
270
+ - data/webgen/website_styles/andreas04
271
+ - data/webgen/website_styles/andreas04/README
272
+ - data/webgen/website_styles/andreas04/src
273
+ - data/webgen/website_styles/andreas04/src/default.css
274
+ - data/webgen/website_styles/andreas04/src/default.template
275
+ - data/webgen/website_styles/andreas04/src/images
276
+ - data/webgen/website_styles/andreas04/src/images/blinkarrow.gif
277
+ - data/webgen/website_styles/andreas04/src/images/bodybg.png
278
+ - data/webgen/website_styles/andreas04/src/images/contentbg.png
279
+ - data/webgen/website_styles/andreas04/src/images/entrybg.png
280
+ - data/webgen/website_styles/andreas04/src/images/flash.gif
281
+ - data/webgen/website_styles/andreas04/src/images/flash2.gif
282
+ - data/webgen/website_styles/andreas04/src/images/globe.gif
283
+ - data/webgen/website_styles/andreas04/src/images/globebottom.gif
284
+ - data/webgen/website_styles/andreas04/src/images/linkarrow.gif
285
+ - data/webgen/website_styles/andreas04/src/images/menuhover.png
286
+ - data/webgen/website_styles/andreas05
287
+ - data/webgen/website_styles/andreas05/README
288
+ - data/webgen/website_styles/andreas05/src
289
+ - data/webgen/website_styles/andreas05/src/default.css
290
+ - data/webgen/website_styles/andreas05/src/default.template
291
+ - data/webgen/website_styles/andreas05/src/images
292
+ - data/webgen/website_styles/andreas05/src/images/bodybg.gif
293
+ - data/webgen/website_styles/andreas05/src/images/front.png
294
+ - data/webgen/website_styles/andreas06
295
+ - data/webgen/website_styles/andreas06/README
296
+ - data/webgen/website_styles/andreas06/src
297
+ - data/webgen/website_styles/andreas06/src/default.css
298
+ - data/webgen/website_styles/andreas06/src/default.template
299
+ - data/webgen/website_styles/andreas06/src/images
300
+ - data/webgen/website_styles/andreas06/src/images/bodybg.gif
301
+ - data/webgen/website_styles/andreas06/src/images/boxbg.gif
302
+ - data/webgen/website_styles/andreas06/src/images/greypx.gif
303
+ - data/webgen/website_styles/andreas06/src/images/header.jpg
304
+ - data/webgen/website_styles/andreas06/src/images/innerbg.gif
305
+ - data/webgen/website_styles/andreas06/src/images/leaves.jpg
306
+ - data/webgen/website_styles/andreas06/src/images/tabs.gif
307
+ - data/webgen/website_styles/andreas07
308
+ - data/webgen/website_styles/andreas07/README
309
+ - data/webgen/website_styles/andreas07/src
310
+ - data/webgen/website_styles/andreas07/src/browserfix.css
311
+ - data/webgen/website_styles/andreas07/src/default.css
312
+ - data/webgen/website_styles/andreas07/src/default.template
313
+ - data/webgen/website_styles/andreas07/src/images
314
+ - data/webgen/website_styles/andreas07/src/images/bodybg.gif
315
+ - data/webgen/website_styles/andreas07/src/images/sidebarbg.gif
316
+ - data/webgen/website_styles/andreas08
317
+ - data/webgen/website_styles/andreas08/README
318
+ - data/webgen/website_styles/andreas08/src
319
+ - data/webgen/website_styles/andreas08/src/default.css
320
+ - data/webgen/website_styles/andreas08/src/default.template
321
+ - data/webgen/website_styles/andreas09
322
+ - data/webgen/website_styles/andreas09/README
323
+ - data/webgen/website_styles/andreas09/src
324
+ - data/webgen/website_styles/andreas09/src/default.css
325
+ - data/webgen/website_styles/andreas09/src/default.template
326
+ - data/webgen/website_styles/andreas09/src/images
327
+ - data/webgen/website_styles/andreas09/src/images/bodybg-black.jpg
328
+ - data/webgen/website_styles/andreas09/src/images/bodybg-green.jpg
329
+ - data/webgen/website_styles/andreas09/src/images/bodybg-orange.jpg
330
+ - data/webgen/website_styles/andreas09/src/images/bodybg-purple.jpg
331
+ - data/webgen/website_styles/andreas09/src/images/bodybg-red.jpg
332
+ - data/webgen/website_styles/andreas09/src/images/bodybg.jpg
333
+ - data/webgen/website_styles/andreas09/src/images/footerbg.jpg
334
+ - data/webgen/website_styles/andreas09/src/images/menuhover-black.jpg
335
+ - data/webgen/website_styles/andreas09/src/images/menuhover-green.jpg
336
+ - data/webgen/website_styles/andreas09/src/images/menuhover-orange.jpg
337
+ - data/webgen/website_styles/andreas09/src/images/menuhover-purple.jpg
338
+ - data/webgen/website_styles/andreas09/src/images/menuhover-red.jpg
339
+ - data/webgen/website_styles/andreas09/src/images/menuhover.jpg
340
+ - data/webgen/website_styles/simple
341
+ - data/webgen/website_styles/simple/README
342
+ - data/webgen/website_styles/simple/src
343
+ - data/webgen/website_styles/simple/src/default.css
344
+ - data/webgen/website_styles/simple/src/default.template
345
+ - data/webgen/website_templates
346
+ - data/webgen/website_templates/default
347
+ - data/webgen/website_templates/default/README
348
+ - data/webgen/website_templates/default/src
349
+ - data/webgen/website_templates/default/src/index.page
350
+ - data/webgen/website_templates/project
351
+ - data/webgen/website_templates/project/README
352
+ - data/webgen/website_templates/project/src
353
+ - data/webgen/website_templates/project/src/about.page
354
+ - data/webgen/website_templates/project/src/download.page
355
+ - data/webgen/website_templates/project/src/features.page
356
+ - data/webgen/website_templates/project/src/index.page
357
+ - data/webgen/website_templates/project/src/screenshots.page
358
+ - doc/contentprocessor
359
+ - doc/contentprocessor/blocks.page
360
+ - doc/contentprocessor/builder.page
361
+ - doc/contentprocessor/erb.page
362
+ - doc/contentprocessor/erubis.page
363
+ - doc/contentprocessor/haml.page
364
+ - doc/contentprocessor/maruku.page
365
+ - doc/contentprocessor/rdiscount.page
366
+ - doc/contentprocessor/rdoc.page
367
+ - doc/contentprocessor/redcloth.page
368
+ - doc/contentprocessor/sass.page
369
+ - doc/contentprocessor/tags.page
370
+ - doc/contentprocessor.template
371
+ - doc/extensions.metainfo
372
+ - doc/extensions.page
373
+ - doc/extensions.template
374
+ - doc/faq.page
375
+ - doc/getting_started.page
376
+ - doc/index.page
377
+ - doc/manual.page
378
+ - doc/reference_configuration.page
379
+ - doc/reference_metainfo.page
380
+ - doc/sourcehandler
381
+ - doc/sourcehandler/copy.page
382
+ - doc/sourcehandler/directory.page
383
+ - doc/sourcehandler/feed.page
384
+ - doc/sourcehandler/metainfo.page
385
+ - doc/sourcehandler/page.page
386
+ - doc/sourcehandler/sitemap.page
387
+ - doc/sourcehandler/template.page
388
+ - doc/sourcehandler/virtual.page
389
+ - doc/sourcehandler.template
390
+ - doc/tag
391
+ - doc/tag/breadcrumbtrail.page
392
+ - doc/tag/coderay.page
393
+ - doc/tag/date.page
394
+ - doc/tag/executecommand.page
395
+ - doc/tag/includefile.page
396
+ - doc/tag/langbar.page
397
+ - doc/tag/menu.page
398
+ - doc/tag/metainfo.page
399
+ - doc/tag/relocatable.page
400
+ - doc/tag/sitemap.page
401
+ - doc/tag.template
402
+ - doc/upgrading.page
403
+ - doc/webgen_page_format.page
404
+ - lib/webgen/blackboard.rb
405
+ - lib/webgen/cache.rb
406
+ - lib/webgen/cli/create_command.rb
407
+ - lib/webgen/cli/run_command.rb
408
+ - lib/webgen/cli/utils.rb
409
+ - lib/webgen/cli/webgui_command.rb
410
+ - lib/webgen/cli.rb
411
+ - lib/webgen/common/sitemap.rb
412
+ - lib/webgen/common.rb
413
+ - lib/webgen/configuration.rb
414
+ - lib/webgen/contentprocessor/blocks.rb
415
+ - lib/webgen/contentprocessor/builder.rb
416
+ - lib/webgen/contentprocessor/context.rb
417
+ - lib/webgen/contentprocessor/erb.rb
418
+ - lib/webgen/contentprocessor/erubis.rb
419
+ - lib/webgen/contentprocessor/haml.rb
420
+ - lib/webgen/contentprocessor/maruku.rb
421
+ - lib/webgen/contentprocessor/rdiscount.rb
422
+ - lib/webgen/contentprocessor/rdoc.rb
423
+ - lib/webgen/contentprocessor/redcloth.rb
424
+ - lib/webgen/contentprocessor/sass.rb
425
+ - lib/webgen/contentprocessor/tags.rb
426
+ - lib/webgen/contentprocessor.rb
427
+ - lib/webgen/coreext.rb
428
+ - lib/webgen/default_config.rb
429
+ - lib/webgen/languages.rb
430
+ - lib/webgen/loggable.rb
431
+ - lib/webgen/logger.rb
432
+ - lib/webgen/node.rb
433
+ - lib/webgen/output/filesystem.rb
434
+ - lib/webgen/output.rb
435
+ - lib/webgen/page.rb
436
+ - lib/webgen/path.rb
437
+ - lib/webgen/source/filesystem.rb
438
+ - lib/webgen/source/resource.rb
439
+ - lib/webgen/source/stacked.rb
440
+ - lib/webgen/source.rb
441
+ - lib/webgen/sourcehandler/base.rb
442
+ - lib/webgen/sourcehandler/copy.rb
443
+ - lib/webgen/sourcehandler/directory.rb
444
+ - lib/webgen/sourcehandler/feed.rb
445
+ - lib/webgen/sourcehandler/fragment.rb
446
+ - lib/webgen/sourcehandler/metainfo.rb
447
+ - lib/webgen/sourcehandler/page.rb
448
+ - lib/webgen/sourcehandler/sitemap.rb
449
+ - lib/webgen/sourcehandler/template.rb
450
+ - lib/webgen/sourcehandler/virtual.rb
451
+ - lib/webgen/sourcehandler.rb
452
+ - lib/webgen/tag/base.rb
453
+ - lib/webgen/tag/breadcrumbtrail.rb
454
+ - lib/webgen/tag/coderay.rb
455
+ - lib/webgen/tag/date.rb
456
+ - lib/webgen/tag/executecommand.rb
457
+ - lib/webgen/tag/includefile.rb
458
+ - lib/webgen/tag/langbar.rb
459
+ - lib/webgen/tag/menu.rb
460
+ - lib/webgen/tag/metainfo.rb
461
+ - lib/webgen/tag/relocatable.rb
462
+ - lib/webgen/tag/sitemap.rb
463
+ - lib/webgen/tag.rb
464
+ - lib/webgen/tree.rb
465
+ - lib/webgen/version.rb
466
+ - lib/webgen/webgentask.rb
467
+ - lib/webgen/website.rb
468
+ - lib/webgen/websiteaccess.rb
469
+ - lib/webgen/websitemanager.rb
470
+ - man/man1/webgen.1
471
+ - misc/default.css
472
+ - misc/default.template
473
+ - misc/htmldoc.metainfo
474
+ - misc/htmldoc.virtual
475
+ - misc/images
476
+ - misc/images/arrow.gif
477
+ - misc/images/error.gif
478
+ - misc/images/exclamation.gif
479
+ - misc/images/headerbg.jpg
480
+ - misc/images/information.gif
481
+ - misc/images/quote.gif
482
+ - test/test_blackboard.rb
483
+ - test/test_cache.rb
484
+ - test/test_common_sitemap.rb
485
+ - test/test_configuration.rb
486
+ - test/test_contentprocessor.rb
487
+ - test/test_contentprocessor_blocks.rb
488
+ - test/test_contentprocessor_builder.rb
489
+ - test/test_contentprocessor_context.rb
490
+ - test/test_contentprocessor_erb.rb
491
+ - test/test_contentprocessor_erubis.rb
492
+ - test/test_contentprocessor_haml.rb
493
+ - test/test_contentprocessor_maruku.rb
494
+ - test/test_contentprocessor_rdiscount.rb
495
+ - test/test_contentprocessor_rdoc.rb
496
+ - test/test_contentprocessor_redcloth.rb
497
+ - test/test_contentprocessor_sass.rb
498
+ - test/test_contentprocessor_tags.rb
499
+ - test/test_languages.rb
500
+ - test/test_loggable.rb
501
+ - test/test_logger.rb
502
+ - test/test_node.rb
503
+ - test/test_output_filesystem.rb
504
+ - test/test_page.rb
505
+ - test/test_path.rb
506
+ - test/test_source_filesystem.rb
507
+ - test/test_source_resource.rb
508
+ - test/test_source_stacked.rb
509
+ - test/test_sourcehandler_base.rb
510
+ - test/test_sourcehandler_copy.rb
511
+ - test/test_sourcehandler_directory.rb
512
+ - test/test_sourcehandler_feed.rb
513
+ - test/test_sourcehandler_fragment.rb
514
+ - test/test_sourcehandler_metainfo.rb
515
+ - test/test_sourcehandler_page.rb
516
+ - test/test_sourcehandler_sitemap.rb
517
+ - test/test_sourcehandler_template.rb
518
+ - test/test_sourcehandler_virtual.rb
519
+ - test/test_tag_base.rb
520
+ - test/test_tag_breadcrumbtrail.rb
521
+ - test/test_tag_coderay.rb
522
+ - test/test_tag_date.rb
523
+ - test/test_tag_executecommand.rb
524
+ - test/test_tag_includefile.rb
525
+ - test/test_tag_langbar.rb
526
+ - test/test_tag_menu.rb
527
+ - test/test_tag_metainfo.rb
528
+ - test/test_tag_relocatable.rb
529
+ - test/test_tag_sitemap.rb
530
+ - test/test_tree.rb
531
+ - test/test_webgentask.rb
532
+ - test/test_website.rb
533
+ - test/test_websiteaccess.rb
534
+ - test/test_websitemanager.rb
535
+ - test/helper.rb
536
+ has_rdoc: true
537
+ homepage: http://webgen.rubyforge.org
538
+ post_install_message: |
539
+ Thanks for choosing webgen! Here are some places to get you started:
540
+ * The webgen User Documentation at <http://webgen.rubyforge.org/documentation/index.html>
541
+ * The mailing list archive at <http://rubyforge.org/pipermail/webgen-users/>
542
+
543
+ Have a look at <http://webgen.rubyforge.org/news/index.html> for a list of changes!
544
+
545
+ Have fun!
546
+
547
+ rdoc_options:
548
+ - --line-numbers
549
+ - --inline-source
550
+ - --promiscuous
551
+ - --main
552
+ - Webgen
553
+ require_paths:
554
+ - lib
555
+ required_ruby_version: !ruby/object:Gem::Requirement
556
+ requirements:
557
+ - - ">="
558
+ - !ruby/object:Gem::Version
559
+ version: "0"
560
+ version:
561
+ required_rubygems_version: !ruby/object:Gem::Requirement
562
+ requirements:
563
+ - - ">="
564
+ - !ruby/object:Gem::Version
565
+ version: "0"
566
+ version:
567
+ requirements: []
568
+
569
+ rubyforge_project: webgen
570
+ rubygems_version: 1.2.0
571
+ signing_key:
572
+ specification_version: 2
573
+ summary: webgen beta build, not supported!!!
574
+ test_files: []
575
+