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
Charlie Robbins
d8627a9475
Merge pull request #6 from dominictarr/master
...
callback inside of try block can obscure errors
2011-06-12 16:38:17 -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
ae5aec6830
[dist] Version bump. 0.1.12
2011-06-08 00:07:12 -04: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
d7495f8373
[dist] Version bump. 0.1.11
2011-06-07 23:45:39 -04:00
indexzero
4c7aea99d3
[doc] Update docco docs
2011-06-07 23:45:23 -04:00
indexzero
f611066b60
[dist] Update to pkginfo 0.2.0
2011-06-07 23:45:01 -04:00
indexzero
be7688782a
[dist] Version bump. 0.1.10
2011-06-05 01:40:11 -04:00
indexzero
7ffbf0a4ab
[doc] Regenerate docco docs
2011-06-05 01:39:58 -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
a4f00be991
[dist] Update package.json and .gitignore
2011-05-24 23:45:57 -06:00
indexzero
c21ab02f44
Merge branch 'master' of https://github.com/samsonjs/nconf
2011-05-23 16:58:12 -04:00
indexzero
1b47f58343
Merge branch 'master' of https://github.com/AvianFlu/nconf
2011-05-23 16:54:54 -04:00
Sami Samhuri
8a79ef04fd
test retrieving non-existent keys and drilling into non-objects
2011-05-22 13:01:49 -07: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
bdf2fc8cd7
[fix] Fixed spelling error
2011-05-20 01:21:46 -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
e26bbe25f2
[doc] Updated code samples for GitHub flavored markdown with Javascript
2011-05-19 23:12:56 -04:00
indexzero
78202ecb6c
[dist] Version bump. 0.1.9
2011-05-16 22:44:53 -04:00
indexzero
87351caac8
[fix] Use the memory engine by default
2011-05-16 22:44:46 -04:00
indexzero
badbb59e3f
[dist] Version bump. 0.1.8
2011-05-16 14:08:30 -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
3b104f2026
[doc] Update docco docs
2011-04-20 01:58:12 -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
da8559427f
[doc] Update docco docs
2011-04-19 17:34:27 -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
96859f913c
[dist] Version bump. 0.1.5
2011-04-13 18:49:54 -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
7484fdb7a0
[dist] Version bump. 0.1.4
2011-04-05 03:53:50 -04:00
indexzero
04a59e93d6
[fix] Supress errors from Redis
2011-04-05 03:53:17 -04:00
indexzero
9bd6e266a7
[dist] Version bump. 0.1.3
2011-04-05 00:10:24 -04:00
indexzero
4094125b30
[api] Add support for Redis auth and optional callbacks.
2011-04-05 00:09:46 -04:00
indexzero
81e1883df5
[dist] Version bump. 0.1.2
2011-04-03 14:19:33 -04:00
indexzero
b850ae2dd0
[fix] Update path to require statement in Redis store
2011-04-03 14:19:02 -04:00
indexzero
6f16bc71d6
[dist] Version bump. 0.1.1
2011-04-02 19:17:26 -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
0fd847cc33
[doc] Updates to README.md
2011-04-02 04:59:18 -04:00
indexzero
7a339026d5
[doc] Add docco docs
2011-04-02 04:42:26 -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
772de110bb
[test] More tests for nested object literals
2011-03-31 04:12:43 -04:00
indexzero
4c8e7a5b7f
[api] More work on Redis store
2011-03-31 04:11:11 -04:00