Skip to content

Commit

Permalink
Updated to Ember CLI 0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoco committed Jan 20, 2015
1 parent d0e2cf1 commit 867d8b2
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -25,4 +25,4 @@ env:
- EMBER_CLI_VERSION=0.0.46
- EMBER_CLI_VERSION=0.0.44
- EMBER_CLI_VERSION=0.0.42
- STANDIN_VAR=nothing
- STANDIN_VAR=nothing
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014
Copyright (c) 2015

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
10 changes: 5 additions & 5 deletions bower.json
Expand Up @@ -4,12 +4,12 @@
"handlebars": "~1.3.0",
"jquery": "^1.11.1",
"ember": "1.8.1",
"ember-data": "1.0.0-beta.11",
"ember-resolver": "~0.1.10",
"loader.js": "stefanpenner/loader.js#1.0.1",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
"ember-data": "1.0.0-beta.12",
"ember-resolver": "~0.1.11",
"loader.js": "ember-cli/loader.js#1.0.1",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4",
"ember-load-initializers": "stefanpenner/ember-load-initializers#0.0.2",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.0.2",
"ember-qunit": "0.1.8",
"ember-qunit-notifications": "0.0.4",
"qunit": "~1.15.0",
Expand Down
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -18,18 +18,18 @@
"author": "",
"license": "MIT",
"devDependencies": {
"broccoli-asset-rev": "^1.0.0",
"broccoli-asset-rev": "^2.0.0",
"broccoli-ember-hbs-template-compiler": "^1.6.1",
"connect-restreamer": "^1.0.1",
"ember-cli": "0.1.3",
"ember-cli": "0.1.7",
"ember-cli-bootstrap": "0.0.3",
"ember-cli-content-security-policy": "0.3.0",
"ember-cli-dependency-checker": "0.0.6",
"ember-cli-esnext": "0.1.1",
"ember-cli-dependency-checker": "0.0.7",
"ember-cli-6to5": "0.2.1",
"ember-cli-ic-ajax": "0.1.1",
"ember-cli-inject-live-reload": "^1.3.0",
"ember-cli-qunit": "0.1.2",
"ember-data": "1.0.0-beta.11",
"ember-data": "1.0.0-beta.12",
"ember-export-application-global": "^1.0.0",
"express": "^4.8.5",
"glob": "^4.0.5",
Expand Down
4 changes: 4 additions & 0 deletions tests/dummy/app/index.html
Expand Up @@ -11,11 +11,15 @@

<link rel="stylesheet" href="assets/vendor.css">
<link rel="stylesheet" href="assets/dummy.css">

{{content-for 'head-footer'}}
</head>
<body>
{{content-for 'body'}}

<script src="assets/vendor.js"></script>
<script src="assets/dummy.js"></script>

{{content-for 'body-footer'}}
</body>
</html>
4 changes: 2 additions & 2 deletions tests/dummy/config/environment.js
Expand Up @@ -21,10 +21,10 @@ module.exports = function(environment) {

if (environment === 'development') {
// ENV.APP.LOG_RESOLVER = true;
ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
ENV.APP.LOG_VIEW_LOOKUPS = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
}

if (environment === 'test') {
Expand Down
4 changes: 2 additions & 2 deletions tests/helpers/assertions.js
Expand Up @@ -10,7 +10,7 @@ var f = function() {
i += 1;
});
});

Ember.Test.registerAsyncHelper('hasButtons', function(app, ops, context) {
for (var name in ops) {
var present = ops[name];
Expand Down Expand Up @@ -42,4 +42,4 @@ var f = function() {

f();

export default f;
export default f;
10 changes: 5 additions & 5 deletions tests/helpers/start-app.js
Expand Up @@ -5,16 +5,16 @@ import config from '../../config/environment';
import PaginationAssertions from './assertions';

export default function startApp(attrs) {
var App;
var application;

var attributes = Ember.merge({}, config.APP);
attributes = Ember.merge(attributes, attrs); // use defaults, but you can override;

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

return App;
return application;
}
6 changes: 6 additions & 0 deletions tests/index.html
Expand Up @@ -29,6 +29,9 @@
zoom: 50%;
}
</style>

{{content-for 'head-footer'}}
{{content-for 'test-head-footer'}}
</head>
<body>

Expand All @@ -39,5 +42,8 @@
<script src="assets/dummy.js"></script>
<script src="testem.js"></script>
<script src="assets/test-loader.js"></script>

{{content-for 'body-footer'}}
{{content-for 'test-body-footer'}}
</body>
</html>

0 comments on commit 867d8b2

Please sign in to comment.