Commit graph

118 commits

Author SHA1 Message Date
Maciej Małecki
e0e070ab28 [test] Test if File.saveSync() returns store content
Tests #27.
2011-12-25 15:38:39 +01:00
Maciej Małecki
963387cfd4 [api] File.saveSync() should return store content
Fixes #27.
2011-12-25 15:30:48 +01:00
Maciej Małecki
d5ce1ed68f [test] Test saveSync() method of file store 2011-12-25 15:26:04 +01:00
Pavan Kumar Sunkara
cf9889ea81 [dist] Upgrade vows to 0.6.x 2011-12-08 11:27:48 +05:30
indexzero
62cb7fb3d9 [dist] Version bump. 0.5.0 2011-11-24 00:33:22 -05:00
indexzero
6c720ee109 [dist] Update Copyright and Author to Nodejitsu Inc. 2011-11-24 00:33:08 -05:00
indexzero
4643a14a5c [doc] Updated README and added CHANGELOG.md 2011-11-24 00:30:34 -05:00
indexzero
90b029782e [test] Update tests to use optional options API 2011-11-24 00:30:31 -05:00
indexzero
53d854a789 [api] Default to options if options.store is not available in nconf.Literal 2011-11-24 00:30:27 -05:00
indexzero
b658f68a89 [test] Add additional test coverage for hierarchical configuration 2011-11-24 00:30:24 -05:00
indexzero
a9c354032b [fix test] Fix overwritten tests in file-store-test.js 2011-11-24 00:30:19 -05:00
indexzero
f4f1fdf464 [fix test] Update to respected .sources option correctly 2011-11-24 00:30:14 -05:00
indexzero
bbcb2712f1 [api fix] Dont eagerly create config files in .load() and .loadSync() 2011-11-24 00:30:11 -05:00
indexzero
021850a14d [test] Move around test .json files 2011-11-24 00:29:51 -05:00
indexzero
0fbc9a2722 [test] Added tests (which are now passing) for #15 2011-11-24 00:29:47 -05:00
indexzero
16a18bffe6 [refactor] Expose all store prototypes on nconf.*. Expose store instances on Provider.stores and Provider.sources 2011-11-24 00:29:43 -05:00
indexzero
c3cebe7cb4 [refactor] Rename .sources to ._stores and bring back ._sources 2011-11-24 00:29:39 -05:00
indexzero
78ce55602f [minor] Dont allow .set() calls to change values in readOnly stores: argv, env, and literal 2011-11-24 00:29:35 -05:00
indexzero
1aa2f1f315 [doc] Updated README.md 2011-11-24 00:29:31 -05:00
Sander Tolsma
47a56ccb5a [test] Test for hierarchical argv options get() 2011-11-24 00:29:27 -05:00
indexzero
c3c315d648 [refactor] Refactor to make using nconf more fluent. 2011-11-24 00:29:15 -05:00
Marak Squires
2c1ef7118c [dist] Bump to v0.4.6 2011-11-21 17:17:01 -08:00
Marak Squires
223ad35ae2 Merge pull request #19 from flatiron/fix-option-reparsing
[fix] Fix option parsing
2011-11-21 17:10:57 -08:00
Maciej Małecki
1b258bf5b3 [fix] Fix option parsing
See nodejitsu/forever#165.
2011-11-22 02:06:09 +01:00
Maciej Małecki
ef3222e7ab [dist] Make repository point to flatiron/nconf 2011-11-22 01:39:49 +01:00
indexzero
f4723e9654 [dist] Version bump. 0.4.5 2011-11-20 14:34:16 -05:00
Maciej Małecki
2475d06cb2 [test] Test command line arguments reparsing 2011-11-19 02:02:22 +01:00
Maciej Małecki
bbc5885fc1 [api] Reparse argv arguments on system.loadArgv()
It allows manipulating `process.argv` on the fly while still being able
to use nconf `System` store.
2011-11-19 01:58:08 +01:00
Maciej Małecki
51700cae88 [test minor] Use process.argv[0] when spawning processes
Previous implementation used `node`.
2011-11-19 01:29:01 +01:00
Maciej Małecki
07f8c3e558 [doc] Add Travis build status image 2011-11-18 22:29:32 +01:00
Maciej Małecki
bab96b045a [test] Add .travis.yml for testing on Travis CI 2011-11-18 22:29:05 +01:00
indexzero
b96151e617 [dist] Version bump. 0.4.4 2011-10-22 02:38:24 -04:00
Joshua Holbrook
d8a30203ce [fix] filename --> file in a few file transport examples 2011-10-22 02:38:05 -04:00
indexzero
2e33082f0b [api] Automatically search for a file if options.search is true in File store 2011-10-22 02:36:45 -04:00
indexzero
86e22cb927 [dist] Version bump. 0.4.3 2011-09-25 00:46:40 -04:00
indexzero
a2464d244b [api] Load sources into the default system store so they are permenantly cached 2011-09-25 00:46:28 -04:00
indexzero
e243b0befe [dist] Version bump. 0.4.2 2011-09-25 00:21:42 -04:00
indexzero
d0aee0d451 [api test] Added .sources option for nconf.Provider for readonly configuration data 2011-09-25 00:01:44 -04:00
indexzero
0234e17804 [fix] Update bad variable reference 2011-09-24 23:40:57 -04:00
indexzero
d334d07b6e [dist] Version bump. 0.4.1 2011-09-19 13:51:31 -07:00
indexzero
a490c7729b [fix] Match case in require statements 2011-09-19 13:51:17 -07:00
indexzero
0addce424d [dist] Version bump. 0.4.0 2011-09-18 21:41:00 -04:00
indexzero
c4c8d7b76f [doc] Updated docco docs 2011-09-18 21:39:13 -04:00
indexzero
f867e749b9 [dist] Remove unused test fixtures 2011-09-18 21:38:44 -04:00
indexzero
1ef5797e83 [api test] Finished API and tests for hierarchical configuration storage. 2011-09-18 21:37:01 -04:00
indexzero
7ef9b11d33 [doc] Minor update to library title 2011-09-18 21:35:55 -04:00
indexzero
a0638805ce [doc] Updated usage.js and README.md for the next hierarchical syntax. 2011-09-18 21:34:45 -04:00
indexzero
da2da7aea8 [api test breaking refactor] Significant refactor to how nconf works. Now a fully hierarchical configuration storage mechanism capable of multiple levels of stores of the same type. 2011-09-16 06:49:47 -04:00
indexzero
2bda7b6216 [api] Added nconf.stores.System 2011-09-13 07:38:41 -04:00
indexzero
54ea0950c2 [dist] Version bump. 0.3.1 2011-08-29 15:20:54 -04:00