konacha 3.2.0 → 3.2.1

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: 489ecf076200dc9e9136450815b0dd75a8fb5a34
4
- data.tar.gz: 970b7cf761bcd3fafe1a0d1e391b76be3012065e
3
+ metadata.gz: 7f481eeaec9479ab6eb9f68522b8cb08bcc45423
4
+ data.tar.gz: ace8efe10d67b0c0a008336285c16dcc4cf8b42c
5
5
  SHA512:
6
- metadata.gz: 2614e238452851ba76e0fdbb6e2ab354613661758518d5dfb73e72b90f67f7a2b0c53bd7c947ed0032b8214a1a7ef1bd25aa4b3214a485c7f15bcb1f6bcffe05
7
- data.tar.gz: 34e5af431dc67e116d644d46e5c7c3b3ba9180b0d811d81f1765c2e1bc125f4b4564da7a9b929a469ba27d5c86a2d8af898eff756c636a9c91a62b408da62062
6
+ metadata.gz: ecf455aea2371dd57e39828c7e32c394c770967a333daf9f820b834084cdcaee3e0355f99dc2bb060acb884bf2f428524b48850af68b704eb6aa7b9b3ea72850
7
+ data.tar.gz: 9edb1ac5306f73a21ca24d5da818d10c3125dfb7f8f5be331412e7cdf78f300752e7196839cdc72f59663f4421b5dd5a16c10d9b3da4000cfe7ed4abe75f41f0
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 3.2.1
4
+
5
+ * Update chai (1.9.1)
6
+
3
7
  # 3.2.0
4
8
 
