From 88cef18ef3f0b7a502f1526a5cc1c4f0eeb0494b Mon Sep 17 00:00:00 2001 From: Chris Garrett Date: Fri, 5 Apr 2019 17:27:29 -0700 Subject: [PATCH] [BUGFIX] Adds the isDescriptor flag --- .travis.yml | 11 ++++++----- app/.gitkeep | 0 config/ember-try.js | 8 ++++++++ vendor/ember-decorators-polyfill/index.js | 2 ++ 4 files changed, 16 insertions(+), 5 deletions(-) delete mode 100644 app/.gitkeep diff --git a/.travis.yml b/.travis.yml index ef1bf7f..8d9130c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: node_js node_js: # we recommend testing addons with the same minimum supported node version as Ember CLI # so that your addon works for all apps - - "6" + - '6' sudo: false dist: trusty @@ -34,8 +34,8 @@ jobs: include: # runs linting and tests with current locked deps - - stage: "Tests" - name: "Tests" + - stage: 'Tests' + name: 'Tests' install: - yarn install --non-interactive script: @@ -43,15 +43,16 @@ jobs: - yarn lint:js - yarn test - - name: "Floating Dependencies" + - name: 'Floating Dependencies' script: - yarn test # we recommend new addons test the current and previous LTS # as well as latest stable release (bonus points to beta/canary) - - stage: "Additional Tests" + - stage: 'Additional Tests' env: EMBER_TRY_SCENARIO=ember-lts-2.18 - env: EMBER_TRY_SCENARIO=ember-lts-3.4 + - env: EMBER_TRY_SCENARIO=ember-lts-3.8 - env: EMBER_TRY_SCENARIO=ember-release - env: EMBER_TRY_SCENARIO=ember-beta - env: EMBER_TRY_SCENARIO=ember-canary diff --git a/app/.gitkeep b/app/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/config/ember-try.js b/config/ember-try.js index 534df49..c7efa3b 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -31,6 +31,14 @@ module.exports = function() { } } }, + { + name: 'ember-lts-3.8', + npm: { + devDependencies: { + 'ember-source': '~3.8.0' + } + } + }, { name: 'ember-release', npm: { diff --git a/vendor/ember-decorators-polyfill/index.js b/vendor/ember-decorators-polyfill/index.js index cc3d19e..e7d681e 100644 --- a/vendor/ember-decorators-polyfill/index.js +++ b/vendor/ember-decorators-polyfill/index.js @@ -203,6 +203,8 @@ import { } } + DecoratorDescriptor.prototype.isDescriptor = true; + function computedDecorator(fn, params) { let dec = function(prototype, key, desc) { assert(