brainsome_jasminerice 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT.LICENSE +20 -0
- data/README.md +190 -0
- data/app/assets/javascripts/jasminerice.js.coffee +32 -0
- data/app/controllers/jasminerice/application_controller.rb +4 -0
- data/app/controllers/jasminerice/spec_controller.rb +22 -0
- data/app/helpers/jasminerice/application_helper.rb +4 -0
- data/app/views/jasminerice/spec/index.html.erb +12 -0
- data/config/routes.rb +7 -0
- data/lib/generators/jasminerice/install_generator.rb +18 -0
- data/lib/generators/jasminerice/templates/example_fixture.html.haml +2 -0
- data/lib/generators/jasminerice/templates/example_spec.js.coffee +14 -0
- data/lib/generators/jasminerice/templates/jasminerice.rb +19 -0
- data/lib/generators/jasminerice/templates/spec.css +3 -0
- data/lib/generators/jasminerice/templates/spec.js.coffee +7 -0
- data/lib/jasminerice.rb +38 -0
- data/lib/jasminerice/version.rb +3 -0
- data/vendor/assets/javascripts/jasmine-html.js +681 -0
- data/vendor/assets/javascripts/jasmine-jquery-1.5.8.js +673 -0
- data/vendor/assets/javascripts/jasmine.js +2600 -0
- data/vendor/assets/stylesheets/jasmine.css +82 -0
- metadata +81 -0
@@ -0,0 +1,82 @@
|
|
1
|
+
body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; }
|
2
|
+
|
3
|
+
#HTMLReporter { font-size: 11px; font-family: Monaco, "Lucida Console", monospace; line-height: 14px; color: #333333; }
|
4
|
+
#HTMLReporter a { text-decoration: none; }
|
5
|
+
#HTMLReporter a:hover { text-decoration: underline; }
|
6
|
+
#HTMLReporter p, #HTMLReporter h1, #HTMLReporter h2, #HTMLReporter h3, #HTMLReporter h4, #HTMLReporter h5, #HTMLReporter h6 { margin: 0; line-height: 14px; }
|
7
|
+
#HTMLReporter .banner, #HTMLReporter .symbolSummary, #HTMLReporter .summary, #HTMLReporter .resultMessage, #HTMLReporter .specDetail .description, #HTMLReporter .alert .bar, #HTMLReporter .stackTrace { padding-left: 9px; padding-right: 9px; }
|
8
|
+
#HTMLReporter #jasmine_content { position: fixed; right: 100%; }
|
9
|
+
#HTMLReporter .version { color: #aaaaaa; }
|
10
|
+
#HTMLReporter .banner { margin-top: 14px; }
|
11
|
+
#HTMLReporter .duration { color: #aaaaaa; float: right; }
|
12
|
+
#HTMLReporter .symbolSummary { overflow: hidden; *zoom: 1; margin: 14px 0; }
|
13
|
+
#HTMLReporter .symbolSummary li { display: block; float: left; height: 7px; width: 14px; margin-bottom: 7px; font-size: 16px; }
|
14
|
+
#HTMLReporter .symbolSummary li.passed { font-size: 14px; }
|
15
|
+
#HTMLReporter .symbolSummary li.passed:before { color: #5e7d00; content: "\02022"; }
|
16
|
+
#HTMLReporter .symbolSummary li.failed { line-height: 9px; }
|
17
|
+
#HTMLReporter .symbolSummary li.failed:before { color: #b03911; content: "x"; font-weight: bold; margin-left: -1px; }
|
18
|
+
#HTMLReporter .symbolSummary li.skipped { font-size: 14px; }
|
19
|
+
#HTMLReporter .symbolSummary li.skipped:before { color: #bababa; content: "\02022"; }
|
20
|
+
#HTMLReporter .symbolSummary li.pending { line-height: 11px; }
|
21
|
+
#HTMLReporter .symbolSummary li.pending:before { color: #aaaaaa; content: "-"; }
|
22
|
+
#HTMLReporter .exceptions { color: #fff; float: right; margin-top: 5px; margin-right: 5px; }
|
23
|
+
#HTMLReporter .bar { line-height: 28px; font-size: 14px; display: block; color: #eee; }
|
24
|
+
#HTMLReporter .runningAlert { background-color: #666666; }
|
25
|
+
#HTMLReporter .skippedAlert { background-color: #aaaaaa; }
|
26
|
+
#HTMLReporter .skippedAlert:first-child { background-color: #333333; }
|
27
|
+
#HTMLReporter .skippedAlert:hover { text-decoration: none; color: white; text-decoration: underline; }
|
28
|
+
#HTMLReporter .passingAlert { background-color: #a6b779; }
|
29
|
+
#HTMLReporter .passingAlert:first-child { background-color: #5e7d00; }
|
30
|
+
#HTMLReporter .failingAlert { background-color: #cf867e; }
|
31
|
+
#HTMLReporter .failingAlert:first-child { background-color: #b03911; }
|
32
|
+
#HTMLReporter .results { margin-top: 14px; }
|
33
|
+
#HTMLReporter #details { display: none; }
|
34
|
+
#HTMLReporter .resultsMenu, #HTMLReporter .resultsMenu a { background-color: #fff; color: #333333; }
|
35
|
+
#HTMLReporter.showDetails .summaryMenuItem { font-weight: normal; text-decoration: inherit; }
|
36
|
+
#HTMLReporter.showDetails .summaryMenuItem:hover { text-decoration: underline; }
|
37
|
+
#HTMLReporter.showDetails .detailsMenuItem { font-weight: bold; text-decoration: underline; }
|
38
|
+
#HTMLReporter.showDetails .summary { display: none; }
|
39
|
+
#HTMLReporter.showDetails #details { display: block; }
|
40
|
+
#HTMLReporter .summaryMenuItem { font-weight: bold; text-decoration: underline; }
|
41
|
+
#HTMLReporter .summary { margin-top: 14px; }
|
42
|
+
#HTMLReporter .summary .suite .suite, #HTMLReporter .summary .specSummary { margin-left: 14px; }
|
43
|
+
#HTMLReporter .summary .specSummary.passed a { color: #5e7d00; }
|
44
|
+
#HTMLReporter .summary .specSummary.failed a { color: #b03911; }
|
45
|
+
#HTMLReporter .description + .suite { margin-top: 0; }
|
46
|
+
#HTMLReporter .suite { margin-top: 14px; }
|
47
|
+
#HTMLReporter .suite a { color: #333333; }
|
48
|
+
#HTMLReporter #details .specDetail { margin-bottom: 28px; }
|
49
|
+
#HTMLReporter #details .specDetail .description { display: block; color: white; background-color: #b03911; }
|
50
|
+
#HTMLReporter .resultMessage { padding-top: 14px; color: #333333; }
|
51
|
+
#HTMLReporter .resultMessage span.result { display: block; }
|
52
|
+
#HTMLReporter .stackTrace { margin: 5px 0 0 0; max-height: 224px; overflow: auto; line-height: 18px; color: #666666; border: 1px solid #ddd; background: white; white-space: pre; }
|
53
|
+
|
54
|
+
#TrivialReporter { padding: 8px 13px; position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow-y: scroll; background-color: white; font-family: "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif; /*.resultMessage {*/ /*white-space: pre;*/ /*}*/ }
|
55
|
+
#TrivialReporter a:visited, #TrivialReporter a { color: #303; }
|
56
|
+
#TrivialReporter a:hover, #TrivialReporter a:active { color: blue; }
|
57
|
+
#TrivialReporter .run_spec { float: right; padding-right: 5px; font-size: .8em; text-decoration: none; }
|
58
|
+
#TrivialReporter .banner { color: #303; background-color: #fef; padding: 5px; }
|
59
|
+
#TrivialReporter .logo { float: left; font-size: 1.1em; padding-left: 5px; }
|
60
|
+
#TrivialReporter .logo .version { font-size: .6em; padding-left: 1em; }
|
61
|
+
#TrivialReporter .runner.running { background-color: yellow; }
|
62
|
+
#TrivialReporter .options { text-align: right; font-size: .8em; }
|
63
|
+
#TrivialReporter .suite { border: 1px outset gray; margin: 5px 0; padding-left: 1em; }
|
64
|
+
#TrivialReporter .suite .suite { margin: 5px; }
|
65
|
+
#TrivialReporter .suite.passed { background-color: #dfd; }
|
66
|
+
#TrivialReporter .suite.failed { background-color: #fdd; }
|
67
|
+
#TrivialReporter .spec { margin: 5px; padding-left: 1em; clear: both; }
|
68
|
+
#TrivialReporter .spec.failed, #TrivialReporter .spec.passed, #TrivialReporter .spec.skipped { padding-bottom: 5px; border: 1px solid gray; }
|
69
|
+
#TrivialReporter .spec.failed { background-color: #fbb; border-color: red; }
|
70
|
+
#TrivialReporter .spec.passed { background-color: #bfb; border-color: green; }
|
71
|
+
#TrivialReporter .spec.skipped { background-color: #bbb; }
|
72
|
+
#TrivialReporter .messages { border-left: 1px dashed gray; padding-left: 1em; padding-right: 1em; }
|
73
|
+
#TrivialReporter .passed { background-color: #cfc; display: none; }
|
74
|
+
#TrivialReporter .failed { background-color: #fbb; }
|
75
|
+
#TrivialReporter .skipped { color: #777; background-color: #eee; display: none; }
|
76
|
+
#TrivialReporter .resultMessage span.result { display: block; line-height: 2em; color: black; }
|
77
|
+
#TrivialReporter .resultMessage .mismatch { color: black; }
|
78
|
+
#TrivialReporter .stackTrace { white-space: pre; font-size: .8em; margin-left: 10px; max-height: 5em; overflow: auto; border: 1px inset red; padding: 1em; background: #eef; }
|
79
|
+
#TrivialReporter .finished-at { padding-left: 1em; font-size: .6em; }
|
80
|
+
#TrivialReporter.show-passed .passed, #TrivialReporter.show-skipped .skipped { display: block; }
|
81
|
+
#TrivialReporter #jasmine_content { position: fixed; right: 100%; }
|
82
|
+
#TrivialReporter .runner { border: 1px solid gray; display: block; margin: 5px 0; padding: 2px 0 2px 10px; }
|
metadata
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: brainsome_jasminerice
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Brad Phelan
|
8
|
+
- Brainsome-Developers
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: coffee-rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 3.1.0
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 3.1.0
|
28
|
+
description: Full support for the Rails 3.1 asset pipeline when bdd'ing your coffeescript
|
29
|
+
or javascript using jasmine
|
30
|
+
email:
|
31
|
+
-
|
32
|
+
-
|
33
|
+
executables: []
|
34
|
+
extensions: []
|
35
|
+
extra_rdoc_files: []
|
36
|
+
files:
|
37
|
+
- app/assets/javascripts/jasminerice.js.coffee
|
38
|
+
- app/controllers/jasminerice/application_controller.rb
|
39
|
+
- app/controllers/jasminerice/spec_controller.rb
|
40
|
+
- app/helpers/jasminerice/application_helper.rb
|
41
|
+
- app/views/jasminerice/spec/index.html.erb
|
42
|
+
- config/routes.rb
|
43
|
+
- lib/generators/jasminerice/install_generator.rb
|
44
|
+
- lib/generators/jasminerice/templates/example_fixture.html.haml
|
45
|
+
- lib/generators/jasminerice/templates/example_spec.js.coffee
|
46
|
+
- lib/generators/jasminerice/templates/jasminerice.rb
|
47
|
+
- lib/generators/jasminerice/templates/spec.css
|
48
|
+
- lib/generators/jasminerice/templates/spec.js.coffee
|
49
|
+
- lib/jasminerice/version.rb
|
50
|
+
- lib/jasminerice.rb
|
51
|
+
- vendor/assets/javascripts/jasmine-html.js
|
52
|
+
- vendor/assets/javascripts/jasmine-jquery-1.5.8.js
|
53
|
+
- vendor/assets/javascripts/jasmine.js
|
54
|
+
- vendor/assets/stylesheets/jasmine.css
|
55
|
+
- MIT.LICENSE
|
56
|
+
- README.md
|
57
|
+
homepage: http://github.com/torial/jasminerice
|
58
|
+
licenses:
|
59
|
+
- MIT
|
60
|
+
metadata: {}
|
61
|
+
post_install_message:
|
62
|
+
rdoc_options: []
|
63
|
+
require_paths:
|
64
|
+
- lib
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
requirements: []
|
76
|
+
rubyforge_project:
|
77
|
+
rubygems_version: 2.0.14
|
78
|
+
signing_key:
|
79
|
+
specification_version: 4
|
80
|
+
summary: Pain free coffeescript unit testing for Rails 3.1 using jasmine
|
81
|
+
test_files: []
|