Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #111: Fix caching issues while with tests #112

Closed

Conversation

santiagobasulto
Copy link

No description provided.

@oitozero and others added 20 commits December 23, 2014 16:17
Document gulp build
ladjs#100
Fix copy errors
Closes ladjs#90: add tests for API endpoints (already started, just needs finished)
Closes ladjs#98: Object #<IncomingMessage> has no method 'flash'
Upgrades igloo to 0.0.6
Updates version to 0.2.24
…n-watch

Adds nodemon to `gulp watch`, & API tests
Adding jade reload to gulp watch, 0.2.25
- environment-specific db names;
- random session secret and cookieParser (via chance.js);
- enabled autoprefixer for less middleware;
it's useful in case of using `gulp watch`, if you want to get working sourcemaps
current version of less-middleware has a few issues with sourcemaps
- add autoprefixer-core dependency for less-middleware
We usually use `nodemon app` for running application on dev server, so it causes liveReload connection error. That's why I moved it to local.js.
exports = module.exports = function(IoC) {
return {
getCachingHeadersFromSettings: function(settings){
var maxAge = parseInt(settings.staticServer.maxAge);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the parseInt()'s second argument. var maxAge = parseInt(settings.staticServer.maxAge, 10);

@BrunoBernardino
Copy link

Great PR! Thanks.

Apart from my comments, to improve the code to match the style guide:

  1. You're using double quotes (") when single ' can be used
  2. You're doing a lot of ){ when there should be a space, like ) { (in ifs, functions, etc.)

@coveralls
Copy link

Coverage Status

Coverage increased (+1.83%) to 56.0% when pulling 379e203 on santiagobasulto:fix-caching-bugs-with-tests into 255da93 on niftylettuce:master.

@santiagobasulto
Copy link
Author

This reminds me the days of Java with the different conventions about leaving the bracket up or down. People went crazy about that. So funny.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.83%) to 56.0% when pulling 118f273 on santiagobasulto:fix-caching-bugs-with-tests into 255da93 on niftylettuce:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants