guard-jasmine 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -210,13 +210,13 @@ module Guard
210
210
  time = result['stats']['time']
211
211
  specs_plural = specs == 1 ? '' : 's'
212
212
  failures_plural = failures == 1 ? '' : 's'
213
-
213
+
214
214
  Formatter.info("\nFinished in #{ time } seconds")
215
-
215
+
216
216
  message = "#{ specs } spec#{ specs_plural }, #{ failures } failure#{ failures_plural }"
217
217
  full_message = "#{ message }\nin #{ time } seconds"
218
218
  passed = failures == 0
219
-
219
+
220
220
  if passed
221
221
  report_specdoc(result, passed, options) if options[:specdoc] == :always
222
222
  Formatter.success(message)
@@ -227,7 +227,7 @@ module Guard
227
227
  notify_errors(result, options)
228
228
  Formatter.notify(full_message, :title => 'Jasmine suite failed', :image => :failed, :priority => 2) if options[:notification]
229
229
  end
230
-
230
+
231
231
  Formatter.info("Done.\n")
232
232
  end
233
233
 
@@ -303,7 +303,9 @@ module Guard
303
303
  if spec['errors'] && (options[:errors] == :always || (options[:errors] == :failure && !spec['passed']))
304
304
  spec['errors'].each do |error|
305
305
  if error['trace']
306
- Formatter.spec_failed(indent(" ➜ Exception: #{ error['msg'] } in #{ error['trace']['file'] } on line #{ error['trace']['line'] }", level))
306
+ error['trace'].each do |trace|
307
+ Formatter.spec_failed(indent(" ➜ Exception: #{ error['msg'] } in #{ trace['file'] } on line #{ trace['line'] }", level))
308
+ end
307
309
  else
308
310
  Formatter.spec_failed(indent(" ➜ Exception: #{ error['msg'] }", level))
309
311
  end
@@ -1,6 +1,6 @@
1
1
  module Guard
2
2
  module JasmineVersion
3
3
  # Guard::Jasmine version that is used for the Gem specification
4
- VERSION = '1.1.2'
4
+ VERSION = '1.1.3'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-jasmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-01 00:00:00.000000000 Z
12
+ date: 2012-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
@@ -264,6 +264,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
264
  - - ! '>='
265
265
  - !ruby/object:Gem::Version
266
266
  version: '0'
267
+ segments:
268
+ - 0
269
+ hash: -2846410531901039755
267
270
  required_rubygems_version: !ruby/object:Gem::Requirement
268
271
  none: false
269
272
  requirements:
@@ -272,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
275
  version: 1.3.6
273
276
  requirements: []
274
277
  rubyforge_project: guard-jasmine
275
- rubygems_version: 1.8.23
278
+ rubygems_version: 1.8.24
276
279
  signing_key:
277
280
  specification_version: 3
278
281
  summary: Guard gem for headless testing with Jasmine