Skip to content

Commit

Permalink
Ember 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Mar 20, 2017
1 parent 78c44a0 commit f680a8d
Show file tree
Hide file tree
Showing 10 changed files with 215 additions and 651 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
.editorconfig
.ember-cli
.gitignore
.jshintrc
.eslintrc.js
.watchmanconfig
.travis.yml
bower.json
Expand Down
2 changes: 1 addition & 1 deletion config/ember-try.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*jshint node:true*/
/* eslint-env node */
module.exports = {
scenarios: [
{
Expand Down
2 changes: 1 addition & 1 deletion config/environment.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*jshint node:true*/
/* eslint-env node */
'use strict';

module.exports = function(/* environment, appConfig */) {
Expand Down
7 changes: 3 additions & 4 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/*jshint node:true*/
/* global require, module */
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
/* eslint-env node */
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');

module.exports = function(defaults) {
var app = new EmberAddon(defaults, {
const app = new EmberAddon(defaults, {
shepherd: {
theme: 'arrows'
}
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable */
/* eslint-env node */
'use strict';

module.exports = {
Expand Down
17 changes: 7 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,19 @@
"broccoli-asset-rev": "^2.4.5",
"codeclimate-test-reporter": "0.4.1",
"ember-assign-polyfill": "2.0.1",
"ember-cli": "2.11.0",
"ember-cli-app-version": "^2.0.0",
"ember-cli": "2.12.0",
"ember-cli-code-coverage": "0.3.11",
"ember-cli-dependency-checker": "^1.3.0",
"ember-cli-eslint": "3.0.2",
"ember-cli-eslint": "^3.0.0",
"ember-cli-foundation-sass": "^2.0.0",
"ember-cli-github-pages": "0.1.2",
"ember-cli-htmlbars": "^1.1.1",
"ember-cli-htmlbars-inline-precompile": "^0.3.3",
"ember-cli-htmlbars-inline-precompile": "^0.3.6",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-qunit": "^3.0.1",
"ember-cli-release": "^0.2.9",
"ember-cli-qunit": "^3.1.0",
"ember-cli-sass": "^6.1.1",
"ember-cli-shims": "^1.0.2",
"ember-cli-sri": "^2.1.0",
"ember-cli-test-loader": "^1.1.0",
"ember-cli-uglify": "^1.2.0",
"ember-debonair": "0.3.0",
"ember-disable-prototype-extensions": "^1.1.0",
Expand All @@ -75,16 +72,16 @@
"ember-load-initializers": "^0.6.0",
"ember-prism": "0.0.8",
"ember-resolver": "^2.0.3",
"ember-source": "^2.11.0",
"ember-source": "~2.12.0",
"ember-tether": "0.4.1",
"eslint-plugin-ship-shape": "0.4.0",
"loader.js": "^4.0.10"
"loader.js": "^4.2.3"
},
"peerDependencies": {
"ember-tether": "0.x"
},
"engines": {
"node": ">= 0.12.0"
"node": ">= 4"
},
"ember-addon": {
"configPath": "tests/dummy/config",
Expand Down
3 changes: 1 addition & 2 deletions testem.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable */
/* eslint-env node */
module.exports = {
"framework": "qunit",
"test_page": "tests/index.html?hidepassed",
"disable_watching": true,
"launch_in_ci": [
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable */
/* eslint-env node */

module.exports = function(environment) {
var ENV = {
Expand Down
15 changes: 6 additions & 9 deletions tests/helpers/start-app.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
import Ember from 'ember';
import Application from '../../app';
import config from '../../config/environment';
const { assign, run } = Ember;
const { merge, run } = Ember;

export default function startApp(attrs) {
let application;
let attributes = merge({}, config.APP);
attributes = merge(attributes, attrs); // use defaults, but you can override;

// use defaults, but you can override
const attributes = assign({}, config.APP, attrs);

run(() => {
application = Application.create(attributes);
return run(() => {
const application = Application.create(attributes);
application.setupForTesting();
application.injectTestHelpers();
return application;
});

return application;
}
Loading

0 comments on commit f680a8d

Please sign in to comment.