Skip to content

Commit

Permalink
upgrade to ember-cli-0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Marcum committed Dec 2, 2014
1 parent 0d44a28 commit 62f294d
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 36 deletions.
32 changes: 32 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"predef": [
"document",
"window",
"-Promise"
],
"browser": true,
"boss": true,
"curly": true,
"debug": false,
"devel": true,
"eqeqeq": true,
"evil": true,
"forin": false,
"immed": false,
"laxbreak": false,
"newcap": true,
"noarg": true,
"noempty": false,
"nonew": false,
"nomen": false,
"onevar": false,
"plusplus": false,
"regexp": false,
"undef": true,
"sub": true,
"strict": false,
"white": false,
"eqnull": true,
"esnext": true,
"unused": true
}
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ cache:
directories:
- node_modules

before_install:
- "npm config set spin false"
- "npm install -g npm@^2"

install:
- npm install -g bower
- npm install
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"dependencies": {
"handlebars": "~1.3.0",
"jquery": "^1.11.1",
"ember": "1.7.0",
"ember-resolver": "~0.1.7",
"ember": "1.8.1",
"ember-resolver": "~0.1.10",
"loader.js": "stefanpenner/loader.js#1.0.1",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4",
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* jshint node: true */
'use strict';

module.exports = {
Expand Down
49 changes: 26 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "sl-ember-model",
"version": "0.1.0",
"description": "Ember CLI Addon - Data Model",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"start": "ember server",
"build": "ember build",
Expand All @@ -14,37 +16,38 @@
"engines": {
"node": ">= 0.10.0"
},
"keywords": [
"ember-addon",
"model",
"data"
],
"ember-addon": {
"configPath": "tests/dummy/config"
},
"authors": [
"Matthew Marcum <[email protected]>",
"Jeremy Brown <[email protected]>",
"Ryan Edgell <[email protected]>"
],
"license": "MIT",
"dependencies": {
"sl-ember-modelize": "~1.0.0"
},
"devDependencies": {
"body-parser": "^1.2.0",
"broccoli-asset-rev": "0.3.1",
"broccoli-asset-rev": "^1.0.0",
"broccoli-ember-hbs-template-compiler": "^1.6.1",
"broccoli-static-compiler": "^0.2.0",
"ember-cli": "0.1.2",
"ember-cli": "0.1.3",
"ember-cli-content-security-policy": "0.3.0",
"ember-cli-dependency-checker": "0.0.6",
"ember-cli-ic-ajax": "0.1.1",
"ember-cli-inject-live-reload": "^1.3.0",
"ember-cli-qunit": "0.1.2",
"ember-cli-pretender": "^0.3.1",
"ember-cli-qunit": "0.1.0",
"ember-export-application-global": "^1.0.0",
"express": "^4.8.5",
"glob": "^4.0.5",
"connect-restreamer": "~1.0.1"
"glob": "^4.0.5"
},
"ember-addon": {
"configPath": "tests/dummy/config"
},
"authors": [
"Matthew Marcum <[email protected]>",
"Jeremy Brown <[email protected]>",
"Ryan Edgell <[email protected]>"
],
"keywords": [
"ember-addon",
"model",
"data"
],
"ember-addon": {
"configPath": "tests/dummy/config"
}
}
}
2 changes: 1 addition & 1 deletion tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function(environment) {
if (environment === 'test') {
// Testem prefers this...
ENV.baseURL = '/';
ENV.locationType = 'auto';
ENV.locationType = 'none';

// keep test console output quieter
ENV.APP.LOG_ACTIVE_GENERATION = false;
Expand Down
3 changes: 1 addition & 2 deletions tests/dummy/public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# robotstxt.org/

# http://www.robotstxt.org
User-agent: *
6 changes: 0 additions & 6 deletions tests/helpers/start-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,11 @@ export default function startApp(attrs) {
var attributes = Ember.merge({}, config.APP);
attributes = Ember.merge(attributes, attrs); // use defaults, but you can override;

Router.reopen({
location: 'none'
});

Ember.run(function() {
App = Application.create(attributes);
App.setupForTesting();
App.injectTestHelpers();
});

App.reset(); // this shouldn't be needed, i want to be able to "start an app at a specific URL"

return App;
}
2 changes: 0 additions & 2 deletions tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
</style>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>

{{content-for 'body'}}
{{content-for 'test-body'}}
Expand Down

0 comments on commit 62f294d

Please sign in to comment.