jasmine-coverage 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +10 -0
- data/lib/jasmine/coverage/version.rb +1 -1
- data/lib/tasks/jasmine_coverage.rake +7 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmRkYTJmOTAyNTg5MmRhZDA5MjI2OTI3OWE1NDE4ODNjZTMwMmRmNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2M1MzIyMTM2NWMyZmE3MDZkZmQxYTVmYzM5MDkzNGY0YTY1NzZmOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzkzM2U1ZTU1NTU2NjQ2NzdlZmM1YzExNmRiOTI0ODIyNjk1YWJkMmRhZGM4
|
10
|
+
MGVhYmExZmVhYjlkYzY4MzhkMWZhNzgzNGNjMDBiYzhkMGQyYzU3MzkyY2Rl
|
11
|
+
MDYzMjQ3NjQ4MTU0ODFiYjFkYjA3MWJhMTlkY2IxNzIwMTkxOTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGI4ZGZhNzBiNDhjZjI5MjJjYTI0MGU2ZGZlMWZkMTRlOTMwNjZmYzczYmM4
|
14
|
+
YzU0Y2FkYmY2OGJkOWZmZTY0YmFhYWUxNjJlMzA2NzUzZjkyZWVhMmE2ZDQ1
|
15
|
+
ZjZiNWY5MjZlMmRiODk1NTI3MzM4NDI5ZjFmYjUzYTJmZDU5NTA=
|
data/README.md
CHANGED
@@ -31,6 +31,10 @@ Note, the requirement to have the git branch of the jasmine-headless-webkit gem
|
|
31
31
|
To use jasmine-coverage, run the rake task.
|
32
32
|
|
33
33
|
bundle exec rake jasmine:coverage
|
34
|
+
|
35
|
+
To specify a different path for jasmine config file (by default is 'spec/javascripts/support/jasmine.yml')
|
36
|
+
|
37
|
+
bundle exec rake jasmine:coverage JASMINE_CONFIG='path/to/jasmine.yml'
|
34
38
|
|
35
39
|
## Output
|
36
40
|
|
@@ -86,3 +90,9 @@ but since Mac uses Quartz, you may get
|
|
86
90
|
Xvfb not found on your system
|
87
91
|
|
88
92
|
To solve that just install XQuartz and add /usr/X11/bin to your PATH (thanks @shell).
|
93
|
+
|
94
|
+
## Thanks
|
95
|
+
|
96
|
+
Thanks to the following for comments and pull requests:
|
97
|
+
|
98
|
+
@soyellupi
|
@@ -57,12 +57,14 @@ if env =~ /^(development|test)$/
|
|
57
57
|
raise "There was an error writing to the report file #{rr_file}.\nDo you have permissions to do so?"
|
58
58
|
end
|
59
59
|
|
60
|
-
#
|
61
|
-
|
62
|
-
|
60
|
+
# Any options from the options.rb file in jasmine-headless-webkit can be used here.
|
61
|
+
runner_options = {
|
62
|
+
:reporters => [['Console'], ['File', rr_file]]
|
63
|
+
}
|
64
|
+
|
65
|
+
runner_options.merge!(:jasmine_config => ENV['JASMINE_CONFIG']) if ENV['JASMINE_CONFIG']
|
63
66
|
|
64
|
-
|
65
|
-
)
|
67
|
+
status_code = Jasmine::Headless::Runner.run(runner_options)
|
66
68
|
errStr = <<-EOS
|
67
69
|
**********************************************************************************************
|
68
70
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jasmine-coverage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Lascelles
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jasmine-headless-webkit-firstbanco
|