shenandoah 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. data/.gitignore +1 -0
  2. data/ChangeLog.markdown +9 -0
  3. data/Rakefile +21 -2
  4. data/VERSION.yml +3 -2
  5. data/features/buildr.feature +29 -0
  6. data/features/example_projects/base/Rakefile +7 -0
  7. data/features/example_projects/base/lib/cells.js +105 -0
  8. data/features/example_projects/base/lib/life.js +30 -0
  9. data/features/example_projects/base/spec/cells.html +13 -0
  10. data/features/example_projects/base/spec/cells_spec.js +234 -0
  11. data/features/example_projects/base/spec/life.html +13 -0
  12. data/features/example_projects/base/spec/life_spec.js +28 -0
  13. data/features/plain-rake.feature +30 -0
  14. data/features/rails.feature +39 -0
  15. data/features/step_definitions/buildr_steps.rb +26 -0
  16. data/features/step_definitions/rails_steps.rb +38 -0
  17. data/features/step_definitions/rake_steps.rb +45 -0
  18. data/features/support/env.rb +48 -0
  19. data/lib/shenandoah/css/shenandoah.sass +138 -0
  20. data/lib/shenandoah/javascript/browser/index.js +18 -0
  21. data/lib/shenandoah/javascript/browser/multirunner-single.js +32 -0
  22. data/lib/shenandoah/javascript/browser/multirunner.js +87 -0
  23. data/lib/shenandoah/javascript/common/jquery.parsequery.js +19 -0
  24. data/lib/shenandoah/server.rb +81 -16
  25. data/lib/shenandoah/server/views/index.haml +18 -8
  26. data/lib/shenandoah/server/views/multirunner.haml +6 -0
  27. data/rails_generators/shen_spec/templates/fixture.html.erb +1 -1
  28. data/rails_generators/shenandoah/templates/application.html +1 -1
  29. data/spec/rails_generators/shen_spec_generator_spec.rb +2 -2
  30. data/spec/rails_generators/shenandoah_generator_spec.rb +3 -3
  31. data/spec/shenandoah/server_spec.rb +156 -15
  32. metadata +32 -3
  33. data/lib/shenandoah/css/screw.css +0 -90
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shenandoah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rhett Sutphin
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-23 00:00:00 -06:00
12
+ date: 2009-11-30 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -52,6 +52,16 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: 2.1.0
54
54
  version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: compass
57
+ type: :runtime
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ version:
55
65
  - !ruby/object:Gem::Dependency
56
66
  name: rspec
57
67
  type: :development
@@ -247,14 +257,32 @@ files:
247
257
  - README.markdown
248
258
  - Rakefile
249
259
  - VERSION.yml
260
+ - features/buildr.feature
261
+ - features/example_projects/base/Rakefile
262
+ - features/example_projects/base/lib/cells.js
263
+ - features/example_projects/base/lib/life.js
264
+ - features/example_projects/base/spec/cells.html
265
+ - features/example_projects/base/spec/cells_spec.js
266
+ - features/example_projects/base/spec/life.html
267
+ - features/example_projects/base/spec/life_spec.js
268
+ - features/plain-rake.feature
269
+ - features/rails.feature
270
+ - features/step_definitions/buildr_steps.rb
271
+ - features/step_definitions/rails_steps.rb
272
+ - features/step_definitions/rake_steps.rb
273
+ - features/support/env.rb
250
274
  - lib/shenandoah/buildr.rb
251
275
  - lib/shenandoah/buildr/locator.rb
252
276
  - lib/shenandoah/buildr/shenandoah_tasks.rb
253
277
  - lib/shenandoah/buildr/test_framework.rb
254
- - lib/shenandoah/css/screw.css
278
+ - lib/shenandoah/css/shenandoah.sass
279
+ - lib/shenandoah/javascript/browser/index.js
280
+ - lib/shenandoah/javascript/browser/multirunner-single.js
281
+ - lib/shenandoah/javascript/browser/multirunner.js
255
282
  - lib/shenandoah/javascript/browser/runner.js
256
283
  - lib/shenandoah/javascript/common/jquery-1.3.2.js
257
284
  - lib/shenandoah/javascript/common/jquery.fn.js
285
+ - lib/shenandoah/javascript/common/jquery.parsequery.js
258
286
  - lib/shenandoah/javascript/common/jquery.print.js
259
287
  - lib/shenandoah/javascript/common/screw.behaviors.js
260
288
  - lib/shenandoah/javascript/common/screw.builder.js
@@ -275,6 +303,7 @@ files:
275
303
  - lib/shenandoah/runner.rb
276
304
  - lib/shenandoah/server.rb
277
305
  - lib/shenandoah/server/views/index.haml
306
+ - lib/shenandoah/server/views/multirunner.haml
278
307
  - lib/shenandoah/tasks.rb
279
308
  - rails_generators/shen_spec/shen_spec_generator.rb
280
309
  - rails_generators/shen_spec/templates/fixture.html.erb
@@ -1,90 +0,0 @@
1
- html {
2
- padding: 0.5em;
3
- font-family: Georgia, serif;
4
- background: #EDEBD5;
5
- }
6
-
7
- li {
8
- list-style-type: none;
9
- }
10
-
11
- .focused {
12
- background-color: #F4F2E4;
13
- }
14
-
15
- .focused * {
16
- opacity: 1.0;
17
- }
18
-
19
- h1, h2, p {
20
- opacity: 0.4;
21
- }
22
-
23
- .describes {
24
- padding-left: 0;
25
- }
26
-
27
- .describes h1 {
28
- font-size: 1.1em;
29
- color: #877C21;
30
- line-height: 1.8em;
31
- margin: 0pt 0pt 0.6em;
32
- border-bottom: 1px solid transparent;
33
- }
34
-
35
- .describes h1:hover {
36
- cursor: pointer;
37
- color: #000;
38
- background-color: #F4F2E4;
39
- border-bottom: 1px solid #9A8E51;
40
- }
41
-
42
- .describes .describe {
43
- margin-left: 0.6em;
44
- padding-left: 0.6em;
45
- border: 1px dashed #6E6E6E;
46
- }
47
-
48
- .describes .describe .its {}
49
-
50
- .describes .describe .its .it {
51
- list-style-type: lower-roman;
52
- list-style-position: outside;
53
- }
54
-
55
- .describes .describe .its .it h2 {
56
- font-weight: normal;
57
- font-style: italic;
58
- padding-left: 0.5em;
59
- font-size: 1.0em;
60
- color: #877C21;
61
- line-height: 1.8em;
62
- margin: 0 0 0.5em;
63
- border-bottom: 1px solid transparent;
64
- }
65
-
66
- .describes .describe .its .it.enqueued h2 {
67
- background-color: #CC6600;
68
- color: white !important;
69
- }
70
-
71
- .describes .describe .its .it.passed h2 {
72
- background-color: #5A753D;
73
- color: white !important;
74
- }
75
-
76
- .describes .describe .its .it.failed h2 {
77
- background-color: #993300;
78
- color: white !important;
79
- }
80
-
81
- .describes .describe .its .it.failed p {
82
- margin-left: 1em;
83
- color: #993300;
84
- }
85
-
86
- .describes .describe .its .it h2:hover {
87
- cursor: pointer;
88
- color: #000 !important;
89
- border-bottom: 1px solid #9A8E51;
90
- }