webgen 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +14 -6
- data/TODO +1 -0
- data/VERSION +1 -1
- data/data/webgen/gallery-creator/default.png +0 -0
- data/doc/src/index.page +4 -0
- data/install.rb +1 -1
- data/lib/webgen.rb +4 -2
- data/lib/webgen/composite.rb +1 -1
- data/lib/webgen/listener.rb +1 -1
- data/lib/webgen/node.rb +1 -1
- data/lib/webgen/plugin.rb +1 -1
- data/lib/webgen/plugins/contenthandlers/default.rb +1 -1
- data/lib/webgen/plugins/contenthandlers/html.rb +1 -1
- data/lib/webgen/plugins/contenthandlers/markdown.rb +1 -1
- data/lib/webgen/plugins/contenthandlers/rdoc.rb +1 -1
- data/lib/webgen/plugins/contenthandlers/textile.rb +1 -1
- data/lib/webgen/plugins/coreplugins/configuration.rb +2 -2
- data/lib/webgen/plugins/coreplugins/logging.rb +1 -1
- data/lib/webgen/plugins/coreplugins/resourcemanager.rb +1 -1
- data/lib/webgen/plugins/filehandlers/backing.rb +1 -1
- data/lib/webgen/plugins/filehandlers/copy.rb +1 -1
- data/lib/webgen/plugins/filehandlers/directory.rb +1 -1
- data/lib/webgen/plugins/filehandlers/filehandler.rb +1 -1
- data/lib/webgen/plugins/filehandlers/gallery.rb +4 -2
- data/lib/webgen/plugins/filehandlers/page.rb +1 -1
- data/lib/webgen/plugins/filehandlers/template.rb +1 -1
- data/lib/webgen/plugins/gallerylayouters/default.rb +1 -1
- data/lib/webgen/plugins/htmlvalidators/default.rb +1 -1
- data/lib/webgen/plugins/htmlvalidators/xmllint.rb +1 -1
- data/lib/webgen/plugins/menustyles/default.rb +1 -1
- data/lib/webgen/plugins/menustyles/horizontal.rb +1 -1
- data/lib/webgen/plugins/menustyles/horizontal_dropdown.rb +1 -1
- data/lib/webgen/plugins/menustyles/partial.rb +1 -1
- data/lib/webgen/plugins/menustyles/vertical.rb +1 -1
- data/lib/webgen/plugins/menustyles/vertical_dropdown.rb +1 -1
- data/lib/webgen/plugins/miscplugins/smileyreplacer.rb +1 -1
- data/lib/webgen/plugins/miscplugins/treewalker.rb +1 -1
- data/lib/webgen/plugins/tags/breadcrumbtrail.rb +1 -1
- data/lib/webgen/plugins/tags/date.rb +1 -1
- data/lib/webgen/plugins/tags/download.rb +1 -1
- data/lib/webgen/plugins/tags/executecommand.rb +1 -1
- data/lib/webgen/plugins/tags/includefile.rb +1 -1
- data/lib/webgen/plugins/tags/langbar.rb +1 -1
- data/lib/webgen/plugins/tags/menu.rb +1 -1
- data/lib/webgen/plugins/tags/meta.rb +1 -1
- data/lib/webgen/plugins/tags/relocatable.rb +1 -1
- data/lib/webgen/plugins/tags/sitemap.rb +1 -1
- data/lib/webgen/plugins/tags/tags.rb +1 -1
- data/lib/webgen/plugins/tags/wikilink.rb +1 -1
- metadata +313 -312
data/ChangeLog
CHANGED
@@ -1,10 +1,18 @@
|
|
1
1
|
------------------------------------------------------------------------
|
2
|
-
|
3
|
-
Changed paths:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
r369 | thomas | 2005-12-24 12:37:40 +0100 (Sat, 24 Dec 2005) | 1 line
|
3
|
+
Changed paths:
|
4
|
+
A /versions/webgen-0.3.8 (from /trunk/webgen:360)
|
5
|
+
R /versions/webgen-0.3.8/TODO (from /trunk/webgen/TODO:368)
|
6
|
+
R /versions/webgen-0.3.8/data/webgen/gallery-creator/default.png (from /trunk/webgen/data/webgen/gallery-creator/default.png:366)
|
7
|
+
R /versions/webgen-0.3.8/doc/src/index.page (from /trunk/webgen/doc/src/index.page:368)
|
8
|
+
R /versions/webgen-0.3.8/lib/webgen/plugins/coreplugins/configuration.rb (from /trunk/webgen/lib/webgen/plugins/coreplugins/configuration.rb:368)
|
9
|
+
R /versions/webgen-0.3.8/lib/webgen/plugins/filehandlers/gallery.rb (from /trunk/webgen/lib/webgen/plugins/filehandlers/gallery.rb:368)
|
10
|
+
R /versions/webgen-0.3.8/lib/webgen.rb (from /trunk/webgen/lib/webgen.rb:368)
|
11
|
+
R /versions/webgen-0.3.8/otherdata/web-for-gallery-pics/create_pictures.rb (from /trunk/webgen/otherdata/web-for-gallery-pics/create_pictures.rb:366)
|
12
|
+
R /versions/webgen-0.3.8/otherdata/web-for-gallery-pics/plugin/gallery.rb (from /trunk/webgen/otherdata/web-for-gallery-pics/plugin/gallery.rb:366)
|
13
|
+
R /versions/webgen-0.3.8/otherdata/web-for-gallery-pics/src/gallery.sample (from /trunk/webgen/otherdata/web-for-gallery-pics/src/gallery.sample:366)
|
14
|
+
|
15
|
+
* added version 0.3.8 of webgen
|
8
16
|
------------------------------------------------------------------------
|
9
17
|
r360 | thomas | 2005-11-02 09:24:26 +0100 (Wed, 02 Nov 2005) | 5 lines
|
10
18
|
Changed paths:
|
data/TODO
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
---- CURRENT ----
|
2
2
|
|
3
|
+
* BUG command clean does not delete all files (e.g. no resources, other files generated by plugins [source plugin])
|
3
4
|
* show available styles and templates in docu and in online help (webgen help create)
|
4
5
|
* think about plugin system, @@config etc - should work from within webgen-gui, not only once from webgen
|
5
6
|
* make webgen source installation work with correct cmdparse version
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.8
|
Binary file
|
data/doc/src/index.page
CHANGED
data/install.rb
CHANGED
data/lib/webgen.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
#--
|
3
3
|
#
|
4
|
-
# $Id: webgen.rb
|
4
|
+
# $Id: webgen.rb 369 2005-12-24 11:37:40Z thomas $
|
5
5
|
#
|
6
6
|
# webgen: template based static website generator
|
7
7
|
# Copyright (C) 2004 Thomas Leitner
|
@@ -70,7 +70,7 @@ module Webgen
|
|
70
70
|
end
|
71
71
|
|
72
72
|
def usage
|
73
|
-
"Usage: #{commandparser.program_name} [global options] create DIR"
|
73
|
+
"Usage: #{commandparser.program_name} [global options] create [options] DIR"
|
74
74
|
end
|
75
75
|
|
76
76
|
def execute( args )
|
@@ -100,6 +100,8 @@ module Webgen
|
|
100
100
|
self.send( func, list, options.merge( :verbose => true ) )
|
101
101
|
end
|
102
102
|
|
103
|
+
module_function :ask_before_delete
|
104
|
+
|
103
105
|
end
|
104
106
|
|
105
107
|
class CleanWalker < Webgen::Plugin
|
data/lib/webgen/composite.rb
CHANGED
data/lib/webgen/listener.rb
CHANGED
data/lib/webgen/node.rb
CHANGED
data/lib/webgen/plugin.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
#--
|
3
3
|
#
|
4
|
-
# $Id: configuration.rb
|
4
|
+
# $Id: configuration.rb 369 2005-12-24 11:37:40Z thomas $
|
5
5
|
#
|
6
6
|
# webgen: template based static website generator
|
7
7
|
# Copyright (C) 2004 Thomas Leitner
|
@@ -38,7 +38,7 @@ end
|
|
38
38
|
|
39
39
|
module Webgen
|
40
40
|
|
41
|
-
VERSION = [0, 3,
|
41
|
+
VERSION = [0, 3, 8]
|
42
42
|
SUMMARY = "Webgen is a templated based static website generator."
|
43
43
|
DESCRIPTION = "Webgen is a web page generator implemented in Ruby. " \
|
44
44
|
"It is used to generate static web pages from templates and page " \
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
#--
|
3
3
|
#
|
4
|
-
# $Id: gallery.rb
|
4
|
+
# $Id: gallery.rb 369 2005-12-24 11:37:40Z thomas $
|
5
5
|
#
|
6
6
|
# webgen: template based static website generator
|
7
7
|
# Copyright (C) 2004 Thomas Leitner
|
@@ -82,7 +82,9 @@ module FileHandlers
|
|
82
82
|
|
83
83
|
def call_layouter( type, metainfo, *args )
|
84
84
|
content = Webgen::Plugin['DefaultGalleryLayouter'].get_layout( get_param( 'layout' ) ).send( type.to_s, *args )
|
85
|
-
|
85
|
+
temp = metainfo.to_yaml
|
86
|
+
temp = "---\n" + temp unless /^---\s$/ =~ temp
|
87
|
+
"#{temp}\n---\n#{content}"
|
86
88
|
end
|
87
89
|
|
88
90
|
def create_gallery( images, parent )
|