konacha 1.1.3 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,163 @@
1
+
2
+ body {
3
+ font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
4
+ padding: 60px 50px;
5
+ }
6
+
7
+ #mocha h1, h2 {
8
+ margin: 0;
9
+ }
10
+
11
+ #mocha h1 {
12
+ margin-top: 15px;
13
+ font-size: 1em;
14
+ font-weight: 200;
15
+ }
16
+
17
+ #mocha .suite .suite h1 {
18
+ margin-top: 0;
19
+ font-size: .8em;
20
+ }
21
+
22
+ #mocha h2 {
23
+ font-size: 12px;
24
+ font-weight: normal;
25
+ cursor: pointer;
26
+ }
27
+
28
+ #mocha .suite {
29
+ margin-left: 15px;
30
+ }
31
+
32
+ #mocha .test {
33
+ margin-left: 15px;
34
+ }
35
+
36
+ #mocha .test:hover h2::after {
37
+ position: relative;
38
+ top: 0;
39
+ right: -10px;
40
+ content: '(view source)';
41
+ font-size: 12px;
42
+ font-family: arial;
43
+ color: #888;
44
+ }
45
+
46
+ #mocha .test.pending:hover h2::after {
47
+ content: '(pending)';
48
+ font-family: arial;
49
+ }
50
+
51
+ #mocha .test.pass.medium .duration {
52
+ background: #C09853;
53
+ }
54
+
55
+ #mocha .test.pass.slow .duration {
56
+ background: #B94A48;
57
+ }
58
+
59
+ #mocha .test.pass::before {
60
+ content: '✓';
61
+ font-size: 12px;
62
+ display: block;
63
+ float: left;
64
+ margin-right: 5px;
65
+ }
66
+
67
+ #mocha .test.pass .duration {
68
+ font-size: 9px;
69
+ margin-left: 5px;
70
+ padding: 2px 5px;
71
+ color: white;
72
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
73
+ -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
74
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
75
+ -webkit-border-radius: 5px;
76
+ -moz-border-radius: 5px;
77
+ -ms-border-radius: 5px;
78
+ -o-border-radius: 5px;
79
+ border-radius: 5px;
80
+ }
81
+
82
+ #mocha .test.pass.fast .duration {
83
+ display: none;
84
+ }
85
+
86
+ #mocha .test.pending {
87
+ color: #0b97c4;
88
+ }
89
+
90
+ #mocha .test.pending::before {
91
+ content: '◦';
92
+ color: #0b97c4;
93
+ }
94
+
95
+ #mocha .test.fail {
96
+ color: #c00;
97
+ }
98
+
99
+ #mocha .test.fail pre {
100
+ color: black;
101
+ }
102
+
103
+ #mocha .test.fail::before {
104
+ content: '✖';
105
+ font-size: 12px;
106
+ display: block;
107
+ float: left;
108
+ margin-right: 5px;
109
+ color: #c00;
110
+ }
111
+
112
+ #mocha .test pre.error {
113
+ color: #c00;
114
+ }
115
+
116
+ #mocha .test pre {
117
+ display: inline-block;
118
+ font: 12px/1.5 monaco, monospace;
119
+ margin: 5px;
120
+ padding: 15px;
121
+ border: 1px solid #eee;
122
+ border-bottom-color: #ddd;
123
+ -webkit-border-radius: 3px;
124
+ -webkit-box-shadow: 0 1px 3px #eee;
125
+ }
126
+
127
+ #error {
128
+ color: #c00;
129
+ font-size: 1.5 em;
130
+ font-weight: 100;
131
+ letter-spacing: 1px;
132
+ }
133
+
134
+ #stats {
135
+ position: fixed;
136
+ top: 15px;
137
+ right: 10px;
138
+ font-size: 12px;
139
+ margin: 0;
140
+ color: #888;
141
+ }
142
+
143
+ #stats .progress {
144
+ float: right;
145
+ padding-top: 0;
146
+ }
147
+
148
+ #stats em {
149
+ color: black;
150
+ }
151
+
152
+ #stats li {
153
+ display: inline-block;
154
+ margin: 0 5px;
155
+ list-style: none;
156
+ padding-top: 11px;
157
+ }
158
+
159
+ code .comment { color: #ddd }
160
+ code .init { color: #2F6FAD }
161
+ code .string { color: #5890AD }
162
+ code .keyword { color: #8A6343 }
163
+ code .number { color: #2F6FAD }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konacha
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-24 00:00:00.000000000 Z
12
+ date: 2012-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -159,12 +159,13 @@ extra_rdoc_files: []
159
159
  files:
160
160
  - .gitignore
161
161
  - .gitmodules
162
+ - .rspec
163
+ - .travis.yml
162
164
  - Gemfile
163
165
  - History.md
164
166
  - LICENSE
165
167
  - README.md
166
168
  - Rakefile
167
- - Vendorfile
168
169
  - app/controllers/konacha/specs_controller.rb
169
170
  - app/helpers/konacha/specs_helper.rb
170
171
  - app/models/konacha/spec.rb
@@ -192,6 +193,7 @@ files:
192
193
  - spec/dummy/spec/javascripts/array_sum_js_spec.js
193
194
  - spec/dummy/spec/javascripts/assert_spec.js.coffee
194
195
  - spec/dummy/spec/javascripts/failing_spec.js
196
+ - spec/dummy/spec/javascripts/file_ending_in_test.js
195
197
  - spec/dummy/spec/javascripts/konacha_config.js
196
198
  - spec/dummy/spec/javascripts/konacha_config_spec.js
197
199
  - spec/dummy/spec/javascripts/spec_helper.js
@@ -206,10 +208,10 @@ files:
206
208
  - spec/server_spec.rb
207
209
  - spec/spec_helper.rb
208
210
  - spec/views/specs/specs.html.erb_spec.rb
209
- - vendor/images/konacha.jpg
211
+ - vendor/assets/javascripts/chai.js
210
212
  - vendor/assets/javascripts/mocha.js
211
213
  - vendor/assets/stylesheets/mocha.css
212
- - vendor/assets/javascripts/chai.js
214
+ - vendor/images/konacha.jpg
213
215
  homepage: http://github.com/jfirebaugh/konacha
214
216
  licenses: []
215
217
  post_install_message:
@@ -222,15 +224,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
224
  - - ! '>='
223
225
  - !ruby/object:Gem::Version
224
226
  version: '0'
227
+ segments:
228
+ - 0
229
+ hash: -1329691605936187185
225
230
  required_rubygems_version: !ruby/object:Gem::Requirement
226
231
  none: false
227
232
  requirements:
228
233
  - - ! '>='
229
234
  - !ruby/object:Gem::Version
230
235
  version: '0'
236
+ segments:
237
+ - 0
238
+ hash: -1329691605936187185
231
239
  requirements: []
232
240
  rubyforge_project:
233
- rubygems_version: 1.8.23
241
+ rubygems_version: 1.8.24
234
242
  signing_key:
235
243
  specification_version: 3
236
244
  summary: Unit-test your Rails JavaScript with the mocha test framework and chai assertion
@@ -249,6 +257,7 @@ test_files:
249
257
  - spec/dummy/spec/javascripts/array_sum_js_spec.js
250
258
  - spec/dummy/spec/javascripts/assert_spec.js.coffee
251
259
  - spec/dummy/spec/javascripts/failing_spec.js
260
+ - spec/dummy/spec/javascripts/file_ending_in_test.js
252
261
  - spec/dummy/spec/javascripts/konacha_config.js
253
262
  - spec/dummy/spec/javascripts/konacha_config_spec.js
254
263
  - spec/dummy/spec/javascripts/spec_helper.js
data/Vendorfile DELETED
@@ -1,5 +0,0 @@
1
- folder 'vendor/assets' do
2
- file 'javascripts/chai.js', 'https://raw.github.com/logicalparadox/chai/master/chai.js'
3
- file 'javascripts/mocha.js', 'https://raw.github.com/visionmedia/mocha/master/mocha.js'
4
- file 'stylesheets/mocha.css', 'https://raw.github.com/visionmedia/mocha/master/mocha.css'
5
- end