hydeweb 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +28 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/data/new_site/hyde.conf +4 -0
- data/data/new_site/layouts/default.haml +3 -2
- data/hydeweb.gemspec +115 -105
- data/lib/hyde/clicommand.rb +2 -1
- data/lib/hyde/clicommands.rb +13 -2
- data/lib/hyde/helpers.rb +16 -9
- data/lib/hyde/layout.rb +5 -0
- data/lib/hyde/meta.rb +1 -1
- data/lib/hyde/page.rb +124 -7
- data/lib/hyde/page_factory.rb +12 -2
- data/lib/hyde/project.rb +17 -6
- data/lib/hyde/renderer.rb +17 -3
- data/lib/hyde/renderers.rb +45 -12
- data/lib/hyde/sinatra/init.rb +5 -3
- data/lib/hyde/utils.rb +10 -0
- data/lib/hyde.rb +15 -14
- data/lib/hyde_misc/console.rb +4 -0
- data/manual/Extending/ExtendingHyde.md +3 -2
- data/manual/Hyde.md +9 -4
- data/manual/Introduction/Configuration.md +67 -1
- data/manual/Introduction/GettingStarted.md +7 -9
- data/manual/Introduction/Installation.md +2 -2
- data/manual/Introduction/Layouts.md +11 -1
- data/manual/Introduction/Metadata.md +92 -0
- data/manual/Introduction/Partials.md +10 -0
- data/manual/Introduction/TemplateLanguages.md +5 -5
- data/manual/Tips/Tips.md +42 -0
- data/test/fixtures/content_for/layouts/cf-args.haml +2 -0
- data/test/fixtures/content_for/layouts/cf.haml +14 -0
- data/test/fixtures/content_for/site/cf-args-default.haml +2 -0
- data/test/fixtures/content_for/site/cf-args.haml +5 -0
- data/test/fixtures/content_for/site/cf.haml +6 -0
- data/test/fixtures/content_for/site/cf2.haml +3 -0
- data/test/fixtures/content_for/www_control/cf-args-default.html +1 -0
- data/test/fixtures/content_for/www_control/cf-args.html +2 -0
- data/test/fixtures/content_for/www_control/cf.html +17 -0
- data/test/fixtures/content_for/www_control/cf2.html +19 -0
- metadata +38 -16
- data/.gitignore +0 -25
- /data/test/fixtures/{two → content_for}/_config.yml +0 -0
- /data/test/fixtures/{two → content_for}/layouts/default.haml +0 -0
- /data/test/fixtures/{two → content_for}/layouts/shared/test.haml +0 -0
- /data/test/fixtures/{two → content_for}/site/default.html.haml +0 -0
- /data/test/fixtures/{two → content_for}/site/index.html.haml +0 -0
- /data/test/fixtures/{two → content_for}/site/var.html.haml +0 -0
- /data/test/fixtures/{two → content_for}/www_control/default.html +0 -0
- /data/test/fixtures/{two → content_for}/www_control/index.html +0 -0
- /data/test/fixtures/{two → content_for}/www_control/var.html +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
Hola, Aaron!
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang='en'>
|
3
|
+
<head>
|
4
|
+
<meta charset='UTF-8' />
|
5
|
+
<title>Document</title>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div id='all'>
|
9
|
+
<div id='content'>
|
10
|
+
Content here
|
11
|
+
</div>
|
12
|
+
<div id='sidebar'>
|
13
|
+
Sidebor
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</body>
|
17
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang='en'>
|
3
|
+
<head>
|
4
|
+
<meta charset='UTF-8' />
|
5
|
+
<title>Document</title>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div id='all'>
|
9
|
+
<div id='content'>
|
10
|
+
Content here, no sidebar
|
11
|
+
</div>
|
12
|
+
<div id='sidebar'>
|
13
|
+
<div>
|
14
|
+
Default sidebar
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</body>
|
19
|
+
</html>
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydeweb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Rico Sta. Cruz
|
@@ -15,16 +16,18 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-
|
19
|
+
date: 2010-11-24 00:00:00 +08:00
|
19
20
|
default_executable: hyde
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
name: sinatra
|
23
24
|
prerelease: false
|
24
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
25
27
|
requirements:
|
26
28
|
- - ">="
|
27
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 23
|
28
31
|
segments:
|
29
32
|
- 1
|
30
33
|
- 0
|
@@ -36,9 +39,11 @@ dependencies:
|
|
36
39
|
name: less
|
37
40
|
prerelease: false
|
38
41
|
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
39
43
|
requirements:
|
40
44
|
- - ">="
|
41
45
|
- !ruby/object:Gem::Version
|
46
|
+
hash: 53
|
42
47
|
segments:
|
43
48
|
- 1
|
44
49
|
- 2
|
@@ -50,9 +55,11 @@ dependencies:
|
|
50
55
|
name: haml
|
51
56
|
prerelease: false
|
52
57
|
requirement: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
53
59
|
requirements:
|
54
60
|
- - ">="
|
55
61
|
- !ruby/object:Gem::Version
|
62
|
+
hash: 47
|
56
63
|
segments:
|
57
64
|
- 2
|
58
65
|
- 2
|
@@ -70,7 +77,6 @@ extra_rdoc_files:
|
|
70
77
|
- LICENSE
|
71
78
|
- README.md
|
72
79
|
files:
|
73
|
-
- .gitignore
|
74
80
|
- .yardopts
|
75
81
|
- AUTHORS
|
76
82
|
- CHANGELOG
|
@@ -101,6 +107,7 @@ files:
|
|
101
107
|
- lib/hyde/renderers.rb
|
102
108
|
- lib/hyde/sinatra/init.rb
|
103
109
|
- lib/hyde/utils.rb
|
110
|
+
- lib/hyde_misc/console.rb
|
104
111
|
- manual/Extending/ExtendingHyde.md
|
105
112
|
- manual/Hyde.md
|
106
113
|
- manual/Introduction/Configuration.md
|
@@ -110,6 +117,26 @@ files:
|
|
110
117
|
- manual/Introduction/Metadata.md
|
111
118
|
- manual/Introduction/Partials.md
|
112
119
|
- manual/Introduction/TemplateLanguages.md
|
120
|
+
- manual/Tips/Tips.md
|
121
|
+
- test/fixtures/content_for/_config.yml
|
122
|
+
- test/fixtures/content_for/layouts/cf-args.haml
|
123
|
+
- test/fixtures/content_for/layouts/cf.haml
|
124
|
+
- test/fixtures/content_for/layouts/default.haml
|
125
|
+
- test/fixtures/content_for/layouts/shared/test.haml
|
126
|
+
- test/fixtures/content_for/site/cf-args-default.haml
|
127
|
+
- test/fixtures/content_for/site/cf-args.haml
|
128
|
+
- test/fixtures/content_for/site/cf.haml
|
129
|
+
- test/fixtures/content_for/site/cf2.haml
|
130
|
+
- test/fixtures/content_for/site/default.html.haml
|
131
|
+
- test/fixtures/content_for/site/index.html.haml
|
132
|
+
- test/fixtures/content_for/site/var.html.haml
|
133
|
+
- test/fixtures/content_for/www_control/cf-args-default.html
|
134
|
+
- test/fixtures/content_for/www_control/cf-args.html
|
135
|
+
- test/fixtures/content_for/www_control/cf.html
|
136
|
+
- test/fixtures/content_for/www_control/cf2.html
|
137
|
+
- test/fixtures/content_for/www_control/default.html
|
138
|
+
- test/fixtures/content_for/www_control/index.html
|
139
|
+
- test/fixtures/content_for/www_control/var.html
|
113
140
|
- test/fixtures/custom/_config.yml
|
114
141
|
- test/fixtures/custom/extensions/custom/custom.rb
|
115
142
|
- test/fixtures/custom/layouts/default.haml
|
@@ -146,15 +173,6 @@ files:
|
|
146
173
|
- test/fixtures/default/www_control/index.html
|
147
174
|
- test/fixtures/default/www_control/layout_test.html
|
148
175
|
- test/fixtures/default/www_control/yes.html
|
149
|
-
- test/fixtures/two/_config.yml
|
150
|
-
- test/fixtures/two/layouts/default.haml
|
151
|
-
- test/fixtures/two/layouts/shared/test.haml
|
152
|
-
- test/fixtures/two/site/default.html.haml
|
153
|
-
- test/fixtures/two/site/index.html.haml
|
154
|
-
- test/fixtures/two/site/var.html.haml
|
155
|
-
- test/fixtures/two/www_control/default.html
|
156
|
-
- test/fixtures/two/www_control/index.html
|
157
|
-
- test/fixtures/two/www_control/var.html
|
158
176
|
- test/helper.rb
|
159
177
|
- test/test_all_fixtures.rb
|
160
178
|
- test/test_build.rb
|
@@ -166,28 +184,32 @@ homepage: http://github.com/sinefunc/hyde
|
|
166
184
|
licenses: []
|
167
185
|
|
168
186
|
post_install_message:
|
169
|
-
rdoc_options:
|
170
|
-
|
187
|
+
rdoc_options: []
|
188
|
+
|
171
189
|
require_paths:
|
172
190
|
- lib
|
173
191
|
required_ruby_version: !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
174
193
|
requirements:
|
175
194
|
- - ">="
|
176
195
|
- !ruby/object:Gem::Version
|
196
|
+
hash: 3
|
177
197
|
segments:
|
178
198
|
- 0
|
179
199
|
version: "0"
|
180
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
181
202
|
requirements:
|
182
203
|
- - ">="
|
183
204
|
- !ruby/object:Gem::Version
|
205
|
+
hash: 3
|
184
206
|
segments:
|
185
207
|
- 0
|
186
208
|
version: "0"
|
187
209
|
requirements: []
|
188
210
|
|
189
211
|
rubyforge_project:
|
190
|
-
rubygems_version: 1.3.
|
212
|
+
rubygems_version: 1.3.7
|
191
213
|
signing_key:
|
192
214
|
specification_version: 3
|
193
215
|
summary: Website preprocessor
|
data/.gitignore
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|