chemistrykit 3.8.1 → 3.9.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/.gitignore +1 -0
  2. data/CHANGELOG.md +15 -5
  3. data/Gemfile +4 -0
  4. data/README.md +13 -1
  5. data/Rakefile +3 -3
  6. data/chemistrykit.gemspec +7 -3
  7. data/features/brew.feature +1 -1
  8. data/features/chemists.feature +56 -1
  9. data/features/concurrency.feature +2 -2
  10. data/features/exit_status.feature +1 -0
  11. data/features/logging.feature +88 -85
  12. data/features/reporting.feature +105 -0
  13. data/features/step_definitions/steps.rb +4 -4
  14. data/features/support/env.rb +1 -1
  15. data/features/tags.feature +1 -0
  16. data/lib/chemistrykit/chemist.rb +6 -1
  17. data/lib/chemistrykit/chemist/repository/csv_chemist_repository.rb +1 -1
  18. data/lib/chemistrykit/cli/cli.rb +33 -12
  19. data/lib/chemistrykit/configuration.rb +2 -2
  20. data/lib/chemistrykit/formula/formula_lab.rb +13 -0
  21. data/lib/chemistrykit/{parallel_tests_mods.rb → parallel_tests/rspec/runner.rb} +5 -5
  22. data/lib/chemistrykit/reporting/html_report_assembler.rb +170 -0
  23. data/lib/chemistrykit/rspec/html_formatter.rb +241 -0
  24. data/lib/chemistrykit/rspec/j_unit_formatter.rb +124 -0
  25. data/report/config.rb +28 -0
  26. data/report/index.html +213 -0
  27. data/report/javascripts/foundation/foundation.abide.js +194 -0
  28. data/report/javascripts/foundation/foundation.alerts.js +52 -0
  29. data/report/javascripts/foundation/foundation.clearing.js +516 -0
  30. data/report/javascripts/foundation/foundation.cookie.js +74 -0
  31. data/report/javascripts/foundation/foundation.dropdown.js +177 -0
  32. data/report/javascripts/foundation/foundation.forms.js +533 -0
  33. data/report/javascripts/foundation/foundation.interchange.js +280 -0
  34. data/report/javascripts/foundation/foundation.joyride.js +850 -0
  35. data/report/javascripts/foundation/foundation.js +440 -0
  36. data/report/javascripts/foundation/foundation.magellan.js +135 -0
  37. data/report/javascripts/foundation/foundation.orbit.js +412 -0
  38. data/report/javascripts/foundation/foundation.placeholder.js +179 -0
  39. data/report/javascripts/foundation/foundation.reveal.js +330 -0
  40. data/report/javascripts/foundation/foundation.section.js +400 -0
  41. data/report/javascripts/foundation/foundation.tooltips.js +208 -0
  42. data/report/javascripts/foundation/foundation.topbar.js +300 -0
  43. data/report/javascripts/vendor/custom.modernizr.js +4 -0
  44. data/report/javascripts/vendor/jquery.js +9789 -0
  45. data/report/sass/_normalize.scss +402 -0
  46. data/report/sass/_settings.scss +1301 -0
  47. data/report/sass/app.scss +571 -0
  48. data/report/stylesheets/app.css +3636 -0
  49. data/spec/integration/lib/chemistrykit/formula/formula_lab_spec.rb +26 -2
  50. data/spec/integration/lib/chemistrykit/reporting/html_reporting_assembler_spec.rb +18 -0
  51. data/spec/support/evidence/results_0.html +30 -0
  52. data/spec/support/evidence/results_1.html +27 -0
  53. data/spec/unit/lib/chemistrykit/chemist/repository/csv_chemist_repository_spec.rb +15 -2
  54. data/spec/unit/lib/chemistrykit/chemist_spec.rb +17 -1
  55. data/spec/unit/lib/chemistrykit/configuration_spec.rb +2 -2
  56. data/spec/unit/lib/chemistrykit/formula/formula_lab_spec.rb +7 -0
  57. data/spec/unit/lib/chemistrykit/reporting/html_reporting_assembler_spec.rb +22 -0
  58. metadata +94 -13
  59. data/lib/chemistrykit/j_unit.rb +0 -121
