webgen 1.0.0.beta1 → 1.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/API.rdoc +64 -11
  2. data/ChangeLog +391 -0
  3. data/README.md +2 -2
  4. data/VERSION +1 -1
  5. data/data/webgen/passive_sources/templates/tag.template +1 -1
  6. data/data/webgen/passive_sources/templates/tikz.template +14 -0
  7. data/lib/webgen/bundle/built-in/init.rb +9 -7
  8. data/lib/webgen/bundle_loader.rb +1 -1
  9. data/lib/webgen/cli/show_command.rb +2 -0
  10. data/lib/webgen/cli/show_config_command.rb +0 -1
  11. data/lib/webgen/cli/show_dependencies_command.rb +6 -63
  12. data/lib/webgen/cli/show_tree_command.rb +85 -0
  13. data/lib/webgen/content_processor/erb.rb +1 -1
  14. data/lib/webgen/content_processor/{rdoc.rb → r_doc.rb} +0 -0
  15. data/lib/webgen/content_processor/{redcloth.rb → red_cloth.rb} +0 -0
  16. data/lib/webgen/content_processor/ruby.rb +3 -0
  17. data/lib/webgen/content_processor/sass.rb +10 -6
  18. data/lib/webgen/content_processor/tikz.rb +10 -20
  19. data/lib/webgen/context/html_head.rb +7 -0
  20. data/lib/webgen/item_tracker.rb +42 -15
  21. data/lib/webgen/item_tracker/file.rb +7 -3
  22. data/lib/webgen/item_tracker/missing_node.rb +17 -5
  23. data/lib/webgen/item_tracker/node_content.rb +7 -3
  24. data/lib/webgen/item_tracker/node_meta_info.rb +8 -3
  25. data/lib/webgen/item_tracker/nodes.rb +10 -3
  26. data/lib/webgen/node.rb +4 -29
  27. data/lib/webgen/node_finder.rb +25 -10
  28. data/lib/webgen/path.rb +2 -2
  29. data/lib/webgen/path_handler/base.rb +20 -9
  30. data/lib/webgen/path_handler/feed.rb +29 -22
  31. data/lib/webgen/path_handler/page.rb +1 -3
  32. data/lib/webgen/path_handler/page_utils.rb +114 -33
  33. data/lib/webgen/path_handler/sitemap.rb +13 -6
  34. data/lib/webgen/path_handler/template.rb +0 -70
  35. data/lib/webgen/path_handler/virtual.rb +10 -2
  36. data/lib/webgen/tag.rb +13 -13
  37. data/lib/webgen/tag/tikz.rb +2 -1
  38. data/lib/webgen/test_helper.rb +2 -11
  39. data/lib/webgen/version.rb +1 -1
  40. data/test/webgen/content_processor/test_erb.rb +4 -0
  41. data/test/webgen/content_processor/{test_rdoc.rb → test_r_doc.rb} +1 -1
  42. data/test/webgen/content_processor/{test_redcloth.rb → test_red_cloth.rb} +1 -1
  43. data/test/webgen/content_processor/test_sass.rb +2 -2
  44. data/test/webgen/content_processor/test_tikz.rb +10 -3
  45. data/test/webgen/item_tracker/test_file.rb +5 -5
  46. data/test/webgen/item_tracker/test_missing_node.rb +8 -9
  47. data/test/webgen/item_tracker/test_node_content.rb +5 -6
  48. data/test/webgen/item_tracker/test_node_meta_info.rb +6 -7
  49. data/test/webgen/item_tracker/test_nodes.rb +7 -9
  50. data/test/webgen/path_handler/test_base.rb +4 -5
  51. data/test/webgen/path_handler/test_page.rb +1 -1
  52. data/test/webgen/path_handler/test_page_utils.rb +39 -11
  53. data/test/webgen/path_handler/test_template.rb +5 -45
  54. data/test/webgen/path_handler/test_virtual.rb +21 -0
  55. data/test/webgen/tag/test_link.rb +1 -1
  56. data/test/webgen/tag/test_tikz.rb +2 -2
  57. data/test/webgen/test_context.rb +10 -0
  58. data/test/webgen/test_item_tracker.rb +7 -4
  59. data/test/webgen/test_node.rb +3 -16
  60. data/test/webgen/test_node_finder.rb +10 -6
  61. data/test/webgen/test_tag.rb +4 -4
  62. metadata +218 -216
@@ -48,6 +48,23 @@ class TestPathHandlerVirtual < MiniTest::Unit::TestCase
48
48
  title: root
49
49
  EOF
50
50
 
51
+ INVALID_YAML=<<EOF
52
+ --- content
53
+ x: @/-::d
54
+ EOF
55
+
56
+ INVALID_STRUCTURE=<<EOF
57
+ --- content
58
+ - x
59
+ - y
60
+ EOF
61
+
62
+ INVALID_KEY_VALUE=<<EOF
63
+ --- content
64
+ x: y
65
+ EOF
66
+
67
+
51
68
 
