yard-slipstream 0.0.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 0
8
- - 0
9
- version: 0.0.0
7
+ - 1
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dreamcat4
@@ -14,13 +14,37 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-04 00:00:00 +01:00
17
+ date: 2010-04-10 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: rspec
21
+ name: yard
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
33
+ name: json
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
42
+ type: :runtime
43
+ version_requirements: *id002
44
+ - !ruby/object:Gem::Dependency
45
+ name: rspec
46
+ prerelease: false
47
+ requirement: &id003 !ruby/object:Gem::Requirement
24
48
  requirements:
25
49
  - - ">="
26
50
  - !ruby/object:Gem::Version
@@ -30,11 +54,11 @@ dependencies:
30
54
  - 9
31
55
  version: 1.2.9
32
56
  type: :development
33
- version_requirements: *id001
57
+ version_requirements: *id003
34
58
  - !ruby/object:Gem::Dependency
35
59
  name: yard
36
60
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
61
+ requirement: &id004 !ruby/object:Gem::Requirement
38
62
  requirements:
39
63
  - - ">="
40
64
  - !ruby/object:Gem::Version
@@ -42,11 +66,11 @@ dependencies:
42
66
  - 0
43
67
  version: "0"
44
68
  type: :development
45
- version_requirements: *id002
69
+ version_requirements: *id004
46
70
  - !ruby/object:Gem::Dependency
47
71
  name: cucumber
48
72
  prerelease: false
49
- requirement: &id003 !ruby/object:Gem::Requirement
73
+ requirement: &id005 !ruby/object:Gem::Requirement
50
74
  requirements:
51
75
  - - ">="
52
76
  - !ruby/object:Gem::Version
@@ -54,7 +78,7 @@ dependencies:
54
78
  - 0
55
79
  version: "0"
56
80
  type: :development
57
- version_requirements: *id003
81
+ version_requirements: *id005
58
82
  description: yard-slipstream is a yard plugin for Yard-0.5.3 and higher. Slipstream gives users an option for faster page navigation in their yard documents. We just want to optimize the most frequent lookups and remove any duplicate info. Other than that its just plain straight Yard, with all the same "look and feel" as the default template.
59
83
  email: dreamcat4@gmail.com
60
84
  executables: []
@@ -80,21 +104,29 @@ files:
80
104
  - spec/spec.opts
81
105
  - spec/spec_helper.rb
82
106
  - spec/yard-slipstream_spec.rb
107
+ - templates/default/class/html/subclasses.erb
83
108
  - templates/default/fulldoc/html/css/custom.css
84
109
  - templates/default/fulldoc/html/css/style.css
85
- - templates/default/fulldoc/html/css/yardoc-custom.css
86
- - templates/default/fulldoc/html/css/yardoc.css
87
- - templates/default/fulldoc/html/css/yardoc.html
110
+ - templates/default/fulldoc/html/js/app.js
88
111
  - templates/default/fulldoc/html/js/autocomplete.js
89
112
  - templates/default/fulldoc/html/js/live.js
113
+ - templates/default/fulldoc/html/json_search_index.erb
90
114
  - templates/default/fulldoc/html/setup.rb
115
+ - templates/default/layout/html/breadcrumb.erb
116
+ - templates/default/layout/html/footer.erb
91
117
  - templates/default/layout/html/headers.erb
92
118
  - templates/default/layout/html/index.erb
93
119
  - templates/default/layout/html/search.erb
120
+ - templates/default/layout/html/setup.rb
121
+ - templates/default/method_details/html/header.erb
122
+ - templates/default/method_details/html/method_signature.erb
123
+ - templates/default/module/html/attribute_details.erb
94
124
  - templates/default/module/html/attribute_summary.erb
95
125
  - templates/default/module/html/box_info.erb
126
+ - templates/default/module/html/children.erb
96
127
  - templates/default/module/html/local_methods.erb
97
128
  - templates/default/module/setup.rb
129
+ - yard-slipstream.gemspec
98
130
  has_rdoc: true
99
131
  homepage: http://github.com/dreamcat4/yard-slipstream
