Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to ember-cli@2.12.3 #460

Merged
merged 17 commits into from
Aug 2, 2017
Merged

Update to ember-cli@2.12.3 #460

merged 17 commits into from
Aug 2, 2017

Conversation

quincyle
Copy link
Contributor

This project uses semver, please check the scope of this pr:

  • #none# - documentation fixes and/or test additions
  • #patch# - backwards-compatible bug fix
  • #minor# - adding functionality in a backwards-compatible manner
  • #major# - incompatible API change

CHANGELOG

  • Update to ember-cli@2.12.3

.travis.yml Outdated
@@ -15,11 +15,11 @@ addons:
firefox: 'latest-esr'
cache:
directories:
- node_modules
- node_module
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be node_modules

@EWhite613
Copy link
Contributor

Please refer to ciena-frost/ember-frost-core#480 (comment)

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 0c7dbec on quincyle:master into ** on ciena-frost:master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 07b1acd on quincyle:master into ** on ciena-frost:master**.

@EWhite613
Copy link
Contributor

EWhite613 commented Jul 31, 2017

Approved

Approved with PullApprove

describe('Unit: frost-bunsen-input-select', function () {
// Quincy Le 2017-07-30
// can't find injection service:ajax with ember-cli: 2.12.3
describe.skip('Unit: frost-bunsen-input-select', function () {
setupComponentTest('frost-bunsen-input-select', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to

setupComponentTest('frost-bunsen-input-select', {
    unit: true,
    needs: ['service:ajax']
  })

Then the service will be injected

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already tried it with no luck.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out ember treats 'service:ajax' and 'service: ajax' differently. 'service:ajax' is the correct syntax.

package.json Outdated
"ember-frost-date-picker": "^7.1.0",
"ember-frost-demo-components": "^3.0.1",
"ember-frost-demo-components": "git://github.com/helloWorldCindy/ember-frost-demo-components.git#upgrade",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be updated to now use the published version 3.1.2

bower: {
dependencies: {
'ember': '~2.3.0'
'ember': '~2.11.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be the setup for version 2.8

.travis.yml Outdated
env:
matrix:
- EMBER_TRY_SCENARIO=ember-2-8
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-2-11
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be running ember-2-8 instead.

Copy link
Contributor Author

@quincyle quincyle Jul 31, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we've discussed, in the previous version, Bunsen actually never gets run with ember: 2.8 (With ember-source not being set as null in config/ember-try, CI will always run against ember-source presented in package.json, which was ember: ~2.11.0). I tried to run it against ember: 2.8.0, but I'm seeing extra test failure. Since it never runs against 2.8, I won't bother to fix these tests at this moment.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 53ba181 on quincyle:master into ** on ciena-frost:master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling f7e1ab7 on quincyle:master into ** on ciena-frost:master**.

"ember-cli-chai": "^0.3.2",
"ember-cli-code-coverage": "0.3.11",
"ember-cli-dependency-checker": "^1.3.0",
"ember-cli-htmlbars-inline-precompile": "0.3.6",
"ember-cli-frost-blueprints": "^1.0.0",
"ember-cli-htmlbars-inline-precompile": "0.3.12",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-run the build that was successful before, with no code change, and got build error from latest ember-cli-htmlbars-inline-precompile that just released. Pin it to 0.3.12 until it gets fixed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is most likely related to what is reported here: ciena-frost/ember-frost-core#488

}
}
},
{
name: 'ember-2-8',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entry is not correct. Make sure this file is identical to all the other versions of this file used in related upgrades of other repos

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had to do run on ember-2-8 instead of ember-lts-2.8 on this repo because there was a difference between those two releases that was causing failures in the build.

},
resolutions: {
'ember': '~2.9.0'
'ember': 'lts-2-12'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be updated to:

{
      name: 'ember-lts-2.12',
      npm: {
        devDependencies: {
          'ember-source': '~2.12.0'
        }
      }
    },

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed that one. Thanks for the catch.

@notmessenger notmessenger dismissed their stale review August 2, 2017 17:19

Received clarification

@juwara0
Copy link
Contributor

juwara0 commented Aug 2, 2017

Approved

Approved with PullApprove

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7e56486 on quincyle:master into ** on ciena-frost:master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7e56486 on quincyle:master into ** on ciena-frost:master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7e56486 on quincyle:master into ** on ciena-frost:master**.

@quincyle quincyle merged commit 7eaedc6 into ciena-frost:master Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants