corundum 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -28,6 +28,7 @@ Have you ever released a gem that:
28
28
  * Still had a p or debugger line hanging around?
29
29
  * Weren't commited and pushed to github?
30
30
  * Weren't tagged with their version on github?
31
+ * Didn't have decent public documentation?
31
32
 
32
33
  If so, Corundum is for you.
33
34
 
@@ -41,3 +42,23 @@ Have you ever been irritated with a gem packaging system that
41
42
  If so, Corundum is for you.
42
43
 
43
44
  [Learn more](http://nyarly.github.com/corundum/)
45
+
46
+ ### Thanks
47
+
48
+ Corundum certainly wouldn't exist without seattlerb's Hoe.
49
+
50
+ Corundum's default documentation theme is lifted wholesale from Steve Smith's Modernizer theme for github pages.
51
+
52
+ Obviously, Bundler and Rubygems are a prerequisite, and the team that works on them is pretty much amazing.
53
+
54
+ ### Contributing
55
+
56
+ The decisions about what to support in Corundum have everything to do with my
57
+ personal dev environment (which might help explain the Montone version control
58
+ tasklib). From the start, the idea has been to make changing out components
59
+ absurdly easy. Legos stick together more than these things. I'd love to see
60
+ an RCov tasklib, for instance, or a Minitest one. Mercurial.
61
+
62
+ Make a pull request, and I'll get it merged. If you're worried, we can talk it
63
+ out in Issues or email, and we can hash out the form of a pull request that
64
+ I'll commit to merging.
data/doc/README CHANGED
@@ -11,19 +11,19 @@ and know that you're publishing something you won't be embarrassed by.
11
11
  === Yet Another Rubygems packager?
12
12
 
13
13
  Why is Corundum different from Jeweler or Hoe? (or...) Corundum isn't built
14
- to generate code - it doesn't build gems for you if you don't know how or don't
15
- care to. For that, check out {http://rubygems.org/gems/jeweler Jeweler}, and
14
+ to generate code - it doesn't build gems for you if you don't know how or don't
15
+ care to. For that, check out {http://rubygems.org/gems/jeweler Jeweler}, and
16
16
  come back once you've understood what a .gemspec is and how it works.
17
17
 
18
- Because, really, writing a gem is pretty easy - you can do it in a gist if you
19
- want. And releasing Gems isn't all that hard either - rubygems has good tools
18
+ Because, really, writing a gem is pretty easy - you can do it in a gist if you
19
+ want. And releasing Gems isn't all that hard either - rubygems has good tools
20
20
  to package up gems and push them to gem servers. So why Corundum?
21
21
 
22
22
  Because releasing a gem that will actually help the Ruby community at large is
23
23
  actually quite difficult. There are lot of fiddly details to get wrong, and
24
- even experienced devs can be
25
- {https://github.com/jbarnette/hoe-doofus/blob/master/lib/hoe/doofus.rb#L16
26
- doofuses} sometimes. Corundum serves as a collection of safeguards against
24
+ even experienced devs can be
25
+ {https://github.com/jbarnette/hoe-doofus/blob/master/lib/hoe/doofus.rb#L16
26
+ doofuses} sometimes. Corundum serves as a collection of safeguards against
27
27
  common errors in releasing gems - certainly every one that's happened to me.
28
28
 
29
29
  === Using Corundum
@@ -0,0 +1,17 @@
1
+ var metas = document.getElementsByTagName('meta');
2
+ var i;
3
+ if (navigator.userAgent.match(/iPhone/i)) {
4
+ for (i=0; i<metas.length; i++) {
5
+ if (metas[i].name == "viewport") {
6
+ metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
7
+ }
8
+ }
9
+ document.addEventListener("gesturestart", gestureStart, false);
10
+ }
11
+ function gestureStart() {
12
+ for (i=0; i<metas.length; i++) {
13
+ if (metas[i].name == "viewport") {
14
+ metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,325 @@
1
+ @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
2
+ @import 'compass/css3';
3
+
4
+ html {
5
+ background:#6C7989;
6
+ @include background(#6C7989 linear_gradient(#6C7989, #434B55) fixed);
7
+ }
8
+
9
+ body {
10
+ padding:50px 0;
11
+ margin:0;
12
+ font:14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
13
+ color:#555;
14
+ font-weight:300;
15
+ background:inline-image('checker.png') fixed;
16
+ }
17
+
18
+ .wrapper {
19
+ width:640px;
20
+ margin:0 auto;
21
+ background:#DEDEDE;
22
+ @include border-radius(8px);
23
+ @include box-shadow(rgba(#000, 0.2) 0 0 0 1px, rgba(#000, 0.45) 0 3px 10px);
24
+ }
25
+
26
+ header, section, footer {
27
+ display:block;
28
+ }
29
+
30
+ a {
31
+ color:#069;
32
+ text-decoration:none;
33
+ }
34
+
35
+ p {
36
+ margin:0 0 20px;
37
+ padding:0;
38
+ }
39
+
40
+ strong {
41
+ color:#222;
42
+ font-weight:700;
43
+ }
44
+
45
+ header {
46
+ @include border-radius(8px 8px 0 0);
47
+ background:#C6EAFA;
48
+ @include background(linear_gradient(#DDFBFC, #C6EAFA));
49
+ position:relative;
50
+ padding:15px 20px;
51
+ border-bottom:1px solid #B2D2E1;
52
+
53
+ h1 {
54
+ margin:0;
55
+ padding:0;
56
+ font-size:24px;
57
+ line-height:1.2;
58
+ color:#069;
59
+ text-shadow:rgba(#fff, 0.9) 0 1px 0;
60
+ }
61
+
62
+ &.without-description h1 {
63
+ margin:10px 0;
64
+ }
65
+
66
+ p {
67
+ margin:0;
68
+ color:#61778B;
69
+ width:300px;
70
+ font-size:13px;
71
+
72
+ &.view {
73
+ display:none;
74
+ font-weight:700;
75
+ text-shadow:rgba(#fff, 0.9) 0 1px 0;
76
+ -webkit-font-smoothing:antialiased;
77
+
78
+ a {
79
+ color:#06c;
80
+ }
81
+
82
+ small {
83
+ font-weight:400;
84
+ }
85
+ }
86
+ }
87
+
88
+ ul {
89
+ margin:0;
90
+ padding:0;
91
+ list-style:none;
92
+ position:absolute;
93
+ z-index:1;
94
+ right:20px;
95
+ top:20px;
96
+ height:38px;
97
+ padding:1px 0;
98
+ background:#5198DF;
99
+ @include background(linear_gradient(#77B9FB, #3782CD));
100
+ border-radius:5px;
101
+ @include box-shadow(inset rgba(#fff, 0.45) 0 1px 0, inset rgba(#000, 0.2) 0 -1px 0);
102
+ width:240px;
103
+
104
+ &:before {
105
+ content:'';
106
+ position:absolute;
107
+ z-index:-1;
108
+ left:-5px;
109
+ top:-4px;
110
+ right:-5px;
111
+ bottom:-6px;
112
+ background:rgba(#000, 0.1);
113
+ @include border-radius(8px);
114
+ @include box-shadow(rgba(#000, 0.2) 0 -1px 0, inset rgba(#fff, 0.7) 0 -1px 0);
115
+ }
116
+
117
+ li {
118
+ width:79px;
119
+ float:left;
120
+ border-right:1px solid #3A7CBE;
121
+ height:38px;
122
+ }
123
+
124
+ li + li {
125
+ width:78px;
126
+ border-left:1px solid #8BBEF3;
127
+ }
128
+
129
+ li + li + li {
130
+ border-right:none;
131
+ width:79px;
132
+ }
133
+
134
+ a {
135
+ line-height:1;
136
+ font-size:11px;
137
+ color:#fff;
138
+ color:rgba(#fff, 0.8);
139
+ display:block;
140
+ text-align:center;
141
+ font-weight:400;
142
+ padding-top:6px;
143
+ height:40px;
144
+ text-shadow:rgba(#000, 0.4) 0 -1px 0;
145
+
146
+ strong {
147
+ font-size:14px;
148
+ display:block;
149
+ color:#fff;
150
+ -webkit-font-smoothing:antialiased;
151
+ }
152
+ }
153
+ }
154
+ }
155
+
156
+ section {
157
+ padding:15px 20px;
158
+ font-size:15px;
159
+ border-top:1px solid #fff;
160
+ @include background(linear_gradient(#fafafa, #DEDEDE 700px));
161
+ @include border-radius(0 0 8px 8px);
162
+ position:relative;
163
+ }
164
+
165
+ h1, h2, h3, h4, h5, h6 {
166
+ color:#222;
167
+ padding:0;
168
+ margin:0 0 20px;
169
+ line-height:1.2;
170
+ }
171
+
172
+ p, ul, ol, table, pre, dl {
173
+ margin:0 0 20px;
174
+ }
175
+
176
+ h1, h2, h3 {
177
+ line-height:1.1;
178
+ }
179
+
180
+ h1 {
181
+ font-size:28px;
182
+ }
183
+
184
+ h2 {
185
+ color:#393939;
186
+ }
187
+
188
+ h3, h4, h5, h6 {
189
+ color:#494949;
190
+ }
191
+
192
+ blockquote {
193
+ margin:0 -20px 20px;
194
+ padding:15px 20px 1px 40px;
195
+ font-style:italic;
196
+ background:#ccc;
197
+ background:rgba(#000, 0.06);
198
+ color:#222;
199
+ }
200
+
201
+ img {
202
+ max-width:100%;
203
+ }
204
+
205
+ code, pre {
206
+ font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
207
+ color:#333;
208
+ font-size:12px;
209
+ overflow-x:auto;
210
+ }
211
+
212
+ pre {
213
+ padding:20px;
214
+ background: #3A3C42;
215
+ color:#f8f8f2;
216
+ margin:0 -20px 20px;
217
+
218
+ code {
219
+ color:#f8f8f2;
220
+ }
221
+
222
+ li & {
223
+ margin-left:-60px;
224
+ padding-left:60px;
225
+ }
226
+ }
227
+
228
+ table {
229
+ width:100%;
230
+ border-collapse:collapse;
231
+ }
232
+
233
+ th, td {
234
+ text-align:left;
235
+ padding:5px 10px;
236
+ border-bottom:1px solid #aaa;
237
+ }
238
+
239
+ dt {
240
+ color:#222;
241
+ font-weight:700;
242
+ }
243
+
244
+ th {
245
+ color:#222;
246
+ }
247
+
248
+ small {
249
+ font-size:11px;
250
+ }
251
+
252
+ hr {
253
+ border:0;
254
+ background:#aaa;
255
+ height:1px;
256
+ margin:0 0 20px;
257
+ }
258
+
259
+ footer {
260
+ width:640px;
261
+ margin:0 auto;
262
+ padding:20px 0 0;
263
+ color:#ccc;
264
+ overflow:hidden;
265
+
266
+ a {
267
+ color:#fff;
268
+ font-weight:bold;
269
+ }
270
+
271
+ p {
272
+ float:left;
273
+ }
274
+
275
+ p + p {
276
+ float:right;
277
+ }
278
+ }
279
+
280
+ @media print, screen and (max-width: 740px) {
281
+ body {
282
+ padding:0;
283
+ }
284
+
285
+ .wrapper {
286
+ @include border-radius(0);
287
+ @include box-shadow(none);
288
+ width:100%;
289
+ }
290
+
291
+ footer {
292
+ @include border-radius(0);
293
+ padding:20px;
294
+ width:auto;
295
+
296
+ p {
297
+ float:none;
298
+ margin:0;
299
+ }
300
+
301
+ p + p {
302
+ float:none;
303
+ }
304
+ }
305
+ }
306
+
307
+ @media print, screen and (max-width:580px) {
308
+ header ul {
309
+ display:none;
310
+ }
311
+
312
+ header p.view {
313
+ display:block;
314
+ }
315
+
316
+ header p {
317
+ width:100%;
318
+ }
319
+ }
320
+
321
+ @media print {
322
+ header p.view a small:before {
323
+ content:'at http://github.com/';
324
+ }
325
+ }
@@ -0,0 +1,60 @@
1
+ .highlight .hll { background-color: #49483e }
2
+ .highlight { background: #3A3C42; color: #f8f8f2 }
3
+ .highlight .c { color: #75715e } /* Comment */
4
+ .highlight .err { color: #960050; background-color: #1e0010 } /* Error */
5
+ .highlight .k { color: #66d9ef } /* Keyword */
6
+ .highlight .l { color: #ae81ff } /* Literal */
7
+ .highlight .n { color: #f8f8f2 } /* Name */
8
+ .highlight .o { color: #f92672 } /* Operator */
9
+ .highlight .p { color: #f8f8f2 } /* Punctuation */
10
+ .highlight .cm { color: #75715e } /* Comment.Multiline */
11
+ .highlight .cp { color: #75715e } /* Comment.Preproc */
12
+ .highlight .c1 { color: #75715e } /* Comment.Single */
13
+ .highlight .cs { color: #75715e } /* Comment.Special */
14
+ .highlight .ge { font-style: italic } /* Generic.Emph */
15
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
16
+ .highlight .kc { color: #66d9ef } /* Keyword.Constant */
17
+ .highlight .kd { color: #66d9ef } /* Keyword.Declaration */
18
+ .highlight .kn { color: #f92672 } /* Keyword.Namespace */
19
+ .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
20
+ .highlight .kr { color: #66d9ef } /* Keyword.Reserved */
21
+ .highlight .kt { color: #66d9ef } /* Keyword.Type */
22
+ .highlight .ld { color: #e6db74 } /* Literal.Date */
23
+ .highlight .m { color: #ae81ff } /* Literal.Number */
24
+ .highlight .s { color: #e6db74 } /* Literal.String */
25
+ .highlight .na { color: #a6e22e } /* Name.Attribute */
26
+ .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
27
+ .highlight .nc { color: #a6e22e } /* Name.Class */
28
+ .highlight .no { color: #66d9ef } /* Name.Constant */
29
+ .highlight .nd { color: #a6e22e } /* Name.Decorator */
30
+ .highlight .ni { color: #f8f8f2 } /* Name.Entity */
31
+ .highlight .ne { color: #a6e22e } /* Name.Exception */
32
+ .highlight .nf { color: #a6e22e } /* Name.Function */
33
+ .highlight .nl { color: #f8f8f2 } /* Name.Label */
34
+ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
35
+ .highlight .nx { color: #a6e22e } /* Name.Other */
36
+ .highlight .py { color: #f8f8f2 } /* Name.Property */
37
+ .highlight .nt { color: #f92672 } /* Name.Tag */
38
+ .highlight .nv { color: #f8f8f2 } /* Name.Variable */
39
+ .highlight .ow { color: #f92672 } /* Operator.Word */
40
+ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
41
+ .highlight .mf { color: #ae81ff } /* Literal.Number.Float */
42
+ .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
43
+ .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
44
+ .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
45
+ .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
46
+ .highlight .sc { color: #e6db74 } /* Literal.String.Char */
47
+ .highlight .sd { color: #e6db74 } /* Literal.String.Doc */
48
+ .highlight .s2 { color: #e6db74 } /* Literal.String.Double */
49
+ .highlight .se { color: #ae81ff } /* Literal.String.Escape */
50
+ .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
51
+ .highlight .si { color: #e6db74 } /* Literal.String.Interpol */
52
+ .highlight .sx { color: #e6db74 } /* Literal.String.Other */
53
+ .highlight .sr { color: #e6db74 } /* Literal.String.Regex */
54
+ .highlight .s1 { color: #e6db74 } /* Literal.String.Single */
55
+ .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
56
+ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
57
+ .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
58
+ .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
59
+ .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
60
+ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
@@ -0,0 +1,363 @@
1
+ @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
2
+ html {
3
+ background: #6C7989;
4
+ background: #6c7989 -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6c7989), color-stop(100%, #434b55)) fixed;
5
+ background: #6c7989 -webkit-linear-gradient(#6c7989, #434b55) fixed;
6
+ background: #6c7989 -moz-linear-gradient(#6c7989, #434b55) fixed;
7
+ background: #6c7989 -o-linear-gradient(#6c7989, #434b55) fixed;
8
+ background: #6c7989 -ms-linear-gradient(#6c7989, #434b55) fixed;
9
+ background: #6c7989 linear-gradient(#6c7989, #434b55) fixed;
10
+ }
11
+
12
+ body {
13
+ padding: 50px 0;
14
+ margin: 0;
15
+ font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
16
+ color: #555;
17
+ font-weight: 300;
18
+ background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAAAUdEVYdENyZWF0aW9uIFRpbWUAMy82LzEygrTcTAAAAFRJREFUSIljfPDggZRf5RIGGNjUHsNATz6jXmSL1Kb2GLiAX+USBnrymRgGGDCORgFmoNAXjEbBaBSMRsFoFIxGwWgUjEbBaBSMRsFoFIxGwWgUAABYNujumib3wAAAAABJRU5ErkJggg==') fixed;
19
+ }
20
+
21
+ .wrapper {
22
+ width: 640px;
23
+ margin: 0 auto;
24
+ background: #DEDEDE;
25
+ -moz-border-radius: 8px;
26
+ -webkit-border-radius: 8px;
27
+ -o-border-radius: 8px;
28
+ -ms-border-radius: 8px;
29
+ -khtml-border-radius: 8px;
30
+ border-radius: 8px;
31
+ -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
32
+ -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
33
+ -o-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
34
+ box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
35
+ }
36
+
37
+ header, section, footer {
38
+ display: block;
39
+ }
40
+
41
+ a {
42
+ color: #069;
43
+ text-decoration: none;
44
+ }
45
+
46
+ p {
47
+ margin: 0 0 20px;
48
+ padding: 0;
49
+ }
50
+
51
+ strong {
52
+ color: #222;
53
+ font-weight: 700;
54
+ }
55
+
56
+ header {
57
+ -moz-border-radius: 8px 8px 0 0;
58
+ -webkit-border-radius: 8px 8px 0 0;
59
+ -o-border-radius: 8px 8px 0 0;
60
+ -ms-border-radius: 8px 8px 0 0;
61
+ -khtml-border-radius: 8px 8px 0 0;
62
+ border-radius: 8px 8px 0 0;
63
+ background: #C6EAFA;
64
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddfbfc), color-stop(100%, #c6eafa));
65
+ background: -webkit-linear-gradient(#ddfbfc, #c6eafa);
66
+ background: -moz-linear-gradient(#ddfbfc, #c6eafa);
67
+ background: -o-linear-gradient(#ddfbfc, #c6eafa);
68
+ background: -ms-linear-gradient(#ddfbfc, #c6eafa);
69
+ background: linear-gradient(#ddfbfc, #c6eafa);
70
+ position: relative;
71
+ padding: 15px 20px;
72
+ border-bottom: 1px solid #B2D2E1;
73
+ }
74
+ header h1 {
75
+ margin: 0;
76
+ padding: 0;
77
+ font-size: 24px;
78
+ line-height: 1.2;
79
+ color: #069;
80
+ text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
81
+ }
82
+ header.without-description h1 {
83
+ margin: 10px 0;
84
+ }
85
+ header p {
86
+ margin: 0;
87
+ color: #61778B;
88
+ width: 300px;
89
+ font-size: 13px;
90
+ }
91
+ header p.view {
92
+ display: none;
93
+ font-weight: 700;
94
+ text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
95
+ -webkit-font-smoothing: antialiased;
96
+ }
97
+ header p.view a {
98
+ color: #06c;
99
+ }
100
+ header p.view small {
101
+ font-weight: 400;
102
+ }
103
+ header ul {
104
+ margin: 0;
105
+ padding: 0;
106
+ list-style: none;
107
+ position: absolute;
108
+ z-index: 1;
109
+ right: 20px;
110
+ top: 20px;
111
+ height: 38px;
112
+ padding: 1px 0;
113
+ background: #5198DF;
114
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #77b9fb), color-stop(100%, #3782cd));
115
+ background: -webkit-linear-gradient(#77b9fb, #3782cd);
116
+ background: -moz-linear-gradient(#77b9fb, #3782cd);
117
+ background: -o-linear-gradient(#77b9fb, #3782cd);
118
+ background: -ms-linear-gradient(#77b9fb, #3782cd);
119
+ background: linear-gradient(#77b9fb, #3782cd);
120
+ border-radius: 5px;
121
+ -moz-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
122
+ -webkit-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
123
+ -o-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
124
+ box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
125
+ width: 240px;
126
+ }
127
+ header ul:before {
128
+ content: '';
129
+ position: absolute;
130
+ z-index: -1;
131
+ left: -5px;
132
+ top: -4px;
133
+ right: -5px;
134
+ bottom: -6px;
135
+ background: rgba(0, 0, 0, 0.1);
136
+ -moz-border-radius: 8px;
137
+ -webkit-border-radius: 8px;
138
+ -o-border-radius: 8px;
139
+ -ms-border-radius: 8px;
140
+ -khtml-border-radius: 8px;
141
+ border-radius: 8px;
142
+ -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
143
+ -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
144
+ -o-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
145
+ box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
146
+ }
147
+ header ul li {
148
+ width: 79px;
149
+ float: left;
150
+ border-right: 1px solid #3A7CBE;
151
+ height: 38px;
152
+ }
153
+ header ul li + li {
154
+ width: 78px;
155
+ border-left: 1px solid #8BBEF3;
156
+ }
157
+ header ul li + li + li {
158
+ border-right: none;
159
+ width: 79px;
160
+ }
161
+ header ul a {
162
+ line-height: 1;
163
+ font-size: 11px;
164
+ color: #fff;
165
+ color: rgba(255, 255, 255, 0.8);
166
+ display: block;
167
+ text-align: center;
168
+ font-weight: 400;
169
+ padding-top: 6px;
170
+ height: 40px;
171
+ text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
172
+ }
173
+ header ul a strong {
174
+ font-size: 14px;
175
+ display: block;
176
+ color: #fff;
177
+ -webkit-font-smoothing: antialiased;
178
+ }
179
+
180
+ section {
181
+ padding: 15px 20px;
182
+ font-size: 15px;
183
+ border-top: 1px solid #fff;
184
+ background: -webkit-gradient(linear, 50% 0%, 50% 700, color-stop(0%, #fafafa), color-stop(100%, #dedede));
185
+ background: -webkit-linear-gradient(#fafafa, #dedede 700px);
186
+ background: -moz-linear-gradient(#fafafa, #dedede 700px);
187
+ background: -o-linear-gradient(#fafafa, #dedede 700px);
188
+ background: -ms-linear-gradient(#fafafa, #dedede 700px);
189
+ background: linear-gradient(#fafafa, #dedede 700px);
190
+ -moz-border-radius: 0 0 8px 8px;
191
+ -webkit-border-radius: 0 0 8px 8px;
192
+ -o-border-radius: 0 0 8px 8px;
193
+ -ms-border-radius: 0 0 8px 8px;
194
+ -khtml-border-radius: 0 0 8px 8px;
195
+ border-radius: 0 0 8px 8px;
196
+ position: relative;
197
+ }
198
+
199
+ h1, h2, h3, h4, h5, h6 {
200
+ color: #222;
201
+ padding: 0;
202
+ margin: 0 0 20px;
203
+ line-height: 1.2;
204
+ }
205
+
206
+ p, ul, ol, table, pre, dl {
207
+ margin: 0 0 20px;
208
+ }
209
+
210
+ h1, h2, h3 {
211
+ line-height: 1.1;
212
+ }
213
+
214
+ h1 {
215
+ font-size: 28px;
216
+ }
217
+
218
+ h2 {
219
+ color: #393939;
220
+ }
221
+
222
+ h3, h4, h5, h6 {
223
+ color: #494949;
224
+ }
225
+
226
+ blockquote {
227
+ margin: 0 -20px 20px;
228
+ padding: 15px 20px 1px 40px;
229
+ font-style: italic;
230
+ background: #ccc;
231
+ background: rgba(0, 0, 0, 0.06);
232
+ color: #222;
233
+ }
234
+
235
+ img {
236
+ max-width:100%;
237
+ }
238
+
239
+ code, pre {
240
+ font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
241
+ color: #333;
242
+ font-size: 12px;
243
+ }
244
+
245
+ pre {
246
+ padding: 20px;
247
+ background: #3A3C42;
248
+ color: #f8f8f2;
249
+ margin: 0 -20px 20px;
250
+ overflow-x:auto;
251
+ }
252
+ pre code {
253
+ color: #f8f8f2;
254
+ }
255
+ li pre {
256
+ margin-left: -60px;
257
+ padding-left: 60px;
258
+ }
259
+
260
+ table {
261
+ width: 100%;
262
+ border-collapse: collapse;
263
+ }
264
+
265
+ th, td {
266
+ text-align: left;
267
+ padding: 5px 10px;
268
+ border-bottom: 1px solid #aaa;
269
+ }
270
+
271
+ dt {
272
+ color: #222;
273
+ font-weight: 700;
274
+ }
275
+
276
+ th {
277
+ color: #222;
278
+ }
279
+
280
+ small {
281
+ font-size: 11px;
282
+ }
283
+
284
+ hr {
285
+ border: 0;
286
+ background: #aaa;
287
+ height: 1px;
288
+ margin: 0 0 20px;
289
+ }
290
+
291
+ footer {
292
+ width: 640px;
293
+ margin: 0 auto;
294
+ padding: 20px 0 0;
295
+ color: #ccc;
296
+ overflow: hidden;
297
+ }
298
+ footer a {
299
+ color: #fff;
300
+ font-weight: bold;
301
+ }
302
+ footer p {
303
+ float: left;
304
+ }
305
+ footer p + p {
306
+ float: right;
307
+ }
308
+
309
+ @media print, screen and (max-width: 740px) {
310
+ body {
311
+ padding: 0;
312
+ }
313
+
314
+ .wrapper {
315
+ -moz-border-radius: 0;
316
+ -webkit-border-radius: 0;
317
+ -o-border-radius: 0;
318
+ -ms-border-radius: 0;
319
+ -khtml-border-radius: 0;
320
+ border-radius: 0;
321
+ -moz-box-shadow: none;
322
+ -webkit-box-shadow: none;
323
+ -o-box-shadow: none;
324
+ box-shadow: none;
325
+ width: 100%;
326
+ }
327
+
328
+ footer {
329
+ -moz-border-radius: 0;
330
+ -webkit-border-radius: 0;
331
+ -o-border-radius: 0;
332
+ -ms-border-radius: 0;
333
+ -khtml-border-radius: 0;
334
+ border-radius: 0;
335
+ padding: 20px;
336
+ width: auto;
337
+ }
338
+ footer p {
339
+ float: none;
340
+ margin: 0;
341
+ }
342
+ footer p + p {
343
+ float: none;
344
+ }
345
+ }
346
+ @media print, screen and (max-width:580px) {
347
+ header ul {
348
+ display: none;
349
+ }
350
+
351
+ header p.view {
352
+ display: block;
353
+ }
354
+
355
+ header p {
356
+ width: 100%;
357
+ }
358
+ }
359
+ @media print {
360
+ header p.view a small:before {
361
+ content: 'at http://github.com/';
362
+ }
363
+ }
@@ -65,7 +65,7 @@ module Corundum
65
65
  Compass.add_configuration(compass_config.to_hash, __FILE__)
66
66
  end
67
67
 
68
- template_task("doc_assembly/stylesheet.scss", stylesheet, Compass.sass_engine_options)
68
+ template_task("doc_assembly/theme/sass/styles.scss", stylesheet, Compass.sass_engine_options)
69
69
  file stylesheet => [:setup_compass, target_dir]
70
70
 
71
71
  template_task("doc_assembly/index.html.erb", entry_point)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corundum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: corundum
16
- requirement: &79741460 !ruby/object:Gem::Requirement
16
+ requirement: &86722230 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.1
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *79741460
24
+ version_requirements: *86722230
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake-rubygems
27
- requirement: &79740310 !ruby/object:Gem::Requirement
27
+ requirement: &86719890 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *79740310
35
+ version_requirements: *86719890
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
- requirement: &79739960 !ruby/object:Gem::Requirement
38
+ requirement: &86735560 !ruby/object:Gem::Requirement
39
39
  none: true
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *79739960
46
+ version_requirements: *86735560
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: yard
49
- requirement: &79739540 !ruby/object:Gem::Requirement
49
+ requirement: &86734900 !ruby/object:Gem::Requirement
50
50
  none: true
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *79739540
57
+ version_requirements: *86734900
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: mailfactory
60
- requirement: &79738860 !ruby/object:Gem::Requirement
60
+ requirement: &86734390 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -69,10 +69,10 @@ dependencies:
69
69
  - 0
70
70
  type: :runtime
71
71
  prerelease: false
72
- version_requirements: *79738860
72
+ version_requirements: *86734390
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec
75
- requirement: &79738570 !ruby/object:Gem::Requirement
75
+ requirement: &86734070 !ruby/object:Gem::Requirement
76
76
  none: false
77
77
  requirements:
78
78
  - - ! '>='
@@ -83,10 +83,10 @@ dependencies:
83
83
  - 0
84
84
  type: :runtime
85
85
  prerelease: false
86
- version_requirements: *79738570
86
+ version_requirements: *86734070
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: simplecov
89
- requirement: &79738230 !ruby/object:Gem::Requirement
89
+ requirement: &86733600 !ruby/object:Gem::Requirement
90
90
  none: false
91
91
  requirements:
92
92
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  - 4
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *79738230
101
+ version_requirements: *86733600
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: bundler
104
- requirement: &79737910 !ruby/object:Gem::Requirement
104
+ requirement: &86733120 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -113,10 +113,10 @@ dependencies:
113
113
  - 0
114
114
  type: :runtime
115
115
  prerelease: false
116
- version_requirements: *79737910
116
+ version_requirements: *86733120
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: nokogiri
119
- requirement: &79737670 !ruby/object:Gem::Requirement
119
+ requirement: &86732840 !ruby/object:Gem::Requirement
120
120
  none: true
121
121
  requirements:
122
122
  - - ! '>='
@@ -124,10 +124,10 @@ dependencies:
124
124
  version: '0'
125
125
  type: :runtime
126
126
  prerelease: false
127
- version_requirements: *79737670
127
+ version_requirements: *86732840
128
128
  - !ruby/object:Gem::Dependency
129
129
  name: mattock
130
- requirement: &79737300 !ruby/object:Gem::Requirement
130
+ requirement: &86732430 !ruby/object:Gem::Requirement
131
131
  none: false
132
132
  requirements:
133
133
  - - ! '>='
@@ -139,10 +139,10 @@ dependencies:
139
139
  - 11
140
140
  type: :runtime
141
141
  prerelease: false
142
- version_requirements: *79737300
142
+ version_requirements: *86732430
143
143
  - !ruby/object:Gem::Dependency
144
144
  name: sass
145
- requirement: &79736970 !ruby/object:Gem::Requirement
145
+ requirement: &86732050 !ruby/object:Gem::Requirement
146
146
  none: false
147
147
  requirements:
148
148
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  - 1
154
154
  type: :runtime
155
155
  prerelease: false
156
- version_requirements: *79736970
156
+ version_requirements: *86732050
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: compass
159
- requirement: &79736650 !ruby/object:Gem::Requirement
159
+ requirement: &86731730 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,7 +164,7 @@ dependencies:
164
164
  version: 0.12.1
165
165
  type: :runtime
166
166
  prerelease: false
167
- version_requirements: *79736650
167
+ version_requirements: *86731730
168
168
  description: ! " A corundum is a synthetic gemstone - including synthetic rubies.
169
169
  \ Ergo: a tool for synthesizing gems.\n\n Corundum starts with the outlook that
170
170
  gemspecs are relatively easy to work with, and that the opinion of the RubyGems
@@ -258,6 +258,11 @@ files:
258
258
  - lib/corundum/version_control/git.rb
259
259
  - lib/corundum/default_configuration/preferences.yaml
260
260
  - lib/corundum/default_configuration/templates/doc_assembly/index.html.erb
261
+ - lib/corundum/default_configuration/templates/doc_assembly/theme/sass/styles.scss
262
+ - lib/corundum/default_configuration/templates/doc_assembly/theme/stylesheets/pygment_trac.css
263
+ - lib/corundum/default_configuration/templates/doc_assembly/theme/stylesheets/styles.css
264
+ - lib/corundum/default_configuration/templates/doc_assembly/theme/javascripts/scale.fix.js
265
+ - lib/corundum/default_configuration/templates/doc_assembly/theme/images/checker.png
261
266
  - README.md
262
267
  - spec/smoking_spec.rb
263
268
  - spec_help/spec_helper.rb
@@ -322,7 +327,7 @@ licenses:
322
327
  post_install_message: Another tidy package brought to you by Judson
323
328
  rdoc_options:
324
329
  - --title
325
- - corundum-0.0.16 RDoc
330
+ - corundum-0.0.17 RDoc
326
331
  require_paths:
327
332
  - lib/
328
333
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -333,7 +338,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
333
338
  version: '0'
334
339
  segments:
335
340
  - 0
336
- hash: 241424621
341
+ hash: 862113203
337
342
  required_rubygems_version: !ruby/object:Gem::Requirement
338
343
  none: false
339
344
  requirements: