TwP-webby 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -0
- data/Manifest.txt +35 -29
- data/{README.txt → README.rdoc} +9 -9
- data/Rakefile +9 -2
- data/examples/webby/content/communicate/index.txt +2 -2
- data/examples/webby/content/index.txt +1 -1
- data/examples/website/content/css/blueprint/ie.css +26 -0
- data/examples/website/content/css/blueprint/plugins/buttons/{Readme → readme.txt} +3 -2
- data/examples/website/content/css/blueprint/plugins/buttons/{buttons.css → screen.css} +1 -1
- data/examples/website/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/examples/website/content/css/blueprint/plugins/fancy-type/{fancy-type.css → screen.css} +71 -74
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/screen.css +40 -0
- data/examples/website/content/css/blueprint/plugins/rtl/readme.txt +10 -0
- data/examples/website/content/css/blueprint/plugins/rtl/screen.css +109 -0
- data/examples/website/content/css/blueprint/print.css +30 -68
- data/examples/website/content/css/blueprint/screen.css +251 -22
- data/examples/website/content/css/blueprint/src/forms.css +49 -0
- data/examples/website/content/css/blueprint/src/grid.css +212 -0
- data/examples/website/content/css/blueprint/src/ie.css +59 -0
- data/examples/website/content/css/blueprint/src/print.css +85 -0
- data/examples/website/content/css/blueprint/{lib → src}/reset.css +14 -15
- data/examples/website/content/css/blueprint/src/typography.css +105 -0
- data/examples/website/layouts/default.txt +5 -2
- data/lib/webby/apps/main.rb +4 -1
- data/lib/webby/auto_builder.rb +3 -3
- data/lib/webby/builder.rb +5 -13
- data/lib/webby/filters/maruku.rb +16 -0
- data/lib/webby/filters/outline.rb +1 -1
- data/lib/webby/link_validator.rb +59 -51
- data/lib/webby/tasks/create.rake +4 -1
- data/lib/webby/tasks/validate.rake +1 -1
- data/lib/webby.rb +14 -3
- data/spec/data/html/anchor.html +11 -0
- data/spec/data/html/external.html +10 -0
- data/spec/data/html/invalid-relative.html +10 -0
- data/spec/data/html/relative-anchor.html +10 -0
- data/spec/data/html/relative-invalid-anchor.html +10 -0
- data/spec/data/html/relative.html +10 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/webby/filters/maruku_spec.rb +31 -0
- data/spec/webby/filters/textile_spec.rb +15 -4
- data/spec/webby/link_validator_spec.rb +154 -0
- data/tasks/mswin32.rake +38 -0
- data/tasks/website.rake +0 -1
- metadata +52 -24
- data/examples/website/content/css/blueprint/License.txt +0 -21
- data/examples/website/content/css/blueprint/Readme.txt +0 -100
- data/examples/website/content/css/blueprint/compressed/print.css +0 -76
- data/examples/website/content/css/blueprint/compressed/screen.css +0 -696
- data/examples/website/content/css/blueprint/lib/forms.css +0 -45
- data/examples/website/content/css/blueprint/lib/grid.css +0 -193
- data/examples/website/content/css/blueprint/lib/ie.css +0 -30
- data/examples/website/content/css/blueprint/lib/typography.css +0 -116
- data/examples/website/content/css/blueprint/plugins/css-classes/Readme +0 -14
- data/examples/website/content/css/blueprint/plugins/css-classes/css-classes.css +0 -24
- data/examples/website/content/css/blueprint/plugins/fancy-type/Readme +0 -22
- data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css +0 -5
- data/tasks/ann.rake +0 -81
- data/tasks/bones.rake +0 -21
- data/tasks/gem.rake +0 -187
- data/tasks/git.rake +0 -41
- data/tasks/manifest.rake +0 -48
- data/tasks/notes.rake +0 -28
- data/tasks/post_load.rake +0 -39
- data/tasks/rdoc.rake +0 -51
- data/tasks/rubyforge.rake +0 -55
- data/tasks/setup.rb +0 -268
- data/tasks/spec.rake +0 -55
- /data/examples/website/content/css/blueprint/{lib → src}/grid.png +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: TwP-webby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Pease
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-12-01 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -55,7 +55,7 @@ dependencies:
|
|
55
55
|
requirements:
|
56
56
|
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: 0.8.
|
58
|
+
version: 0.8.3
|
59
59
|
version:
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: rspec
|
@@ -66,7 +66,16 @@ dependencies:
|
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: 1.1.4
|
68
68
|
version:
|
69
|
-
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bones
|
71
|
+
version_requirement:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.1.0
|
77
|
+
version:
|
78
|
+
description: "*Webby* is a fantastic little website management system. It would be called a *content management system* if it were a bigger kid. But, it's just a runt with a special knack for transforming text. And that's really all it does - manages the legwork of turning text into something else, an *ASCII Alchemist* if you will. Webby works by combining the contents of a *page* with a *layout* to produce HTML. The layout contains everything common to all the pages - HTML headers, navigation menu, footer, etc. - and the page contains just the information for that page. You can use your favorite markup language to write your pages; Webby supports quite a few. Install Webby and try it out!"
|
70
79
|
email: tim.pease@gmail.com
|
71
80
|
executables:
|
72
81
|
- webby
|
@@ -75,7 +84,7 @@ extensions: []
|
|
75
84
|
|
76
85
|
extra_rdoc_files:
|
77
86
|
- History.txt
|
78
|
-
- README.
|
87
|
+
- README.rdoc
|
79
88
|
- bin/webby
|
80
89
|
- bin/webby-gen
|
81
90
|
- lib/webby/tasks/build.rake
|
@@ -102,7 +111,7 @@ extra_rdoc_files:
|
|
102
111
|
files:
|
103
112
|
- History.txt
|
104
113
|
- Manifest.txt
|
105
|
-
- README.
|
114
|
+
- README.rdoc
|
106
115
|
- Rakefile
|
107
116
|
- bin/webby
|
108
117
|
- bin/webby-gen
|
@@ -177,28 +186,35 @@ files:
|
|
177
186
|
- examples/webby/layouts/default.txt
|
178
187
|
- examples/webby/templates/page.erb
|
179
188
|
- examples/website/Sitefile
|
180
|
-
- examples/website/content/css/blueprint/
|
181
|
-
- examples/website/content/css/blueprint/Readme.txt
|
182
|
-
- examples/website/content/css/blueprint/compressed/print.css
|
183
|
-
- examples/website/content/css/blueprint/compressed/screen.css
|
184
|
-
- examples/website/content/css/blueprint/lib/forms.css
|
185
|
-
- examples/website/content/css/blueprint/lib/grid.css
|
186
|
-
- examples/website/content/css/blueprint/lib/grid.png
|
187
|
-
- examples/website/content/css/blueprint/lib/ie.css
|
188
|
-
- examples/website/content/css/blueprint/lib/reset.css
|
189
|
-
- examples/website/content/css/blueprint/lib/typography.css
|
190
|
-
- examples/website/content/css/blueprint/plugins/buttons/Readme
|
191
|
-
- examples/website/content/css/blueprint/plugins/buttons/buttons.css
|
189
|
+
- examples/website/content/css/blueprint/ie.css
|
192
190
|
- examples/website/content/css/blueprint/plugins/buttons/icons/cross.png
|
193
191
|
- examples/website/content/css/blueprint/plugins/buttons/icons/key.png
|
194
192
|
- examples/website/content/css/blueprint/plugins/buttons/icons/tick.png
|
195
|
-
- examples/website/content/css/blueprint/plugins/
|
196
|
-
- examples/website/content/css/blueprint/plugins/
|
197
|
-
- examples/website/content/css/blueprint/plugins/fancy-type/
|
198
|
-
- examples/website/content/css/blueprint/plugins/fancy-type/
|
199
|
-
- examples/website/content/css/blueprint/plugins/
|
193
|
+
- examples/website/content/css/blueprint/plugins/buttons/readme.txt
|
194
|
+
- examples/website/content/css/blueprint/plugins/buttons/screen.css
|
195
|
+
- examples/website/content/css/blueprint/plugins/fancy-type/readme.txt
|
196
|
+
- examples/website/content/css/blueprint/plugins/fancy-type/screen.css
|
197
|
+
- examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png
|
198
|
+
- examples/website/content/css/blueprint/plugins/link-icons/icons/email.png
|
199
|
+
- examples/website/content/css/blueprint/plugins/link-icons/icons/external.png
|
200
|
+
- examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png
|
201
|
+
- examples/website/content/css/blueprint/plugins/link-icons/icons/im.png
|
202
|
+
- examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png
|
203
|
+
- examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png
|
204
|
+
- examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png
|
205
|
+
- examples/website/content/css/blueprint/plugins/link-icons/readme.txt
|
206
|
+
- examples/website/content/css/blueprint/plugins/link-icons/screen.css
|
207
|
+
- examples/website/content/css/blueprint/plugins/rtl/readme.txt
|
208
|
+
- examples/website/content/css/blueprint/plugins/rtl/screen.css
|
200
209
|
- examples/website/content/css/blueprint/print.css
|
201
210
|
- examples/website/content/css/blueprint/screen.css
|
211
|
+
- examples/website/content/css/blueprint/src/forms.css
|
212
|
+
- examples/website/content/css/blueprint/src/grid.css
|
213
|
+
- examples/website/content/css/blueprint/src/grid.png
|
214
|
+
- examples/website/content/css/blueprint/src/ie.css
|
215
|
+
- examples/website/content/css/blueprint/src/print.css
|
216
|
+
- examples/website/content/css/blueprint/src/reset.css
|
217
|
+
- examples/website/content/css/blueprint/src/typography.css
|
202
218
|
- examples/website/content/css/coderay.css
|
203
219
|
- examples/website/content/css/site.css
|
204
220
|
- examples/website/content/index.txt
|
@@ -222,6 +238,7 @@ files:
|
|
222
238
|
- lib/webby/filters/erb.rb
|
223
239
|
- lib/webby/filters/haml.rb
|
224
240
|
- lib/webby/filters/markdown.rb
|
241
|
+
- lib/webby/filters/maruku.rb
|
225
242
|
- lib/webby/filters/outline.rb
|
226
243
|
- lib/webby/filters/sass.rb
|
227
244
|
- lib/webby/filters/slides.rb
|
@@ -259,6 +276,12 @@ files:
|
|
259
276
|
- spec/core_ext/time_spec.rb
|
260
277
|
- spec/data/hooligans/bad_meta_data_1.txt
|
261
278
|
- spec/data/hooligans/bad_meta_data_2.txt
|
279
|
+
- spec/data/html/anchor.html
|
280
|
+
- spec/data/html/external.html
|
281
|
+
- spec/data/html/invalid-relative.html
|
282
|
+
- spec/data/html/relative-anchor.html
|
283
|
+
- spec/data/html/relative-invalid-anchor.html
|
284
|
+
- spec/data/html/relative.html
|
262
285
|
- spec/data/outline/basic.out
|
263
286
|
- spec/data/outline/basic.txt
|
264
287
|
- spec/data/outline/no_clobber.out
|
@@ -303,9 +326,11 @@ files:
|
|
303
326
|
- spec/webby/apps/generator_spec.rb
|
304
327
|
- spec/webby/apps/main_spec.rb
|
305
328
|
- spec/webby/filters/basepath_spec.rb
|
329
|
+
- spec/webby/filters/maruku_spec.rb
|
306
330
|
- spec/webby/filters/outline_spec.rb
|
307
331
|
- spec/webby/filters/textile_spec.rb
|
308
332
|
- spec/webby/helpers/capture_helper_spec.rb
|
333
|
+
- spec/webby/link_validator_spec.rb
|
309
334
|
- spec/webby/renderer_spec.rb
|
310
335
|
- spec/webby/resources/db_spec.rb
|
311
336
|
- spec/webby/resources/layout_spec.rb
|
@@ -320,19 +345,22 @@ files:
|
|
320
345
|
- tasks/gem.rake
|
321
346
|
- tasks/git.rake
|
322
347
|
- tasks/manifest.rake
|
348
|
+
- tasks/mswin32.rake
|
323
349
|
- tasks/notes.rake
|
324
350
|
- tasks/post_load.rake
|
325
351
|
- tasks/rdoc.rake
|
326
352
|
- tasks/rubyforge.rake
|
327
353
|
- tasks/setup.rb
|
328
354
|
- tasks/spec.rake
|
355
|
+
- tasks/svn.rake
|
356
|
+
- tasks/test.rake
|
329
357
|
- tasks/website.rake
|
330
358
|
has_rdoc: true
|
331
359
|
homepage: http://webby.rubyforge.org/
|
332
360
|
post_install_message:
|
333
361
|
rdoc_options:
|
334
362
|
- --main
|
335
|
-
- README.
|
363
|
+
- README.rdoc
|
336
364
|
require_paths:
|
337
365
|
- lib
|
338
366
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -1,21 +0,0 @@
|
|
1
|
-
Copyright (c) 2007 Olav Bjorkoy (http://bjorkoy.com)
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
5
|
-
in the Software without restriction, including without limitation the rights
|
6
|
-
to use, copy, modify, merge, publish, distribute, sub-license, and/or sell
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
8
|
-
furnished to do so, subject to the following conditions:
|
9
|
-
|
10
|
-
The above copyright notice, and every other copyright notice found in this
|
11
|
-
software, and all the attributions in every file, and this permission notice
|
12
|
-
shall be included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20
|
-
THE SOFTWARE.
|
21
|
-
|
@@ -1,100 +0,0 @@
|
|
1
|
-
Blueprint CSS framework 0.5 (http://bjorkoy.com/blueprint)
|
2
|
-
----------------------------------------------------------------
|
3
|
-
|
4
|
-
Welcome to Blueprint! This is a CSS framework designed to
|
5
|
-
cut down on your CSS development time. It gives you a solid
|
6
|
-
foundation to build your own CSS on. Here are some of the
|
7
|
-
features BP provides out-of-the-box:
|
8
|
-
|
9
|
-
* An easily customizable grid
|
10
|
-
* Sensible default typography
|
11
|
-
* A typographic baseline
|
12
|
-
* Perfected browser CSS reset
|
13
|
-
* A stylesheet for printing
|
14
|
-
* Absolutely no bloat
|
15
|
-
|
16
|
-
|
17
|
-
Setup instructions
|
18
|
-
----------------------------------------------------------------
|
19
|
-
|
20
|
-
Here's how you set up Blueprint on your site.
|
21
|
-
|
22
|
-
1) Upload BP to your server, and place it in whatever folder
|
23
|
-
you'd like. A good choice would be your CSS folder.
|
24
|
-
|
25
|
-
2) Add the following lines to every <head> section of your
|
26
|
-
site. Make sure the link path is correct (here, BP is in my CSS folder):
|
27
|
-
|
28
|
-
<link rel="stylesheet" href="css/blueprint/screen.css" type="text/css" media="screen, projection">
|
29
|
-
<link rel="stylesheet" href="css/blueprint/print.css" type="text/css" media="print">
|
30
|
-
|
31
|
-
3) That's it! Blueprint is now ready to shine.
|
32
|
-
|
33
|
-
|
34
|
-
How to use Blueprint
|
35
|
-
----------------------------------------------------------------
|
36
|
-
|
37
|
-
Here's a quick primer on how to use BP:
|
38
|
-
http://code.google.com/p/blueprintcss/wiki/Tutorial
|
39
|
-
|
40
|
-
Each file is also heavily commented, so you'll
|
41
|
-
learn a lot by reading through them.
|
42
|
-
|
43
|
-
|
44
|
-
Files in Blueprint
|
45
|
-
----------------------------------------------------------------
|
46
|
-
|
47
|
-
The framework has a few files you should check out. Every file
|
48
|
-
contains lots of (hopefully) clarifying comments.
|
49
|
-
|
50
|
-
* screen.css
|
51
|
-
This is the main file of the framework. It imports other CSS
|
52
|
-
files from the "lib" directory, and should be included on
|
53
|
-
every page.
|
54
|
-
|
55
|
-
* print.css
|
56
|
-
This file sets some default print rules, so that printed versions
|
57
|
-
of your site looks better than they usually would. It should be
|
58
|
-
included on every page.
|
59
|
-
|
60
|
-
* lib/grid.css
|
61
|
-
This file sets up the grid (it's true). It has a lot of classes
|
62
|
-
you apply to divs to set up any sort of column-based grid.
|
63
|
-
|
64
|
-
* lib/typography.css
|
65
|
-
This file sets some default typography. It also has a few
|
66
|
-
methods for some really fancy stuff to do with your text.
|
67
|
-
|
68
|
-
* lib/reset.css
|
69
|
-
This file resets CSS values that browsers tend to set for you.
|
70
|
-
|
71
|
-
* lib/buttons.css
|
72
|
-
Provides some great CSS-only buttons.
|
73
|
-
|
74
|
-
* lib/compressed.css
|
75
|
-
A compressed version of the core files. Use this on every live site.
|
76
|
-
See screen.css for instructions.
|
77
|
-
|
78
|
-
|
79
|
-
Credits
|
80
|
-
----------------------------------------------------------------
|
81
|
-
|
82
|
-
Many parts of BP are directly inspired by other peoples work.
|
83
|
-
You may thank them for their brilliance. However, *do not* ask
|
84
|
-
them for support or any kind of help with BP.
|
85
|
-
|
86
|
-
* Jeff Croft [jeffcroft.com]
|
87
|
-
* Nathan Borror [playgroundblues.com]
|
88
|
-
* Christian Metts [mintchaos.com]
|
89
|
-
* Wilson Miner [wilsonminer.com]
|
90
|
-
* The Typogrify Project [code.google.com/p/typogrify]
|
91
|
-
* Eric Meyer [meyerweb.com/eric]
|
92
|
-
* Angus Turnbull [twinhelix.com]
|
93
|
-
* Khoi Vinh [subtraction.com]
|
94
|
-
|
95
|
-
Questions, comments, suggestions or bug reports all go to
|
96
|
-
olav at bjorkoy dot com. Thanks for your interest!
|
97
|
-
|
98
|
-
|
99
|
-
== By Olav Bjorkoy
|
100
|
-
== http://bjorkoy.com
|
@@ -1,76 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
line-height:1.5;
|
3
|
-
font-family:"Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
|
4
|
-
color:#000;
|
5
|
-
background:none;
|
6
|
-
font-size:10pt;
|
7
|
-
}
|
8
|
-
|
9
|
-
.container {
|
10
|
-
background:none;
|
11
|
-
}
|
12
|
-
|
13
|
-
h1,h2,h3,h4,h5,h6 {
|
14
|
-
font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;
|
15
|
-
}
|
16
|
-
|
17
|
-
code {
|
18
|
-
font:.9em "Courier New", Monaco, Courier, monospace;
|
19
|
-
}
|
20
|
-
|
21
|
-
img {
|
22
|
-
float:left;
|
23
|
-
margin:1.5em 1.5em 1.5em 0;
|
24
|
-
}
|
25
|
-
|
26
|
-
a img {
|
27
|
-
border:none;
|
28
|
-
}
|
29
|
-
|
30
|
-
p img.top {
|
31
|
-
margin-top:0;
|
32
|
-
}
|
33
|
-
|
34
|
-
hr {
|
35
|
-
background:#ccc;
|
36
|
-
color:#ccc;
|
37
|
-
width:100%;
|
38
|
-
height:2px;
|
39
|
-
border:none;
|
40
|
-
margin:2em 0;
|
41
|
-
padding:0;
|
42
|
-
}
|
43
|
-
|
44
|
-
blockquote {
|
45
|
-
font-style:italic;
|
46
|
-
font-size:.9em;
|
47
|
-
margin:1.5em;
|
48
|
-
padding:1em;
|
49
|
-
}
|
50
|
-
|
51
|
-
.small {
|
52
|
-
font-size:.9em;
|
53
|
-
}
|
54
|
-
|
55
|
-
.large {
|
56
|
-
font-size:1.1em;
|
57
|
-
}
|
58
|
-
|
59
|
-
.quiet {
|
60
|
-
color:#999;
|
61
|
-
}
|
62
|
-
|
63
|
-
.hide {
|
64
|
-
display:none;
|
65
|
-
}
|
66
|
-
|
67
|
-
a:link,a:visited {
|
68
|
-
background:transparent;
|
69
|
-
font-weight:700;
|
70
|
-
text-decoration:underline;
|
71
|
-
}
|
72
|
-
|
73
|
-
a:link:after,a:visited:after {
|
74
|
-
content:" (" attr(href) ") ";
|
75
|
-
font-size:90%;
|
76
|
-
}
|