52
69
  def setup
53
70
  setup_website
@@ -82,6 +99,10 @@ EOF
82
99
 
83
100
  assert_equal('http://www.example.com', @root.tree['/api.html'].dest_path)
84
101
  assert_equal('http://www.example.com', @root.tree['/path.de.html'].route_to(@root.tree['/api.html']))
102
+
103
+ assert_raises(RuntimeError) { @virtual.create_nodes(path, Webgen::Page.from_data(INVALID_YAML).blocks) }
104
+ assert_raises(RuntimeError) { @virtual.create_nodes(path, Webgen::Page.from_data(INVALID_STRUCTURE).blocks) }
105
+ assert_raises(RuntimeError) { @virtual.create_nodes(path, Webgen::Page.from_data(INVALID_KEY_VALUE).blocks) }
85
106
  end
86
107
 
87
108
  end
@@ -29,7 +29,7 @@ class TestTagLink < MiniTest::Unit::TestCase
29
29
 
30
30
  # directory paths
31
31
  assert_tag_result('<a href="dir/">dir</a>', 'dir')
32
- assert_tag_result('<a href="dir2/index.en.html" hreflang="en">routed</a>', 'dir2')
32
+ assert_tag_result('<a class="help" href="dir2/index.en.html" hreflang="en">routed</a>', 'dir2')
33
33
  end
34
34
 
35
35
  def assert_tag_result(result, path)
@@ -18,13 +18,13 @@ class TestTagTikz < MiniTest::Unit::TestCase
18
18
 
19
19
  body = '\tikz \draw (0,0) -- (0,1);'
20
20
  @website.ext.path_handler.expect(:create_secondary_nodes, [tikz_node],
21
- [Webgen::Path.new('/test.png'), body, 'copy', '/file.page'])
21
+ [Webgen::Path.new('/test.png'), body, '/file.page'])
22
22
  assert_tag_result('<img src="test.png" alt="" />',
23
23
  body, 'test.png', [], '', '72 72', false, {})
24
24
  @website.ext.path_handler.verify
25
25
 
26
26
  @website.ext.path_handler.expect(:create_secondary_nodes, [tikz_node],
27
- [Webgen::Path.new('/images/test.png'), body, 'copy', '/file.page'])
27
+ [Webgen::Path.new('/images/test.png'), body, '/file.page'])
28
28
  assert_tag_result('<img src="test.png" alt="title" />',
29
29
  body, 'images/test.png', ['arrows'], '->', '72 72', true, {'alt' => 'title'})
30
30
  @website.ext.path_handler.verify
@@ -70,4 +70,14 @@ class TestContext < MiniTest::Unit::TestCase
70
70
  tag.verify
71
71
  end
72
72
 
73
+ def test_html_head_methods
74
+ @context.html_head.inline_fragment(:css, "content")
75
+ @context.html_head.inline_fragment(:js, "content")
76
+ @context.html_head.meta('name', 'content')
77
+
78
+ assert_equal(['content'], @context.persistent[:cp_html_head][:css_inline])
79
+ assert_equal(['content'], @context.persistent[:cp_html_head][:js_inline])
80
+ assert_equal({'name' => 'content'}, @context.persistent[:cp_html_head][:meta])
81
+ end
82
+
73
83
  end
@@ -3,6 +3,7 @@
3
3
  require 'minitest/autorun'
4
4
  require 'webgen/item_tracker'
5
5
  require 'webgen/blackboard'
6
+ require 'webgen/cache'
6
7
 
7
8
  class Webgen::ItemTracker::Sample
8
9
 
@@ -18,12 +19,12 @@ class Webgen::ItemTracker::Sample
18
19
  'alcn' + TestItemTracker::Data[data].to_s
19
20
  end
20
21
 
21
- def changed?(iid, old_data) #:nodoc:
22
+ def item_changed?(iid, old_data) #:nodoc:
22
23
  'alcn' + TestItemTracker::Data[iid].to_s != old_data
23
24
  end
24
25
 
25
- def node_referenced?(iid, _, node_alcn)
26
- iid == node_alcn
26
+ def referenced_nodes(iid, _)
27
+ [iid]
27
28
  end
28
29
 
29
30
  end
@@ -36,7 +37,7 @@ class TestItemTracker < MiniTest::Unit::TestCase
36
37
  # Needed mock objects
37
38
  website = MiniTest::Mock.new
38
39
  website.expect(:blackboard, blackboard = Webgen::Blackboard.new)
39
- website.expect(:cache, cache = {})
40
+ website.expect(:cache, cache = Webgen::Cache.new)
40
41
  node = MiniTest::Mock.new
41
42
  node.expect(:alcn, '/alcn')
