corundum 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzI1YWM4YzFmOWM5MzAwZWE2YmI0ZDA5Mjk4YmI2MWI2OWExN2Q4NQ==
4
+ YTdmY2U5Yjc3YTBiMjczN2JhNzI1MDEwYjQyMDU4N2ZiNjAxMzJhMQ==
5
5
  data.tar.gz: !binary |-
6
- NTI4ZjFmZDg0OThhN2IyMWIwODllZTJhMzVmMzM3MzgwMmYyM2E0Nw==
6
+ M2E2MGY3YjMxNWRjNjI0NDQzODhmY2I3OWNjOGM0YTkzYjBhNDUyYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTJiNDNiNTJmY2JhMTg4NjBjMDdiODY5Y2I3ZjAwOTJlOTU5ZThjYTI4N2Vm
10
- ZDM0NThiZTMwMDJkZDNkZDNjNDJiYmE4NWU5NjRhYzg3NzMyYzI2YmM2N2Q2
11
- YjhkM2M2Mzc1MGYyMDU0NTUwM2ZhZWRjZmRhYTk3MTkzM2YxYmU=
9
+ YjM4Mjg2YjEzOTY1NTdmODM1Zjc1YTQ1ODk4ZjRhNzc1MDM2MjcyMmQ0MGM2
10
+ YTM1YWM0YzQzOTBiZWM2YzIyZGZkOGExMWVkMzFmZTgzOTc3Y2E2NTFhMDZi
11
+ NDYzZGZiZTMyNWE5Y2FlNjAzNTFjMjA0NTczZTMzZjNkYzIzNzQ=
12
12
  data.tar.gz: !binary |-
