jasmine-coverage 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Jasmine
2
2
  module Coverage
3
- VERSION = '0.2.7'
3
+ VERSION = '0.2.8'
4
4
  end
5
5
  end
@@ -109,9 +109,14 @@ The file can be found here: #{test_rig_folder}/jscoverage-test-rig.html
109
109
  fail "Aborting. All lines must be covered by a test." if ENV['MUST_COVER_ALL']
110
110
  else
111
111
  puts "No warnings detected."
112
- end if
113
- # Remove the junk at the end
112
+ end
113
+
114
+ # Remove the junk at the end
115
+ begin
114
116
  json_report_enc_stripped = json_report_enc[0, json_report_enc.index("\"")]
117
+ rescue => e
118
+ raise "Unexpectedly got simple output from Jasmine. Are you trying to run two jasmine tests at once, even in different projects?\n\n#{contents}"
119
+ end
115
120
 
116
121
  # Unpack it from Base64
117
122
  json_report = Base64.decode64(json_report_enc_stripped)
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine-coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Harry Lascelles
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-10-09 00:00:00.000000000 Z
12
+ date: 2013-10-23 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: jasmine-headless-webkit-firstbanco
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - '='
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - '='
25
28
  - !ruby/object:Gem::Version
@@ -27,29 +30,33 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: coffee-script-source
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: headless
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  description:
@@ -72,26 +79,27 @@ files:
72
79
  homepage: https://github.com/firstbanco/jasmine-coverage
73
80
  licenses:
74
81
  - MIT
75
- metadata: {}
76
82
  post_install_message:
77
83
  rdoc_options: []
78
84
  require_paths:
79
85
  - lib
80
86
  required_ruby_version: !ruby/object:Gem::Requirement
87
+ none: false
81
88
  requirements:
82
- - - '>='
89
+ - - ! '>='
83
90
  - !ruby/object:Gem::Version
84
91
  version: '0'
85
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
+ none: false
86
94
  requirements:
87
- - - '>='
95
+ - - ! '>='
88
96
  - !ruby/object:Gem::Version
89
97
  version: '0'
90
98
  requirements: []
91
99
  rubyforge_project:
92
- rubygems_version: 2.0.3
100
+ rubygems_version: 1.8.23
93
101
  signing_key:
94
- specification_version: 4
102
+ specification_version: 3
95
103
  summary: A blend of JS unit testing and coverage
96
104
  test_files: []
97
105
  has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: acb2f4212b4512190af7e8a9057c250c83beb256
4
- data.tar.gz: 479c2cfc8c9972d64a4070c4ce4c14e0bdb1ea93
5
- SHA512:
6
- metadata.gz: e45b1abfcde4eeb23f93b70632bedbc64ebdd136ade8361794388dee0a114e4ffa38a6e140161da7e9dcb65fea78bacba3ce05f57fd57cd3026e6a15f4777ff9
7
- data.tar.gz: e53d194d92e2901678b45187d1a251b84d8bc477d9109bc3b4e2bd66544b25b43288b8e4ecbf077fe6059d17e65f4dc1a2d227ebf40124c0813012aae24c1e08