From 8d3f38e206b5d44e0def517db6e5860f45c3480b Mon Sep 17 00:00:00 2001 From: Alec Fenichel Date: Mon, 9 Mar 2020 10:28:23 -0400 Subject: [PATCH 1/2] Drop support for Node v6 and v8 --- .travis.yml | 59 ----------------------------------------------- package-lock.json | 2 +- package.json | 4 ++-- 3 files changed, 3 insertions(+), 62 deletions(-) diff --git a/.travis.yml b/.travis.yml index aeafa1a..a3be325 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ 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" - - "8" - "10" sudo: false @@ -57,63 +55,6 @@ matrix: - env: EMBER_TRY_SCENARIO=ember-canary-ember-simple-auth-2.0 - env: EMBER_TRY_SCENARIO=ember-canary-ember-simple-auth-3.0 -jobs: - exclude: - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-2.16-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-2.16-ember-simple-auth-3.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-2.18-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-2.18-ember-simple-auth-3.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-3.4-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-3.4-ember-simple-auth-3.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-3.8-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-3.8-ember-simple-auth-3.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-3.12-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-3.12-ember-simple-auth-3.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-3.16-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-lts-3.16-ember-simple-auth-3.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-release-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-release-ember-simple-auth-3.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-beta-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-beta-ember-simple-auth-3.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-canary-ember-simple-auth-2.0 - - node_js: 6 - env: EMBER_TRY_SCENARIO=ember-canary-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-lts-2.16-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-lts-2.18-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-lts-3.4-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-lts-3.8-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-lts-3.12-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-lts-3.16-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-release-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-beta-ember-simple-auth-3.0 - - node_js: 8 - env: EMBER_TRY_SCENARIO=ember-canary-ember-simple-auth-3.0 - before_install: - if [[ $NODE_VERSION ]]; then nvm install ${NODE_VERSION} && nvm use ${NODE_VERSION}; fi - npm config set spin false diff --git a/package-lock.json b/package-lock.json index 35678d9..1a34894 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ember-simple-auth-token", - "version": "4.0.8", + "version": "5.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4de4eeb..507c36c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ember-simple-auth-token", - "version": "4.0.8", + "version": "5.0.0", "description": "An authenticator and authorizer for Ember Simple Auth that is compatible with token-based authentication like JWT in Ember CLI applications.", "directories": { "doc": "doc", @@ -76,7 +76,7 @@ "authorization" ], "engines": { - "node": ">= 6.*" + "node": ">= 10.*" }, "ember-addon": { "configPath": "tests/dummy/config", From 2ef30ead4bf67b6198277445b49cb1f268aba9ee Mon Sep 17 00:00:00 2001 From: Alec Fenichel Date: Mon, 9 Mar 2020 10:44:26 -0400 Subject: [PATCH 2/2] Fix Travis config warnings --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a3be325..ff892c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ node_js: # so that your addon works for all apps - "10" -sudo: false +os: linux dist: trusty addons: @@ -19,7 +19,7 @@ env: global: # See https://git.io/vdao3 for details. - JOBS=1 - matrix: + jobs: # we recommend new addons test the current and previous LTS # as well as latest stable release (bonus points to beta/canary) - EMBER_TRY_SCENARIO=ember-lts-2.16-ember-simple-auth-1.6 @@ -48,7 +48,7 @@ env: - EMBER_TRY_SCENARIO=ember-canary-ember-simple-auth-2.0 - EMBER_TRY_SCENARIO=ember-canary-ember-simple-auth-3.0 -matrix: +jobs: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary-ember-simple-auth-1.6