konacha-chai-matchers 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Konacha
2
2
  module Chai
3
3
  module Matchers
4
- VERSION = "0.0.13"
4
+ VERSION = "0.0.14"
5
5
  end
6
6
  end
7
7
  end
@@ -62,10 +62,7 @@
62
62
  }
63
63
  };
64
64
  newPromise = result.then(promiseCallback, promiseCallback);
65
- if (newPromise != null ? newPromise.then : void 0) {
66
- this.then = newPromise.then;
67
- }
68
- flag(this, 'object', newPromise);
65
+ return newPromise;
69
66
  } else {
70
67
  for (_j = 0, _len1 = definedActions.length; _j < _len1; _j++) {
71
68
  action = definedActions[_j];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Sinon.JS 1.5.2, 2013/01/20
2
+ * Sinon.JS 1.5.2, 2013/01/15
3
3
  *
4
4
  * @author Christian Johansen (christian@cjohansen.no)
5
5
  * @author Contributors: https://github.com/cjohansen/Sinon.JS/blob/master/AUTHORS
@@ -1910,8 +1910,7 @@ var sinon = (function (buster) {
1910
1910
  }
1911
1911
 
1912
1912
  var callStr = sinon.spyCall.toString.call({
1913
- proxy: this.method || "anonymous mock expectation",
1914
- args: args
1913
+ proxy: this.method, args: args
1915
1914
  });
1916
1915
 
1917
1916
  var message = callStr.replace(", [...", "[, ...") + " " +
@@ -2265,8 +2264,6 @@ if (typeof sinon == "undefined") {
2265
2264
  if (firstException) {
2266
2265
  throw firstException;
2267
2266
  }
2268
-
2269
- return this.now;
2270
2267
  },
2271
2268
 
2272
2269
  firstTimerInRange: function (from, to) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konacha-chai-matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
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: 2013-01-28 00:00:00.000000000 Z
12
+ date: 2013-01-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A set of Chai.js libraries ready to use for Konacha
15
15
  email:
@@ -56,15 +56,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
56
  - - ! '>='
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
+ segments:
60
+ - 0
61
+ hash: 4374627379221921237
59
62
  required_rubygems_version: !ruby/object:Gem::Requirement
60
63
  none: false
61
64
  requirements:
62
65
  - - ! '>='
63
66
  - !ruby/object:Gem::Version
64
67
  version: '0'
68
+ segments:
69
+ - 0
70
+ hash: 4374627379221921237
65
71
  requirements: []
66
72
  rubyforge_project: konacha-chai-matchers
67
- rubygems_version: 1.8.15
73
+ rubygems_version: 1.8.24
68
74
  signing_key:
69
75
  specification_version: 3
70
76
  summary: Chai.js plugins collection for Konacha