Update ember-cli to 1.13.12 (ember.js 1.13.10, ember-data 1.13.15)
This commit is contained in:
parent
e84cf89cf7
commit
e7c4d18e9b
3
.watchmanconfig
Normal file
3
.watchmanconfig
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"ignore_dirs": ["tmp", "dist"]
|
||||
}
|
21
bower.json
21
bower.json
|
@ -1,23 +1,22 @@
|
|||
{
|
||||
"name": "travis",
|
||||
"dependencies": {
|
||||
"handlebars": "2.0.0",
|
||||
"ember": "1.13.10",
|
||||
"ember-cli-shims": "0.0.6",
|
||||
"ember-cli-test-loader": "0.2.1",
|
||||
"ember-data": "1.13.15",
|
||||
"ember-load-initializers": "0.1.7",
|
||||
"ember-qunit": "0.4.16",
|
||||
"ember-qunit-notifications": "0.1.0",
|
||||
"jquery": "^1.11.3",
|
||||
"ember": "1.13.8",
|
||||
"ember-data": "1.13.9",
|
||||
"ember-resolver": "~0.1.15",
|
||||
"loader.js": "ember-cli/loader.js#3.2.1",
|
||||
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
|
||||
"ember-cli-test-loader": "ember-cli/ember-cli-test-loader#0.1.0",
|
||||
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.4",
|
||||
"ember-qunit": "0.4.9",
|
||||
"ember-qunit-notifications": "0.0.5",
|
||||
"qunit": "~1.18.0",
|
||||
"qunit": "~1.20.0",
|
||||
"visibilityjs": "~1.2.1",
|
||||
"JavaScript-MD5": "~1.1.0",
|
||||
"moment": "~2.9.0",
|
||||
"jquery-timeago": "~1.4.1",
|
||||
"pusher": "~2.2.3",
|
||||
"pretender": "0.1.0"
|
||||
"pretender": "0.1.0",
|
||||
"ember-resolver": "~0.1.20"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/*jshint node:true*/
|
||||
/* global require, module */
|
||||
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
||||
|
||||
|
|
30
package.json
30
package.json
|
@ -19,29 +19,31 @@
|
|||
"author": "",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"broccoli-asset-rev": "^2.1.2",
|
||||
"broccoli-asset-rev": "^2.2.0",
|
||||
"broccoli-sass": "0.6.6",
|
||||
"ember-cli": "1.13.8",
|
||||
"ember-cli-app-version": "0.5.0",
|
||||
"ember-cli": "1.13.12",
|
||||
"ember-cli-app-version": "^1.0.0",
|
||||
"ember-cli-autoprefixer": "^0.3.0",
|
||||
"ember-cli-babel": "5.1.3",
|
||||
"ember-cli-babel": "5.1.5",
|
||||
"ember-cli-coffeescript": "0.10.0",
|
||||
"ember-cli-content-security-policy": "0.4.0",
|
||||
"ember-cli-dependency-checker": "1.0.1",
|
||||
"ember-cli-document-title": "0.1.0",
|
||||
"ember-cli-htmlbars": "0.7.9",
|
||||
"ember-cli-htmlbars-inline-precompile": "^0.2.0",
|
||||
"ember-cli-ic-ajax": "0.2.1",
|
||||
"ember-cli-dependency-checker": "^1.1.0",
|
||||
"ember-cli-document-title": "0.2.0",
|
||||
"ember-cli-htmlbars": "1.0.1",
|
||||
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
|
||||
"ember-cli-ic-ajax": "0.2.4",
|
||||
"ember-cli-inject-live-reload": "^1.3.1",
|
||||
"ember-cli-inline-images": "^0.0.4",
|
||||
"ember-cli-pretender": "0.3.1",
|
||||
"ember-cli-qunit": "1.0.0",
|
||||
"ember-cli-sri": "^1.0.3",
|
||||
"ember-cli-release": "0.2.3",
|
||||
"ember-cli-qunit": "^1.0.4",
|
||||
"ember-cli-sri": "^1.1.0",
|
||||
"ember-cli-release": "0.2.8",
|
||||
"ember-cli-sauce": "^1.1.0",
|
||||
"ember-cli-uglify": "1.2.0",
|
||||
"ember-data": "1.13.9",
|
||||
"ember-data": "1.13.15",
|
||||
"ember-export-application-global": "^1.0.2",
|
||||
"ember-try": "0.0.7"
|
||||
"ember-try": "0.0.7",
|
||||
"ember-disable-proxy-controllers": "^1.0.1",
|
||||
"ember-export-application-global": "^1.0.4"
|
||||
}
|
||||
}
|
||||
|
|
5
tests/helpers/destroy-app.js
Normal file
5
tests/helpers/destroy-app.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
import Ember from 'ember';
|
||||
|
||||
export default function destroyApp(application) {
|
||||
Ember.run(application, 'destroy');
|
||||
}
|
23
tests/helpers/module-for-acceptance.js
Normal file
23
tests/helpers/module-for-acceptance.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
import { module } from 'qunit';
|
||||
import startApp from '../helpers/start-app';
|
||||
import destroyApp from '../helpers/destroy-app';
|
||||
|
||||
export default function(name, options = {}) {
|
||||
module(name, {
|
||||
beforeEach() {
|
||||
this.application = startApp();
|
||||
|
||||
if (options.beforeEach) {
|
||||
options.beforeEach.apply(this, arguments);
|
||||
}
|
||||
},
|
||||
|
||||
afterEach() {
|
||||
destroyApp(this.application);
|
||||
|
||||
if (options.afterEach) {
|
||||
options.afterEach.apply(this, arguments);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
import Resolver from 'ember/resolver';
|
||||
import config from '../../config/environment';
|
||||
|
||||
var resolver = Resolver.create();
|
||||
const resolver = Resolver.create();
|
||||
|
||||
resolver.namespace = {
|
||||
modulePrefix: config.modulePrefix,
|
||||
|
|
|
@ -3,9 +3,9 @@ import Application from '../../app';
|
|||
import config from '../../config/environment';
|
||||
|
||||
export default function startApp(attrs) {
|
||||
var application;
|
||||
let application;
|
||||
|
||||
var attributes = Ember.merge({}, config.APP);
|
||||
let attributes = Ember.merge({}, config.APP);
|
||||
attributes = Ember.merge(attributes, attrs); // use defaults, but you can override;
|
||||
|
||||
Ember.run(function() {
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
<script src="assets/test-support.js"></script>
|
||||
<script src="assets/travis.js"></script>
|
||||
<script src="testem.js"></script>
|
||||
<script src="assets/tests.js"></script>
|
||||
<script src="assets/test-loader.js"></script>
|
||||
|
||||
{{content-for 'body-footer'}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user