webgen 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +16 -16
- data/VERSION +1 -1
- data/lib/webgen/bundle/built-in/info.yaml +20 -1
- data/lib/webgen/bundle/built-in/init.rb +4 -1
- data/lib/webgen/cli.rb +1 -1
- data/lib/webgen/cli/commands/generate.rb +2 -2
- data/lib/webgen/path_handler/feed.rb +2 -2
- data/lib/webgen/tag/date.rb +15 -1
- data/lib/webgen/tag/menu.rb +2 -1
- data/lib/webgen/version.rb +1 -1
- data/test/webgen/path_handler/test_feed.rb +5 -0
- data/test/webgen/tag/test_date.rb +5 -0
- metadata +81 -75
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 752984a6bcdf000d963941ddd4c32f9703361a5d
|
4
|
+
data.tar.gz: 6ec75a97844417d5bfcce8c6b9fcf9efae0a6b0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3810ef988115522a56d71c49bd24697c598e1d10640427de278f033f10ccd25a7b2571675d947f66f9aa310c2be53dfeec64fe31d691f4e6eb631b32a331d937
|
7
|
+
data.tar.gz: 69051fc7a5f18bb19dc1bc3573dea799ecd3c0283819dc9be7d9ac2948b4ab545854d448aa90a6af4381dcd6472a9f3c2846de70b89d6ef27cf12a06fb48b7fc
|
data/Rakefile
CHANGED
@@ -112,23 +112,23 @@ EOF
|
|
112
112
|
|
113
113
|
s.required_ruby_version = '>= 1.9.3'
|
114
114
|
|
115
|
-
s.add_dependency('cmdparse', '>= 2.0.5')
|
116
|
-
s.add_dependency('systemu', '
|
117
|
-
s.add_dependency('kramdown', '~> 1.
|
115
|
+
s.add_dependency('cmdparse', '~> 2.0', '>= 2.0.5')
|
116
|
+
s.add_dependency('systemu', '~> 2.5')
|
117
|
+
s.add_dependency('kramdown', '~> 1.3')
|
118
118
|
s.add_development_dependency('rake', '>= 0.8.3')
|
119
|
-
s.add_development_dependency('minitest', '
|
120
|
-
s.add_development_dependency('diff-lcs', '
|
121
|
-
s.add_development_dependency('rubyforge', '
|
122
|
-
s.add_development_dependency('maruku', '
|
123
|
-
s.add_development_dependency('RedCloth', '
|
124
|
-
s.add_development_dependency('haml', '
|
125
|
-
s.add_development_dependency('sass', '
|
126
|
-
s.add_development_dependency('builder', '
|
127
|
-
s.add_development_dependency('rdoc', '
|
128
|
-
s.add_development_dependency('coderay', '
|
129
|
-
s.add_development_dependency('erubis', '
|
130
|
-
s.add_development_dependency('rdiscount', '
|
131
|
-
s.add_development_dependency('archive-tar-minitar', '
|
119
|
+
s.add_development_dependency('minitest', '~> 5.0')
|
120
|
+
s.add_development_dependency('diff-lcs', '~> 1.0')
|
121
|
+
s.add_development_dependency('rubyforge', '~> 2.0')
|
122
|
+
s.add_development_dependency('maruku', '~> 0.7')
|
123
|
+
s.add_development_dependency('RedCloth', '~> 4.1')
|
124
|
+
s.add_development_dependency('haml', '~> 4.0')
|
125
|
+
s.add_development_dependency('sass', '~> 3.2')
|
126
|
+
s.add_development_dependency('builder', '~> 2.1')
|
127
|
+
s.add_development_dependency('rdoc', '~> 4.0')
|
128
|
+
s.add_development_dependency('coderay', '~> 1.0')
|
129
|
+
s.add_development_dependency('erubis', '~> 2.6')
|
130
|
+
s.add_development_dependency('rdiscount', '~> 1.3')
|
131
|
+
s.add_development_dependency('archive-tar-minitar', '~> 0.5')
|
132
132
|
|
133
133
|
s.files = PKG_FILES.to_a
|
134
134
|
s.require_path = 'lib'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -706,6 +706,15 @@ options:
|
|
706
706
|
tag: |
|
707
707
|
{date: {format: '%Y-%m-%d'}}
|
708
708
|
|
709
|
+
tag.date.mi:
|
710
|
+
summary: |
|
711
|
+
The name of the meta information key (a date/time) which should be formatted.
|
712
|
+
syntax: |
|
713
|
+
`KEY` where `KEY` is the name of a meta information key
|
714
|
+
example:
|
715
|
+
tag: |
|
716
|
+
{date: {mi: modified_at, format: '%Y-%m-%d'}}
|
717
|
+
|
709
718
|
tag.execute_command.command:
|
710
719
|
summary: |
|
711
720
|
The command that should be executed.
|
@@ -948,6 +957,16 @@ options:
|
|
948
957
|
tag: |
|
949
958
|
{menu: {options: {mi: {menu: true}}, template: /other.template}}
|
950
959
|
|
960
|
+
tag.menu.tracking_style:
|
961
|
+
summary: |
|
962
|
+
Specifies which kind of information should be tracked by the 'nodes' item tracker
|
963
|
+
syntax: |
|
964
|
+
`STYLE` where `STYLE` is 'meta_info' (if only changed meta information should be tracked) or
|
965
|
+
'content' (if the content should be tracked)
|
966
|
+
example:
|
967
|
+
tag: |
|
968
|
+
{menu: {options: {in_menu: true, sort: sort_info}, tracking_style: content}}
|
969
|
+
|
951
970
|
tag.meta_info.escape_html:
|
952
971
|
summary: |
|
953
972
|
Specifies whether special HTML characters in the meta information value should be escaped.
|
@@ -1057,7 +1076,7 @@ options:
|
|
1057
1076
|
website.link_to_current_page:
|
1058
1077
|
summary:
|
1059
1078
|
Specifies whether generated links to the current page should be used. If `false`, then a
|
1060
|
-
`<span>` element is used instead of
|
1079
|
+
`<span>` element is used instead of an `<a>` element.
|
1061
1080
|
syntax: |
|
1062
1081
|
`true` or `false`.
|
1063
1082
|
example:
|
@@ -259,6 +259,7 @@ option('tag.prefix', '', &is_string)
|
|
259
259
|
|
260
260
|
tag.register('Date')
|
261
261
|
option('tag.date.format', '%Y-%m-%d %H:%M:%S', &is_string)
|
262
|
+
option('tag.date.mi', nil, &is_string)
|
262
263
|
|
263
264
|
tag.register('MetaInfo', :names => ['meta_info', :default])
|
264
265
|
option('tag.meta_info.escape_html', true, &true_or_false)
|
@@ -330,7 +331,9 @@ option('tag.menu.item_level_class', 'webgen-menu-level')
|
|
330
331
|
option('tag.menu.item_submenu_class', 'webgen-menu-submenu')
|
331
332
|
option('tag.menu.item_submenu_inhierarchy_class', 'webgen-menu-submenu-inhierarchy')
|
332
333
|
option('tag.menu.item_selected_class', 'webgen-menu-item-selected')
|
333
|
-
|
334
|
+
option('tag.menu.tracking_style', 'meta_info') do |val|
|
335
|
+
val.to_s.intern
|
336
|
+
end
|
334
337
|
|
335
338
|
########################################################################
|
336
339
|
# Everything related to the task extension
|
data/lib/webgen/cli.rb
CHANGED
@@ -39,14 +39,14 @@ EOF
|
|
39
39
|
abort = false
|
40
40
|
old_paths = []
|
41
41
|
dirs = "{" << commandparser.website.config['sources'].map do |mp, type, *args|
|
42
|
-
type == :file_system ? File.join(args[0], args[1] || '**/*') : nil
|
42
|
+
type == :file_system ? File.join(commandparser.website.directory, args[0], args[1] || '**/*') : nil
|
43
43
|
end.compact.join(',') << "}"
|
44
44
|
|
45
45
|
Signal.trap('INT') {abort = true}
|
46
46
|
|
47
47
|
while !abort
|
48
48
|
paths = Dir[dirs].sort
|
49
|
-
if old_paths != paths || paths.any? {|p| File.mtime(p) > time}
|
49
|
+
if old_paths != paths || paths.any? {|p| File.file?(p) && File.mtime(p) > time}
|
50
50
|
begin
|
51
51
|
commandparser.website(true).execute_task(:generate_website)
|
52
52
|
rescue Webgen::Error => e
|
@@ -70,8 +70,8 @@ module Webgen
|
|
70
70
|
end
|
71
71
|
|
72
72
|
path.ext = path['version']
|
73
|
-
path['dest_path']
|
74
|
-
path['cn']
|
73
|
+
path['dest_path'] ||= '<parent><basename>(.<lang>)<ext>'
|
74
|
+
path['cn'] ||= '<basename><ext>'
|
75
75
|
path['node_class'] = Node.to_s
|
76
76
|
create_node(path) do |node|
|
77
77
|
set_blocks(node, blocks)
|
data/lib/webgen/tag/date.rb
CHANGED
@@ -9,7 +9,21 @@ module Webgen
|
|
9
9
|
|
10
10
|
# Return the current date formatted as specified.
|
11
11
|
def self.call(tag, body, context)
|
12
|
-
|
12
|
+
key = context[:config]['tag.date.mi']
|
13
|
+
val = context.content_node[key]
|
14
|
+
|
15
|
+
if val && val.respond_to?(:strftime)
|
16
|
+
time = val
|
17
|
+
elsif val
|
18
|
+
raise Webgen::RenderError.new("Value of meta information key '#{key}' not a valid date/time",
|
19
|
+
"tag.date", context.dest_node, context.ref_node)
|
20
|
+
elsif key
|
21
|
+
raise Webgen::RenderError.new("No meta information key '#{key}' found",
|
22
|
+
"tag.date", context.dest_node, context.ref_node)
|
23
|
+
else
|
24
|
+
time = Time.now
|
25
|
+
end
|
26
|
+
time.strftime(context[:config]['tag.date.format'])
|
13
27
|
end
|
14
28
|
|
15
29
|
end
|
data/lib/webgen/tag/menu.rb
CHANGED
@@ -15,7 +15,8 @@ module Webgen
|
|
15
15
|
|
16
16
|
context[:nodes] = context.website.ext.node_finder.find(options, context.content_node)
|
17
17
|
context.website.ext.item_tracker.add(context.dest_node, :nodes, :node_finder_option_set,
|
18
|
-
{:opts => options, :ref_alcn => context.content_node.alcn},
|
18
|
+
{:opts => options, :ref_alcn => context.content_node.alcn},
|
19
|
+
context[:config]['tag.menu.tracking_style'])
|
19
20
|
|
20
21
|
if context[:nodes].empty?
|
21
22
|
''
|
data/lib/webgen/version.rb
CHANGED
@@ -62,6 +62,11 @@ EOF
|
|
62
62
|
path = Webgen::Path.new('/test_feed_2') { StringIO.new("---\nunknow: yes") }
|
63
63
|
@feed.create_nodes(path, 'unused')
|
64
64
|
end
|
65
|
+
|
66
|
+
@path['version'] = 'atom'
|
67
|
+
@path['cn'] = 'atom.xml'
|
68
|
+
atom_node = @feed.create_nodes(@path.dup, @path_blocks)
|
69
|
+
assert_equal('atom.xml', atom_node.cn)
|
65
70
|
end
|
66
71
|
|
67
72
|
def test_content
|
@@ -10,9 +10,14 @@ class TestTagDate < Minitest::Test
|
|
10
10
|
|
11
11
|
def test_call
|
12
12
|
context = setup_context
|
13
|
+
time = Time.now
|
13
14
|
context[:config] = {'tag.date.format' => '%Y%m%d'}
|
15
|
+
context[:chain] = [Webgen::Node.new(@website.tree.dummy_root, '/', '/', 'created_at' => time)]
|
14
16
|
|
15
17
|
assert_equal(Time.now.strftime("%Y%m%d"), Webgen::Tag::Date.call('date', '', context))
|
18
|
+
|
19
|
+
context[:config]['tag.date.mi'] = 'created_at'
|
20
|
+
assert_equal(time.strftime("%Y%m%d"), Webgen::Tag::Date.call('date', '', context))
|
16
21
|
end
|
17
22
|
|
18
23
|
end
|
metadata
CHANGED
@@ -1,253 +1,259 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Leitner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cmdparse
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 2.0.5
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.0'
|
30
|
+
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 2.0.5
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: systemu
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- -
|
37
|
+
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.5
|
39
|
+
version: '2.5'
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- -
|
44
|
+
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.5
|
46
|
+
version: '2.5'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: kramdown
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - ~>
|
51
|
+
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
53
|
+
version: '1.3'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- - ~>
|
58
|
+
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
60
|
+
version: '1.3'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: rake
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
|
-
- -
|
65
|
+
- - ">="
|
60
66
|
- !ruby/object:Gem::Version
|
61
67
|
version: 0.8.3
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
|
-
- -
|
72
|
+
- - ">="
|
67
73
|
- !ruby/object:Gem::Version
|
68
74
|
version: 0.8.3
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: minitest
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- -
|
79
|
+
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 5.0
|
81
|
+
version: '5.0'
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
|
-
- -
|
86
|
+
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 5.0
|
88
|
+
version: '5.0'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: diff-lcs
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
|
-
- -
|
93
|
+
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
95
|
+
version: '1.0'
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
|
-
- -
|
100
|
+
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
102
|
+
version: '1.0'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: rubyforge
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
|
-
- -
|
107
|
+
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.0
|
109
|
+
version: '2.0'
|
104
110
|
type: :development
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
|
-
- -
|
114
|
+
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.0
|
116
|
+
version: '2.0'
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
118
|
name: maruku
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
114
120
|
requirements:
|
115
|
-
- -
|
121
|
+
- - "~>"
|
116
122
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
123
|
+
version: '0.7'
|
118
124
|
type: :development
|
119
125
|
prerelease: false
|
120
126
|
version_requirements: !ruby/object:Gem::Requirement
|
121
127
|
requirements:
|
122
|
-
- -
|
128
|
+
- - "~>"
|
123
129
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
130
|
+
version: '0.7'
|
125
131
|
- !ruby/object:Gem::Dependency
|
126
132
|
name: RedCloth
|
127
133
|
requirement: !ruby/object:Gem::Requirement
|
128
134
|
requirements:
|
129
|
-
- -
|
135
|
+
- - "~>"
|
130
136
|
- !ruby/object:Gem::Version
|
131
|
-
version: 4.1
|
137
|
+
version: '4.1'
|
132
138
|
type: :development
|
133
139
|
prerelease: false
|
134
140
|
version_requirements: !ruby/object:Gem::Requirement
|
135
141
|
requirements:
|
136
|
-
- -
|
142
|
+
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
|
-
version: 4.1
|
144
|
+
version: '4.1'
|
139
145
|
- !ruby/object:Gem::Dependency
|
140
146
|
name: haml
|
141
147
|
requirement: !ruby/object:Gem::Requirement
|
142
148
|
requirements:
|
143
|
-
- -
|
149
|
+
- - "~>"
|
144
150
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
151
|
+
version: '4.0'
|
146
152
|
type: :development
|
147
153
|
prerelease: false
|
148
154
|
version_requirements: !ruby/object:Gem::Requirement
|
149
155
|
requirements:
|
150
|
-
- -
|
156
|
+
- - "~>"
|
151
157
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
158
|
+
version: '4.0'
|
153
159
|
- !ruby/object:Gem::Dependency
|
154
160
|
name: sass
|
155
161
|
requirement: !ruby/object:Gem::Requirement
|
156
162
|
requirements:
|
157
|
-
- -
|
163
|
+
- - "~>"
|
158
164
|
- !ruby/object:Gem::Version
|
159
|
-
version: 3.2
|
165
|
+
version: '3.2'
|
160
166
|
type: :development
|
161
167
|
prerelease: false
|
162
168
|
version_requirements: !ruby/object:Gem::Requirement
|
163
169
|
requirements:
|
164
|
-
- -
|
170
|
+
- - "~>"
|
165
171
|
- !ruby/object:Gem::Version
|
166
|
-
version: 3.2
|
172
|
+
version: '3.2'
|
167
173
|
- !ruby/object:Gem::Dependency
|
168
174
|
name: builder
|
169
175
|
requirement: !ruby/object:Gem::Requirement
|
170
176
|
requirements:
|
171
|
-
- -
|
177
|
+
- - "~>"
|
172
178
|
- !ruby/object:Gem::Version
|
173
|
-
version: 2.1
|
179
|
+
version: '2.1'
|
174
180
|
type: :development
|
175
181
|
prerelease: false
|
176
182
|
version_requirements: !ruby/object:Gem::Requirement
|
177
183
|
requirements:
|
178
|
-
- -
|
184
|
+
- - "~>"
|
179
185
|
- !ruby/object:Gem::Version
|
180
|
-
version: 2.1
|
186
|
+
version: '2.1'
|
181
187
|
- !ruby/object:Gem::Dependency
|
182
188
|
name: rdoc
|
183
189
|
requirement: !ruby/object:Gem::Requirement
|
184
190
|
requirements:
|
185
|
-
- -
|
191
|
+
- - "~>"
|
186
192
|
- !ruby/object:Gem::Version
|
187
193
|
version: '4.0'
|
188
194
|
type: :development
|
189
195
|
prerelease: false
|
190
196
|
version_requirements: !ruby/object:Gem::Requirement
|
191
197
|
requirements:
|
192
|
-
- -
|
198
|
+
- - "~>"
|
193
199
|
- !ruby/object:Gem::Version
|
194
200
|
version: '4.0'
|
195
201
|
- !ruby/object:Gem::Dependency
|
196
202
|
name: coderay
|
197
203
|
requirement: !ruby/object:Gem::Requirement
|
198
204
|
requirements:
|
199
|
-
- -
|
205
|
+
- - "~>"
|
200
206
|
- !ruby/object:Gem::Version
|
201
|
-
version: 1.0
|
207
|
+
version: '1.0'
|
202
208
|
type: :development
|
203
209
|
prerelease: false
|
204
210
|
version_requirements: !ruby/object:Gem::Requirement
|
205
211
|
requirements:
|
206
|
-
- -
|
212
|
+
- - "~>"
|
207
213
|
- !ruby/object:Gem::Version
|
208
|
-
version: 1.0
|
214
|
+
version: '1.0'
|
209
215
|
- !ruby/object:Gem::Dependency
|
210
216
|
name: erubis
|
211
217
|
requirement: !ruby/object:Gem::Requirement
|
212
218
|
requirements:
|
213
|
-
- -
|
219
|
+
- - "~>"
|
214
220
|
- !ruby/object:Gem::Version
|
215
|
-
version: 2.6
|
221
|
+
version: '2.6'
|
216
222
|
type: :development
|
217
223
|
prerelease: false
|
218
224
|
version_requirements: !ruby/object:Gem::Requirement
|
219
225
|
requirements:
|
220
|
-
- -
|
226
|
+
- - "~>"
|
221
227
|
- !ruby/object:Gem::Version
|
222
|
-
version: 2.6
|
228
|
+
version: '2.6'
|
223
229
|
- !ruby/object:Gem::Dependency
|
224
230
|
name: rdiscount
|
225
231
|
requirement: !ruby/object:Gem::Requirement
|
226
232
|
requirements:
|
227
|
-
- -
|
233
|
+
- - "~>"
|
228
234
|
- !ruby/object:Gem::Version
|
229
|
-
version: 1.3
|
235
|
+
version: '1.3'
|
230
236
|
type: :development
|
231
237
|
prerelease: false
|
232
238
|
version_requirements: !ruby/object:Gem::Requirement
|
233
239
|
requirements:
|
234
|
-
- -
|
240
|
+
- - "~>"
|
235
241
|
- !ruby/object:Gem::Version
|
236
|
-
version: 1.3
|
242
|
+
version: '1.3'
|
237
243
|
- !ruby/object:Gem::Dependency
|
238
244
|
name: archive-tar-minitar
|
239
245
|
requirement: !ruby/object:Gem::Requirement
|
240
246
|
requirements:
|
241
|
-
- -
|
247
|
+
- - "~>"
|
242
248
|
- !ruby/object:Gem::Version
|
243
|
-
version: 0.5
|
249
|
+
version: '0.5'
|
244
250
|
type: :development
|
245
251
|
prerelease: false
|
246
252
|
version_requirements: !ruby/object:Gem::Requirement
|
247
253
|
requirements:
|
248
|
-
- -
|
254
|
+
- - "~>"
|
249
255
|
- !ruby/object:Gem::Version
|
250
|
-
version: 0.5
|
256
|
+
version: '0.5'
|
251
257
|
description: |
|
252
258
|
webgen is used to generate static websites from templates and content
|
253
259
|
files (which can be written in a markup language). It can generate
|
@@ -260,17 +266,17 @@ extensions: []
|
|
260
266
|
extra_rdoc_files:
|
261
267
|
- API.rdoc
|
262
268
|
files:
|
263
|
-
-
|
264
|
-
- setup.rb
|
265
|
-
- VERSION
|
269
|
+
- API.rdoc
|
266
270
|
- AUTHORS
|
267
|
-
- THANKS
|
268
271
|
- COPYING
|
269
272
|
- GPL
|
270
|
-
- API.rdoc
|
271
273
|
- README.md
|
274
|
+
- Rakefile
|
275
|
+
- THANKS
|
276
|
+
- VERSION
|
272
277
|
- bin/webgen
|
273
278
|
- data/webgen/basic_website_template/ext/init.rb
|
279
|
+
- data/webgen/basic_website_template/src/.gitignore
|
274
280
|
- data/webgen/basic_website_template/webgen.config
|
275
281
|
- data/webgen/bundle_template_files/README.md.erb
|
276
282
|
- data/webgen/bundle_template_files/Rakefile.erb
|
@@ -286,7 +292,6 @@ files:
|
|
286
292
|
- data/webgen/passive_sources/templates/sitemap.template
|
287
293
|
- data/webgen/passive_sources/templates/tag.template
|
288
294
|
- data/webgen/passive_sources/templates/tikz.template
|
289
|
-
- data/webgen/basic_website_template/src/.gitignore
|
290
295
|
- lib/webgen/blackboard.rb
|
291
296
|
- lib/webgen/bundle/built-in-show-changes/info.yaml
|
292
297
|
- lib/webgen/bundle/built-in-show-changes/init.rb
|
@@ -396,6 +401,7 @@ files:
|
|
396
401
|
- lib/webgen/version.rb
|
397
402
|
- lib/webgen/website.rb
|
398
403
|
- man/man1/webgen.1
|
404
|
+
- setup.rb
|
399
405
|
- test/test_documentation.rb
|
400
406
|
- test/webgen/cli/test_logger.rb
|
401
407
|
- test/webgen/content_processor/test_blocks.rb
|
@@ -493,24 +499,24 @@ post_install_message: |2+
|
|
493
499
|
Have fun!
|
494
500
|
|
495
501
|
rdoc_options:
|
496
|
-
- --line-numbers
|
497
|
-
- --main
|
502
|
+
- "--line-numbers"
|
503
|
+
- "--main"
|
498
504
|
- API.rdoc
|
499
505
|
require_paths:
|
500
506
|
- lib
|
501
507
|
required_ruby_version: !ruby/object:Gem::Requirement
|
502
508
|
requirements:
|
503
|
-
- -
|
509
|
+
- - ">="
|
504
510
|
- !ruby/object:Gem::Version
|
505
511
|
version: 1.9.3
|
506
512
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
507
513
|
requirements:
|
508
|
-
- -
|
514
|
+
- - ">="
|
509
515
|
- !ruby/object:Gem::Version
|
510
516
|
version: '0'
|
511
517
|
requirements: []
|
512
518
|
rubyforge_project: webgen
|
513
|
-
rubygems_version: 2.0.
|
519
|
+
rubygems_version: 2.2.0.rc.1
|
514
520
|
signing_key:
|
515
521
|
specification_version: 4
|
516
522
|
summary: webgen is a fast, powerful, and extensible static website generator.
|