Skip to content

Commit a0c16f2

Browse files
authored
Merge pull request #139 from html-next/ember
chore(bump deps) ember 2.16
2 parents 3d072ba + d372775 commit a0c16f2

File tree

8 files changed

+1127
-875
lines changed

8 files changed

+1127
-875
lines changed

.travis.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,18 @@ cache:
1515
yarn: true
1616

1717
env:
18-
# we recommend new addons test the current and previous LTS
19-
# as well as latest stable release (bonus points to beta/canary)
20-
- EMBER_TRY_SCENARIO=ember-lts-2.8
21-
- EMBER_TRY_SCENARIO=ember-lts-2.12
22-
- EMBER_TRY_SCENARIO=ember-release
23-
- EMBER_TRY_SCENARIO=ember-beta
24-
- EMBER_TRY_SCENARIO=ember-canary
25-
- EMBER_TRY_SCENARIO=ember-default
18+
global:
19+
# See https://git.io/vdao3 for details.
20+
- JOBS=1
21+
matrix:
22+
# we recommend new addons test the current and previous LTS
23+
# as well as latest stable release (bonus points to beta/canary)
24+
- EMBER_TRY_SCENARIO=ember-lts-2.8
25+
- EMBER_TRY_SCENARIO=ember-lts-2.12
26+
- EMBER_TRY_SCENARIO=ember-release
27+
- EMBER_TRY_SCENARIO=ember-beta
28+
- EMBER_TRY_SCENARIO=ember-canary
29+
- EMBER_TRY_SCENARIO=ember-default
2630

2731
matrix:
2832
fast_finish: true

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
},
4040
"dependencies": {
4141
"chalk": "^2.1.0",
42-
"ember-cli-babel": "^6.3.0",
4342
"semver": "^5.4.1"
4443
},
4544
"devDependencies": {
@@ -49,7 +48,8 @@
4948
"@html-next/flexi-layouts": "2.0.1",
5049
"@html-next/flexi-sustain": "2.0.0",
5150
"broccoli-asset-rev": "^2.4.5",
52-
"ember-cli": "~2.15.1",
51+
"ember-cli": "~2.16.2",
52+
"ember-cli-babel": "^6.8.2",
5353
"ember-cli-changelog": "0.3.4",
5454
"ember-cli-dependency-checker": "^2.0.0",
5555
"ember-cli-deploy": "^1.0.1",
@@ -63,13 +63,13 @@
6363
"ember-cli-sass": "^7.0.0",
6464
"ember-cli-shims": "^1.1.0",
6565
"ember-cli-sri": "^2.1.0",
66-
"ember-cli-uglify": "^1.2.0",
66+
"ember-cli-uglify": "^2.0.0",
6767
"ember-code-snippet": "^2.0.0",
6868
"ember-disable-prototype-extensions": "^1.1.2",
6969
"ember-export-application-global": "^2.0.0",
7070
"ember-load-initializers": "^1.0.0",
7171
"ember-resolver": "^4.0.0",
72-
"ember-source": "~2.15.0",
72+
"ember-source": "~2.16.2",
7373
"eslint-plugin-ember-suave": "^1.0.0",
7474
"liquid-fire": "^0.28.0",
7575
"loader.js": "^4.2.3",

testem.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ module.exports = {
99
'Chrome'
1010
],
1111
browser_args: {
12-
Chrome: [
13-
'--disable-gpu',
14-
'--headless',
15-
'--remote-debugging-port=9222',
16-
'--window-size=1440,900'
17-
]
12+
Chrome: {
13+
mode: 'ci',
14+
args: [
15+
'--disable-gpu',
16+
'--headless',
17+
'--remote-debugging-port=9222',
18+
'--window-size=1440,900'
19+
]
20+
}
1821
}
1922
};

tests/dummy/app/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Application from 'ember-application';
1+
import Application from '@ember/application';
22
import Resolver from './resolver';
33
import loadInitializers from 'ember-load-initializers';
44
import config from './config/environment';

tests/helpers/destroy-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import run from 'ember-runloop';
1+
import { run } from '@ember/runloop';
22

33
export default function destroyApp(application) {
44
run(application, 'destroy');

tests/helpers/module-for-acceptance.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import { module } from 'qunit';
2-
import Ember from 'ember';
2+
import { resolve } from 'rsvp';
33
import startApp from '../helpers/start-app';
44
import destroyApp from '../helpers/destroy-app';
55

6-
const { RSVP: { resolve } } = Ember;
7-
86
export default function(name, options = {}) {
97
module(name, {
108
beforeEach() {

tests/helpers/start-app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { assign } from 'ember-platform';
2-
import run from 'ember-runloop';
31
import Application from '../../app';
42
import config from '../../config/environment';
3+
import { merge } from '@ember/polyfills';
4+
import { run } from '@ember/runloop';
55

66
export default function startApp(attrs) {
7-
let attributes = assign({}, config.APP);
8-
attributes = assign(attributes, attrs); // use defaults, but you can override;
7+
let attributes = merge({}, config.APP);
8+
attributes = merge(attributes, attrs); // use defaults, but you can override;
99

10-
run(() => {
10+
return run(() => {
1111
let application = Application.create(attributes);
1212
application.setupForTesting();
1313
application.injectTestHelpers();

0 commit comments

Comments
 (0)