o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1354776286.634065: @value"’ {I" class:EFI"ProcessedAsset;FI"logical_path;FI"(teabag-reporters/jasmine.console.js;FI" pathname;FI"d/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag-reporters/jasmine.console.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-12-05T23:44:09-07:00;FI" length;Fi9I" digest;F"%79f4c187a624912ff7a760df86576f91I" source;FI"9(function() { Teabag.Reporter.JasmineConsole = (function() { var fails, total; fails = []; total = 0; function JasmineConsole() { jasmine.CATCH_EXCEPTIONS = true; 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); ;TI"dependency_digest;F"%1c65c37cfd86d9d9f903b0a269882723I"required_paths;F[I"d/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag-reporters/jasmine.console.coffee;FI"dependency_paths;F[{I" path;FI"d/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag-reporters/jasmine.console.coffee;FI" mtime;FI"2012-12-05T23:44:09-07:00;FI" digest;F"%166dfc01173c31eadd4f201ccf8a78b0I" _version;F"%6776f581a4329e299531e1d52aa59832