@@ -2,8 +2,10 @@ import Ember from 'ember';
22import config from '../config/environment' ;
33import { task , timeout } from 'ember-concurrency' ;
44
5- const EMBER_VERSIONS = [ '2.11.0' , '2.10.2' , '2.9.1' , '2.8.2' , '2.7.3' , '2.6.2' , '2.5.1' , '2.4.5' , '2.3.2' , '2.2.2' , '2.1.2' , '2.0.3' , '1.13.13' , '1.12.2' ] ;
6- const EMBER_DATA_VERSIONS = [ '2.11.0' , '2.10.0' , '2.9.0' , '2.8.1' , '2.7.0' , '2.6.2' , '2.5.5' , '2.4.3' , '2.3.3' , '2.2.1' , '2.1.0' , '2.0.1' , '1.13.15' ] ;
5+ const { computed, inject, RSVP , testing } = Ember ;
6+
7+ const EMBER_VERSIONS = [ '2.11.2' , '2.10.2' , '2.9.1' , '2.8.2' , '2.7.3' , '2.6.2' , '2.5.1' , '2.4.5' , '2.3.2' , '2.2.2' , '2.1.2' , '2.0.3' , '1.13.13' , '1.12.2' ] ;
8+ const EMBER_DATA_VERSIONS = [ '2.11.3' , '2.10.0' , '2.9.0' , '2.8.1' , '2.7.0' , '2.6.2' , '2.5.5' , '2.4.3' , '2.3.3' , '2.2.1' , '2.1.0' , '2.0.1' , '1.13.15' ] ;
79
810const VERSION_REGEX = / ^ \d + .\d + .\d + ( - b e t a \. \d + ) ? $ / ;
911
@@ -40,8 +42,6 @@ const CHANNELS = ['alpha', 'canary', 'beta', 'release'];
4042
4143const POLL_INTERVAL = 10000 ;
4244
43- const { computed, inject, RSVP } = Ember ;
44-
4545export default Ember . Service . extend ( {
4646 notify : inject . service ( ) ,
4747
@@ -77,9 +77,11 @@ export default Ember.Service.extend({
7777 const name = addonNames [ j ] ;
7878 const addon = hash [ name ] ;
7979 if ( addon . status === 'build_success' ) {
80- dependencies [ name ] = addon . addon_js ;
80+ dependencies [ name + '_js' ] = addon . addon_js ;
8181 dependencies [ name + '_css' ] = addon . addon_css ;
82- console . log ( `Addon ${ name } is loaded...` ) ;
82+ if ( ! testing ) {
83+ console . log ( `Addon ${ name } is loaded...` ) ;
84+ }
8385 delete addons [ name ] ;
8486 } else if ( addon . status === 'building' ) {
8587 console . log ( `Addon ${ name } is still building...` ) ;
0 commit comments