Skip to content

Commit

Permalink
Merge branch 'failing-build-625'
Browse files Browse the repository at this point in the history
  • Loading branch information
eggers committed Jan 21, 2014
2 parents a6535ff + fa454bc commit f63d6af
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 22 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: node_js
node_js:
- '0.10'
- '0.8'
before_install:
- currentfolder=${PWD##*/}
- if [ "$currentfolder" != 'generator-angular' ]; then cd .. && eval "mv $currentfolder generator-angular" && cd generator-angular; fi
Expand Down
20 changes: 8 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,26 @@
"framework",
"component",
"front-end",
"app"
"app",
"angular"
],
"homepage": "https://github.com/yeoman/generator-angular",
"bugs": "https://github.com/yeoman/generator-angular/issues",
"author": "Chrome Developer Relations",
"main": "app/index.js",
"repository": {
"type": "git",
"url": "git://github.com/yeoman/generator-angular.git"
},
"repository": "yeoman/generator-angular",
"scripts": {
"test": "mocha"
},
"dependencies": {
"yeoman-generator": "~0.13.0",
"chalk": "~0.3.0",
"yeoman-generator": "~0.16.0",
"chalk": "~0.4.0",
"wiredep": "~0.4.2"
},
"peerDependencies": {
"generator-karma": "~0.6.0",
"generator-karma": ">=0.6.0",
"yo": ">=1.0.0"
},
"devDependencies": {
"mocha": "~1.14.0",
"mocha": "*",
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.7.2",
"grunt-conventional-changelog": "~1.0.0",
Expand All @@ -42,7 +38,7 @@
"grunt-release": "~0.6.0"
},
"engines": {
"node": ">=0.8.0",
"node": ">=0.10.0",
"npm": ">=1.2.10"
},
"licenses": [
Expand Down
2 changes: 1 addition & 1 deletion templates/coffeescript-min/decorator.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

angular.module("<%= scriptAppName").config ["$provide", ($provide) ->
angular.module("<%= scriptAppName %>").config ["$provide", ($provide) ->
$provide.decorator "<%= cameledName %>", ($delegate) ->
# decorate the $delegate
$delegate
Expand Down
2 changes: 1 addition & 1 deletion templates/coffeescript/decorator.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

angular.module("<%= scriptAppName").config ($provide) ->
angular.module("<%= scriptAppName %>").config ($provide) ->
$provide.decorator "<%= cameledName %>", ($delegate) ->
# decorate the $delegate
$delegate
4 changes: 2 additions & 2 deletions templates/common/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,9 @@ module.exports = function (grunt) {
]);
});

grunt.registerTask('server', function () {
grunt.registerTask('server', function (target) {
grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.');
grunt.task.run(['serve']);
grunt.task.run(['serve:' + target]);
});

grunt.registerTask('test', [
Expand Down
2 changes: 1 addition & 1 deletion templates/common/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"grunt-typescript": "~0.2.7"
},
"engines": {
"node": ">=0.8.0"
"node": ">=0.10.0"
}
}
8 changes: 4 additions & 4 deletions test/test-file-creation.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ describe('Angular generator', function () {
});
angular.run([], function (){
angularView.run([], function () {
helpers.assertFiles([
helpers.assertFile(
['app/views/foo.html']
]);
);
done();
});
});
Expand All @@ -261,9 +261,9 @@ describe('Angular generator', function () {
});
angular.run([], function (){
angularView.run([], function () {
helpers.assertFiles([
helpers.assertFile(
['app/views/foo/bar.html']
]);
);
done();
});
});
Expand Down

0 comments on commit f63d6af

Please sign in to comment.