gusto 1.0.0.beta2 → 1.0.0.beta3

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e33005d29c816fd1b04d2272759ed17e03d13931
4
- data.tar.gz: 2142ceb53d542831d3044edece5c5d106db6d469
3
+ metadata.gz: d28d4006e234a4c98272a83bc4ee190233916a4e
4
+ data.tar.gz: 06b9fbb732732c42005ae0c40fbb69ad7adf731a
5
5
  SHA512:
6
- metadata.gz: 880e94182f4961bf38608dc257b44e0483622eb877469222575bd179a4476e24d7c7679862ab09a1485b4883ecb048e5b27b16a399e9ed30fb2ed91ae6786a17
7
- data.tar.gz: ad17587ff01547549a8c6a983c3331745703300857334c79169a6ffde81b93ba3c5eb0033a03259c238990c0bc92b4cc260934c23cba62d821bcc31003fda325
6
+ metadata.gz: 538a7704d5925d7a6ecc2cae0314bd9e81752d3dd228041e3875b273e341c81163eb2619a2d9053b170bce54119ef15e4d187fedaaf2f4a277786e3d34120f83
7
+ data.tar.gz: a0dbbd44947a5ed727cb9a989e48ead370ac4bfacbe09b2cf4f46b8fc0bdffe21bd57d45c17effebc131efa3be97edfb12f3e507018d61fe62e4c686fff9ca4b
@@ -0,0 +1,8 @@
1
+ $green: #22ff28
2
+ $orange: #fe9f08
3
+ $red: #e0280c
4
+ $pink: #fc00da
5
+ $lesspink: desaturate($pink, 80%)
6
+ $background: lighten($pink, 49%)
7
+ $gutter: lighten($lesspink, 40%)
8
+ $black: darken($pink, 35%)
@@ -0,0 +1,36 @@
1
+ @import "colors"
2
+
3
+ .result-summary
4
+ background: lighten($lesspink, 40%)
5
+ height: 70px
6
+
7
+ .result-summary--count
8
+ position: relative
9
+ float: left
10
+ height: 70px
11
+ font-weight: bold
12
+ width: 120px
13
+
14
+ .result-summary--total
15
+ background: desaturate(lighten($lesspink, 20%), 10%)
16
+
17
+ .result-summary--passed
18
+ background: lighten($green, 15%)
19
+
20
+ .result-summary--pending
21
+ background: lighten($orange, 15%)
22
+
23
+ .result-summary--failed
24
+ background: lighten($red, 15%)
25
+
26
+ .result-summary--label
27
+ position: absolute
28
+ left: 15px
29
+ top: 6px
30
+ font-size: 10px
31
+
32
+ .result-summary--number
33
+ position: absolute
34
+ left: 15px
35
+ top: 36px
36
+ font-size: 38px
@@ -0,0 +1,27 @@
1
+ @import "colors"
2
+ @import "result_summary"
3
+ @import "test_results"
4
+
5
+ body
6
+ font: 16px/20px Helvetica, Arail, sans-serif
7
+ background: $background
8
+ color: $black
9
+ padding: 70px 0 0 0
10
+ margin: 0
11
+
12
+ .result-summary
13
+ position: fixed
14
+ top: 0
15
+ width: 100%
16
+ z-index: 1
17
+ box-shadow: 0 -2px 3px rgba(0,0,0,0.2) inset
18
+
19
+ del, ins
20
+ margin: 0 0.2em
21
+ font-weight: bold
22
+
23
+ del
24
+ color: #900
25
+
26
+ ins
27
+ color: #090
@@ -0,0 +1,67 @@
1
+ @import "colors"
2
+
3
+ .test-results--list
4
+ position: relative
5
+ list-style: none
6
+ margin: 0 0 0 20px
7
+ padding: 0 0 0 10px
8
+
9
+ .test-results--test
10
+ position: relative
11
+ margin: 0
12
+ padding: 0
13
+ border-top: solid 1px lighten($pink, 45%)
14
+ background: $background
15
+
16
+ .test-results--title
17
+ padding: 5px 0
18
+ text-indent: 10px
19
+
20
+ .test-results--error-message
21
+ position: absolute
22
+ top: 5px
23
+ right: 15px
24
+ font-style: italic
25
+ font-size: 14px
26
+ color: desaturate(lighten($black, 10%), 80%)
27
+
28
+ .test-results--title, .test-results--error-message
29
+ max-width: 50%
30
+ overflow: hidden
31
+ white-space: nowrap
32
+ text-overflow: ellipsis
33
+
34
+ .test-results--test--failed
35
+ background: lighten($red, 45%)
36
+
37
+ .test-results--test--pending
38
+ background: lighten($orange, 40%)
39
+
40
+ .test-results--test:before
41
+ content: ''
42
+ position: absolute
43
+ top: -1px
44
+ left: -30px
45
+ width: 20px
46
+ height: auto
47
+ bottom: 0
48
+ padding: 5px
49
+ text-align: center
50
+ // border-right: solid 1px lighten($lesspink, 30%)
51
+ background: $gutter
52
+
53
+ @mixin gutter-colors($color)
54
+ color: darken($color, 30%)
55
+ background: lighten($color, 15%)
56
+
57
+ .test-results--test--failed:before
58
+ +gutter-colors($red)
59
+ content: '✘'
60
+
61
+ .test-results--test--passed:before
62
+ +gutter-colors($green)
63
+ content: '✔'
64
+
65
+ .test-results--test--pending:before
66
+ +gutter-colors($orange)
67
+ content: '➤'
data/lib/gusto/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gusto
2
- VERSION = "1.0.0.beta2"
2
+ VERSION = "1.0.0.beta3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gusto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta2
4
+ version: 1.0.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Cohen
@@ -130,6 +130,10 @@ executables:
130
130
  extensions: []
131
131
  extra_rdoc_files: []
132
132
  files:
133
+ - assets/colors.sass
134
+ - assets/result_summary.sass
135
+ - assets/spec.css.sass
136
+ - assets/test_results.sass
133
137
  - bin/gusto
134
138
  - lib/gusto/runner.rb
135
139
  - lib/gusto/server.rb