Commit graph

333 commits

Author SHA1 Message Date
indexzero
ff0f174520 [dist] Version bump. 0.8.1 2015-10-02 01:01:20 -07:00
indexzero
11b2448471 [fix] Correct property path. Trim read secret keys from disk. 2015-10-02 01:00:55 -07:00
indexzero
438a2c8ef5 [doc] Remove node@0.8.0 from travis. Drop nodeci because it is 503 atm`. 2015-09-21 17:11:52 -07:00
indexzero
ebd8e48342 [dist] Version bump. 0.8.0 2015-09-20 01:39:50 -07:00
indexzero
be085c9ad5 [doc] Update CHANGELOG.md. 2015-09-20 01:39:41 -07:00
indexzero
0922563593 [doc fix] Remove unused and outdated literate coding documentation. 2015-09-20 01:37:09 -07:00
Charlie Robbins
e503718468 Merge pull request #186 from indexzero/fix-redis
Fix some minor consistency issues in Redis
2015-09-20 01:14:43 -07:00
Charlie Robbins
d4ebf49908 Merge pull request #185 from indexzero/crypto
[wip] Allow for "secure" option to be passed to `nconf.stores.File`
2015-09-20 01:13:26 -07:00
indexzero
4b5030dbc2 [fix] Only merge actual objects, not null values. Fixes #150. 2015-09-20 01:10:37 -07:00
Rob Rodriguez
a3589fab95 Fixing provider issue in source 2015-09-20 01:08:45 -07:00
Rob Rodriguez
51653e6486 Passing the value parameter to the providers
The nconf-redis provider needs the value for some reason, if its absent
this call will fail. It should be there anyway.
2015-09-20 01:07:21 -07:00
indexzero
2030144d88 [test dist] Add test/fixtures/secure.json. 2015-09-20 00:36:49 -07:00
indexzero
9dbed2d2cd [doc minor] Update docs for secure information. 2015-09-20 00:34:44 -07:00
indexzero
0358545ae5 [test api] Make the format capable of sub-objects. 2015-09-20 00:26:34 -07:00
indexzero
04c0f3a001 [api test] Encrypt individual keys instead of entire stringified contents. Added basic unit tests. 2015-09-19 00:12:50 -07:00
indexzero
d2b3561e09 [dist] Update .travis.yml. 2015-09-18 20:55:39 -07:00
indexzero
442d2b4233 [api] Allow for secure to be simply a secret string. 2015-09-18 20:52:16 -07:00
indexzero
2de2bc0b66 [api] Allow for "secure" option to be passed to nconf.stores.File to perform content encryption / decryption with crypto.createCipher. 2015-09-18 20:52:16 -07:00
Jarrett Cruger
4c07028e40 Merge pull request #173 from NickHeiner/patch-2
Quick grammar fix
2015-09-17 18:49:48 -07:00
Jarrett Cruger
75cea11f62 Merge pull request #163 from pgilad/patch-1
Add license attribute
2015-09-17 18:47:11 -07:00
Jarrett Cruger
394286cd16 Merge pull request #172 from Oza94/fix-child-process-tests
fix random fails on tests that use child process
2015-09-17 18:46:57 -07:00
Jarrett Cruger
54f2287dd8 Merge pull request #177 from olalonde/master
env({lowerCase:true}) option to make it possible to get() keys in lower case
2015-09-17 18:46:27 -07:00
Jarrett Cruger
38cade0fc2 Merge pull request #167 from josephpage/patch-1
Add tests for node 0.12 and io.js
2015-08-19 23:13:21 -04:00
Jarrett Cruger
32aabcab69 Merge pull request #171 from ChristianMurphy/update-async
Update Async.js
2015-08-19 12:31:23 -04:00
Jarrett Cruger
8332f5a343 Merge pull request #183 from ChristianMurphy/filter-undefined
filter out undefined values
2015-08-19 12:30:27 -04:00
Christian Murphy
5d95f13eb0 filter out undefined values 2015-08-19 09:16:16 -07:00
Joseph Page
7d6be3265b [travis] fix yaml syntax (supposed to solve nvm bugs #182) 2015-08-19 17:52:09 +02:00
Joseph Page
abeeca0d5f [travis] fix npm bugs for node 0.8 (recommended way) 2015-08-19 17:47:01 +02:00
Joseph Page
d252288dae Merge commit '80195744af4929731ff1c87e9b29e37a2c48e464' into patch-1 2015-08-19 17:45:38 +02:00
Christian Murphy
be0ee00b2a Merge branch 'master' of https://github.com/indexzero/nconf into update-async 2015-08-19 08:03:38 -07:00
Christian Murphy
59056fe364 Update Async and ini 2015-08-19 07:58:50 -07:00
Joseph Page
a2b812f704 Add travis tests for iojs 2015-08-13 20:45:57 +02:00
Joseph Page
32d560c95d Add tests for node 0.12 2015-08-13 20:45:57 +02:00
Christian Murphy
80195744af Merge branch 'master' of https://github.com/indexzero/nconf into update-travis 2015-08-04 11:51:26 -07:00
indexzero
c2b8b97778 [dist] Version bump. 0.7.2 2015-08-04 10:31:48 -07:00
Remy Sharp
3c11ef50e5 fix: env.match test
The previous test was expecting the .match value to be a function rather than a regexp which is what the README shows. So I've fixed the code to match against a real regexp, and test if the stringified version of the regexp function is [object RegExp].

I've also updated the tests to prime the process.env with values that are specifically tested for to ensure it's correctly loading the env values.

Fixex indexzero/nconf#178
2015-08-04 10:30:33 -07:00
Olivier Lalonde
8a21ef36d5 env({lowerCase:true}) option to make it possible to get() keys in lower case 2015-08-04 18:56:43 +08:00
indexzero
372521b124 [doc] Add the badges!. 2015-07-29 17:16:12 -07:00
Jarrett Cruger
8afdf63497 Merge pull request #168 from ChristianMurphy/replace-optimist-with-yargs
Replace optimist with yargs
2015-07-12 19:34:18 -04:00
Nick Heiner
89dff39d55 Quick grammar fix 2015-07-09 14:07:35 -04:00
Pierre Beaujeu
339e59afd5 fix random fails on tests that use child process
Listen to 'close' event rather than 'exit' event which can be fired before
stdio is closed.
2015-07-09 17:33:52 +02:00
Christian Murphy
a65e1a3317 update async 2015-07-07 16:01:08 -07:00
Christian Murphy
a82b53941d update badge and use container build 2015-07-07 13:36:21 -07:00
Christian Murphy
80ec01b91d replace optimist with yargs 2015-07-07 13:06:41 -07:00
Gilad Peleg
e5b33ceb05 Add license attribute
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-19 12:56:17 +03:00
Jarrett Cruger
d335b5a0f5 Merge pull request #141 from NickHeiner/patch-1
Grammar nit
2015-01-20 14:23:27 -05:00
Nick Heiner
6d86950914 Grammar nit 2015-01-20 13:41:46 -05:00
Jarrett Cruger
dc6aed2050 [dist] Version bump. 0.7.1 2014-11-26 12:52:01 -05:00
Jarrett Cruger
87a3b82418 [fix] we shouldnt be reversing here fixes #127 2014-11-26 12:51:33 -05:00
Jarrett Cruger
6271cdb35d Revert "fixing the tests"
This reverts commit f69e43a423.
2014-11-26 12:49:50 -05:00