Skip to content

Commit a330070

Browse files
committed
Merge branch 'master' into canary
2 parents a438c8f + 19e2133 commit a330070

File tree

6 files changed

+20
-6
lines changed

6 files changed

+20
-6
lines changed

Diff for: CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="v2.0.13"></a>
2+
### v2.0.13 (2014-08-29)
3+
4+
5+
#### Bug Fixes
6+
7+
* **gen:**
8+
* use bool for bootstrap filters ([a5decbc3](http://github.com/DaftMonk/generator-angular-fullstack/commit/a5decbc36e933f94c69d9e9bb58bd8e07148c34d), closes [#496](http://github.com/DaftMonk/generator-angular-fullstack/issues/496))
9+
* fix build when not selecting socket.io ([fdf063c6](http://github.com/DaftMonk/generator-angular-fullstack/commit/fdf063c6cc2ec4eeef252f13b2e0d301931fa83c))
10+
111
<a name="v2.0.12"></a>
212
### v2.0.12 (2014-08-25)
313

Diff for: Gruntfile.js

+2
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ module.exports = function (grunt) {
136136
markup: 'html',
137137
stylesheet: 'sass',
138138
router: 'uirouter',
139+
bootstrap: true,
140+
uibootstrap: true,
139141
mongoose: true,
140142
auth: true,
141143
oauth: ['googleAuth', 'twitterAuth'],

Diff for: app/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
114114
this.filters[answers.markup] = true;
115115
this.filters[answers.stylesheet] = true;
116116
this.filters[answers.router] = true;
117-
this.filters.bootstrap = answers.bootstrap;
118-
this.filters.uibootstrap = answers.uibootstrap;
117+
this.filters.bootstrap = !!answers.bootstrap;
118+
this.filters.uibootstrap = !!answers.uibootstrap;
119119
cb();
120120
}.bind(this));
121121
},

Diff for: app/templates/client/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
<script src="bower_components/es5-shim/es5-shim.js"></script>
4545
<script src="bower_components/json3/lib/json3.min.js"></script>
4646
<![endif]-->
47-
<!-- build:js({client<% if(filters.socketio) { %>,node_modules<% } %>}) app/vendor.js -->
47+
<!-- build:js({client,node_modules}) app/vendor.js -->
4848
<!-- bower:js -->
49-
<!-- endbower -->
50-
<% if(filters.socketio) { %><script src="socket.io-client/socket.io.js"></script><% } %>
49+
<!-- endbower --><% if(filters.socketio) { %>
50+
<script src="socket.io-client/socket.io.js"></script><% } %>
5151
<!-- endbuild -->
5252

5353
<!-- build:js({.tmp,client}) app/app.js -->

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generator-angular-fullstack",
3-
"version": "2.0.12",
3+
"version": "2.0.13",
44
"description": "Yeoman generator for creating MEAN stack applications, using MongoDB, Express, AngularJS, and Node",
55
"keywords": [
66
"yeoman-generator",

Diff for: test/test-file-creation.js

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ describe('angular-fullstack generator', function () {
1414
markup: 'html',
1515
stylesheet: 'sass',
1616
router: 'uirouter',
17+
bootstrap: true,
18+
uibootstrap: true,
1719
mongoose: true,
1820
auth: true,
1921
oauth: [],

0 commit comments

Comments
 (0)