spec/dummy/tmp/cache/assets/DF6/0E0/sprockets%2F85b10db6e1afe643aba6d396abdd77f0 in teabag-0.5.3 vs spec/dummy/tmp/cache/assets/DF6/0E0/sprockets%2F85b10db6e1afe643aba6d396abdd77f0 in teabag-0.5.4

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1359169927.856522: @value"'ˆ{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1359271205.183297: @value"k‹{I" class:EFI"BundledAsset;FI"logical_path;FI"teabag/mocha.js;FI" pathname;FI"P/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/mocha.coffee;FI"content_type;FI"application/javascript;FI" -mtime;FI"2013-01-25T20:11:53-07:00;FI" length;FiU†I" digest;F"%d98c46e40354c65abf100704cd722a4bI" source;FI"U†;(function(){ +mtime;FI"2013-01-27T00:18:39-07:00;FI" length;Fi™‰I" digest;F"%9786ce99c2c4335d30bb2cb1dca57164I" source;FI"™‰;(function(){ // CommonJS require() function require(p){ @@ -5373,10 +5373,36 @@ } this.started = true; return new Teabag.Runner(); }; + Teabag.resolveDependenciesFromParams = function(all) { + var dep, deps, file, parts, path, paths, _i, _j, _len, _len1; + if (all == null) { + all = []; + } + deps = []; + if ((paths = window.location.search.match(/[\?&]file(\[\])?=[^&\?]*/gi)) === null) { + return all; + } + for (_i = 0, _len = paths.length; _i < _len; _i++) { + path = paths[_i]; + parts = decodeURIComponent(path.replace(/\+/g, " ")).match(/\/(.+)\.(js|js.coffee|coffee)$/i); + if (parts === null) { + continue; + } + file = parts[1].substr(parts[1].lastIndexOf("/") + 1); + for (_j = 0, _len1 = all.length; _j < _len1; _j++) { + dep = all[_j]; + if (dep.indexOf(file) >= 0) { + deps.push(dep); + } + } + } + return deps; + }; + Teabag.log = function() { var _ref; this.messages.push(arguments[0]); return (_ref = this.console).log.apply(_ref, arguments); }; @@ -6557,6 +6583,6 @@ })(Teabag.fixture); env = mocha.setup("bdd"); }).call(this); -;TI"required_assets_digest;F"%d4a8556aaa28f530f6ed239ba0eab0e2I" _version;F"%6776f581a4329e299531e1d52aa59832 +;TI"required_assets_digest;F"%738fea9a5c6f71d8562b268725f31a40I" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file