42
43
  node.expect(:!, false)
@@ -51,6 +52,8 @@ class TestItemTracker < MiniTest::Unit::TestCase
51
52
  tracker.register('Sample')
52
53
  tracker.add(node, :sample, '/alcn')
53
54
 
55
+ website.blackboard.add_listener(:after_all_nodes_written) {cache.reset_volatile_cache}
56
+
54
57
  # Node should be changed because no cache data is available
55
58
  assert(tracker.node_changed?(node))
56
59
 
@@ -82,19 +82,6 @@ class TestNode < MiniTest::Unit::TestCase
82
82
  assert(node !~ '**/*.test')
83
83
  end
84
84
 
85
- def test_method_missing
86
- node = Webgen::Node.new(@website.tree.dummy_root, '/', '/')
87
- assert_raises(NoMethodError) { node.unknown }
88
- refute(node.respond_to?(:unknown))
89
-
90
- path_handler = Object.new
91
- def path_handler.unknown(node); :value; end
92
- node.node_info[:path_handler] = path_handler
93
-
94
- assert(node.respond_to?(:unknown))
95
- assert_equal(:value, node.unknown)
96
- end
97
-
98
85
  def test_route_to
99
86
  tree = @website.tree
100
87
  setup_default_nodes(tree)
@@ -144,10 +131,10 @@ class TestNode < MiniTest::Unit::TestCase
144
131
  assert_equal('<a href="#frag">frag</a>',
145
132
  tree['/file.en.html'].link_to(tree['/file.en.html#frag']))
146
133
  assert_equal('<a href="#frag">link_text</a>',
147
- tree['/file.en.html'].link_to(tree['/file.en.html#frag'], 'en', :link_text => 'link_text'))
134
+ tree['/file.en.html'].link_to(tree['/file.en.html#frag'], 'en', 'link_text' => 'link_text'))
148
135
  assert_equal('<a attr1="val1" href="#frag">frag</a>',
149
136
  tree['/file.en.html'].link_to(tree['/file.en.html#frag'], 'en', 'attr1' => 'val1'))
150
- assert_equal('<a href="#frag">frag</a>',
137
+ assert_equal('<a attr1="val1" href="#frag">frag</a>',
151
138
  tree['/file.en.html'].link_to(tree['/file.en.html#frag'], 'en', :attr1 => 'val1'))
152
139
  assert_equal('<a class="help" href="dir2/index.en.html" hreflang="en">index en</a>',
153
140
  tree['/file.en.html'].link_to(tree['/dir2/index.en.html']))
@@ -155,7 +142,7 @@ class TestNode < MiniTest::Unit::TestCase
155
142
  # links to directories
156
143
  assert_equal('<a href="dir2/index.de.html" hreflang="de">routed de</a>',
157
144
  tree['/file.de.html'].link_to(tree['/dir2/']))
158
- assert_equal('<a href="dir2/index.en.html" hreflang="en">routed</a>',
145
+ assert_equal('<a class="help" href="dir2/index.en.html" hreflang="en">routed</a>',
159
146
  tree['/file.en.html'].link_to(tree['/dir2/']))
160
147
  assert_equal('<a href="dir2/index.de.html" hreflang="de">routed de</a>',
161
148
  tree['/file.en.html'].link_to(tree['/dir2/'], 'de'))
@@ -53,7 +53,7 @@ class TestNodeFinder < MiniTest::Unit::TestCase
53
53
  [tree['/dir/'], [tree['/dir/subfile.html'], tree['/dir/dir/']]],
54
54
  [tree['/dir2/'], [tree['/dir2/index.en.html'], tree['/dir2/index.de.html']]]
55
55
  ],
56
- @nf.find({:levels => [1,2]}, tree['/']))
56
+ @nf.find({:levels => [2,3]}, tree['/']))
57
57
 
58
58
  # test sort methods
59
59
  check.call(%w[/file.en.html /file.de.html /dir/dir/file.html /german.de.html /dir2/index.de.html
@@ -71,7 +71,7 @@ class TestNodeFinder < MiniTest::Unit::TestCase
71
71
  [tree['/dir2/'], [tree['/dir2/index.de.html'], tree['/dir2/index.en.html']]],
72
72
  tree['/german.de.html'], tree['/other.html'], tree['/other.en.html'],
73
73
  ],
74
- @nf.find({:levels => [1,3], :sort => true}, tree['/']))
74
+ @nf.find({:levels => [2,4], :sort => true}, tree['/']))
75
75
 
76
76
  # test filter: meta info keys/values
