jasmine-coverage 0.2.5 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/lib/jasmine/coverage/version.rb +1 -1
- data/lib/tasks/jasmine_headless_coverage_patches.rb +1 -0
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acb2f4212b4512190af7e8a9057c250c83beb256
|
4
|
+
data.tar.gz: 479c2cfc8c9972d64a4070c4ce4c14e0bdb1ea93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e45b1abfcde4eeb23f93b70632bedbc64ebdd136ade8361794388dee0a114e4ffa38a6e140161da7e9dcb65fea78bacba3ce05f57fd57cd3026e6a15f4777ff9
|
7
|
+
data.tar.gz: e53d194d92e2901678b45187d1a251b84d8bc477d9109bc3b4e2bd66544b25b43288b8e4ecbf077fe6059d17e65f4dc1a2d227ebf40124c0813012aae24c1e08
|
data/README.md
CHANGED
@@ -13,17 +13,14 @@ Coverage is provided by the [jscoverage](http://siliconforks.com/jscoverage/manu
|
|
13
13
|
First, ensure you have a binary of [jscoverage](http://siliconforks.com/jscoverage/manual.html)
|
14
14
|
available on your path. The installation steps are on the webpage.
|
15
15
|
|
16
|
-
Then, add the following in your Gemfile. Note, there were a raft of small issues with older versions
|
17
|
-
of [Jasmine Headless Webkit](http://johnbintz.github.com/jasmine-headless-webkit/), so for the moment you must use
|
18
|
-
the master branch of that project.
|
19
|
-
|
20
16
|
gem 'jasmine-coverage'
|
21
|
-
gem 'jasmine-headless-webkit', :git => 'git://github.com/johnbintz/jasmine-headless-webkit.git'
|
22
17
|
|
23
18
|
Finally, add this to your Rakefile
|
24
19
|
|
25
20
|
require 'jasmine/coverage'
|
26
21
|
|
22
|
+
Note, the requirement to have the git branch of the jasmine-headless-webkit gem is no longer necessary.
|
23
|
+
|
27
24
|
## Usage
|
28
25
|
|
29
26
|
To use jasmine-coverage, run the rake task.
|
@@ -14,6 +14,7 @@ module Jasmine::Headless
|
|
14
14
|
|
15
15
|
test_rigfolder = Jasmine::Coverage.output_dir+"/test-rig"
|
16
16
|
FileUtils.mkdir_p test_rigfolder
|
17
|
+
FileUtils.rm_rf(Dir.glob("#{test_rigfolder}/*")) # Clean out the old files
|
17
18
|
|
18
19
|
p "Copying all view files and potential javascript fixture folders so the jasmine-coverage run has access to the html fixtures."
|
19
20
|
copy_assets_to_test_dir(test_rigfolder, '../fixtures', 'target/fixtures')
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jasmine-coverage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Lascelles
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: jasmine-headless-webkit
|
14
|
+
name: jasmine-headless-webkit-firstbanco
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - '
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9.0.rc.
|
19
|
+
version: 0.9.0.rc.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - '
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.9.0.rc.
|
26
|
+
version: 0.9.0.rc.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: coffee-script-source
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,18 +59,19 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- lib/jasmine/coverage.rb
|
63
|
-
- lib/jasmine/coverage/version.rb
|
64
|
-
- lib/jasmine/coverage/jasmine_coverage_railtie.rb
|
65
62
|
- lib/tasks/base64.min.js
|
66
|
-
- lib/tasks/jasmine_headless_coverage_patches.rb
|
67
63
|
- lib/tasks/jasmine_coverage.rake
|
64
|
+
- lib/tasks/jasmine_headless_coverage_patches.rb
|
68
65
|
- lib/tasks/jscoverage.js
|
69
66
|
- lib/tasks/coverage_output_generator.js
|
67
|
+
- lib/jasmine/coverage.rb
|
68
|
+
- lib/jasmine/coverage/jasmine_coverage_railtie.rb
|
69
|
+
- lib/jasmine/coverage/version.rb
|
70
70
|
- README.md
|
71
71
|
- Rakefile
|
72
72
|
homepage: https://github.com/firstbanco/jasmine-coverage
|
73
|
-
licenses:
|
73
|
+
licenses:
|
74
|
+
- MIT
|
74
75
|
metadata: {}
|
75
76
|
post_install_message:
|
76
77
|
rdoc_options: []
|