indexzero
7e4623ec46
[api test] Update nconf.Provider
to create a new instance of the store if the options are different
2011-06-25 00:34:07 -04:00
indexzero
d8b5a80280
[minor] Small style updates to the File store
2011-06-24 03:31:26 -04:00
Marak Squires
c43685160d
[refactor]: Cleaned up error handling on File.loadSync and File.load
...
[refactor]: Using path module to determine if file exists instead of throwing error
[api]: File.load and File.loadSync will now automatically create the requested JSON file path if no file is found.
2011-06-23 18:06:26 -07:00
Dominic Tarr
6c6887a850
move callback outside of try / catch
...
it's dangerous to callback inside try, because you may catch unexpected throws in callback.
2011-06-12 15:45:02 -07:00
indexzero
76db254740
[fix test] Update nconf.stores.File to respond with an error when loading malformed JSON async
2011-06-08 00:06:58 -04:00
indexzero
f611066b60
[dist] Update to pkginfo 0.2.0
2011-06-07 23:45:01 -04:00
indexzero
13f5753405
[minor] Update nconf.version
to use pkginfo
2011-06-05 01:39:39 -04:00
indexzero
c9e60d96b5
[doc] Update code docs
2011-06-05 01:35:54 -04:00
indexzero
4459ba54a1
[api] Added .merge()
to stores.Memory and stores.Redis
2011-06-05 01:29:14 -04:00
indexzero
c21ab02f44
Merge branch 'master' of https://github.com/samsonjs/nconf
2011-05-23 16:58:12 -04:00
Sami Samhuri
6acc1fc533
allow storing null in redis
2011-05-22 12:40:57 -07:00
Sami Samhuri
faa8ab9486
correctly retrieve falsy values from memory (hence file)
2011-05-22 12:40:57 -07:00
avian
e7c216e970
[minor] Clarified error message returned when a config file contains invalid JSON.
2011-05-20 01:16:22 -07:00
indexzero
87351caac8
[fix] Use the memory engine by default
2011-05-16 22:44:46 -04:00
indexzero
9da37dff2a
[dist api test] Refactor pluggable nconf-level logic into nconf.Provider. Update .gitignore for npm 1.0. Update pathing in source and tests to be more require.paths
future-proof
2011-05-14 01:47:26 -04:00
indexzero
4a61560671
[dist] Version bump. 0.1.7
2011-04-20 01:58:46 -04:00
indexzero
d65922dc7a
[api] Add .saveSync()
and .loadSync()
methods to File store
2011-04-20 01:57:56 -04:00
indexzero
b9951b44c1
[dist] Version bump. 0.1.6.
2011-04-19 17:34:42 -04:00
indexzero
067d58a99d
[minor test] Add tests for File store save()
. Improve default file format to pretty print the JSON output
2011-04-19 17:32:13 -04:00
indexzero
d99ab32cc5
[fix] Dont allow async.forEach
to be called on undefined or null arrays
2011-04-13 18:49:38 -04:00
indexzero
04a59e93d6
[fix] Supress errors from Redis
2011-04-05 03:53:17 -04:00
indexzero
4094125b30
[api] Add support for Redis auth and optional callbacks.
2011-04-05 00:09:46 -04:00
indexzero
b850ae2dd0
[fix] Update path to require statement in Redis store
2011-04-03 14:19:02 -04:00
indexzero
752bb980ac
[api] Improve the .use()
method. Use the memory engine by default
2011-04-02 19:17:04 -04:00
indexzero
ac888dc5a2
[dist] Version bump. 0.1.0
2011-04-02 05:13:34 -04:00
indexzero
79717ac3b1
[test] More tests for nconf
2011-04-02 04:41:50 -04:00
indexzero
09b8c75383
[api test doc] Internal fixes from testing. More tests and docs
2011-04-02 04:31:20 -04:00
indexzero
73bf78339f
[api doc test] Finalize API. Add more test coverage
2011-04-02 03:03:16 -04:00
indexzero
4c8e7a5b7f
[api] More work on Redis store
2011-03-31 04:11:11 -04:00
indexzero
67b5c8ab2a
[api test] First pass at implementation
2011-03-31 02:32:47 -04:00