77
77
  check.call(['/file.en.html#frag', '/file.de.html#frag', '/dir/subfile.html#frag'],
@@ -92,13 +92,17 @@ class TestNodeFinder < MiniTest::Unit::TestCase
92
92
  check.call(%w[/dir/subfile.html /dir/dir/file.html /dir2/index.en.html /dir2/index.de.html],
93
93
  @nf.find({:alcn => '/**/*.html', :not => {:alcn => '*.html'}, :flatten => true}, tree['/']))
94
94
 
95
- # test filter: levels
95
+ # test filter: absolute_levels
96
96
  check.call(%w[/],
97
- @nf.find({:levels => [0, 0], :flatten => true}, tree['/dir/']))
97
+ @nf.find({:absolute_levels => [0, 0], :flatten => true}, tree['/dir/']))
98
98
  check.call(%w[/file.en.html#nested /dir/subfile.html#frag /dir/dir/file.html],
99
- @nf.find({:levels => [3,3], :flatten => true}, tree['/dir/']))
99
+ @nf.find({:absolute_levels => [3,3], :flatten => true}, tree['/dir/']))
100
100
  check.call(%w[/ /file.en.html /file.de.html /other.html /other.en.html /german.de.html /dir/ /dir2/],
101
- @nf.find({:levels => [0,1], :flatten => true}, tree['/dir/']))
101
+ @nf.find({:absolute_levels => [0,1], :flatten => true}, tree['/dir/']))
102
+ check.call(%w[/],
103
+ @nf.find({:absolute_levels => [0,1], :levels => 1}, tree['/dir/']))
104
+ check.call(%w[/file.en.html /file.de.html /other.html /other.en.html /german.de.html /dir/ /dir2/],
105
+ @nf.find({:absolute_levels => [0,1], :levels => 2}, tree['/dir/']))
102
106
 
103
107
  # test filter: langs