13
- ZjBmMjA2ODA5NzRlZGJmZWUwOWI0ZDY4MWJlZjM2N2Q3NjU1Mjk4YWQ3NTNm
14
- Mjk2MDE0NGI2ZDk2MjQwNWQxNTU3NWQ2NTliNDM5ZjY0ODBlYTRiNzBkODMx
15
- N2Q0OWVkMTlhN2E2ZmUyOGFkM2ZkNjJiOGY4NzY5MzVmNzQ1MzY=
13
+ YWRhNDBhOTFlZDQ1OGNlZjk4Y2ViNzUwMjYwYzViNzJlOWE0NWYwNjAwNzgy
14
+ YTcxMjhkYjQ1NjI5OTI0ZjI1MGQ5YjJmOWE1ZDY4MmE0MjM3NGI4ODIxZDQ0
15
+ NzEyNDk0MjQxZGFmNmYzNzBhNjgzZDFiMTY5MzI0OTY4OGUxNDA=
@@ -0,0 +1,5 @@
1
+ SimpleCov.start do
2
+ coverage_dir "corundum/docs/coverage"
3
+ add_filter "./spec"
4
+ add_filter "/vendor/bundle/"
5
+ end
@@ -0,0 +1,2 @@
1
+ language: ruby
2
+ script: bundle exec rake ci
@@ -0,0 +1,326 @@
1
+ @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
2
+ @import 'compass';
3
+
4
+
5
+ html {
6
+ background:#6C7989;
7
+ @include background(#6C7989 linear_gradient(#6C7989, #434B55) fixed);
8
+ }
9
+
10
+ body {
11
+ padding:50px 0;
12
+ margin:0;
13
+ font:14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
14
+ color:#555;
15
+ font-weight:300;
16
+ background:inline-image('checker.png') fixed;
17
+ }
18
+
19
+ .wrapper {
20
+ width:640px;
21
+ margin:0 auto;
22
+ background:#DEDEDE;
23
+ @include border-radius(8px);
24
+ @include box-shadow(rgba(#000, 0.2) 0 0 0 1px, rgba(#000, 0.45) 0 3px 10px);
25
+ }
26
+
27
+ header, section, footer {
28
+ display:block;
29
+ }
30
+
31
+ a {
32
+ color:#069;
33
+ text-decoration:none;
34
+ }
35
+
36
+ p {
37
+ margin:0 0 20px;
38
+ padding:0;
39
+ }
40
+
41
+ strong {
42
+ color:#222;
43
+ font-weight:700;
44
+ }
45
+
46
+ header {
47
+ @include border-radius(8px 8px 0 0);
48
+ background:#C6EAFA;
49
+ @include background(linear_gradient(#DDFBFC, #C6EAFA));
50
+ position:relative;
51
+ padding:15px 20px;
52
+ border-bottom:1px solid #B2D2E1;
53
+
54
+ h1 {
55
+ margin:0;
56
+ padding:0;
57
+ font-size:24px;
58
+ line-height:1.2;
59
+ color:#069;
60
+ text-shadow:rgba(#fff, 0.9) 0 1px 0;
61
+ }
62
+
63
+ &.without-description h1 {
64
+ margin:10px 0;
65
+ }
66
+
67
+ p {
68
+ margin:0;
69
+ color:#61778B;
70
+ width:300px;
71
+ font-size:13px;
72
+
73
+ &.view {
74
+ display:none;
75
+ font-weight:700;
76
+ text-shadow:rgba(#fff, 0.9) 0 1px 0;
77
+ -webkit-font-smoothing:antialiased;
78
+
79
+ a {
80
+ color:#06c;
81
+ }
82
+
83
+ small {
84
+ font-weight:400;
85
+ }
86
+ }
87
+ }
88
+
89
+ ul {
90
+ margin:0;
91
+ padding:0;
92
+ list-style:none;
93
+ position:absolute;
94
+ z-index:1;
95
+ right:20px;
96
+ top:20px;
97
+ height:38px;
98
+ padding:1px 0;
99
+ background:#5198DF;
100
+ @include background(linear_gradient(#77B9FB, #3782CD));
101
+ border-radius:5px;
102
+ @include box-shadow(inset rgba(#fff, 0.45) 0 1px 0, inset rgba(#000, 0.2) 0 -1px 0);
103
+ width:240px;
104
+
105
+ &:before {
106
+ content:'';
107
+ position:absolute;
108
+ z-index:-1;
109
+ left:-5px;
110
+ top:-4px;
111
+ right:-5px;
112
+ bottom:-6px;
113
+ background:rgba(#000, 0.1);
114
+ @include border-radius(8px);
115
+ @include box-shadow(rgba(#000, 0.2) 0 -1px 0, inset rgba(#fff, 0.7) 0 -1px 0);
116
+ }
117
+
118
+ li {
119
+ width:79px;
120
+ float:left;
121
+ border-right:1px solid #3A7CBE;
122
+ height:38px;
123
+ }
124
+
125
+ li + li {
126
+ width:78px;
127
+ border-left:1px solid #8BBEF3;
128
+ }
129
+
130
+ li + li + li {
131
+ border-right:none;
132
+ width:79px;
133
+ }
134
+
135
+ a {
136
+ line-height:1;
137
+ font-size:11px;
138
+ color:#fff;
139
+ color:rgba(#fff, 0.8);
140
+ display:block;
141
+ text-align:center;
142
+ font-weight:400;
143
+ padding-top:6px;
144
+ height:40px;
145
+ text-shadow:rgba(#000, 0.4) 0 -1px 0;
146
+
147
+ strong {
148
+ font-size:14px;
149
+ display:block;
150
+ color:#fff;
151
+ -webkit-font-smoothing:antialiased;
152
+ }
153
+ }
154
+ }
155
+ }
156
+
157
+ section {
158
+ padding:15px 20px;
159
+ font-size:15px;
160
+ border-top:1px solid #fff;
161
+ @include background(linear_gradient(#fafafa, #DEDEDE 700px));
162
+ @include border-radius(0 0 8px 8px);
163
+ position:relative;
164
+ }
165
+
166
+ h1, h2, h3, h4, h5, h6 {
167
+ color:#222;
168
+ padding:0;
169
+ margin:0 0 20px;
170
+ line-height:1.2;
171
+ }
172
+
173
+ p, ul, ol, table, pre, dl {
174
+ margin:0 0 20px;
175
+ }
176
+
177
+ h1, h2, h3 {
178
+ line-height:1.1;
179
+ }
180
+
181
+ h1 {
182
+ font-size:28px;
183
+ }
184
+
185
+ h2 {
186
+ color:#393939;
187
+ }
188
+
189
+ h3, h4, h5, h6 {
190
+ color:#494949;
191
+ }
192
+
193
+ blockquote {
194
+ margin:0 -20px 20px;
195
+ padding:15px 20px 1px 40px;
196
+ font-style:italic;
197
+ background:#ccc;
198
+ background:rgba(#000, 0.06);
199
+ color:#222;
200
+ }
201
+
202
+ img {
203
+ max-width:100%;
204
+ }
205
+
206
+ code, pre {
207
+ font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
208
+ color:#333;
209
+ font-size:12px;
210
+ overflow-x:auto;
211
+ }
212
+
213
+ pre {
214
+ padding:20px;
215
+ background: #3A3C42;
216
+ color:#f8f8f2;
217
+ margin:0 -20px 20px;
218
+
219
+ code {
220
+ color:#f8f8f2;
221
+ }
222
+
223
+ li & {
224
+ margin-left:-60px;
225
+ padding-left:60px;
226
+ }
227
+ }
228
+
229
+ table {
230
+ width:100%;
231
+ border-collapse:collapse;
232
+ }
233
+
234
+ th, td {
235
+ text-align:left;
236
+ padding:5px 10px;
237
+ border-bottom:1px solid #aaa;
238
+ }
239
+
240
+ dt {
241
+ color:#222;
242
+ font-weight:700;
243
+ }
244
+
245
+ th {
246
+ color:#222;
247
+ }
248
+
249
+ small {
250
+ font-size:11px;
251
+ }
252
+
253
+ hr {
254
+ border:0;
255
+ background:#aaa;
256
+ height:1px;
257
+ margin:0 0 20px;
258
+ }
259
+
260
+ footer {
261
+ width:640px;
262
+ margin:0 auto;
263
+ padding:20px 0 0;
264
+ color:#ccc;
265
+ overflow:hidden;
266
+
267
+ a {
268
+ color:#fff;
269
+ font-weight:bold;
270
+ }
271
+
272
+ p {
273
+ float:left;
274
+ }
275
+
276
+ p + p {
277
+ float:right;
278
+ }
279
+ }
280
+
281
+ @media print, screen and (max-width: 740px) {
282
+ body {
283
+ padding:0;
284
+ }
285
+
286
+ .wrapper {
287
+ @include border-radius(0);
288
+ @include box-shadow(none);
289
+ width:100%;
290
+ }
291
+
292
+ footer {
293
+ @include border-radius(0);
294
+ padding:20px;
295
+ width:auto;
296
+
297
+ p {
298
+ float:none;
299
+ margin:0;
300
+ }
301
+
302
+ p + p {
303
+ float:none;
304
+ }
305
+ }
306
+ }
307
+
308
+ @media print, screen and (max-width:580px) {
309
+ header ul {
310
+ display:none;
311
+ }
312
+
313
+ header p.view {
314
+ display:block;
315
+ }
316
+
317
+ header p {
318
+ width:100%;
319
+ }
320
+ }
321
+
322
+ @media print {
323
+ header p.view a small:before {
324
+ content:'at http://github.com/';
325
+ }
326
+ }
@@ -5,6 +5,7 @@ module Corundum
5
5
  default_namespace :gemspec_files
6
6
 
7
7
  setting(:gemspec)
8
+ setting(:extra_files, Rake::FileList[])
8
9
 
9
10
  def default_configuration(toolkit)
10
11
  super
@@ -19,6 +20,13 @@ module Corundum
19
20
  end
20
21
  end
21
22
 
23
+ task :has_extras => :has_files do
24
+ missing_files = extra_files.to_a.find_all{|path| File.file?(path)} - gemspec.files
25
+ unless missing_files.empty?
26
+ fail "Untested extra files are not mentioned in gemspec: #{missing_files.inspect}"
27
+ end
28
+ end
29
+
22
30
  task :files_exist do
23
31
  missing = gemspec.files.find_all do |path|
24
32
  not File::exists?(path)
@@ -28,7 +36,7 @@ module Corundum
28
36
  end
29
37
  end
30
38
 
31
- task :preflight => in_namespace(:files_exist, :has_files)
39
+ task :preflight => in_namespace(:files_exist, :has_extras, :has_files)
32
40
  end
33
41
  end
34
42
  end
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.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Judson Lester
@@ -262,8 +262,11 @@ files:
262
262
  - lib/corundum/default_configuration/skel-files/rakefile
263
263
  - lib/corundum/default_configuration/skel-files/gemspec
264
264
  - lib/corundum/default_configuration/skel-files/gemfile
265
+ - lib/corundum/default_configuration/skel-files/travis
266
+ - lib/corundum/default_configuration/skel-files/simplecov
265
267
  - lib/corundum/default_configuration/templates/doc_assembly/index.html.erb
266
268
  - lib/corundum/default_configuration/templates/doc_assembly/theme/sass/styles.scss
269
+ - lib/corundum/default_configuration/templates/doc_assembly/stylesheet.scss
267
270
  - lib/corundum/default_configuration/templates/doc_assembly/theme/stylesheets/pygment_trac.css
268
271
  - lib/corundum/default_configuration/templates/doc_assembly/theme/stylesheets/styles.css
269
272
  - lib/corundum/default_configuration/templates/doc_assembly/theme/javascripts/scale.fix.js
@@ -333,7 +336,7 @@ metadata: {}
333
336
  post_install_message:
334
337
  rdoc_options:
335
338
  - --title
336
- - corundum-0.3.1 RDoc
339
+ - corundum-0.3.2 RDoc
337
340
  require_paths:
338
341
  - lib/
339
342
  required_ruby_version: !ruby/object:Gem::Requirement