-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ember and ember-cli. Before new version.
- Loading branch information
1 parent
105fbbc
commit 51e478b
Showing
24 changed files
with
191 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
bower_components/ | ||
tests/ | ||
tmp/ | ||
dist/ | ||
|
||
/bower_components | ||
/config/ember-try.js | ||
/dist | ||
/tests | ||
/tmp | ||
**/.gitkeep | ||
.bowerrc | ||
.editorconfig | ||
.ember-cli | ||
.gitignore | ||
.jshintrc | ||
.watchmanconfig | ||
.travis.yml | ||
.npmignore | ||
**/.gitkeep | ||
bower.json | ||
ember-cli-build.js | ||
Brocfile.js | ||
testem.json | ||
testem.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,38 @@ | ||
--- | ||
language: node_js | ||
node_js: | ||
- '0.12' | ||
- "0.12" | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- node_modules | ||
|
||
env: | ||
- EMBER_TRY_SCENARIO=default | ||
- EMBER_TRY_SCENARIO=ember-1-13 | ||
- EMBER_TRY_SCENARIO=ember-release | ||
- EMBER_TRY_SCENARIO=ember-beta | ||
- EMBER_TRY_SCENARIO=ember-canary | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- env: EMBER_TRY_SCENARIO=ember-canary | ||
|
||
before_install: | ||
- npm config set spin false | ||
- npm install -g npm@^2 | ||
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH | ||
- "npm config set spin false" | ||
- "npm install -g npm@^2" | ||
|
||
install: | ||
- npm install -g bower | ||
- npm install | ||
- bower install | ||
- npm install -g bower | ||
- npm install | ||
- bower install | ||
|
||
script: | ||
- npm test | ||
- ember try $EMBER_TRY_SCENARIO test | ||
|
||
notifications: | ||
email: false | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"ignore_dirs": ["tmp"] | ||
"ignore_dirs": ["tmp", "dist"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
{ | ||
"name": "ember-model-validator", | ||
"dependencies": { | ||
"ember": "1.13.7", | ||
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3", | ||
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3", | ||
"ember-data": "1.13.12", | ||
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5", | ||
"ember-mocha": "0.8.5", | ||
"ember-resolver": "~0.1.18", | ||
"jquery": "^1.11.1", | ||
"loader.js": "ember-cli/loader.js#3.2.0" | ||
"ember": "~2.4.1", | ||
"ember-cli-shims": "0.1.0", | ||
"ember-cli-test-loader": "0.2.2", | ||
"ember-mocha": "0.8.11" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,55 @@ | ||
/*jshint node:true*/ | ||
module.exports = { | ||
scenarios: [ | ||
{ | ||
name: 'default', | ||
dependencies: { } | ||
bower: { | ||
dependencies: { } | ||
} | ||
}, | ||
{ | ||
name: 'ember-1-13', | ||
bower: { | ||
dependencies: { | ||
'ember': '~1.13.0' | ||
}, | ||
resolutions: { | ||
'ember': '~1.13.0' | ||
} | ||
} | ||
}, | ||
// { | ||
// name: 'ember-1.10-with-ember-data-old', | ||
// dependencies: { | ||
// 'ember': '1.10.0', | ||
// 'ember-data': '1.0.0-beta.16' | ||
// } | ||
// }, | ||
{ | ||
name: 'ember-release', | ||
dependencies: { | ||
'ember': 'components/ember#release' | ||
}, | ||
resolutions: { | ||
'ember': 'release' | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#release' | ||
}, | ||
resolutions: { | ||
'ember': 'release' | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-beta', | ||
dependencies: { | ||
'ember': 'components/ember#beta' | ||
}, | ||
resolutions: { | ||
'ember': 'beta' | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#beta' | ||
}, | ||
resolutions: { | ||
'ember': 'beta' | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-canary', | ||
dependencies: { | ||
'ember': 'components/ember#canary' | ||
}, | ||
resolutions: { | ||
'ember': 'canary' | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#canary' | ||
}, | ||
resolutions: { | ||
'ember': 'canary' | ||
} | ||
} | ||
} | ||
] | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/*jshint node:true*/ | ||
'use strict'; | ||
|
||
module.exports = function(/* environment, appConfig */) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/*jshint node:true*/ | ||
module.exports = { | ||
"framework": "mocha", | ||
"test_page": "tests/index.html?hidepassed", | ||
"disable_watching": true, | ||
"launch_in_ci": [ | ||
"PhantomJS" | ||
], | ||
"launch_in_dev": [ | ||
"PhantomJS", | ||
"Chrome" | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ | |
"predef": [ | ||
"document", | ||
"window", | ||
"Ember", | ||
"mocha", | ||
"location", | ||
"setTimeout", | ||
"$", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Resolver from 'ember-resolver'; | ||
|
||
export default Resolver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import Ember from 'ember'; | ||
import config from './config/environment'; | ||
|
||
var Router = Ember.Router.extend({ | ||
const Router = Ember.Router.extend({ | ||
location: config.locationType | ||
}); | ||
|
||
export default Router.map(function() { | ||
Router.map(function() { | ||
}); | ||
|
||
export default Router; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<h2 id="title">Welcome to Ember.js</h2> | ||
<h2 id="title">Welcome to Ember</h2> | ||
|
||
{{outlet}} |
Oops, something went wrong.