Sha256: ca859bfce91f5a9d12b2c2998aa254b5eb6ff917012fe93a89afe934a0b35424

Contents?: true

Size: 1.84 KB

Versions: 23

Compression:

Stored size: 1.84 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1354768145.396544:@value"ò{I"
class:EFI"BundledAsset;FI"logical_path;FI"'teabag/jasmine-console-reporter.js;FI"
pathname;FI"c/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/jasmine-console-reporter.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-12-05T21:28:50-07:00;FI"length;FiüI"digest;F"%c438b1f2d800160d5c5f86080792e916I"source;FI"ü(function() {

  Teabag.Reporter.Console = (function() {

    function Console() {}

    Console.prototype.reportRunnerStarting = function(runner) {};

    Console.prototype.reportRunnerResults = function(runner) {
      return Teabag.finish({});
    };

    Console.prototype.reportSpecResults = function(spec) {
      var status;
      if (spec.results().passed()) {
        status = 'pass';
      } else {
        status = 'fail';
      }
      return this.log({
        status: status,
        suite: spec.suite.getFullName(),
        spec: spec.description
      });
    };

    Console.prototype.log = function(results) {
      results['_teabag'] = true;
      return console.log(JSON.stringify(results));
    };

    Console.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;
    };

    return Console;

  })();

}).call(this);
;FI"required_assets_digest;F"%257c46d5b38c2b90c812304c7d6d7fe5I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
guard-teaspoon-0.0.4 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
guard-teaspoon-0.0.3 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
guard-teabag-0.0.2 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.5.4 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
guard-teabag-0.0.1 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.5.3 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.5.2 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.5.1 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.5.0 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.4.6 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.4.5 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.4.4 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.4.3 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.4.2 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.4.1 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.4.0 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.3.6 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.3.5 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.3.4 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb
teabag-0.3.3 spec/dummy/tmp/cache/assets/DAB/400/sprockets%2F52eed96b338eff526fc0198c61dd09eb