Upgrade Ember CLI Mirage to 0.4.1

This commit is contained in:
Michael Lange 2017-12-12 13:28:40 -08:00
parent 87670753e5
commit eb91e88038
3 changed files with 34 additions and 15 deletions

View File

@ -14,6 +14,7 @@ export default function() {
this.timing = 0; // delay for each request, automatically set to 0 during testing
this.namespace = 'v1';
this.trackRequests = Ember.testing;
this.get('/jobs', function({ jobs }, { queryParams }) {
const json = this.serialize(jobs.all());

View File

@ -42,7 +42,7 @@
"ember-cli-htmlbars": "^1.1.1",
"ember-cli-htmlbars-inline-precompile": "^0.4.0",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-mirage": "^0.3.3",
"ember-cli-mirage": "^0.4.1",
"ember-cli-moment-shim": "^3.3.3",
"ember-cli-qunit": "^4.0.0",
"ember-cli-sass": "^6.2.0",

View File

@ -2596,6 +2596,24 @@ ember-cli-babel@^6.0.0, ember-cli-babel@^6.0.0-beta.4, ember-cli-babel@^6.0.0-be
clone "^2.0.0"
ember-cli-version-checker "^2.0.0"
ember-cli-babel@^6.3.0:
version "6.10.0"
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-6.10.0.tgz#81424acd1d97fb13658168121eeb2007d6edee84"
dependencies:
amd-name-resolver "0.0.7"
babel-plugin-debug-macros "^0.1.11"
babel-plugin-ember-modules-api-polyfill "^2.0.1"
babel-plugin-transform-es2015-modules-amd "^6.24.0"
babel-polyfill "^6.16.0"
babel-preset-env "^1.5.1"
broccoli-babel-transpiler "^6.1.2"
broccoli-debug "^0.6.2"
broccoli-funnel "^1.0.0"
broccoli-source "^1.1.0"
clone "^2.0.0"
ember-cli-version-checker "^2.1.0"
semver "^5.4.1"
ember-cli-babel@^6.8.2:
version "6.9.0"
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-6.9.0.tgz#5147391389bdbb7091d15f81ae1dff1eb49d71aa"
@ -2726,23 +2744,23 @@ ember-cli-lodash-subset@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/ember-cli-lodash-subset/-/ember-cli-lodash-subset-2.0.1.tgz#20cb68a790fe0fde2488ddfd8efbb7df6fe766f2"
ember-cli-mirage@^0.3.3:
version "0.3.4"
resolved "https://registry.yarnpkg.com/ember-cli-mirage/-/ember-cli-mirage-0.3.4.tgz#eeb9d6e02c0c49c81915762178bab9a42d86ada8"
ember-cli-mirage@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/ember-cli-mirage/-/ember-cli-mirage-0.4.1.tgz#bfdfe61e5e74dc3881ed31f12112dae1a29f0d4c"
dependencies:
broccoli-funnel "^1.0.2"
broccoli-merge-trees "^1.1.0"
broccoli-stew "^1.5.0"
chalk "^1.1.1"
ember-cli-babel "^5.1.7"
ember-cli-babel "^6.8.2"
ember-cli-node-assets "^0.1.4"
ember-get-config "0.2.1"
ember-get-config "^0.2.2"
ember-inflector "^2.0.0"
ember-lodash "^4.17.3"
exists-sync "0.0.3"
fake-xml-http-request "^1.4.0"
faker "^3.0.0"
pretender "^1.4.2"
pretender "^1.6.1"
route-recognizer "^0.2.3"
ember-cli-moment-shim@^3.3.3:
@ -3104,12 +3122,12 @@ ember-freestyle@^0.4.1:
glob "^7.1.1"
highlight.js "^9.3.0"
ember-get-config@0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/ember-get-config/-/ember-get-config-0.2.1.tgz#a1325cceefcb4534c78fc6ccb2be87a3feda6817"
ember-get-config@^0.2.2:
version "0.2.4"
resolved "https://registry.yarnpkg.com/ember-get-config/-/ember-get-config-0.2.4.tgz#118492a2a03d73e46004ed777928942021fe1ecd"
dependencies:
broccoli-file-creator "^1.1.1"
ember-cli-babel "^5.1.6"
ember-cli-babel "^6.3.0"
ember-getowner-polyfill@^1.2.2:
version "1.2.5"
@ -6332,9 +6350,9 @@ preserve@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
pretender@^1.4.2:
version "1.5.1"
resolved "https://registry.yarnpkg.com/pretender/-/pretender-1.5.1.tgz#bd9098c03d39c3bc7dcb84a28ee27e096e2e32b8"
pretender@^1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/pretender/-/pretender-1.6.1.tgz#77d1e42ac8c6b298f5cd43534a87645df035db8c"
dependencies:
fake-xml-http-request "^1.6.0"
route-recognizer "^0.3.3"
@ -6933,7 +6951,7 @@ scss-tokenizer@^0.2.3:
js-base64 "^2.1.8"
source-map "^0.4.2"
"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.1.1, semver@^5.3.0:
"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.1.1, semver@^5.3.0, semver@^5.4.1:
version "5.4.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"