Skip to content

Commit

Permalink
Release 0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebachelier committed Jul 15, 2016
1 parent 9fa2214 commit 9ed37e3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superapi-cache",
"version": "0.11.0",
"version": "0.11.1",
"homepage": "https://github.com/stephanebachelier/superapi-cache",
"authors": [
"Stéphane Bachelier <[email protected]>"
Expand Down
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ function cache() {
}

var expiration = config.maxAge === 0 ? 0 : Date.now() + config.maxAge;
var serviceExpiration = service.use !== undefined && service.use.cache !== undefined && service.use.cache.expiration !== undefined;
var hasServiceExpiration = service.use !== undefined && service.use.cache !== undefined && service.use.cache.expiration !== undefined;

if (serviceExpiration) {
expiration = Date.now() + serviceExpiration;
if (hasServiceExpiration) {
expiration = Date.now() + service.use.cache.expiration;
config.log('override expiration to use ' + expiration);
}

Expand Down
6 changes: 3 additions & 3 deletions dist/umd/superapi-cache.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/umd/superapi-cache.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/superapi-cache.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/umd/superapi-cache.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superapi-cache",
"version": "0.11.0",
"version": "0.11.1",
"description": "Caching module for superapi",
"homepage": "https://github.com/stephanebachelier/superapi-cache",
"author": {
Expand Down

0 comments on commit 9ed37e3

Please sign in to comment.