diff --git a/.buildpacks b/.buildpacks new file mode 100644 index 00000000..26469b47 --- /dev/null +++ b/.buildpacks @@ -0,0 +1,2 @@ +https://github.com/heroku/heroku-buildpack-ruby.git +https://github.com/travis-ci/travis-web-buildpack.git diff --git a/.slugignore b/.slugignore index 5750deac..68a466a7 100644 --- a/.slugignore +++ b/.slugignore @@ -1,4 +1,3 @@ -assets spec tmp *.sql diff --git a/AssetFile b/Assetfile similarity index 94% rename from AssetFile rename to Assetfile index 9d6af5d4..3ae080a6 100644 --- a/AssetFile +++ b/Assetfile @@ -4,6 +4,9 @@ require 'rake-pipeline-web-filters' require 'travis/assets' require 'compass' +Encoding.default_external = Encoding::UTF_8 +Encoding.default_internal = Encoding::UTF_8 + assets ||= Travis::Assets.new assets.setup_compass assets.update_version diff --git a/Gemfile b/Gemfile index 59cb47ee..dfbf3ee1 100644 --- a/Gemfile +++ b/Gemfile @@ -7,17 +7,20 @@ gem 'rack-ssl', '~> 1.3' gem 'rack-cache' gem 'sinatra' -group :development, :test do - gem 'rake', '~> 0.9.2' -end - -group :development do +group :assets do gem 'rake-pipeline', github: 'livingsocial/rake-pipeline', ref: '3465e0e3e1' gem 'rake-pipeline-web-filters', github: 'wycats/rake-pipeline-web-filters' gem 'coffee-script' gem 'compass' gem 'tilt' gem 'uglifier' +end + +group :development, :test do + gem 'rake', '~> 0.9.2' +end + +group :development do gem 'debugger' gem 'foreman' gem 'rerun' diff --git a/assets/scripts/app/views/build.coffee b/assets/scripts/app/views/build.coffee index a1ea3014..688bd4de 100644 --- a/assets/scripts/app/views/build.coffee +++ b/assets/scripts/app/views/build.coffee @@ -55,8 +55,8 @@ currentItemBinding: 'build' loading: (-> - !@get('build.isComplete') - ).property('build.isComplete') + !@get('build.isLoaded') + ).property('build.isLoaded') color: (-> Travis.Helpers.colorForResult(@get('build.result')) diff --git a/public/scripts/app.js b/public/scripts/app.js index e52c3ffc..21c4d224 100644 --- a/public/scripts/app.js +++ b/public/scripts/app.js @@ -30753,4 +30753,4 @@ var _require=function(){function c(a,c){document.addEventListener?a.addEventList ++g&&setTimeout(c,0)})}}(); (function(){!window.WebSocket&&window.MozWebSocket&&(window.WebSocket=window.MozWebSocket);if(window.WebSocket)Pusher.Transport=window.WebSocket,Pusher.TransportType="native";var c=(document.location.protocol=="http:"?Pusher.cdn_http:Pusher.cdn_https)+Pusher.VERSION,a=[];window.JSON||a.push(c+"/json2"+Pusher.dependency_suffix+".js");if(!window.WebSocket)window.WEB_SOCKET_DISABLE_AUTO_INITIALIZATION=!0,a.push(c+"/flashfallback"+Pusher.dependency_suffix+".js");var b=function(){return window.WebSocket?function(){Pusher.ready()}: function(){window.WebSocket?(Pusher.Transport=window.WebSocket,Pusher.TransportType="flash",window.WEB_SOCKET_SWF_LOCATION=c+"/WebSocketMain.swf",WebSocket.__addTask(function(){Pusher.ready()}),WebSocket.__initialize()):(Pusher.Transport=null,Pusher.TransportType="none",Pusher.ready())}}(),e=function(a){var b=function(){document.body?a():setTimeout(b,0)};b()},g=function(){e(b)};a.length>0?_require(a,g):g()})(); -;minispade.register('app', "(function() {(function() {\nminispade.require('auth');\nminispade.require('controllers');\nminispade.require('helpers');\nminispade.require('models');\nminispade.require('pusher');\nminispade.require('routes');\nminispade.require('slider');\nminispade.require('store');\nminispade.require('tailing');\nminispade.require('templates');\nminispade.require('views');\nminispade.require('config/locales');\nminispade.require('data/sponsors');\n\n Travis.reopen({\n App: Em.Application.extend({\n autoinit: false,\n currentUserBinding: 'auth.user',\n authStateBinding: 'auth.state',\n init: function() {\n this._super.apply(this, arguments);\n this.store = Travis.Store.create();\n this.store.loadMany(Travis.Sponsor, Travis.SPONSORS);\n this.slider = new Travis.Slider();\n this.pusher = new Travis.Pusher(Travis.config.pusher_key);\n this.tailing = new Travis.Tailing();\n return this.set('auth', Travis.Auth.create({\n app: this,\n endpoint: Travis.config.api_endpoint\n }));\n },\n storeAfterSignInPath: function(path) {\n return this.get('auth').storeAfterSignInPath(path);\n },\n autoSignIn: function(path) {\n return this.get('auth').autoSignIn(path);\n },\n signIn: function() {\n return this.get('auth').signIn();\n },\n signOut: function() {\n this.get('auth').signOut();\n return this.get('router').send('afterSignOut');\n },\n receive: function() {\n return this.store.receive.apply(this.store, arguments);\n },\n toggleSidebar: function() {\n var element;\n $('body').toggleClass('maximized');\n element = $('');\n $('#top .profile').append(element);\n Em.run.later((function() {\n return element.remove();\n }), 10);\n element = $('');\n $('#repo').append(element);\n return Em.run.later((function() {\n return element.remove();\n }), 10);\n }\n })\n });\n\n}).call(this);\n\n})();\n//@ sourceURL=app");minispade.register('auth', "(function() {(function() {\n\n this.Travis.Auth = Ember.Object.extend({\n iframe: $('