104
108
  check.call(%w[/file.en.html /other.en.html /dir2/index.en.html],
@@ -25,9 +25,9 @@ class TestTag < MiniTest::Unit::TestCase
25
25
  end
26
26
 
27
27
  def test_register
28
- check_tdata = lambda do |tdata, callable, config_base, mandatory_options, initialized|
28
+ check_tdata = lambda do |tdata, callable, config_prefix, mandatory_options, initialized|
29
29
  assert_equal(callable, tdata.object)
30
- assert_equal(config_base, tdata.config_base)
30
+ assert_equal(config_prefix, tdata.config_prefix)
31
31
  assert_equal(mandatory_options, tdata.mandatory)
32
32
  assert_equal(initialized, tdata.initialized)
33
33
  end
@@ -44,12 +44,12 @@ class TestTag < MiniTest::Unit::TestCase
44
44
  assert(@tag.registered?('other'))
45
45
 
46
46
  assert_raises(ArgumentError) { @tag.register('doit') {} }
47
- @tag.register('doit', :config_base => 'other') do |tag, body, context|
47
+ @tag.register('doit', :config_prefix => 'other') do |tag, body, context|
48
48
  'doit: now'
49
49
  end
50
50
  assert(@tag.registered?('doit'))
51
51
 
52
- @tag.register('MyTag', :names => ['other'], :config_base => 'other', :mandatory => ['mandatory'])
52
+ @tag.register('MyTag', :names => ['other'], :config_prefix => 'other', :mandatory => ['mandatory'])
53
53
  check_tdata.call(@tag.registered_extensions[:other],
54
54
  'Webgen::Tag::MyTag', 'other', ['mandatory'], false)
55
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta1
4
+ version: 1.0.0.beta2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-11 00:00:00.000000000 Z
12
+ date: 2012-12-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cmdparse
@@ -294,280 +294,282 @@ files:
294
294
  - API.rdoc
295
295
  - README.md
296
296
  - bin/webgen
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
322
- - data/webgen/website_bundles/style/andreas01/src/images/bg.gif
323
- - data/webgen/website_bundles/style/andreas01/src/images/front.jpg
324
- - data/webgen/website_bundles/style/andreas01/src/print.css
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
297
+ - data/webgen/basic_website_template/ext/init.rb
298
+ - data/webgen/basic_website_template/webgen.config
299
+ - data/webgen/bundle_template_files/README.md.erb
300
+ - data/webgen/bundle_template_files/Rakefile.erb
301
+ - data/webgen/bundle_template_files/info.yaml.erb
302
+ - data/webgen/bundle_template_files/init.rb.erb
303
+ - data/webgen/passive_sources/default.metainfo
304
+ - data/webgen/passive_sources/images/generated_by_webgen.png
305
+ - data/webgen/passive_sources/images/webgen_logo.png
306
+ - data/webgen/passive_sources/stylesheets/coderay-default.css
307
+ - data/webgen/passive_sources/templates/feed.template
308
+ - data/webgen/passive_sources/templates/sitemap.template
309
+ - data/webgen/passive_sources/templates/tag.template
310
+ - data/webgen/passive_sources/templates/tikz.template
311
+ - data/webgen/website_bundles/default/README
312
+ - data/webgen/website_bundles/default/src/index.page
335
313
  - data/webgen/website_bundles/style/1024px/README
336
- - data/webgen/website_bundles/style/1024px/src/images/background.gif
337
314
  - data/webgen/website_bundles/style/1024px/src/default.css
338
315
  - data/webgen/website_bundles/style/1024px/src/default.template
339
- - data/webgen/website_bundles/style/andreas08/README
340
- - data/webgen/website_bundles/style/andreas08/src/default.css
341
- - data/webgen/website_bundles/style/andreas08/src/default.template
316
+ - data/webgen/website_bundles/style/1024px/src/images/background.gif
342
317
  - data/webgen/website_bundles/style/andreas00/README
343
- - data/webgen/website_bundles/style/andreas00/src/images/menubg.gif
318
+ - data/webgen/website_bundles/style/andreas00/src/default.css
319
+ - data/webgen/website_bundles/style/andreas00/src/default.template
344
320
  - data/webgen/website_bundles/style/andreas00/src/images/bg.gif
345
321
  - data/webgen/website_bundles/style/andreas00/src/images/front.jpg
322
+ - data/webgen/website_bundles/style/andreas00/src/images/menubg.gif
346
323
  - 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
324
+ - data/webgen/website_bundles/style/andreas01/README
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/andreas01/src/images/bg.gif
328
+ - data/webgen/website_bundles/style/andreas01/src/images/front.jpg
329
+ - data/webgen/website_bundles/style/andreas01/src/print.css
330
+ - data/webgen/website_bundles/style/andreas03/README
331
+ - data/webgen/website_bundles/style/andreas03/src/default.css
332
+ - data/webgen/website_bundles/style/andreas03/src/default.template
333
+ - data/webgen/website_bundles/style/andreas03/src/images/bodybg.png
334
+ - data/webgen/website_bundles/style/andreas03/src/images/contbg.png
335
+ - data/webgen/website_bundles/style/andreas03/src/images/footerbg.png
336
+ - data/webgen/website_bundles/style/andreas03/src/images/gradient1.png
337
+ - data/webgen/website_bundles/style/andreas03/src/images/gradient2.png
349
338
  - data/webgen/website_bundles/style/andreas04/README
339
+ - data/webgen/website_bundles/style/andreas04/src/default.css
340
+ - data/webgen/website_bundles/style/andreas04/src/default.template
341
+ - data/webgen/website_bundles/style/andreas04/src/images/blinkarrow.gif
342
+ - data/webgen/website_bundles/style/andreas04/src/images/bodybg.png
343
+ - data/webgen/website_bundles/style/andreas04/src/images/contentbg.png
344
+ - data/webgen/website_bundles/style/andreas04/src/images/entrybg.png
350
345
  - data/webgen/website_bundles/style/andreas04/src/images/flash.gif
351
- - data/webgen/website_bundles/style/andreas04/src/images/globebottom.gif
346
+ - data/webgen/website_bundles/style/andreas04/src/images/flash2.gif
352
347
  - data/webgen/website_bundles/style/andreas04/src/images/globe.gif
353
- - data/webgen/website_bundles/style/andreas04/src/images/menuhover.png
348
+ - data/webgen/website_bundles/style/andreas04/src/images/globebottom.gif
354
349
  - data/webgen/website_bundles/style/andreas04/src/images/linkarrow.gif
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
359
- - data/webgen/website_bundles/style/andreas04/src/images/blinkarrow.gif
360
- - data/webgen/website_bundles/style/andreas04/src/default.css
361
- - data/webgen/website_bundles/style/andreas04/src/default.template
350
+ - data/webgen/website_bundles/style/andreas04/src/images/menuhover.png
351
+ - data/webgen/website_bundles/style/andreas05/README
352
+ - data/webgen/website_bundles/style/andreas05/src/default.css
353
+ - data/webgen/website_bundles/style/andreas05/src/default.template
354
+ - data/webgen/website_bundles/style/andreas05/src/images/bodybg.gif
355
+ - data/webgen/website_bundles/style/andreas05/src/images/front.png
362
356
  - data/webgen/website_bundles/style/andreas06/README
357
+ - data/webgen/website_bundles/style/andreas06/src/default.css
358
+ - data/webgen/website_bundles/style/andreas06/src/default.template
359
+ - data/webgen/website_bundles/style/andreas06/src/images/bodybg.gif
360
+ - data/webgen/website_bundles/style/andreas06/src/images/boxbg.gif
363
361
  - data/webgen/website_bundles/style/andreas06/src/images/greypx.gif
364
362
  - data/webgen/website_bundles/style/andreas06/src/images/header.jpg
365
- - data/webgen/website_bundles/style/andreas06/src/images/tabs.gif
366
363
  - data/webgen/website_bundles/style/andreas06/src/images/innerbg.gif
367
364
  - 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
370
- - data/webgen/website_bundles/style/andreas06/src/default.css
371
- - data/webgen/website_bundles/style/andreas06/src/default.template
365
+ - data/webgen/website_bundles/style/andreas06/src/images/tabs.gif
372
366
  - 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
367
  - data/webgen/website_bundles/style/andreas07/src/browserfix.css
368
+ - data/webgen/website_bundles/style/andreas07/src/default.css
377
369
  - 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
381
- - data/webgen/passive_sources/images/webgen_logo.png
382
- - data/webgen/passive_sources/images/generated_by_webgen.png
383
- - data/webgen/passive_sources/templates/sitemap.template
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
370
+ - data/webgen/website_bundles/style/andreas07/src/images/bodybg.gif
371
+ - data/webgen/website_bundles/style/andreas07/src/images/sidebarbg.gif
372
+ - data/webgen/website_bundles/style/andreas08/README
373
+ - data/webgen/website_bundles/style/andreas08/src/default.css
374
+ - data/webgen/website_bundles/style/andreas08/src/default.template
375
+ - data/webgen/website_bundles/style/andreas09/README
376
+ - data/webgen/website_bundles/style/andreas09/src/default.css
377
+ - data/webgen/website_bundles/style/andreas09/src/default.template
378
+ - data/webgen/website_bundles/style/andreas09/src/images/bodybg-black.jpg
379
+ - data/webgen/website_bundles/style/andreas09/src/images/bodybg-green.jpg
380
+ - data/webgen/website_bundles/style/andreas09/src/images/bodybg-orange.jpg
381
+ - data/webgen/website_bundles/style/andreas09/src/images/bodybg-purple.jpg
382
+ - data/webgen/website_bundles/style/andreas09/src/images/bodybg-red.jpg
383
+ - data/webgen/website_bundles/style/andreas09/src/images/bodybg.jpg
384
+ - data/webgen/website_bundles/style/andreas09/src/images/footerbg.jpg
385
+ - data/webgen/website_bundles/style/andreas09/src/images/menuhover-black.jpg
386
+ - data/webgen/website_bundles/style/andreas09/src/images/menuhover-green.jpg
387
+ - data/webgen/website_bundles/style/andreas09/src/images/menuhover-orange.jpg
388
+ - data/webgen/website_bundles/style/andreas09/src/images/menuhover-purple.jpg
389
+ - data/webgen/website_bundles/style/andreas09/src/images/menuhover-red.jpg
390
+ - data/webgen/website_bundles/style/andreas09/src/images/menuhover.jpg
391
+ - data/webgen/website_bundles/style/simple/README
392
+ - data/webgen/website_bundles/style/simple/src/default.css
393
+ - data/webgen/website_bundles/style/simple/src/default.template
394
+ - lib/webgen/blackboard.rb
393
395
  - lib/webgen/bundle/built-in-show-changes/init.rb
394
396
  - 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
403
- - lib/webgen/tree.rb
404
- - lib/webgen/extension_manager.rb
405
- - lib/webgen/source.rb
406
- - lib/webgen/context.rb
407
- - lib/webgen/version.rb
408
- - lib/webgen/languages.rb
409
- - lib/webgen/error.rb
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
397
+ - lib/webgen/bundle_loader.rb
398
+ - lib/webgen/cache.rb
399
+ - lib/webgen/cli.rb
400
+ - lib/webgen/cli/bundle_command.rb
401
+ - lib/webgen/cli/create_bundle_command.rb
418
402
  - lib/webgen/cli/create_command.rb
419
403
  - lib/webgen/cli/generate_command.rb
420
- - lib/webgen/cli/show_config_command.rb
421
404
  - lib/webgen/cli/install_bundle_command.rb
422
405
  - lib/webgen/cli/list_bundle_command.rb
406
+ - lib/webgen/cli/logger.rb
407
+ - lib/webgen/cli/show_command.rb
408
+ - lib/webgen/cli/show_config_command.rb
423
409
  - lib/webgen/cli/show_dependencies_command.rb
424
- - lib/webgen/cli/bundle_command.rb
425
410
  - lib/webgen/cli/show_extensions_command.rb
426
- - lib/webgen/cli/create_bundle_command.rb
427
- - lib/webgen/source/tar_archive.rb
428
- - lib/webgen/source/stacked.rb
429
- - lib/webgen/source/file_system.rb
430
- - lib/webgen/website.rb
431
- - lib/webgen/item_tracker/node_content.rb
411
+ - lib/webgen/cli/show_tree_command.rb
412
+ - lib/webgen/cli/utils.rb
413
+ - lib/webgen/configuration.rb
414
+ - lib/webgen/content_processor.rb
415
+ - lib/webgen/content_processor/blocks.rb
416
+ - lib/webgen/content_processor/builder.rb
417
+ - lib/webgen/content_processor/erb.rb
418
+ - lib/webgen/content_processor/erubis.rb
419
+ - lib/webgen/content_processor/fragments.rb
420
+ - lib/webgen/content_processor/haml.rb
421
+ - lib/webgen/content_processor/html_head.rb
422
+ - lib/webgen/content_processor/kramdown.rb
423
+ - lib/webgen/content_processor/maruku.rb
424
+ - lib/webgen/content_processor/r_discount.rb
425
+ - lib/webgen/content_processor/r_doc.rb
426
+ - lib/webgen/content_processor/red_cloth.rb
427
+ - lib/webgen/content_processor/ruby.rb
428
+ - lib/webgen/content_processor/sass.rb
429
+ - lib/webgen/content_processor/scss.rb
430
+ - lib/webgen/content_processor/tags.rb
431
+ - lib/webgen/content_processor/tidy.rb
432
+ - lib/webgen/content_processor/tikz.rb
433
+ - lib/webgen/content_processor/xmllint.rb
434
+ - lib/webgen/context.rb
435
+ - lib/webgen/context/html_head.rb
436
+ - lib/webgen/context/nodes.rb
437
+ - lib/webgen/context/rendering.rb
438
+ - lib/webgen/context/webgen_tags.rb
439
+ - lib/webgen/core_ext.rb
440
+ - lib/webgen/destination.rb
441
+ - lib/webgen/destination/file_system.rb
442
+ - lib/webgen/error.rb
443
+ - lib/webgen/extension_manager.rb
444
+ - lib/webgen/item_tracker.rb
432
445
  - lib/webgen/item_tracker/file.rb
433
- - lib/webgen/item_tracker/nodes.rb
434
- - lib/webgen/item_tracker/node_meta_info.rb
435
446
  - lib/webgen/item_tracker/missing_node.rb
436
- - lib/webgen/configuration.rb
437
- - lib/webgen/task.rb
438
- - lib/webgen/test_helper.rb
439
- - lib/webgen/path_handler/sitemap.rb
447
+ - lib/webgen/item_tracker/node_content.rb
448
+ - lib/webgen/item_tracker/node_meta_info.rb
449
+ - lib/webgen/item_tracker/nodes.rb
450
+ - lib/webgen/languages.rb
451
+ - lib/webgen/logger.rb
452
+ - lib/webgen/node.rb
453
+ - lib/webgen/node_finder.rb
454
+ - lib/webgen/page.rb
455
+ - lib/webgen/path.rb
456
+ - lib/webgen/path_handler.rb
440
457
  - lib/webgen/path_handler/base.rb
458
+ - lib/webgen/path_handler/copy.rb
441
459
  - lib/webgen/path_handler/directory.rb
442
- - lib/webgen/path_handler/template.rb
443
460
  - lib/webgen/path_handler/feed.rb
444
- - lib/webgen/path_handler/page_utils.rb
445
- - lib/webgen/path_handler/virtual.rb
446
461
  - lib/webgen/path_handler/meta_info.rb
447
- - lib/webgen/path_handler/copy.rb
448
462
  - lib/webgen/path_handler/page.rb
449
- - lib/webgen/tag/menu.rb
463
+ - lib/webgen/path_handler/page_utils.rb
464
+ - lib/webgen/path_handler/sitemap.rb
465
+ - lib/webgen/path_handler/template.rb
466
+ - lib/webgen/path_handler/virtual.rb
467
+ - lib/webgen/rake_task.rb
468
+ - lib/webgen/source.rb
469
+ - lib/webgen/source/file_system.rb
470
+ - lib/webgen/source/stacked.rb
471
+ - lib/webgen/source/tar_archive.rb
472
+ - lib/webgen/tag.rb
473
+ - lib/webgen/tag/breadcrumb_trail.rb
450
474
  - 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
475
  - lib/webgen/tag/date.rb
476
+ - lib/webgen/tag/execute_command.rb
477
+ - lib/webgen/tag/include_file.rb
478
+ - lib/webgen/tag/langbar.rb
457
479
  - lib/webgen/tag/link.rb
458
- - lib/webgen/tag/breadcrumb_trail.rb
480
+ - lib/webgen/tag/menu.rb
459
481
  - lib/webgen/tag/meta_info.rb
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
482
+ - lib/webgen/tag/relocatable.rb
483
+ - lib/webgen/tag/tikz.rb
484
+ - lib/webgen/task.rb
465
485
  - 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
486
+ - lib/webgen/task/create_website.rb
487
+ - lib/webgen/task/generate_website.rb
488
+ - lib/webgen/test_helper.rb
489
+ - lib/webgen/tree.rb
490
+ - lib/webgen/utils.rb
491
+ - lib/webgen/utils/external_command.rb
492
+ - lib/webgen/utils/tag_parser.rb
493
+ - lib/webgen/version.rb
494
+ - lib/webgen/website.rb
493
495
  - man/man1/webgen.1
494
496
  - 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
497
  - 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
498
+ - test/webgen/content_processor/test_blocks.rb
499
+ - test/webgen/content_processor/test_builder.rb
500
+ - test/webgen/content_processor/test_erb.rb
501
+ - test/webgen/content_processor/test_erubis.rb
502
+ - test/webgen/content_processor/test_fragments.rb
503
+ - test/webgen/content_processor/test_haml.rb
504
+ - test/webgen/content_processor/test_html_head.rb
505
+ - test/webgen/content_processor/test_kramdown.rb
506
+ - test/webgen/content_processor/test_maruku.rb
507
+ - test/webgen/content_processor/test_r_discount.rb
508
+ - test/webgen/content_processor/test_r_doc.rb
509
+ - test/webgen/content_processor/test_red_cloth.rb
510
+ - test/webgen/content_processor/test_ruby.rb
511
+ - test/webgen/content_processor/test_sass.rb
512
+ - test/webgen/content_processor/test_scss.rb
513
+ - test/webgen/content_processor/test_tags.rb
514
+ - test/webgen/content_processor/test_tidy.rb
515
+ - test/webgen/content_processor/test_tikz.rb
516
+ - test/webgen/content_processor/test_xmllint.rb
517
+ - test/webgen/destination/test_file_system.rb
516
518
  - test/webgen/item_tracker/test_file.rb
517
519
  - test/webgen/item_tracker/test_missing_node.rb
520
+ - test/webgen/item_tracker/test_node_content.rb
518
521
  - 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/item_tracker/test_nodes.rb
522
523
  - test/webgen/path_handler/test_base.rb
524
+ - test/webgen/path_handler/test_copy.rb
525
+ - test/webgen/path_handler/test_feed.rb
526
+ - test/webgen/path_handler/test_meta_info.rb
523
527
  - test/webgen/path_handler/test_page.rb
528
+ - test/webgen/path_handler/test_page_utils.rb
529
+ - test/webgen/path_handler/test_sitemap.rb
524
530
  - test/webgen/path_handler/test_template.rb
525
- - test/webgen/path_handler/test_feed.rb
526
- - test/webgen/path_handler/test_copy.rb
527
531
  - 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
532
+ - test/webgen/source/test_file_system.rb
533
+ - test/webgen/source/test_stacked.rb
534
+ - test/webgen/source/test_tar_archive.rb
535
+ - test/webgen/tag/test_breadcrumb_trail.rb
536
+ - test/webgen/tag/test_coderay.rb
537
+ - test/webgen/tag/test_date.rb
531
538
  - test/webgen/tag/test_execute_command.rb
532
- - test/webgen/tag/test_tikz.rb
533
539
  - test/webgen/tag/test_include_file.rb
534
540
  - test/webgen/tag/test_langbar.rb
535
- - test/webgen/tag/test_relocatable.rb
536
541
  - test/webgen/tag/test_link.rb
537
542
  - test/webgen/tag/test_menu.rb
538
- - test/webgen/tag/test_date.rb
539
- - test/webgen/tag/test_coderay.rb
540
543
  - 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/tag/test_relocatable.rb
545
+ - test/webgen/tag/test_tikz.rb
546
+ - test/webgen/task/test_create_website.rb
544
547
  - test/webgen/test_blackboard.rb
545
- - test/webgen/test_languages.rb
548
+ - test/webgen/test_bundle_loader.rb
546
549
  - test/webgen/test_cache.rb
550
+ - test/webgen/test_cli.rb
551
+ - test/webgen/test_configuration.rb
552
+ - test/webgen/test_content_processor.rb
547
553
  - test/webgen/test_context.rb
548
- - test/webgen/task/test_create_website.rb
554
+ - test/webgen/test_core_ext.rb
555
+ - test/webgen/test_destination.rb
556
+ - test/webgen/test_error.rb
557
+ - test/webgen/test_extension_manager.rb
558
+ - test/webgen/test_item_tracker.rb
559
+ - test/webgen/test_languages.rb
560
+ - test/webgen/test_logger.rb
561
+ - test/webgen/test_node.rb
562
+ - test/webgen/test_node_finder.rb
563
+ - test/webgen/test_page.rb
564
+ - test/webgen/test_path.rb
565
+ - test/webgen/test_rake_task.rb
566
+ - test/webgen/test_source.rb
567
+ - test/webgen/test_tag.rb
568
+ - test/webgen/test_task.rb
549
569
  - 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
570
+ - test/webgen/test_utils.rb
569
571
  - test/webgen/test_website.rb
570
- - test/webgen/test_extension_manager.rb
572
+ - test/webgen/utils/test_tag_parser.rb
571
573
  homepage: http://webgen.rubyforge.org
572
574
  licenses: []
573
575
  post_install_message: ! '