Skip to content

Commit

Permalink
Merge pull request #41 from rynam0/ember-2.11.0
Browse files Browse the repository at this point in the history
Upgrade to Ember CLI v2.11.0
  • Loading branch information
rynam0 authored Feb 9, 2017
2 parents 5f30c42 + 130b282 commit 8eb9198
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
Expand Down
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ sudo: false

cache:
directories:
- node_modules
- $HOME/.npm
- $HOME/.cache # includes bowers cache


env:
# we recommend testing LTS's and latest stable release (bonus points to beta/canary)
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-1.13
- EMBER_TRY_SCENARIO=ember-lts-2.4
- EMBER_TRY_SCENARIO=ember-lts-2.8
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-default

matrix:
fast_finish: true
Expand All @@ -25,10 +28,9 @@ matrix:

before_install:
- npm config set spin false
- npm install -g bower
- npm install -g bower phantomjs-prebuilt
- bower --version
- npm install phantomjs-prebuilt
- node_modules/phantomjs-prebuilt/bin/phantomjs --version
- phantomjs --version

install:
- npm install
Expand All @@ -37,7 +39,7 @@ install:
script:
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup

after_script:
- sed -i -- 's/SF:ember-swagger-ui\/\(.*\)/SF:addon\/\1.js/' lcov.dat
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016
Copyright (c) 2017

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ actions: {
### Installation

* `git clone <repository-url>` this repository
* cd ember-swagger-ui
* `cd ember-swagger-ui`
* `npm install`
* `bower install`

Expand All @@ -130,4 +130,4 @@ actions: {

* `ember build`

For more information on using ember-cli, visit [http://ember-cli.com/](http://ember-cli.com/).
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
5 changes: 1 addition & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"name": "ember-swagger-ui",
"dependencies": {
"ember": "~2.9.0",
"ember-cli-shims": "0.1.3"
},
"dependencies": {},
"devDependencies": {
"swagger-ui": "~2.2.10",
"jquery-migrate": "1.2.1",
Expand Down
51 changes: 47 additions & 4 deletions config/ember-try.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/*jshint node:true*/
module.exports = {
scenarios: [
{
name: 'default',
bower: { }
},
{
name: 'ember-1.13',
bower: {
Expand All @@ -14,6 +10,27 @@ module.exports = {
resolutions: {
'ember': '~1.13.0'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
name: 'ember-lts-2.4',
bower: {
dependencies: {
'ember': 'components/ember#lts-2-4'
},
resolutions: {
'ember': 'lts-2-4'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
Expand All @@ -25,6 +42,11 @@ module.exports = {
resolutions: {
'ember': 'lts-2-8'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
Expand All @@ -36,6 +58,11 @@ module.exports = {
resolutions: {
'ember': 'release'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
Expand All @@ -47,6 +74,11 @@ module.exports = {
resolutions: {
'ember': 'beta'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
Expand All @@ -58,6 +90,17 @@ module.exports = {
resolutions: {
'ember': 'canary'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
name: 'ember-default',
npm: {
devDependencies: {}
}
}
]
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,24 @@
"broccoli-asset-rev": "^2.4.5",
"coveralls": "^2.11.12",
"ember-ajax": "2.4.1",
"ember-cli": "2.9.0",
"ember-cli": "2.11.0",
"ember-cli-app-version": "^2.0.0",
"ember-cli-blanket": "0.9.9",
"ember-cli-dependency-checker": "^1.3.0",
"ember-cli-htmlbars-inline-precompile": "^0.3.3",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-jshint": "^1.0.4",
"ember-cli-jshint": "^2.0.1",
"ember-cli-qunit": "^3.0.1",
"ember-cli-release": "^0.2.9",
"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-disable-prototype-extensions": "^1.1.0",
"ember-export-application-global": "^1.0.5",
"ember-load-initializers": "^0.5.1",
"ember-load-initializers": "^0.6.0",
"ember-resolver": "^2.0.3",
"ember-source": "^2.11.0",
"loader.js": "^4.0.10"
},
"keywords": [
Expand All @@ -63,7 +65,7 @@
],
"dependencies": {
"ember-cli-babel": "^5.1.7",
"ember-cli-htmlbars": "^1.0.10"
"ember-cli-htmlbars": "^1.1.1"
},
"ember-addon": {
"configPath": "tests/dummy/config",
Expand Down

0 comments on commit 8eb9198

Please sign in to comment.