blade-qunit_adapter 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13ad73cfc41a11af751edd28efcc0e4628457c4f
4
- data.tar.gz: 57d0fe1c313643e64c4dcf70829915261fb3abce
3
+ metadata.gz: aeb54570c32c3f3ed8b137b93209058fb7aae9cb
4
+ data.tar.gz: cc7cad647a4d9c2ef474db106ba946dd6517ce2c
5
5
  SHA512:
6
- metadata.gz: 28fed8902b2bee1128a0e9012040f1836fc5c4d2546c62405508be81daec651a75c60939111dae15c19b4b1211e5cc7c09fa852639365eb79f04c6677575f2c9
7
- data.tar.gz: a16c52f0e0874c4347097f6038d282c897556df7db2106b2fdbe77faddf631424fa2b4be781cc8b65eefb24ff5e4f83316277489bcdf391f4297897284a0650e
6
+ metadata.gz: 2d2874c932fbc11fa8fc76dfa122bdb49e8fbc14c8467354d69526712e03f5dae68c2c9de9bd33052d3093584bd1266cb6c67b991cdaa2898469452cec8c54c1
7
+ data.tar.gz: 1d0e2e2fc0f68bd42c77600c52568eab0db8cfa2016bb4af8b998068749fb4e79de9c60b1cf3d94d9a24d6b44bb8d21bcb1bb36860f1e2cc4d782e335ceff8ef
@@ -4,7 +4,7 @@ QUnit.config.hidepassed = true
4
4
  QUnit.config.testTimeout = 5000
5
5
 
6
6
  QUnit.begin (suiteDetails) ->
7
- Blade.suiteBegin(total: suiteDetails.totalTests)
7
+ Blade.suiteDidBegin(suiteDetails)
8
8
 
9
9
  failedAssertions = []
10
10
 
@@ -19,11 +19,11 @@ QUnit.testDone (testDetails) ->
19
19
  name = "#{testDetails.module}: #{testDetails.name}"
20
20
  pass = testDetails.failed is 0
21
21
  message = formatAssertions(failedAssertions)
22
- Blade.testResult({name, pass, message})
22
+ Blade.testDidEnd({name, pass, message})
23
23
 
24
24
  QUnit.done (suiteDetails) ->
25
25
  window.global_test_results = suiteDetails
26
- Blade.suiteEnd(suiteDetails)
26
+ Blade.suiteDidEnd(suiteDetails)
27
27
 
28
28
  formatAssertions = (assertions = []) ->
29
29
  if assertions.length
@@ -1,5 +1,5 @@
1
1
  module Blade
2
2
  module QunitAdapter
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blade-qunit_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javan Makhmali
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-29 00:00:00.000000000 Z
11
+ date: 2015-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler