heel 3.2.1 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +11 -0
- data/Manifest.txt +11 -19
- data/README.md +32 -25
- data/Rakefile +21 -9
- data/data/css/pico.min.css +5 -0
- data/data/css/syntax-highlighting.css +61 -0
- data/data/error.rhtml +18 -16
- data/data/lineicons/code-browser.svg +16 -0
- data/data/lineicons/file.svg +12 -0
- data/data/lineicons/folder-alt.svg +9 -0
- data/data/lineicons/html5.svg +21 -0
- data/data/lineicons/image.svg +17 -0
- data/data/lineicons/pdf.svg +18 -0
- data/data/lineicons/presentation.svg +10 -0
- data/data/lineicons/word.svg +23 -0
- data/data/lineicons/zip.svg +14 -0
- data/data/listing.rhtml +40 -30
- data/lib/heel/directory_indexer.rb +1 -1
- data/lib/heel/mime_map.rb +13 -16
- data/lib/heel/rackapp.rb +47 -28
- data/lib/heel/server.rb +7 -6
- data/lib/heel/template_vars.rb +4 -0
- data/lib/heel.rb +1 -1
- data/spec/configuration_spec.rb +10 -6
- data/spec/directory_indexer_spec.rb +14 -11
- data/spec/rackapp_spec.rb +13 -13
- data/spec/server_spec.rb +24 -24
- data/spec/template_vars_spec.rb +2 -2
- data/tasks/default.rake +24 -16
- data/tasks/this.rb +6 -3
- metadata +80 -57
- data/data/css/coderay-alpha.css +0 -120
- data/data/css/coderay-cycnus.css +0 -104
- data/data/css/coderay-murphy.css +0 -98
- data/data/css/index.css +0 -77
- data/data/famfamfam/icons/application.png +0 -0
- data/data/famfamfam/icons/compress.png +0 -0
- data/data/famfamfam/icons/error.png +0 -0
- data/data/famfamfam/icons/folder.png +0 -0
- data/data/famfamfam/icons/html.png +0 -0
- data/data/famfamfam/icons/page_excel.png +0 -0
- data/data/famfamfam/icons/page_white.png +0 -0
- data/data/famfamfam/icons/page_white_acrobat.png +0 -0
- data/data/famfamfam/icons/page_white_code.png +0 -0
- data/data/famfamfam/icons/page_white_powerpoint.png +0 -0
- data/data/famfamfam/icons/page_white_text.png +0 -0
- data/data/famfamfam/icons/picture.png +0 -0
- data/data/famfamfam/icons/xhtml.png +0 -0
- data/data/famfamfam/readme.html +0 -1495
- data/data/famfamfam/readme.txt +0 -22
data/data/css/coderay-murphy.css
DELETED
@@ -1,98 +0,0 @@
|
|
1
|
-
.CodeRay {
|
2
|
-
background-color: #001129;
|
3
|
-
border: 1px solid silver;
|
4
|
-
font-family: 'Courier New', 'Terminal', monospace;
|
5
|
-
color: #C0C0C0;
|
6
|
-
}
|
7
|
-
.CodeRay pre { margin: 0px; }
|
8
|
-
|
9
|
-
div.CodeRay { }
|
10
|
-
|
11
|
-
span.CodeRay { white-space: pre; border: 0px; padding: 2px; }
|
12
|
-
|
13
|
-
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px; }
|
14
|
-
table.CodeRay td { padding: 2px 4px; vertical-align: top; }
|
15
|
-
|
16
|
-
.CodeRay .line_numbers, .CodeRay .no {
|
17
|
-
background-color: #001129;
|
18
|
-
color: gray;
|
19
|
-
text-align: right;
|
20
|
-
}
|
21
|
-
.CodeRay .line_numbers tt { font-weight: bold; }
|
22
|
-
.CodeRay .no { padding: 0px 4px; }
|
23
|
-
.CodeRay .code { width: 100%; }
|
24
|
-
|
25
|
-
ol.CodeRay { font-size: 10pt; }
|
26
|
-
ol.CodeRay li { white-space: pre; }
|
27
|
-
|
28
|
-
.CodeRay .code pre { overflow: auto; }
|
29
|
-
|
30
|
-
.CodeRay .af { color:#00C; }
|
31
|
-
.CodeRay .an { color:#007; }
|
32
|
-
.CodeRay .av { color:#700; }
|
33
|
-
.CodeRay .aw { color:#C00; }
|
34
|
-
.CodeRay .bi { color:#509; font-weight:bold; }
|
35
|
-
.CodeRay .c { color:#666; }
|
36
|
-
|
37
|
-
.CodeRay .ch { color:#88F; }
|
38
|
-
.CodeRay .ch .k { color:#04D; }
|
39
|
-
.CodeRay .ch .dl { color:#039; }
|
40
|
-
|
41
|
-
.CodeRay .cl { color:#e9e; font-weight:bold; }
|
42
|
-
.CodeRay .co { color:#5ED; font-weight:bold; }
|
43
|
-
.CodeRay .cr { color:#0A0; }
|
44
|
-
.CodeRay .cv { color:#ccf; }
|
45
|
-
.CodeRay .df { color:#099; font-weight:bold; }
|
46
|
-
.CodeRay .di { color:#088; font-weight:bold; }
|
47
|
-
.CodeRay .dl { color:black; }
|
48
|
-
.CodeRay .do { color:#970; }
|
49
|
-
.CodeRay .ds { color:#D42; font-weight:bold; }
|
50
|
-
.CodeRay .e { color:#666; font-weight:bold; }
|
51
|
-
.CodeRay .er { color:#F00; background-color:#FAA; }
|
52
|
-
.CodeRay .ex { color:#F00; font-weight:bold; }
|
53
|
-
.CodeRay .fl { color:#60E; font-weight:bold; }
|
54
|
-
.CodeRay .fu { color:#5ed; font-weight:bold; }
|
55
|
-
.CodeRay .gv { color:#f84; }
|
56
|
-
.CodeRay .hx { color:#058; font-weight:bold; }
|
57
|
-
.CodeRay .i { color:#66f; font-weight:bold; }
|
58
|
-
.CodeRay .ic { color:#B44; font-weight:bold; }
|
59
|
-
.CodeRay .il { }
|
60
|
-
.CodeRay .in { color:#B2B; font-weight:bold; }
|
61
|
-
.CodeRay .iv { color:#aaf; }
|
62
|
-
.CodeRay .la { color:#970; font-weight:bold; }
|
63
|
-
.CodeRay .lv { color:#963; }
|
64
|
-
.CodeRay .oc { color:#40E; font-weight:bold; }
|
65
|
-
.CodeRay .on { color:#000; font-weight:bold; }
|
66
|
-
.CodeRay .op { }
|
67
|
-
.CodeRay .pc { color:#08f; font-weight:bold; }
|
68
|
-
.CodeRay .pd { color:#369; font-weight:bold; }
|
69
|
-
.CodeRay .pp { color:#579; }
|
70
|
-
.CodeRay .pt { color:#66f; font-weight:bold; }
|
71
|
-
.CodeRay .r { color:#5de; font-weight:bold; }
|
72
|
-
|
73
|
-
.CodeRay .rx { background-color:#221133; }
|
74
|
-
.CodeRay .rx .k { color:#f8f; }
|
75
|
-
.CodeRay .rx .dl { color:#f0f; }
|
76
|
-
.CodeRay .rx .mod { color:#f0b; }
|
77
|
-
.CodeRay .rx .fu { color:#404; font-weight: bold; }
|
78
|
-
|
79
|
-
.CodeRay .s { background-color:#331122; }
|
80
|
-
.CodeRay .s .s { background-color:#ffe0e0; }
|
81
|
-
.CodeRay .s .s .s { background-color:#ffd0d0; }
|
82
|
-
.CodeRay .s .k { color:#F88; }
|
83
|
-
.CodeRay .s .dl { color:#f55; }
|
84
|
-
|
85
|
-
.CodeRay .sh { background-color:#f0fff0; }
|
86
|
-
.CodeRay .sh .k { color:#2B2; }
|
87
|
-
.CodeRay .sh .dl { color:#161; }
|
88
|
-
|
89
|
-
.CodeRay .sy { color:#Fc8; }
|
90
|
-
.CodeRay .sy .k { color:#Fc8; }
|
91
|
-
.CodeRay .sy .dl { color:#F84; }
|
92
|
-
|
93
|
-
.CodeRay .ta { color:#070; }
|
94
|
-
.CodeRay .tf { color:#070; font-weight:bold; }
|
95
|
-
.CodeRay .ts { color:#D70; font-weight:bold; }
|
96
|
-
.CodeRay .ty { color:#339; font-weight:bold; }
|
97
|
-
.CodeRay .v { color:#036; }
|
98
|
-
.CodeRay .xt { color:#444; }
|
data/data/css/index.css
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
|
2
|
-
margin: 0;
|
3
|
-
padding: 0;
|
4
|
-
font-size: 100%;
|
5
|
-
vertical-align: baseline;
|
6
|
-
border: 0;
|
7
|
-
outline: 0;
|
8
|
-
background: transparent;
|
9
|
-
-webkit-font-smoothing: optimizeLegibility; }
|
10
|
-
|
11
|
-
blockquote, q {
|
12
|
-
quotes: none; }
|
13
|
-
|
14
|
-
:focus {
|
15
|
-
outline: 0; }
|
16
|
-
|
17
|
-
table {
|
18
|
-
border-collapse: collapse;
|
19
|
-
border-spacing: 0; }
|
20
|
-
|
21
|
-
ul, ol {
|
22
|
-
list-style: none; }
|
23
|
-
|
24
|
-
cite {
|
25
|
-
font-style: normal; }
|
26
|
-
|
27
|
-
* {
|
28
|
-
-moz-box-sizing: border-box;
|
29
|
-
-webkit-box-sizing: border-box;
|
30
|
-
-ms-box-sizing: border-box;
|
31
|
-
box-sizing: border-box;
|
32
|
-
*behavior: url(image-path("boxsizing.htc")); }
|
33
|
-
|
34
|
-
body {
|
35
|
-
background: #e7c9ae;
|
36
|
-
color: #47423b;
|
37
|
-
font-family: "Open Sans", sans-serif;
|
38
|
-
font-size: 14px;
|
39
|
-
line-height: 19.6px;
|
40
|
-
padding: 14px; }
|
41
|
-
body a, body a:link, body a:visited {
|
42
|
-
color: #3b619b;
|
43
|
-
text-decoration: none; }
|
44
|
-
body a:hover, body a:link:hover, body a:visited:hover {
|
45
|
-
color: #4d79bc; }
|
46
|
-
body > [role='wrapper'] {
|
47
|
-
background: white;
|
48
|
-
-webkit-border-radius: 3px;
|
49
|
-
-moz-border-radius: 3px;
|
50
|
-
border-radius: 3px;
|
51
|
-
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.125);
|
52
|
-
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.125);
|
53
|
-
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.125);
|
54
|
-
width: 100%;
|
55
|
-
max-width: 960px;
|
56
|
-
margin: 0 auto; }
|
57
|
-
body > [role='wrapper'] > header, body > [role='wrapper'] > footer {
|
58
|
-
padding: 7px; }
|
59
|
-
body > [role='wrapper'] > footer p {
|
60
|
-
font-size: 11.2px;
|
61
|
-
line-height: 14.56px;
|
62
|
-
text-align: right; }
|
63
|
-
body > [role='wrapper'] > [role='content'] {
|
64
|
-
background: #f9f9f9;
|
65
|
-
-webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
|
66
|
-
-moz-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
|
67
|
-
box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1); }
|
68
|
-
body > [role='wrapper'] > [role='content'] > table {
|
69
|
-
width: 100%; }
|
70
|
-
body > [role='wrapper'] > [role='content'] > table thead {
|
71
|
-
border-bottom: 2px solid #f3f3f3; }
|
72
|
-
body > [role='wrapper'] > [role='content'] > table th, body > [role='wrapper'] > [role='content'] > table td {
|
73
|
-
text-align: left;
|
74
|
-
padding: 3.5px 7px;
|
75
|
-
color: #71695e; }
|
76
|
-
body > [role='wrapper'] > [role='content'] > table tr:nth-child(even) {
|
77
|
-
background: whitesmoke; }
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|