100
132
  licenses: []
@@ -1,69 +0,0 @@
1
- #search_results h1 { margin-bottom: 0; }
2
- #search_results p { margin-top: 0; margin-bottom: 25px; }
3
- #search_results ul { list-style-position: inside; padding-left: 0; list-style: none; }
4
- #search_results ul li { padding: 7px 15px; font-size: 1.1em; }
5
-
6
- #search_frame { z-index: 9999; }
7
-
8
- form.search {
9
- position: relative;
10
- color: #fff;
11
- margin-top: 3px; padding: 7px; border: 1px solid #99f; width: 315px; background: #05a;
12
- -moz-border-radius: 4px; -webkit-border-radius: 4px;
13
- margin-bottom: 10px;
14
- }
15
- form.search input { margin-left: 5px; width: 250px; border: 1px solid #99f; -moz-border-radius: 3px; font-family: monospace; }
16
-
17
- #menu { padding-top: 5px; }
18
- #content h1 { margin-top: 0; border-top: 0; }
19
-
20
- #content.error { font-size: 1.2em; }
21
- #content.error p tt { font-size: 1.2em; }
22
- #content.error .note { padding: 12px; }
23
-
24
- .signature .permalink { float: right; font-size: 0.9em; }
25
-
26
- /* autocomplete */
27
- .ac_results {
28
- padding: 0px;
29
- border: 1px solid black;
30
- width: 500px;
31
- overflow: hidden;
32
- z-index: 99999;
33
- }
34
-
35
- .ac_results ul {
36
- width: 100%;
37
- list-style-position: outside;
38
- list-style: none;
39
- padding: 0;
40
- margin: 0;
41
- }
42
-
43
- .ac_results li {
44
- cursor: pointer;
45
- margin: 0px;
46
- padding: 3px;
47
- display: block;
48
- font-family: sans-serif;
49
- font-size: 12px;
50
- line-height: 16px;
51
- overflow: hidden;
52
-
53
- }
54
-
55
- .ac_loading {
56
- background: white url('/images/loading.gif') right center no-repeat;
57
- }
58
-
59
- .ac_even {
60
- background: #fafafa; border: 1px dotted #fafafa; border-left-width: 0; border-right-width: 0;
61
- }
62
-
63
- .ac_odd {
64
- background: #f0f0f0; border: 1px dotted #f0f0f0; border-left-width: 0; border-right-width: 0;
65
- }
66
-
67
- .ac_over {
68
- background: #ddd; cursor: pointer; border: 1px dotted #fff; border-left-width: 0; border-right-width: 0;
69
- }
@@ -1,267 +0,0 @@
1
- body {
2
- padding: 0 20px;
3
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
- font-size: 13px;
5
- }
6
- body.frames { padding: 0 5px; }
7
- h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
8
- h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
9
- h1.title { margin-bottom: 10px; }
10
- h1.alphaindex { margin-top: 0; font-size: 22px; }
11
- h2 {
12
- padding: 0;
13
- padding-bottom: 3px;
14
- border-bottom: 1px #aaa solid;
15
- font-size: 1.4em;
16
- margin: 1.8em 0 0.5em;
17
- }
18
- .clear { clear: both; }
19
- .docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
20
- .docstring h1 { font-size: 1.2em; }
21
- .docstring h2 { font-size: 1.1em; }
22
- .docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
23
-
24
- .note {
25
- color: #222;
26
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
27
- background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
28
- }
29
- .note.todo { background: #ffffc5; border-color: #ececaa; }
30
- .note.returns_void { background: #efefef; }
31
- .note.deprecated { background: #ffe5e5; border-color: #e9dada; }
32
- .note.title { text-transform: lowercase; padding: 1px 5px; margin-left: 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; }
33
- h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
34
- .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
35
- .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
36
- .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
37
- .note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
38
-
39
- h3.inherited {
40
- font-style: italic;
41
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
42
- font-weight: normal;
43
- padding: 0;
44
- margin: 0;
45
- margin-top: 12px;
46
- margin-bottom: 3px;
47
- font-size: 13px;
48
- }
49
- p.inherited {
50
- padding: 0;
51
- margin: 0;
52
- margin-left: 25px;
53
- }
54
-
55
- dl.box {
56
- width: 520px;
57
- font-size: 1em;
58
- }
59
- dl.box dt {
60
- float: left;
61
- display: block;
62
- width: 100px;
63
- margin: 0;
64
- text-align: right;
65
- font-weight: bold;
66
- border: 1px solid #aaa;
67
- border-width: 1px 0px 0px 1px;
68
- padding: 6px 0;
69
- padding-right: 10px;
70
- }
71
- dl.box dd {
72
- float: left;
73
- display: block;
74
- width: 380px;
75
- margin: 0;
76
- padding: 6px 0;
77
- padding-right: 20px;
78
- border: 1px solid #aaa;
79
- border-width: 1px 1px 0 0;
80
- }
81
- dl.box .last {
82
- border-bottom: 1px solid #aaa;
83
- }
84
- dl.box .r1 { background: #eee; }
85
-
86
- ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
87
- #files { padding-left: 15px; font-size: 1.1em; }
88
-
89
- #files { padding: 0; }
90
- #files li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
91
-
92
- dl.constants { margin-left: 40px; }
93
- dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
94
- dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
95
-
96
- .summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
97
- .summary_desc tt { font-size: 0.9em; }
98
- dl.constants .summary_desc { font-size: 0.9em; font-weight: normal; }
99
-
100
- .method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
101
- .method_details.first { border: 0; }
102
- p.signature {
103
- font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
104
- padding: 6px 10px; margin-top: 18px;
105
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
106
- }
107
- p.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
108
- p.signature .overload { display: block; }
109
- p.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
110
- p.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
111
- p.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
112
-
113
- .tags h3 { font-size: 1em; margin-bottom: 0; }
114
- .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
115
- .tags ul li { margin-bottom: 3px; }
116
- .tags ul .name { font-family: monospace; font-weight: bold; }
117
- .tags ul p.note { padding: 3px 6px; }
118
- .tags { margin-bottom: 12px; }
119
-
120
- .tags .examples h3 { margin-bottom: 10px; }
121
- .tags .examples h4 { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
122
-
123
- .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
124
- .tags .overload .overload_item .signature {
125
- padding: 2px 8px;
126
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
127
- }
128
- .tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
129
- .tags .overload .docstring { margin-top: 15px; }
130
-
131
- .defines { display: none; }
132
-
133
- #method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
134
-
135
- .showSource { font-size: 0.9em; }
136
- .showSource a:link, .showSource a:visited { text-decoration: none; color: #666; }
137
-
138
- #content a:link, #content a:visited { text-decoration: none; color: #05a; }
139
- #content a:hover { background: #ffffa5; }
140
- .docstring { margin-right: 6em; }
141
-
142
- ul.summary {
143
- list-style: none;
144
- font-family: monospace;
145
- font-size: 1em;
146
- line-height: 1.5em;
147
- }
148
- ul.summary a:link, ul.summary a:visited {
149
- text-decoration: none; font-size: 1.1em;
150
- }
151
- ul.summary li { margin-bottom: 5px; }
152
- .summary .summary_signature {
153
- padding: 1px 10px;
154
- background: #eaeaff; border: 1px solid #dfdfe5;
155
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
156
- }
157
- .summary_signature:hover { background: #eeeeff; cursor: pointer; }
158
- #content .summary_signature:hover a:link,
159
- #content .summary_signature:hover a:visited {
160
- background: transparent;
161
- color: #48f;
162
- }
163
-
164
- p.inherited a { font-family: monospace; font-size: 0.9em; }
165
- p.inherited { word-spacing: 5px; font-size: 1.2em; }
166
-
167
- p.children { font-size: 1.2em; }
168
- p.children a { font-size: 0.9em; }
169
- p.children strong { font-size: 0.8em; }
170
- p.children strong.modules { padding-left: 5px; }
171
-
172
- ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
173
- ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
174
- ul.fullTree li { text-align: center; }
175
- ul.fullTree li.next:before { font-size: 1.2em; content: '\2B06'; color: #bbb; display: block; margin-top: 3px; }
176
-
177
- #search { position: absolute; right: 14px; top: 0px; }
178
- #search a:link, #search a:visited {
179
- display: block; float: left; margin-right: 4px;
180
- padding: 8px 10px; text-decoration: none; color: #05a; background: #eaeaff;
181
- border: 1px solid #d8d8e5;
182
- -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
183
- -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
184
- }
185
- #search a:hover { background: #eef; color: #06b; }
186
- #search a.active {
187
- background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
188
- -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
189
- -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
190
- }
191
- #search a.inactive { color: #999; }
192
- .frames #search { display: none; }
193
- .inheritanceTree, .toggleDefines { float: right; }
194
-
195
- #menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; }
196
- #menu .title, #menu a { font-size: 0.7em; }
197
- #menu .title { color: #555; }
198
- #menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
199
- #menu a:hover { color: #05a; }
200
- #menu .noframes { display: none; }
201
- .frames #menu .noframes { display: inline; float: right; }
202
-
203
- #footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
204
- #footer a:link, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
205
- #footer a:hover { color: #05a; }
206
-
207
- #listing ul.alpha { font-size: 1.1em; }
208
- #listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
209
- #listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
210
- #listing ul.alpha ul { margin: 0; padding-left: 15px; }
211
- #listing ul small { color: #666; font-size: 0.7em; }
212
-
213
- li.r1 { background: #f0f0f0; }
214
- li.r2 { background: #fafafa; }
215
-
216
- #search_frame {
217
- background: #fff;
218
- display: none;
219
- position: absolute;
220
- top: 36px;
221
- right: 18px;
222
- width: 500px;
223
- height: 80%;
224
- overflow-y: scroll;
225
- border: 1px solid #999;
226
- border-collapse: collapse;
227
- -webkit-box-shadow: -2px 5px 25px #aaa;
228
- -moz-box-shadow: -2px 5px 25px #aaa;
229
- -moz-border-radius: 2px;
230
- -webkit-border-radius: 2px;
231
- }
232
-
233
- #content ul.summary li.deprecated a:link,
234
- #content ul.summary li.deprecated a:visited { text-decoration: line-through; font-style: italic; }
235
-
236
- /* syntax highlighting */
237
- .source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
238
- #filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
239
- #filecontents pre.code, .docstring pre.code { display: block; }
240
- .source_code .lines { padding-right: 12px; color: #555; text-align: right; }
241
- #filecontents pre.code, .docstring pre.code,
242
- .tags .example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
243
- pre.code { color: #000; }
244
- pre.code .info.file { color: #555; }
245
- pre.code .val { color: #036A07; }
246
- pre.code .tstring_content,
247
- pre.code .heredoc_beg, pre.code .heredoc_end,
248
- pre.code .qwords_beg, pre.code .qwords_end,
249
- pre.code .tstring, pre.code .dstring { color: #036A07; }
250
- pre.code .fid, pre.code .id.new, pre.code .id.to_s,
251
- pre.code .id.to_sym, pre.code .id.to_f,
252
- pre.code .dot + pre.code .id,
253
- pre.code .id.to_i pre.code .id.each { color: #0085FF; }
254
- pre.code .comment { color: #0066FF; }
255
- pre.code .const, pre.code .constant { color: #585CF6; }
256
- pre.code .symbol { color: #C5060B; }
257
- pre.code .kw,
258
- pre.code .label,
259
- pre.code .id.require,
260
- pre.code .id.extend,
261
- pre.code .id.include { color: #0000FF; }
262
- pre.code .ivar { color: #318495; }
263
- pre.code .gvar,
264
- pre.code .id.backref,
265
- pre.code .id.nth_ref { color: #6D79DE; }
266
- pre.code .regexp, .dregexp { color: #036A07; }
267
- pre.code a { border-bottom: 1px dotted #bbf; }