green_shoes 0.189.0 → 0.198.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +4 -0
- data/README.md +4 -0
- data/VERSION +1 -1
- data/lib/ext/hpricot.rb +31 -0
- data/lib/ext/hpricot/blankslate.rb +63 -0
- data/lib/ext/hpricot/builder.rb +216 -0
- data/lib/ext/hpricot/elements.rb +510 -0
- data/lib/ext/hpricot/hpricot_scan.so +0 -0
- data/lib/ext/hpricot/htmlinfo.rb +691 -0
- data/lib/ext/hpricot/inspect.rb +103 -0
- data/lib/ext/hpricot/modules.rb +40 -0
- data/lib/ext/hpricot/parse.rb +38 -0
- data/lib/ext/hpricot/tag.rb +202 -0
- data/lib/ext/hpricot/tags.rb +164 -0
- data/lib/ext/hpricot/traverse.rb +838 -0
- data/lib/ext/hpricot/xchar.rb +94 -0
- data/lib/green_shoes.rb +1 -0
- data/lib/shoes/app.rb +17 -1
- data/lib/shoes/help.rb +168 -13
- data/static/code_highlighter.js +188 -0
- data/static/code_highlighter_ruby.js +26 -0
- data/static/manual-en.txt +133 -61
- data/static/manual.css +177 -0
- metadata +19 -3
data/static/manual.css
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
body {
|
2
|
+
font-family: verdana, arial, sans-serif;
|
3
|
+
background: #DDD;
|
4
|
+
margin: 0; padding: 0;
|
5
|
+
}
|
6
|
+
a {
|
7
|
+
color: #378;
|
8
|
+
text-decoration: none;
|
9
|
+
}
|
10
|
+
a.hi {
|
11
|
+
color: #C30;
|
12
|
+
font-weight: bold;
|
13
|
+
}
|
14
|
+
a:hover {
|
15
|
+
text-decoration: underline;
|
16
|
+
}
|
17
|
+
#main {
|
18
|
+
width: 720px;
|
19
|
+
margin: 40px auto;
|
20
|
+
}
|
21
|
+
.sidebar {
|
22
|
+
position: fixed;
|
23
|
+
width: 120px;
|
24
|
+
}
|
25
|
+
#manual {
|
26
|
+
float: right;
|
27
|
+
width: 540px;
|
28
|
+
padding: 20px;
|
29
|
+
border: solid 1px #BBB;
|
30
|
+
background: #eee;
|
31
|
+
margin-bottom: 80px;
|
32
|
+
}
|
33
|
+
#manual li {
|
34
|
+
margin-bottom: 8px;
|
35
|
+
}
|
36
|
+
h1 {
|
37
|
+
font-weight: normal;
|
38
|
+
font-size: 42px;
|
39
|
+
margin-top: 0;
|
40
|
+
}
|
41
|
+
h2 {
|
42
|
+
font-weight: normal;
|
43
|
+
font-size: 12px;
|
44
|
+
color: #777;
|
45
|
+
margin: 0;
|
46
|
+
}
|
47
|
+
h4 {
|
48
|
+
font-weight: normal;
|
49
|
+
font-size: 32px;
|
50
|
+
margin-bottom: 0;
|
51
|
+
}
|
52
|
+
#manual img {
|
53
|
+
display: block;
|
54
|
+
margin: 0 auto;
|
55
|
+
padding: 10px;
|
56
|
+
}
|
57
|
+
div.method {
|
58
|
+
background: #333;
|
59
|
+
padding: 4px;
|
60
|
+
color: #CCC;
|
61
|
+
}
|
62
|
+
div.method a {
|
63
|
+
color: white;
|
64
|
+
text-decoration: none;
|
65
|
+
font-weight: bold;
|
66
|
+
}
|
67
|
+
.intro {
|
68
|
+
font-size: 140%;
|
69
|
+
border-bottom: solid 1px #BBB;
|
70
|
+
}
|
71
|
+
.sidebar ul {
|
72
|
+
list-style: none;
|
73
|
+
text-align: center;
|
74
|
+
margin: 0; padding: 10px;
|
75
|
+
font-size: 18px;
|
76
|
+
}
|
77
|
+
.sidebar ul.sub {
|
78
|
+
margin: 6px 0; padding: 0;
|
79
|
+
border-left: solid 1px #CCC;
|
80
|
+
border-right: solid 1px #CCC;
|
81
|
+
}
|
82
|
+
.sidebar ul.sub li {
|
83
|
+
margin: 0; padding: 0;
|
84
|
+
font-size: 14px;
|
85
|
+
}
|
86
|
+
.sidebar ul.sub a {
|
87
|
+
font-weight: normal;
|
88
|
+
}
|
89
|
+
.sidebar a {
|
90
|
+
color: #666;
|
91
|
+
font-weight: bold;
|
92
|
+
text-decoration: none;
|
93
|
+
}
|
94
|
+
.sidebar .prime {
|
95
|
+
display: block;
|
96
|
+
color: #BBB;
|
97
|
+
font-size: 38px;
|
98
|
+
margin-bottom: 20px;
|
99
|
+
}
|
100
|
+
.sidebar a:hover {
|
101
|
+
color: black;
|
102
|
+
}
|
103
|
+
div.color {
|
104
|
+
width: 31%;
|
105
|
+
float: left;
|
106
|
+
text-align: center;
|
107
|
+
padding: 6px;
|
108
|
+
font-size: 80%;
|
109
|
+
}
|
110
|
+
div.color h3, div.color p {
|
111
|
+
margin: 4px;
|
112
|
+
}
|
113
|
+
div.sample {
|
114
|
+
width: 13%;
|
115
|
+
float: left;
|
116
|
+
text-align: center;
|
117
|
+
padding: 6px;
|
118
|
+
font-size: 50%;
|
119
|
+
}
|
120
|
+
div.sample h3, div.sample p {
|
121
|
+
margin: 0px;
|
122
|
+
}
|
123
|
+
p.next {
|
124
|
+
clear: both;
|
125
|
+
border-top: solid 1px #BBB;
|
126
|
+
text-align: right;
|
127
|
+
font-size: 120%;
|
128
|
+
padding: 8px;
|
129
|
+
}
|
130
|
+
|
131
|
+
/* code highlighting */
|
132
|
+
pre {
|
133
|
+
background: white;
|
134
|
+
padding: 8px 0;
|
135
|
+
border: solid 1px #ddd;
|
136
|
+
}
|
137
|
+
pre .comment, .ruby .comment {
|
138
|
+
color: #696;
|
139
|
+
} pre .string, .ruby .string {
|
140
|
+
color: teal;
|
141
|
+
}
|
142
|
+
pre .constant, .ruby .constant {
|
143
|
+
font-weight: bold;
|
144
|
+
}
|
145
|
+
pre .symbol, .ruby .symbol {
|
146
|
+
color: green;
|
147
|
+
}
|
148
|
+
pre .keywords, .ruby .keywords {
|
149
|
+
color: #662;
|
150
|
+
}
|
151
|
+
pre .global, pre .ivar, .ruby .ivar {
|
152
|
+
color: #F60;
|
153
|
+
}
|
154
|
+
pre .brackets, .ruby .brackets {
|
155
|
+
color: #993;
|
156
|
+
}
|
157
|
+
|
158
|
+
/* index pages */
|
159
|
+
#index .hibox {
|
160
|
+
background: white;
|
161
|
+
border: solid 1px #ddd;
|
162
|
+
}
|
163
|
+
#index .hibox p {
|
164
|
+
font-size: 14px;
|
165
|
+
margin: 8px;
|
166
|
+
}
|
167
|
+
#index h1 {
|
168
|
+
margin: 0;
|
169
|
+
}
|
170
|
+
#index ul {
|
171
|
+
list-style: none;
|
172
|
+
font-size: 13px;
|
173
|
+
}
|
174
|
+
#index ul a.hi,
|
175
|
+
#index ul a.lo {
|
176
|
+
font-size: 18px;
|
177
|
+
}
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 198
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.198.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- ashbb
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-03-
|
17
|
+
date: 2011-03-26 00:00:00 +09:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -50,6 +50,19 @@ files:
|
|
50
50
|
- lib/ext/bloops/songs/simpsons_theme_song_by_why.rb
|
51
51
|
- lib/ext/chipmunk.rb
|
52
52
|
- lib/ext/chipmunk/chipmunk.so
|
53
|
+
- lib/ext/hpricot.rb
|
54
|
+
- lib/ext/hpricot/blankslate.rb
|
55
|
+
- lib/ext/hpricot/builder.rb
|
56
|
+
- lib/ext/hpricot/elements.rb
|
57
|
+
- lib/ext/hpricot/hpricot_scan.so
|
58
|
+
- lib/ext/hpricot/htmlinfo.rb
|
59
|
+
- lib/ext/hpricot/inspect.rb
|
60
|
+
- lib/ext/hpricot/modules.rb
|
61
|
+
- lib/ext/hpricot/parse.rb
|
62
|
+
- lib/ext/hpricot/tag.rb
|
63
|
+
- lib/ext/hpricot/tags.rb
|
64
|
+
- lib/ext/hpricot/traverse.rb
|
65
|
+
- lib/ext/hpricot/xchar.rb
|
53
66
|
- lib/ext/projector.rb
|
54
67
|
- lib/ext/projector/matrix3d.rb
|
55
68
|
- lib/ext/projector/projector.rb
|
@@ -244,6 +257,8 @@ files:
|
|
244
257
|
- snapshots/sample99.png
|
245
258
|
- static/Coolvetica.ttf
|
246
259
|
- static/Lacuna.ttf
|
260
|
+
- static/code_highlighter.js
|
261
|
+
- static/code_highlighter_ruby.js
|
247
262
|
- static/downloading.png
|
248
263
|
- static/gshoes-heading-icon.png
|
249
264
|
- static/gshoes-icon.png
|
@@ -276,6 +291,7 @@ files:
|
|
276
291
|
- static/man-shot1.png
|
277
292
|
- static/manual-en.txt
|
278
293
|
- static/manual-ja.txt
|
294
|
+
- static/manual.css
|
279
295
|
- static/shoes-manual-apps.png
|
280
296
|
- LICENSE
|
281
297
|
- README.md
|