Temporarily roll back ember rc5. We identified some things we need to fix.

This commit is contained in:
Robin Ward 2013-06-06 01:24:52 -04:00
parent 255a614142
commit a3d62fdf69
9 changed files with 4691 additions and 7120 deletions

View File

@ -4,10 +4,8 @@ gem 'active_model_serializers', git: 'https://github.com/rails-api/active_model_
# we had issues with latest, stick to the rev till we figure this out # we had issues with latest, stick to the rev till we figure this out
# PR that makes it all hang together welcome # PR that makes it all hang together welcome
gem 'ember-rails' gem 'ember-rails', git: 'https://github.com/emberjs/ember-rails.git', ref: '57bbe32'
gem 'ember-source', '1.0.0.rc5' # or the version you need gem 'barber', '0.3.0'
gem 'handlebars-source', '1.0.0.rc4' # or the version you need
gem 'barber'
gem 'vestal_versions', git: 'https://github.com/zhangyuan/vestal_versions' gem 'vestal_versions', git: 'https://github.com/zhangyuan/vestal_versions'

View File

@ -53,6 +53,17 @@ GIT
multi_json multi_json
omniauth (~> 1.0) omniauth (~> 1.0)
GIT
remote: https://github.com/emberjs/ember-rails.git
revision: 57bbe3202725e55a8e4eaccba83d663b26bcf024
ref: 57bbe32
specs:
ember-rails (0.10.1)
active_model_serializers
barber
execjs (>= 1.2)
railties (>= 3.1)
GIT GIT
remote: https://github.com/rails-api/active_model_serializers.git remote: https://github.com/rails-api/active_model_serializers.git
revision: fe84e0ad5268f1439123fd9a1f9fd12e25a54cd3 revision: fe84e0ad5268f1439123fd9a1f9fd12e25a54cd3
@ -131,10 +142,8 @@ GEM
activesupport activesupport
builder builder
arel (3.0.2) arel (3.0.2)
barber (0.4.2) barber (0.3.0)
ember-source
execjs execjs
handlebars-source
better_errors (0.8.0) better_errors (0.8.0)
coderay (>= 1.0.0) coderay (>= 1.0.0)
erubis (>= 2.6.6) erubis (>= 2.6.6)
@ -165,13 +174,6 @@ GEM
diffy (2.1.4) diffy (2.1.4)
em-redis (0.3.0) em-redis (0.3.0)
eventmachine eventmachine
ember-rails (0.10.0)
active_model_serializers
barber
execjs (>= 1.2)
railties (>= 3.1)
ember-source (1.0.0.rc5)
handlebars-source (= 1.0.0.rc4)
erubis (2.7.0) erubis (2.7.0)
eventmachine (1.0.3) eventmachine (1.0.3)
excon (0.20.1) excon (0.20.1)
@ -222,7 +224,6 @@ GEM
spork (>= 0.8.4) spork (>= 0.8.4)
haml (4.0.2) haml (4.0.2)
tilt tilt
handlebars-source (1.0.0.rc4)
has_ip_address (0.0.1) has_ip_address (0.0.1)
hashie (2.0.4) hashie (2.0.4)
highline (1.6.18) highline (1.6.18)
@ -482,7 +483,7 @@ DEPENDENCIES
activerecord-postgres-hstore activerecord-postgres-hstore
airbrake (= 3.1.2) airbrake (= 3.1.2)
annotate! annotate!
barber barber (= 0.3.0)
better_errors better_errors
binding_of_caller binding_of_caller
certified certified
@ -491,8 +492,7 @@ DEPENDENCIES
discourse_emoji! discourse_emoji!
discourse_plugin! discourse_plugin!
em-redis em-redis
ember-rails ember-rails!
ember-source (= 1.0.0.rc5)
eventmachine eventmachine
fabrication fabrication
fakeweb (~> 1.3.0) fakeweb (~> 1.3.0)
@ -505,7 +505,6 @@ DEPENDENCIES
guard-jshint-on-rails guard-jshint-on-rails
guard-rspec guard-rspec
guard-spork guard-spork
handlebars-source (= 1.0.0.rc4)
has_ip_address has_ip_address
hiredis hiredis
image_optim image_optim

View File

@ -12,7 +12,7 @@
// Externals we need to load first // Externals we need to load first
//= require ./external/jquery-1.8.3.js //= require ./external/jquery-1.8.3.js
//= require ./external/jquery.ui.widget.js //= require ./external/jquery.ui.widget.js
//= require ./external/handlebars-1.0.rc.4.js //= require ./external/handlebars-1.0.rc.3.js
<% <%
if Rails.env.development? if Rails.env.development?
require_asset ("./external_development/ember.js") require_asset ("./external_development/ember.js")

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -112,7 +112,7 @@ module Discourse
# ember stuff only used for asset precompliation, production variant plays up # ember stuff only used for asset precompliation, production variant plays up
config.ember.variant = :development config.ember.variant = :development
config.ember.ember_location = "#{Rails.root}/app/assets/javascripts/external_production/ember.js" config.ember.ember_location = "#{Rails.root}/app/assets/javascripts/external_production/ember.js"
config.ember.handlebars_location = "#{Rails.root}/app/assets/javascripts/external/handlebars-1.0.rc.4.js" config.ember.handlebars_location = "#{Rails.root}/app/assets/javascripts/external/handlebars-1.0.rc.3.js"
# So open id logs somewhere sane # So open id logs somewhere sane
config.after_initialize do config.after_initialize do

View File

@ -9,7 +9,7 @@
//= require ../../app/assets/javascripts/external/jquery-1.8.3.js //= require ../../app/assets/javascripts/external/jquery-1.8.3.js
//= require ../../app/assets/javascripts/external/jquery.ui.widget.js //= require ../../app/assets/javascripts/external/jquery.ui.widget.js
//= require ../../app/assets/javascripts/external/handlebars-1.0.rc.4.js //= require ../../app/assets/javascripts/external/handlebars-1.0.rc.3.js
//= require ../../app/assets/javascripts/external_production/ember.js //= require ../../app/assets/javascripts/external_production/ember.js
//= require ../../app/assets/javascripts/external_production/sugar-1.3.5.js //= require ../../app/assets/javascripts/external_production/sugar-1.3.5.js
//= require ../../app/assets/javascripts/external_production/group-helper.js //= require ../../app/assets/javascripts/external_production/group-helper.js