([\s\S]*?)<\/div>/g,"$1\n")},location:function(){return window.location.hash}}}).call(this)}),minispade.register("travis/model",function(){(function(){this.Travis.Model=DS.Model.extend({primaryKey:"id",id:DS.attr("number"),init:function(){return this.loadedAttributes=[],this._super.apply(this,arguments)},get:function(e){return this.constructor.isAttribute(e)&&this.get("incomplete")&&!this.isAttributeLoaded(e)&&this.loadTheRest(),this._super.apply(this,arguments)},refresh:function(){var e,t;if(e=this.get("id"))return t=this.get("store"),t.adapter.find(t,this.constructor,e)},update:function(e){var t=this;return $.each(e,function(e,n){if(e!=="id")return t.set(e,n)}),this},isAttributeLoaded:function(e){var t;if(t=Ember.get(this.constructor,"attributes").get(e))return e=t.key(this.constructor),this.get("store").isDataLoadedFor(this.constructor,this.get("clientId"),e)},isComplete:function(){return this.get("incomplete")?(this.loadTheRest(),!1):(this.set("isCompleting",!1),this.get("isLoaded"))}.property("incomplete","isLoaded"),loadTheRest:function(){if(this.get("isCompleting"))return;return this.set("isCompleting",!0),this.refresh()},select:function(){return this.constructor.select(this.get("id"))},loadedAsIncomplete:function(){return this.set("incomplete",!0)}}),this.Travis.Model.reopenClass({find:function(){return arguments.length===0?Travis.app.store.findAll(this):this._super.apply(this,arguments)},filter:function(e){return Travis.app.store.filter(this,e)},load:function(e){return Travis.app.store.load(this,e)},select:function(e){return this.find().forEach(function(t){return t.set("selected",t.get("id")===e)})},buildURL:function(e){var t,n;return t=this.url||this.pluralName(),n=[t],e!==void 0&&n.push(e),n.join("/")},singularName:function(){var e,t;return t=this.toString().split("."),e=t[t.length-1],e.replace(/([A-Z])/g,"_$1").toLowerCase().slice(1)},pluralName:function(){return Travis.app.store.adapter.pluralize(this.singularName())},isAttribute:function(e){return Ember.get(this,"attributes").has(e)}})}).call(this)}),minispade.register("travis/ticker",function(){(function(){this.Travis.Ticker=Ember.Object.extend({init:function(){if(this.get("interval")!==-1)return this.schedule()},tick:function(){var e,t,n,r,i;e=this.get("context"),n=this.get("targets")||[this.get("target")];for(r=0,i=n.length;r
Signing in ...\n \n Trying to authenticate with GitHub.\n
\n")}function o(e,t){var r="",i;return t.buffer.push('\n
Sign in
\n
\n Please sign in with GitHub.\n
\n"),r}n=n||Ember.Handlebars.helpers;var u="",a,f=this.escapeExpression,l=this;return a=n["if"].call(t,"view.signingIn",{hash:{},inverse:l.program(3,o,i),fn:l.program(1,s,i),contexts:[t],data:i}),(a||a===0)&&i.buffer.push(a),i.buffer.push("\n\n"),u}),Ember.TEMPLATES["builds/list"]=Ember.Handlebars.template(function(e,t,n,r,i){function s(e,t){var r="",i,s;return t.buffer.push('\n
\n \n \n '),s=n.t,i=s?s.call(e,"builds.name",{hash:{},contexts:[e],data:t}):d.call(e,"t","builds.name",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+" | \n "),s=n.t,i=s?s.call(e,"builds.commit",{hash:{},contexts:[e],data:t}):d.call(e,"t","builds.commit",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+" | \n "),s=n.t,i=s?s.call(e,"builds.message",{hash:{},contexts:[e],data:t}):d.call(e,"t","builds.message",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+" | \n "),s=n.t,i=s?s.call(e,"builds.duration",{hash:{},contexts:[e],data:t}):d.call(e,"t","builds.duration",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+" | \n "),s=n.t,i=s?s.call(e,"builds.finished_at",{hash:{},contexts:[e],data:t}):d.call(e,"t","builds.finished_at",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+" | \n
\n \n\n \n "),i=n.each.call(e,"build","in","builds",{hash:{},inverse:p.noop,fn:p.program(2,o,t),contexts:[e,e,e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n \n
\n
\n "),i=n.view.call(e,"view.ShowMoreButton",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+"\n
\n"),r}function o(e,t){var r="",i;return t.buffer.push("\n "),i={},i.contextBinding="build",i=n.view.call(e,"Travis.BuildsItemView",{hash:i,inverse:p.noop,fn:p.program(3,u,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n "),r}function u(e,t){var r="",i,s;return t.buffer.push('\n
\n \n '),i=n["if"].call(e,"id",{hash:{},inverse:p.noop,fn:p.program(4,a,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push('\n | \n
\n \n "),s=n.formatCommit,i=s?s.call(e,"commit",{hash:{},contexts:[e],data:t}):d.call(e,"formatCommit","commit",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+'\n \n | \n
\n '),i={},i["short"]="true",s=n.formatMessage,i=s?s.call(e,"commit.message",{hash:i,contexts:[e],data:t}):d.call(e,"formatMessage","commit.message",{hash:i,contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push('\n | \n
\n "),s=n.formatDuration,i=s?s.call(e,"duration",{hash:{},contexts:[e],data:t}):d.call(e,"formatDuration","duration",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+'\n | \n
\n "),s=n.formatTime,i=s?s.call(e,"finishedAt",{hash:{},contexts:[e],data:t}):d.call(e,"formatTime","finishedAt",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+"\n | \n "),r}function a(e,t){var r="",i;return t.buffer.push("\n
\n "
-),i=n._triageMustache.call(e,"number",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+"\n \n "),r}function f(e,t){t.buffer.push('\n
Loading
\n')}n=n||Ember.Handlebars.helpers;var l="",c,h=this.escapeExpression,p=this,d=n.helperMissing;return c=n["if"].call(t,"builds.isLoaded",{hash:{},inverse:p.program(6,f,i),fn:p.program(1,s,i),contexts:[t],data:i}),(c||c===0)&&i.buffer.push(c),i.buffer.push("\n\n"),l}),Ember.TEMPLATES["builds/show"]=Ember.Handlebars.template(function(e,t,n,r,i){function s(e,t){var r="",i;return t.buffer.push("\n "),i=n["if"].call(e,"loading",{hash:{},inverse:b.program(4,u,t),fn:b.program(2,o,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n"),r}function o(e,t){t.buffer.push("\n
Loading\n ")}function u(e,t){var r="",i,s;return t.buffer.push('\n
\n \n
- '),s=n.t,i=s?s.call(e,"builds.name",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.name",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'
\n - \n \n '),i=n["if"].call(e,"build.id",{hash:{},inverse:b.noop,fn:b.program(5,a,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push('\n
\n - '),s=n.t,i=s?s.call(e,"builds.finished_at",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.finished_at",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'
\n - "),s=n.formatTime,i=s?s.call(e,"build.finishedAt",{hash:{},contexts:[e],data:t}):y.call(e,"formatTime","build.finishedAt",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+"
\n - "),s=n.t,i=s?s.call(e,"builds.duration",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.duration",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'
\n - "),s=n.formatDuration,i=s?s.call(e,"build.duration",{hash:{},contexts:[e],data:t}):y.call(e,"formatDuration","build.duration",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'
\n \n\n \n
- '),s=n.t,i=s?s.call(e,"builds.commit",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.commit",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'
\n
- '),s=n.formatCommit,i=s?s.call(e,"build.commit",{hash:{},contexts:[e],data:t}):y.call(e,"formatCommit","build.commit",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+"
\n "),i=n["if"].call(e,"commit.compareUrl",{hash:{},inverse:b.noop,fn:b.program(7,f,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n "),i=n["if"].call(e,"commit.authorName",{hash:{},inverse:b.noop,fn:b.program(9,l,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n "),i=n["if"].call(e,"commit.committerName",{hash:{},inverse:b.noop,fn:b.program(11,c,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n
\n\n - "),s=n.t,i=s?s.call(e,"builds.message",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.message",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'
\n - '),s=n.formatMessage,i=s?s.call(e,"build.commit.message",{hash:{},contexts:[e],data:t}):y.call(e,"formatMessage","build.commit.message",{hash:{},contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("
\n\n "),i=n.unless.call(e,"isMatrix",{hash:{},inverse:b.noop,fn:b.program(13,h,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n
\n\n "),i=n["if"].call(e,"build.isMatrix",{hash:{},inverse:b.program(17,d,t),fn:b.program(15,p,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n "),r}function a(e,t){var r="",i;return t.buffer.push("\n
"),i=n._triageMustache.call(e,"build.number",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+"\n "),r}function f(e,t){var r="",i,s;return t.buffer.push("\n
"),s=n.t,i=s?s.call(e,"builds.compare",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.compare",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'\n
'),s=n.pathFrom,i=s?s.call(e,"build.commit.compareUrl",{hash:{},contexts:[e],data:t}):y.call(e,"pathFrom","build.commit.compareUrl",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+"\n "),r}function l(e,t){var r="",i,s;return t.buffer.push("\n
"),s=n.t,i=s?s.call(e,"builds.author",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.author",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'\n
'),i=n._triageMustache.call(e,"build.commit.authorName",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+"\n "),r}function c(e,t){var r="",i,s;return t.buffer.push("\n
"),s=n.t,i=s?s.call(e,"builds.committer",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.committer",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'\n
'),i=n._triageMustache.call(e,"build.commit.committerName",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+"\n "),r}function h(e,t){var r="",i,s;return t.buffer.push("\n
"),s=n.t,i=s?s.call(e,"builds.config",{hash:{},contexts:[e],data:t}):y.call(e,"t","builds.config",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+'\n
'),s=n.formatConfig,i=s?s.call(e,"build.config",{hash:{},contexts:[e],data:t}):y.call(e,"formatConfig","build.config",{hash:{},contexts:[e],data:t}),t.buffer.push(g(i)+"\n "),r}function p(e,t){var r="",i;return t.buffer.push("\n "),i={},i.jobsBinding="build.requiredJobs",i.required="true",i=n.view.call(e,"Travis.JobsView",{hash:i,contexts:[e],data:t}),t.buffer.push(g(i)+"\n "),i={},i.jobsBinding="build.allowedFailureJobs",i=n.view.call(e,"Travis.JobsView",{hash:i,contexts:[e],data:t}),t.buffer.push(g(i)+"\n "),r}function d(e,t){var r="",i;return t.buffer.push("\n "),i={},i.contextBinding="build.jobs.firstObject",i=n.view.call(e,"Travis.LogView",{hash:i,contexts:[e],data:t}),t.buffer.push(g(i)+"\n "),r}n=n||Ember.Handlebars.helpers;var v="",m,g=this.escapeExpression,y=n.helperMissing,b=this;return m=n["with"].call(t,"view",{hash:{},inverse:b.noop,fn:b.program(1,s,i),contexts:[t],data:i}),(m||m===0)&&i.buffer.push(m),i.buffer.push("\n\n"),v}),Ember.TEMPLATES["events/list"]=Ember.Handlebars.template(function(e,t,n,r,i){function s(e,t){var r="",i;return t.buffer.push('\n
\n \n \n Time | \n Event | \n Result | \n Message | \n
\n \n\n \n '),i=n.each.call(e,"event","in","view.events",{hash:{},inverse:p.noop,fn:p.program(2,o,t),contexts:[e,e,e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n \n
\n"),r}function o(e,t){var r="",i;return t.buffer.push("\n "),i={},i.contextBinding="event",i=n.view.call(e,"Travis.EventsItemView",{hash:i,inverse:p.noop,fn:p.program(3,u,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n "),r}function u(e,t){var r="",i,s;return t.buffer.push('\n
\n '),s=n.formatTime,i=s?s.call(e,"createdAt",{hash:{},contexts:[e],data:t}):c.call(e,"formatTime","createdAt",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+'\n | \n
\n '),i=n._triageMustache.call(e,"event.event_",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+'\n | \n
\n '),i=n._triageMustache.call(e,"event.result",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+'\n | \n
\n '),i=n._triageMustache.call(e,"event.message",{hash:{},contexts:[e],data:t}),t.buffer.push(h(i)+"\n | \n "),r}function a(e,t){t.buffer.push('\n
Loading
\n')}n=n||Ember.Handlebars.helpers;var f="",l,c=n.helperMissing,h=this.escapeExpression,p=this;return l=n["if"].call(t,"view.events.isLoaded",{hash:{},inverse:p.program(5,a,i),fn:p.program(1,s,i),contexts:[t],data:i}),(l||l===0)&&i.buffer.push(l),i.buffer.push("\n\n\n"),f}),Ember.TEMPLATES["jobs/list"]=Ember.Handlebars.template(function(e,t,n,r,i){function s(e,t){var r="",i;return t.buffer.push("\n "),i=n["if"].call(e,"view.required",{hash:{},inverse:y.program(4,u,t),fn:y.program(2,o,t),contexts:[e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n
\n \n "),i=n.each.call(e,"key","in","view.build.configKeys",{hash:{},inverse:y.noop,fn:y.program(6,a,t),contexts:[e,e,e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n
\n \n
\n "),i=n.each.call(e,"job","in","view.jobs",{hash:{},inverse:y.noop,fn:y.program(8,f,t),contexts:[e,e,e],data:t}),(i||i===0)&&t.buffer.push(i),t.buffer.push("\n \n