o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1354836195.544359: @value" {I" class:EFI"BundledAsset;FI"logical_path;FI"%teabag-reporters/jasmine-json.js;FI" pathname;FI"a/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag-reporters/jasmine-json.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-12-06T16:16:02-07:00;FI" length;FiI" digest;F"%d57314456b7c54bd33a09beb951a6c37I" source;FI"(function() { Teabag.Reporter.JasmineConsole = (function() { var fails, total; fails = []; total = 0; function JasmineConsole() { this.start = Date.now(); } JasmineConsole.prototype.reportSpecResults = function(spec) { var status; total += 1; if (spec.results().passed()) { status = 'pass'; } else { this.trackFailure(spec); status = 'fail'; } return this.log({ type: 'spec', status: status, description: spec.description, suite: spec.suite.getFullName() }); }; JasmineConsole.prototype.reportRunnerResults = function() { this.log({ type: 'results', total: total, failures: fails, elapsed: Date.now() - this.start }); return Teabag.finished = true; }; JasmineConsole.prototype.specFilter = function(spec) { var p, param, paramMap, params, _i, _len; paramMap = {}; params = window.location.search.substring(1).split('&'); for (_i = 0, _len = params.length; _i < _len; _i++) { param = params[_i]; p = param.split('='); paramMap[decodeURIComponent(p[0])] = decodeURIComponent(p[1]); } if (!paramMap['spec']) { return true; } return spec.getFullName().indexOf(paramMap.spec) === 0; }; JasmineConsole.prototype.trackFailure = function(spec) { var item, _i, _len, _ref, _results; _ref = spec.results().getItems(); _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { item = _ref[_i]; _results.push(fails.push({ spec: spec.getFullName(), description: item.toString(), trace: item.trace.stack })); } return _results; }; JasmineConsole.prototype.log = function(object) { if (object == null) { object = {}; } object['_teabag'] = true; return console.log(JSON.stringify(object)); }; return JasmineConsole; })(); }).call(this); ;FI"required_assets_digest;F"%c882e527454aaa15069448c01b9dbc15I" _version;F"%6776f581a4329e299531e1d52aa59832