@@ -0,0 +1,571 @@
1
+ // Global Foundation Settings
2
+ @import "compass";
3
+ @import "settings";
4
+
5
+ // Comment out this import if you don't want to use normalize
6
+ @import "normalize";
7
+
8
+ // Comment out this import if you are customizing you imports below
9
+ //@import "foundation";
10
+
11
+ // Import specific parts of Foundation by commenting the import "foundation"
12
+ // and uncommenting what you want below. You must uncomment the following if customizing
13
+
14
+ @import "foundation/components/global"; // *always required
15
+ @import "foundation/components/grid";
16
+
17
+ //
18
+ // Use this grid if you want to start using the new Foundation 5 grid early.
19
+ // It will change breakpoints to min-width: 640px and 1024px.
20
+ //
21
+ // @import "foundation/components/grid-5";
22
+ //
23
+
24
+ // @import "foundation/components/visibility";
25
+ @import "foundation/components/block-grid";
26
+ @import "foundation/components/type";
27
+ // @import "foundation/components/buttons";
28
+ // @import "foundation/components/forms"; // *requires components/buttons
29
+ // @import "foundation/components/custom-forms"; // *requires components/buttons, components/forms
30
+ // @import "foundation/components/button-groups"; // *requires components/buttons
31
+ // @import "foundation/components/dropdown-buttons"; // *requires components/buttons
32
+ // @import "foundation/components/split-buttons"; // *requires components/buttons
33
+ // @import "foundation/components/flex-video";
34
+ @import "foundation/components/section";
35
+ // @import "foundation/components/top-bar"; // *requires components/grid
36
+ // @import "foundation/components/orbit";
37
+ // @import "foundation/components/reveal";
38
+ // @import "foundation/components/joyride";
39
+ // @import "foundation/components/clearing";
40
+ // @import "foundation/components/alert-boxes";
41
+ // @import "foundation/components/breadcrumbs";
42
+ // @import "foundation/components/keystrokes";
43
+ // @import "foundation/components/labels";
44
+ // @import "foundation/components/inline-lists";
45
+ // @import "foundation/components/pagination";
46
+ // @import "foundation/components/panels";
47
+ // @import "foundation/components/pricing-tables";
48
+ // @import "foundation/components/progress-bars";
49
+ // @import "foundation/components/side-nav";
50
+ // @import "foundation/components/sub-nav";
51
+ // @import "foundation/components/switch";
52
+ // @import "foundation/components/magellan";
53
+ // @import "foundation/components/tables";
54
+ // @import "foundation/components/thumbs";
55
+ // @import "foundation/components/tooltips";
56
+ // @import "foundation/components/dropdown";
57
+
58
+ $light-green: #c9f76f;
59
+ $darker-green: #83ae2c;
60
+ $darkest-green: #659700;
61
+ $light-red: #fc9b71;
62
+
63
+ /* Ruby code, style similar to vibrant ink */
64
+ .ruby {
65
+
66
+ font-size: 12px;
67
+ font-family: monospace;
68
+ color: white;
69
+ background-color: #333;
70
+ padding: 0.2em 0 0.3em 0;
71
+
72
+ }
73
+
74
+ code {
75
+ color: #eee;
76
+ }
77
+
78
+ .ruby .keyword { color: #FF6600; }
79
+ .ruby .constant { color: #339999; }
80
+ .ruby .attribute { color: white; }
81
+ .ruby .global { color: white; }
82
+ .ruby .module { color: white; }
83
+ .ruby .class { color: white; }
84
+ .ruby .string { color: $light-green; }
85
+ .ruby .ident { color: white; }
86
+ .ruby .method { color: #FFCC00; }
87
+ .ruby .number { color: white; }
88
+ .ruby .char { color: white; }
89
+ .ruby .comment { color: #9933CC; }
90
+ .ruby .symbol { color: white; }
91
+ .ruby .regex { color: #44B4CC; }
92
+ .ruby .punct { color: white; }
93
+ .ruby .escape { color: white; }
94
+ .ruby .interp { color: white; }
95
+ .ruby .expr { color: white; }
96
+
97
+ .ruby .offending { background-color: #666; }
98
+ .ruby .linenum {
99
+ width: 75px;
100
+ padding: 0.2em 1em 0.2em 1em;
101
+ color: #ccc;
102
+ background-color: #222;
103
+ }
104
+
105
+ .passing {
106
+ border: 2px solid $success-color;
107
+ h1, h2, h3 {
108
+ color: $success-color;
109
+ }
110
+ background-color: $light-green;
111
+ }
112
+
113
+ .passing-color {
114
+ color: $success-color;
115
+ }
116
+
117
+ .failing {
118
+ border: 2px solid $alert-color;
119
+ h1, h2, h3 {
120
+ color: $alert-color;
121
+ }
122
+ background-color: $light-red;
123
+ }
124
+
125
+ .failing-color {
126
+ color: $alert-color;
127
+ }
128
+
129
+ .pending {
130
+ border: 2px solid $secondary-color;
131
+ h1, h2, h3 {
132
+ color: $secondary-color;
133
+ }
134
+ background-color: #fcdf71;
135
+ }
136
+
137
+ .pending-color {
138
+ color: $secondary-color;
139
+ }
140
+
141
+ .reaction-color {
142
+ color: $primary-color;
143
+ }
144
+
145
+ .summary {
146
+ .row {
147
+ margin-bottom: 1em;
148
+ }
149
+ .status {
150
+ border-width: 10px;
151
+ @include border-radius(10px);
152
+ h1 {
153
+ font-size: 5em;
154
+ margin-bottom: 0.25em;
155
+ padding-left: .2em;
156
+ }
157
+ }
158
+ .details {
159
+ border: 2px solid #DDD;
160
+ @include border-radius(10px);
161
+ li {
162
+ text-align: center;
163
+ padding-top: 1.5em;
164
+ i {
165
+ font-size: 3em;
166
+ }
167
+ p {
168
+ font-weight: bold;
169
+ margin-bottom: 0em;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ .example-group {
176
+ @include border-radius(10px);
177
+ margin-bottom: 1em;
178
+ }
179
+
180
+ .row {
181
+ .example{
182
+ @include border-radius(4px);
183
+ margin-bottom: .5em;
184
+ }
185
+ }
186
+
187
+ .examples {
188
+ padding-left: .5em;
189
+ padding-right: .5em;
190
+ }
191
+
192
+ .example-heading {
193
+ p {
194
+ font-weight: bold;
195
+ margin-bottom: 0em;
196
+ }
197
+
198
+ font-size: 1.2em;
199
+ }
200
+
201
+ .example-body{
202
+ padding-top: 1em;
203
+ .row{
204
+ margin-bottom: 1em;
205
+ }
206
+ }
207
+
208
+
209
+ .highlight
210
+ {
211
+ background:#2B2B2B;
212
+ color:#E6E1DC;
213
+ border-radius:4px;
214
+ padding:1px 10px;
215
+ padding: 15px;
216
+ margin-bottom: 1em;
217
+ }
218
+
219
+ .highlight .hll
220
+ {
221
+ background-color:#ffc;
222
+ }
223
+
224
+ .highlight .c
225
+ {
226
+ color:#BC9458;
227
+ font-style:italic;
228
+ }
229
+
230
+ .highlight .err
231
+ {
232
+ color:#E6E1DC;
233
+ }
234
+
235
+ .highlight .g
236
+ {
237
+ color:#E6E1DC;
238
+ }
239
+
240
+ .highlight .k
241
+ {
242
+ color:#CC7833;
243
+ }
244
+
245
+ .highlight .l
246
+ {
247
+ color:#E6E1DC;
248
+ }
249
+
250
+ .highlight .n
251
+ {
252
+ color:#E6E1DC;
253
+ }
254
+
255
+ .highlight .o
256
+ {
257
+ color:#E6E1DC;
258
+ }
259
+
260
+ .highlight .x
261
+ {
262
+ color:#E6E1DC;
263
+ }
264
+
265
+ .highlight .p
266
+ {
267
+ color:#E6E1DC;
268
+ }
269
+
270
+ .highlight .cm
271
+ {
272
+ color:#BC9458;
273
+ font-style:italic;
274
+ }
275
+
276
+ .highlight .cp
277
+ {
278
+ color:#CC7833;
279
+ }
280
+
281
+ .highlight .c1
282
+ {
283
+ color:#BC9458;
284
+ font-style:italic;
285
+ }
286
+
287
+ .highlight .cs
288
+ {
289
+ color:#BC9458;
290
+ font-style:italic;
291
+ }
292
+
293
+ .highlight .gd
294
+ {
295
+ color:#E6E1DC;
296
+ background-color:#600;
297
+ }
298
+
299
+ .highlight .ge
300
+ {
301
+ color:#E6E1DC;
302
+ }
303
+
304
+ .highlight .gr
305
+ {
306
+ color:#FFF;
307
+ background-color:#900;
308
+ }
309
+
310
+ .highlight .gh
311
+ {
312
+ color:#FFF;
313
+ }
314
+
315
+ .highlight .gi
316
+ {
317
+ color:#E6E1DC;
318
+ background-color:#144212;
319
+ }
320
+
321
+ .highlight .go
322
+ {
323
+ color:#E6E1DC;
324
+ }
325
+
326
+ .highlight .gp
327
+ {
328
+ color:#E6E1DC;
329
+ }
330
+
331
+ .highlight .gs
332
+ {
333
+ color:#E6E1DC;
334
+ }
335
+
336
+ .highlight .gu
337
+ {
338
+ color:#FFF;
339
+ }
340
+
341
+ .highlight .gt
342
+ {
343
+ color:#E6E1DC;
344
+ }
345
+
346
+ .highlight .kc
347
+ {
348
+ color:#CC7833;
349
+ }
350
+
351
+ .highlight .kd
352
+ {
353
+ color:#CC7833;
354
+ }
355
+
356
+ .highlight .kn
357
+ {
358
+ color:#CC7833;
359
+ }
360
+
361
+ .highlight .kp
362
+ {
363
+ color:#CC7833;
364
+ }
365
+
366
+ .highlight .kr
367
+ {
368
+ color:#CC7833;
369
+ }
370
+
371
+ .highlight .kt
372
+ {
373
+ color:#DA4939;
374
+ }
375
+
376
+ .highlight .ld
377
+ {
378
+ color:#E6E1DC;
379
+ }
380
+
381
+ .highlight .m
382
+ {
383
+ color:#A5C261;
384
+ }
385
+
386
+ .highlight .s
387
+ {
388
+ color:#A5C261;
389
+ }
390
+
391
+ .highlight .na
392
+ {
393
+ color:#FFC66D;
394
+ }
395
+
396
+ .highlight .nb
397
+ {
398
+ color:#E6E1DC;
399
+ }
400
+
401
+ .highlight .nc
402
+ {
403
+ color:#E6E1DC;
404
+ }
405
+
406
+ .highlight .no
407
+ {
408
+ color:#6D9CBE;
409
+ }
410
+
411
+ .highlight .nd
412
+ {
413
+ color:#E6E1DC;
414
+ }
415
+
416
+ .highlight .ni
417
+ {
418
+ color:#E6E1DC;
419
+ }
420
+
421
+ .highlight .ne
422
+ {
423
+ color:#E6E1DC;
424
+ }
425
+
426
+ .highlight .nf
427
+ {
428
+ color:#FFC66D;
429
+ }
430
+
431
+ .highlight .nl
432
+ {
433
+ color:#E6E1DC;
434
+ }
435
+
436
+ .highlight .nn
437
+ {
438
+ color:#E6E1DC;
439
+ }
440
+
441
+ .highlight .nx
442
+ {
443
+ color:#E6E1DC;
444
+ }
445
+
446
+ .highlight .py
447
+ {
448
+ color:#E6E1DC;
449
+ }
450
+
451
+ .highlight .nt
452
+ {
453
+ color:#CC7833;
454
+ }
455
+
456
+ .highlight .nv
457
+ {
458
+ color:#D0D0FF;
459
+ }
460
+
461
+ .highlight .ow
462
+ {
463
+ color:#E6E1DC;
464
+ }
465
+
466
+ .highlight .w
467
+ {
468
+ color:#E6E1DC;
469
+ }
470
+
471
+ .highlight .mf
472
+ {
473
+ color:#A5C261;
474
+ }
475
+
476
+ .highlight .mh
477
+ {
478
+ color:#A5C261;
479
+ }
480
+
481
+ .highlight .mi
482
+ {
483
+ color:#A5C261;
484
+ }
485
+
486
+ .highlight .mo
487
+ {
488
+ color:#A5C261;
489
+ }
490
+
491
+ .highlight .sb
492
+ {
493
+ color:#A5C261;
494
+ }
495
+
496
+ .highlight .sc
497
+ {
498
+ color:#A5C261;
499
+ }
500
+
501
+ .highlight .sd
502
+ {
503
+ color:#A5C261;
504
+ }
505
+
506
+ .highlight .s2
507
+ {
508
+ color:#A5C261;
509
+ }
510
+
511
+ .highlight .se
512
+ {
513
+ color:#A5C261;
514
+ }
515
+
516
+ .highlight .sh
517
+ {
518
+ color:#A5C261;
519
+ }
520
+
521
+ .highlight .si
522
+ {
523
+ color:#A5C261;
524
+ }
525
+
526
+ .highlight .sx
527
+ {
528
+ color:#A5C261;
529
+ }
530
+
531
+ .highlight .sr
532
+ {
533
+ color:#A5C261;
534
+ }
535
+
536
+ .highlight .s1
537
+ {
538
+ color:#A5C261;
539
+ }
540
+
541
+ .highlight .ss
542
+ {
543
+ color:#A5C261;
544
+ }
545
+
546
+ .highlight .bp
547
+ {
548
+ color:#E6E1DC;
549
+ }
550
+
551
+ .highlight .vc
552
+ {
553
+ color:#D0D0FF;
554
+ }
555
+
556
+ .highlight .vg
557
+ {
558
+ color:#D0D0FF;
559
+ }
560
+
561
+ .highlight .vi
562
+ {
563
+ color:#D0D0FF;
564
+ }
565
+
566
+ .highlight .il
567
+ {
568
+ color:#A5C261;
569
+ }
570
+
571
+