Update Ember to latest master (RC5)

This commit is contained in:
Robin Ward 2013-06-06 17:50:49 -04:00
parent 7907f5066e
commit ad6705cca7
9 changed files with 7348 additions and 4737 deletions

View file

@ -4,8 +4,10 @@ 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', git: 'https://github.com/emberjs/ember-rails.git', ref: '57bbe32' gem 'ember-rails'
gem 'barber', '0.3.0' gem 'ember-source', '1.0.0.rc5' # or the version you need
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,17 +53,6 @@ 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
@ -142,8 +131,10 @@ GEM
activesupport activesupport
builder builder
arel (3.0.2) arel (3.0.2)
barber (0.3.0) barber (0.4.2)
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)
@ -174,6 +165,13 @@ 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)
@ -224,6 +222,7 @@ 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)
@ -480,7 +479,7 @@ DEPENDENCIES
activerecord-postgres-hstore activerecord-postgres-hstore
airbrake (= 3.1.2) airbrake (= 3.1.2)
annotate! annotate!
barber (= 0.3.0) barber
better_errors better_errors
binding_of_caller binding_of_caller
certified certified
@ -489,7 +488,8 @@ 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)
@ -502,6 +502,7 @@ 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
highline highline
hiredis hiredis

View file

@ -12,7 +12,7 @@
// Externals we need to load first // Externals we need to load first
//= require ./external/jquery-1.9.1.js //= require ./external/jquery-1.9.1.js
//= require ./external/jquery.ui.widget.js //= require ./external/jquery.ui.widget.js
//= require ./external/handlebars-1.0.rc.3.js //= require ./external/handlebars-1.0.rc.4.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

3989
app/assets/javascripts/external_development/ember.js Normal file → Executable file

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.3.js" config.ember.handlebars_location = "#{Rails.root}/app/assets/javascripts/external/handlebars-1.0.rc.4.js"
# Since we are using strong_parameters, we can disable and remove # Since we are using strong_parameters, we can disable and remove
# attr_accessible. # attr_accessible.

View file

@ -9,7 +9,7 @@
//= require ../../app/assets/javascripts/external/jquery-1.9.1.js //= require ../../app/assets/javascripts/external/jquery-1.9.1.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.3.js //= require ../../app/assets/javascripts/external/handlebars-1.0.rc.4.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