5
9
  * Allow configuration of loaded javascript files (#167)
data/README.md CHANGED
@@ -159,7 +159,7 @@ mocha.ignoreLeaks();
159
159
  mocha.timeout(5);
160
160
 
161
161
  // Show stack trace on failing assertion.
162
- chai.Assertion.includeStack = true;
162
+ chai.config.includeStack = true;
163
163
  ```
164
164
 
165
165
  ## Directives and Asset Bundling
@@ -17,7 +17,7 @@ the asset pipeline and engines.}
17
17
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  gem.name = "konacha"
19
19
  gem.require_paths = ["lib"]
20
- gem.version = "3.2.0"
20
+ gem.version = "3.2.1"
21
21
  gem.license = "MIT"
22
22
 
23
23
  gem.add_dependency "railties", ">= 3.1", "< 5"
@@ -736,7 +736,7 @@ var used = []
736
736
  * Chai version
737
737
  */
738
738
 
739
- exports.version = '1.8.1';
739
+ exports.version = '1.9.1';
740
740
 
741
741
  /*!
742
742
  * Assertion Error
@@ -769,6 +769,13 @@ exports.use = function (fn) {
769
769
  return this;
770
770
  };
771
771
 
772
+ /*!
773
+ * Configuration
774
+ */
775
+
776
+ var config = require('./chai/config');
777
+ exports.config = config;
778
+
772
779
  /*!
773
780
  * Primary `Assertion` prototype
774
781
  */
@@ -813,6 +820,8 @@ require.register("chai/lib/chai/assertion.js", function(exports, require, module
813
820
  * MIT Licensed
814
821
  */
815
822
 
823
+ var config = require('./config');
824
+
816
825
  module.exports = function (_chai, util) {
817
826
  /*!
818
827
  * Module dependencies.
@@ -841,33 +850,27 @@ module.exports = function (_chai, util) {
841
850
  flag(this, 'message', msg);
842
851
  }
843
852
 
844
- /*!
845
- * ### Assertion.includeStack
846
- *
847
- * User configurable property, influences whether stack trace
848
- * is included in Assertion error message. Default of false
849
- * suppresses stack trace in the error message
850
- *
851
- * Assertion.includeStack = true; // enable stack on error
852
- *
853
- * @api public
854
- */
855
-
856
- Assertion.includeStack = false;
857
-
858
- /*!
859
- * ### Assertion.showDiff
860
- *
861
- * User configurable property, influences whether or not
862
- * the `showDiff` flag should be included in the thrown
863
- * AssertionErrors. `false` will always be `false`; `true`
864
- * will be true when the assertion has requested a diff
865
- * be shown.
866
- *
867
- * @api public
868
- */
853
+ Object.defineProperty(Assertion, 'includeStack', {
854
+ get: function() {
855
+ console.warn('Assertion.includeStack is deprecated, use chai.config.includeStack instead.');
856
+ return config.includeStack;
857
+ },
858
+ set: function(value) {
859
+ console.warn('Assertion.includeStack is deprecated, use chai.config.includeStack instead.');
860
+ config.includeStack = value;
861
+ }
862
+ });
869
863
 
870
- Assertion.showDiff = true;
864
+ Object.defineProperty(Assertion, 'showDiff', {
865
+ get: function() {
866
+ console.warn('Assertion.showDiff is deprecated, use chai.config.showDiff instead.');
867
+ return config.showDiff;
868
+ },
869
+ set: function(value) {
870
+ console.warn('Assertion.showDiff is deprecated, use chai.config.showDiff instead.');
871
+ config.showDiff = value;
872
+ }
873
+ });
871
874
 
872
875
  Assertion.addProperty = function (name, fn) {
873
876
  util.addProperty(this.prototype, name, fn);
@@ -910,7 +913,7 @@ module.exports = function (_chai, util) {
910
913
  Assertion.prototype.assert = function (expr, msg, negateMsg, expected, _actual, showDiff) {
911
914
  var ok = util.test(this, arguments);
912
915
  if (true !== showDiff) showDiff = false;
913
- if (true !== Assertion.showDiff) showDiff = false;
916
+ if (true !== config.showDiff) showDiff = false;
914
917
 
915
918
  if (!ok) {
916
919
  var msg = util.getMessage(this, arguments)
@@ -919,7 +922,7 @@ module.exports = function (_chai, util) {
919
922
  actual: actual
920
923
  , expected: expected
921
924
  , showDiff: showDiff
922
- }, (Assertion.includeStack) ? this.assert : flag(this, 'ssfi'));
925
+ }, (config.includeStack) ? this.assert : flag(this, 'ssfi'));
923
926
  }
924
927
  };
925
928
 
@@ -941,6 +944,59 @@ module.exports = function (_chai, util) {
941
944
  });
942
945
  };
943
946
 
947
+ });
948
+ require.register("chai/lib/chai/config.js", function(exports, require, module){
949
+ module.exports = {
950
+
951
+ /**
952
+ * ### config.includeStack
953
+ *
954
+ * User configurable property, influences whether stack trace
955
+ * is included in Assertion error message. Default of false
956
+ * suppresses stack trace in the error message.
957
+ *
958
+ * chai.config.includeStack = true; // enable stack on error
959
+ *
960
+ * @param {Boolean}
961
+ * @api public
962
+ */
963
+
964
+ includeStack: false,
965
+
966
+ /**
967
+ * ### config.showDiff
968
+ *
969
+ * User configurable property, influences whether or not
970
+ * the `showDiff` flag should be included in the thrown
971
+ * AssertionErrors. `false` will always be `false`; `true`
972
+ * will be true when the assertion has requested a diff
973
+ * be shown.
974
+ *
975
+ * @param {Boolean}
976
+ * @api public
977
+ */
978
+
979
+ showDiff: true,
980
+
981
+ /**
982
+ * ### config.truncateThreshold
983
+ *
984
+ * User configurable property, sets length threshold for actual and
985
+ * expected values in assertion errors. If this threshold is exceeded,
986
+ * the value is truncated.
987
+ *
988
+ * Set it to zero if you want to disable truncating altogether.
989
+ *
990
+ * chai.config.truncateThreshold = 0; // disable truncating
991
+ *
992
+ * @param {Number}
993
+ * @api public
994
+ */
995
+
996
+ truncateThreshold: 40
997
+
998
+ };
999
+
944
1000
  });
945
1001
  require.register("chai/lib/chai/core/assertions.js", function(exports, require, module){
946
1002
  /*!
@@ -960,7 +1016,7 @@ module.exports = function (chai, _) {
960
1016
  *
961
1017
  * The following are provided as chainable getters to
962
1018
  * improve the readability of your assertions. They
963
- * do not provide an testing capability unless they
1019
+ * do not provide testing capabilities unless they
964
1020
  * have been overwritten by a plugin.
965
1021
  *
966
1022
  * **Chains**
@@ -1092,17 +1148,24 @@ module.exports = function (chai, _) {
1092
1148
  function include (val, msg) {
1093
1149
  if (msg) flag(this, 'message', msg);
1094
1150
  var obj = flag(this, 'object');
1095
-
1096
- if (_.type(val) === 'object') {
1151
+ var expected = false;
1152
+ if (_.type(obj) === 'array' && _.type(val) === 'object') {
1153
+ for (var i in obj) {
1154
+ if (_.eql(obj[i], val)) {
1155
+ expected = true;
1156
+ break;
1157
+ }
1158
+ }
1159
+ } else if (_.type(val) === 'object') {
1097
1160
  if (!flag(this, 'negate')) {
1098
1161
  for (var k in val) new Assertion(obj).property(k, val[k]);
1099
1162
  return;
1100
1163
  }
1101
1164
  var subset = {}
1102
1165
  for (var k in val) subset[k] = obj[k]
1103
- var expected = _.eql(subset, val);
1166
+ expected = _.eql(subset, val);
1104
1167
  } else {
1105
- var expected = obj && ~obj.indexOf(val)
1168
+ expected = obj && ~obj.indexOf(val)
1106
1169
  }
1107
1170
  this.assert(
1108
1171
  expected
@@ -2190,9 +2253,13 @@ module.exports = function (chai, _) {
2190
2253
  );
2191
2254
  });
2192
2255
 
2193
- function isSubsetOf(subset, superset) {
2256
+ function isSubsetOf(subset, superset, cmp) {
2194
2257
  return subset.every(function(elem) {
2195
- return superset.indexOf(elem) !== -1;
2258
+ if (!cmp) return superset.indexOf(elem) !== -1;
2259
+
2260
+ return superset.some(function(elem2) {
2261
+ return cmp(elem, elem2);
2262
+ });
2196
2263
  })
2197
2264
  }
2198
2265
 
@@ -2200,7 +2267,9 @@ module.exports = function (chai, _) {
2200
2267
  * ### .members(set)
2201
2268
  *
2202
2269
  * Asserts that the target is a superset of `set`,
2203
- * or that the target and `set` have the same members.
2270
+ * or that the target and `set` have the same strictly-equal (===) members.
2271
+ * Alternately, if the `deep` flag is set, set members are compared for deep
2272
+ * equality.
2204
2273
  *
2205
2274
  * expect([1, 2, 3]).to.include.members([3, 2]);
2206
2275
  * expect([1, 2, 3]).to.not.include.members([3, 2, 8]);
@@ -2208,6 +2277,8 @@ module.exports = function (chai, _) {
2208
2277
  * expect([4, 2]).to.have.members([2, 4]);
2209
2278
  * expect([5, 2]).to.not.have.members([5, 2, 1]);
2210
2279
  *
2280
+ * expect([{ id: 1 }]).to.deep.include.members([{ id: 1 }]);
2281
+ *
2211
2282
  * @name members
2212
2283
  * @param {Array} set
2213
2284
  * @param {String} message _optional_
@@ -2221,9 +2292,11 @@ module.exports = function (chai, _) {
2221
2292
  new Assertion(obj).to.be.an('array');
2222
2293
  new Assertion(subset).to.be.an('array');
2223
2294
 
2295
+ var cmp = flag(this, 'deep') ? _.eql : undefined;
2296
+
2224
2297
  if (flag(this, 'contains')) {
2225
2298
  return this.assert(
2226
- isSubsetOf(subset, obj)
2299
+ isSubsetOf(subset, obj, cmp)
2227
2300
  , 'expected #{this} to be a superset of #{act}'
2228
2301
  , 'expected #{this} to not be a superset of #{act}'
2229
2302
  , obj
@@ -2232,7 +2305,7 @@ module.exports = function (chai, _) {
2232
2305
  }
2233
2306
 
2234
2307
  this.assert(
2235
- isSubsetOf(obj, subset) && isSubsetOf(subset, obj)
2308
+ isSubsetOf(obj, subset, cmp) && isSubsetOf(subset, obj, cmp)
2236
2309
  , 'expected #{this} to have the same members as #{act}'
2237
2310
  , 'expected #{this} to not have the same members as #{act}'
2238
2311
  , obj
@@ -2278,7 +2351,7 @@ module.exports = function (chai, util) {
2278
2351
  */
2279
2352
 
2280
2353
  var assert = chai.assert = function (express, errmsg) {
2281
- var test = new Assertion(null);
2354
+ var test = new Assertion(null, null, chai.assert);
2282
2355
  test.assert(
2283
2356
  express
2284
2357
  , errmsg
@@ -2359,7 +2432,7 @@ module.exports = function (chai, util) {
2359
2432
  */
2360
2433
 
2361
2434
  assert.equal = function (act, exp, msg) {
2362
- var test = new Assertion(act, msg);
2435
+ var test = new Assertion(act, msg, assert.equal);
2363
2436
 
2364
2437
  test.assert(
2365
2438
  exp == flag(test, 'object')
@@ -2385,7 +2458,7 @@ module.exports = function (chai, util) {
2385
2458
  */
2386
2459
 
2387
2460
  assert.notEqual = function (act, exp, msg) {
2388
- var test = new Assertion(act, msg);
2461
+ var test = new Assertion(act, msg, assert.notEqual);
2389
2462
 
2390
2463
  test.assert(
2391
2464
  exp != flag(test, 'object')
@@ -2636,8 +2709,8 @@ module.exports = function (chai, util) {
2636
2709
  * Asserts that `value` is _not_ an object.
2637
2710
  *
2638
2711
  * var selection = 'chai'
2639
- * assert.isObject(selection, 'tea selection is not an object');
2640
- * assert.isObject(null, 'null is not an object');
2712
+ * assert.isNotObject(selection, 'tea selection is not an object');
2713
+ * assert.isNotObject(null, 'null is not an object');
2641
2714
  *
2642
2715
  * @name isNotObject
2643
2716
  * @param {Mixed} value
@@ -2901,7 +2974,7 @@ module.exports = function (chai, util) {
2901
2974
  */
2902
2975
 
2903
2976
  assert.include = function (exp, inc, msg) {
2904
- new Assertion(exp, msg).include(inc);
2977
+ new Assertion(exp, msg, assert.include).include(inc);
2905
2978
  };
2906
2979
 
2907
2980
  /**
@@ -2921,7 +2994,7 @@ module.exports = function (chai, util) {
2921
2994
  */
2922
2995
 
2923
2996
  assert.notInclude = function (exp, inc, msg) {
2924
- new Assertion(exp, msg).not.include(inc);
2997
+ new Assertion(exp, msg, assert.notInclude).not.include(inc);
2925
2998
  };
2926
2999
 
2927
3000
  /**
@@ -3327,31 +3400,33 @@ module.exports = function (chai, util) {
3327
3400
  var Assertion = chai.Assertion;
3328
3401
 
3329
3402
  function loadShould () {
3403
+ // explicitly define this method as function as to have it's name to include as `ssfi`
3404
+ function shouldGetter() {
3405
+ if (this instanceof String || this instanceof Number) {
3406
+ return new Assertion(this.constructor(this), null, shouldGetter);
3407
+ } else if (this instanceof Boolean) {
3408
+ return new Assertion(this == true, null, shouldGetter);
3409
+ }
3410
+ return new Assertion(this, null, shouldGetter);
3411
+ }
3412
+ function shouldSetter(value) {
3413
+ // See https://github.com/chaijs/chai/issues/86: this makes
3414
+ // `whatever.should = someValue` actually set `someValue`, which is
3415
+ // especially useful for `global.should = require('chai').should()`.
3416
+ //
3417
+ // Note that we have to use [[DefineProperty]] instead of [[Put]]
3418
+ // since otherwise we would trigger this very setter!
3419
+ Object.defineProperty(this, 'should', {
3420
+ value: value,
3421
+ enumerable: true,
3422
+ configurable: true,
3423
+ writable: true
3424
+ });
3425
+ }
3330
3426
  // modify Object.prototype to have `should`
3331
- Object.defineProperty(Object.prototype, 'should',
3332
- {
3333
- set: function (value) {
3334
- // See https://github.com/chaijs/chai/issues/86: this makes
3335
- // `whatever.should = someValue` actually set `someValue`, which is
3336
- // especially useful for `global.should = require('chai').should()`.
3337
- //
3338
- // Note that we have to use [[DefineProperty]] instead of [[Put]]
3339
- // since otherwise we would trigger this very setter!
3340
- Object.defineProperty(this, 'should', {
3341
- value: value,
3342
- enumerable: true,
3343
- configurable: true,
3344
- writable: true
3345
- });
3346
- }
3347
- , get: function(){
3348
- if (this instanceof String || this instanceof Number) {
3349
- return new Assertion(this.constructor(this));
3350
- } else if (this instanceof Boolean) {
3351
- return new Assertion(this == true);
3352
- }
3353
- return new Assertion(this);
3354
- }
3427
+ Object.defineProperty(Object.prototype, 'should', {
3428
+ set: shouldSetter
3429
+ , get: shouldGetter
3355
3430
  , configurable: true
3356
3431
  });
3357
3432
 
@@ -3407,6 +3482,8 @@ require.register("chai/lib/chai/utils/addChainableMethod.js", function(exports,
3407
3482
  */
3408
3483
 
3409
3484
  var transferFlags = require('./transferFlags');
3485
+ var flag = require('./flag');
3486
+ var config = require('../config');
3410
3487
 
3411
3488
  /*!
3412
3489
  * Module variables
@@ -3472,7 +3549,10 @@ module.exports = function (ctx, name, method, chainingBehavior) {
3472
3549
  { get: function () {
3473
3550
  chainableBehavior.chainingBehavior.call(this);
3474
3551
 
3475
- var assert = function () {
3552
+ var assert = function assert() {
3553
+ var old_ssfi = flag(this, 'ssfi');
3554
+ if (old_ssfi && config.includeStack === false)
3555
+ flag(this, 'ssfi', assert);
3476
3556
  var result = chainableBehavior.method.apply(this, arguments);
3477
3557
  return result === undefined ? this : result;
3478
3558
  };
@@ -3511,6 +3591,8 @@ require.register("chai/lib/chai/utils/addMethod.js", function(exports, require,
3511
3591
  * MIT Licensed
3512
3592
  */
3513
3593
 
3594
+ var config = require('../config');
3595
+
3514
3596
  /**
3515
3597
  * ### .addMethod (ctx, name, method)
3516
3598
  *
@@ -3535,9 +3617,13 @@ require.register("chai/lib/chai/utils/addMethod.js", function(exports, require,
3535
3617
  * @name addMethod
3536
3618
  * @api public
3537
3619
  */
3620
+ var flag = require('./flag');
3538
3621
 
3539
3622
  module.exports = function (ctx, name, method) {
3540
3623
  ctx[name] = function () {
3624
+ var old_ssfi = flag(this, 'ssfi');
3625
+ if (old_ssfi && config.includeStack === false)
3626
+ flag(this, 'ssfi', ctx[name]);
3541
3627
  var result = method.apply(this, arguments);
3542
3628
  return result === undefined ? this : result;
3543
3629
  };
@@ -3639,8 +3725,7 @@ require.register("chai/lib/chai/utils/getActual.js", function(exports, require,
3639
3725
  */
3640
3726
 
3641
3727
  module.exports = function (obj, args) {
3642
- var actual = args[4];
3643
- return 'undefined' !== typeof actual ? actual : obj._obj;
3728
+ return args.length > 4 ? args[4] : obj._obj;
3644
3729
  };
3645
3730
 
3646
3731
  });
@@ -4342,6 +4427,7 @@ require.register("chai/lib/chai/utils/objDisplay.js", function(exports, require,
4342
4427
  */
4343
4428
 
4344
4429
  var inspect = require('./inspect');
4430
+ var config = require('../config');
4345
4431
 
4346
4432
  /**
4347
4433
  * ### .objDisplay (object)
@@ -4359,7 +4445,7 @@ module.exports = function (obj) {
4359
4445
  var str = inspect(obj)
4360
4446
  , type = Object.prototype.toString.call(obj);
4361
4447
 
4362
- if (str.length >= 40) {
4448
+ if (config.truncateThreshold && str.length >= config.truncateThreshold) {
4363
4449
  if (type === '[object Function]') {
4364
4450
  return !obj.name || obj.name === ''
4365
4451
  ? '[Function]'
metadata CHANGED
@@ -1,207 +1,207 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konacha
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Firebaugh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-05 00:00:00.000000000 Z
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.1'
20
- - - "<"
20
+ - - <
21
21
  - !ruby/object:Gem::Version
22
22
  version: '5'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
27
+ - - '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.1'
30
- - - "<"
30
+ - - <
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: actionpack
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
37
+ - - '>='
38
38
  - !ruby/object:Gem::Version
39
39
  version: '3.1'
40
- - - "<"
40
+ - - <
41
41
  - !ruby/object:Gem::Version
42
42
  version: '5'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
47
+ - - '>='
48
48
  - !ruby/object:Gem::Version
49
49
  version: '3.1'
50
- - - "<"
50
+ - - <
51
51
  - !ruby/object:Gem::Version
52
52
  version: '5'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: sprockets
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  type: :runtime
61
61
  prerelease: false
62
62
  version_requirements: !ruby/object:Gem::Requirement
63
63
  requirements:
64
- - - ">="
64
+ - - '>='
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: capybara
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - ">="
71
+ - - '>='
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  type: :runtime
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - ">="
78
+ - - '>='
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: colorize
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - ">="
85
+ - - '>='
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">="
92
+ - - '>='
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: jquery-rails
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - ">="
99
+ - - '>='
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - ">="
106
+ - - '>='
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: rspec-rails
111
111
  requirement: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - "~>"
113
+ - - ~>
114
114
  - !ruby/object:Gem::Version
115
115
  version: '2.14'
116
116
  type: :development
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - "~>"
120
+ - - ~>
121
121
  - !ruby/object:Gem::Version
122
122
  version: '2.14'
123
123
  - !ruby/object:Gem::Dependency
124
124
  name: capybara-firebug
125
125
  requirement: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - "~>"
127
+ - - ~>
128
128
  - !ruby/object:Gem::Version
129
129
  version: '1.1'
130
130
  type: :development
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - "~>"
134
+ - - ~>
135
135
  - !ruby/object:Gem::Version
136
136
  version: '1.1'
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: coffee-script
139
139
  requirement: !ruby/object:Gem::Requirement
140
140
  requirements:
141
- - - ">="
141
+ - - '>='
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  type: :development
145
145
  prerelease: false
146
146
  version_requirements: !ruby/object:Gem::Requirement
147
147
  requirements:
148
- - - ">="
148
+ - - '>='
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: ejs
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - ">="
155
+ - - '>='
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  type: :development
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
- - - ">="
162
+ - - '>='
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  - !ruby/object:Gem::Dependency
166
166
  name: tzinfo
167
167
  requirement: !ruby/object:Gem::Requirement
168
168
  requirements:
169
- - - ">="
169
+ - - '>='
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ">="
176
+ - - '>='
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: selenium-webdriver
181
181
  requirement: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - ">="
183
+ - - '>='
184
184
  - !ruby/object:Gem::Version
185
185
  version: '0'
186
186
  type: :development
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - ">="
190
+ - - '>='
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: poltergeist
195
195
  requirement: !ruby/object:Gem::Requirement
196
196
  requirements:
197
- - - "~>"
197
+ - - ~>
198
198
  - !ruby/object:Gem::Version
199
199
  version: 1.3.0
200
200
  type: :development
201
201
  prerelease: false
202
202
  version_requirements: !ruby/object:Gem::Requirement
203
203
  requirements:
204
- - - "~>"
204
+ - - ~>
205
205
  - !ruby/object:Gem::Version
206
206
  version: 1.3.0
207
207
  description: |-
@@ -217,10 +217,10 @@ executables: []
217
217
  extensions: []
218
218
  extra_rdoc_files: []
219
219
  files:
220
- - ".gitignore"
221
- - ".gitmodules"
222
- - ".rspec"
223
- - ".travis.yml"
220
+ - .gitignore
221
+ - .gitmodules
222
+ - .rspec
223
+ - .travis.yml
224
224
  - Gemfile
225
225
  - Gemfile-rails3
226
226
  - History.md
@@ -308,17 +308,17 @@ require_paths:
308
308
  - lib
309
309
  required_ruby_version: !ruby/object:Gem::Requirement
310
310
  requirements:
311
- - - ">="
311
+ - - '>='
312
312
  - !ruby/object:Gem::Version
313
313
  version: '0'
314
314
  required_rubygems_version: !ruby/object:Gem::Requirement
315
315
  requirements:
316
- - - ">="
316
+ - - '>='
317
317
  - !ruby/object:Gem::Version
318
318
  version: '0'
319
319
  requirements: []
320
320
  rubyforge_project:
321
- rubygems_version: 2.2.0
321
+ rubygems_version: 2.0.3
322
322
  signing_key:
323
323
  specification_version: 4
324
324
  summary: Unit-test your Rails JavaScript with the mocha test framework and chai assertion