Skip to content

Commit

Permalink
Release 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 15, 2011
1 parent e2fa13f commit 876de13
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions History.md
@@ -1,4 +1,9 @@

0.0.3 / 2011-03-15
==================

* Fixed HTTPS support

0.0.2 / 2011-03-03
==================

Expand Down
12 changes: 6 additions & 6 deletions Readme.md
Expand Up @@ -13,14 +13,14 @@ npm:

Ever wanted to boot your Express app settings using Redis or a similar key/value store? well now it is easy, all we need to do is require('express-configure')` which monkey-patches express, and then invoke the optional callback `configure()`:

app.configure(function(done){
redis.hmget('settings', function(err, obj){
for (var key in obj) app.set(key, obj[key]);
done();
app.configure(function(done){
redis.hmget('settings', function(err, obj){
for (var key in obj) app.set(key, obj[key]);
done();
});
});
});

app.listen(3000);
app.listen(3000);

## Running Tests

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{ "name": "express-configure"
, "description": "Express async configuration support"
, "version": "0.0.2"
, "version": "0.0.3"
, "author": "TJ Holowaychuk <tj@vision-media.ca>"
, "keywords": ["express"]
, "main": "index"
Expand Down

0 comments on commit 876de13

Please sign in to comment.