jasmine-coverage 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -54,7 +54,7 @@ You can set a failure level percentage.
54
54
  bundle exec rake jasmine:coverage JASMINE_COVERAGE_MINIMUM=75
55
55
 
56
56
  In addition, as jasmine-coverage has to create a single folder environment for the Javascript sandbox to function correctly, it has to copy
57
- files into the _target/jscoverage/test_rig_ folder. By default, this is then cleaned up for you if the tests pass. If you'd like to see what files
57
+ files into the _target/jscoverage/test-rig_ folder. By default, this is then cleaned up for you if the tests pass. If you'd like to see what files
58
58
  it generates regardless, you can specify that in an environment variable.
59
59
 
60
60
  bundle exec rake jasmine:coverage JASMINE_COVERAGE_KEEP_TEST_RIG=true
@@ -1,5 +1,5 @@
1
1
  module Jasmine
2
2
  module Coverage
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
@@ -40,7 +40,7 @@ if env =~ /^(development|test)$/
40
40
 
41
41
  Jasmine::Coverage.resources = files_map
42
42
  Jasmine::Coverage.output_dir = output_dir
43
- test_rig_folder = "#{Jasmine::Coverage.output_dir}/test_rig"
43
+ test_rig_folder = "#{Jasmine::Coverage.output_dir}/test-rig"
44
44
 
45
45
  puts "\nCoverage will now be run. Expect a large block of compiled coverage data. This will be processed for you into target/jscoverage.\n\n"
46
46
 
@@ -58,7 +58,7 @@ if env =~ /^(development|test)$/
58
58
  errStr = errStr +"4) The source files are being loaded out of sequence (so global variables are not being declared in order)\n"
59
59
  errStr = errStr +" To check this, run bundle exec jasmine-headless-webkit -l to see the ordering\n"
60
60
  errStr = errStr +"\nIn any case, try running the standard jasmine command to get better errors:\n\nbundle exec jasmine:headless\n"
61
- errStr = errStr +"\nFinally, try opening the test_rig in firefox to see the tests run in a browser and get a stacktrace. "
61
+ errStr = errStr +"\nFinally, try opening the test-rig in firefox to see the tests run in a browser and get a stacktrace. "
62
62
  errStr = errStr +"Chrome has strict security settings that make this difficult since it accesses the local filesystem from Javascript (but you can switch the settings off at the command line)\n\n"
63
63
  errStr = errStr +"\n**********************************************************************************************\n"
64
64
  errStr = errStr +"\nThe test rig file needs to load JS directly off disk, which Chrome prevents by default. Your best bet is to open the rig in Firefox.\n"
@@ -12,7 +12,7 @@ module Jasmine::Headless
12
12
  ret = old_write
13
13
  str = File.open(all_tests_filename, "rb").read
14
14
 
15
- test_rigfolder = Jasmine::Coverage.output_dir+"/test_rig"
15
+ test_rigfolder = Jasmine::Coverage.output_dir+"/test-rig"
16
16
  FileUtils.mkdir_p test_rigfolder
17
17
 
18
18
  p "Copying all view files and potential javascript fixture folders so the jasmine-coverage run has access to the html fixtures."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine-coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: