Commit graph

294 commits

Author SHA1 Message Date
Jarrett Cruger
3d4682a62f Merge pull request #207 from moberemk/patch-1
Update README.md
2016-01-27 12:32:26 -05:00
Mark Oberemk
de551d42ec Update README.md
Add basic documentation explaining the `nconf.required` method
2016-01-27 12:29:26 -05:00
Charlie Robbins
4a59c9b577 Merge pull request #191 from wturyn/feature-mandatory-keys
Feature: mandatory keys - required() method
2016-01-27 09:20:20 -08:00
Charlie Robbins
e58d55429d Merge pull request #195 from AdrieanKhisbe/features/improved-ci
Improved CI
2015-12-22 14:21:07 -05:00
AdrieanKhisbe
c242f777a6 [travis test] setup coveralls config + update README badges 2015-12-03 08:18:44 +01:00
AdrieanKhisbe
c8dbede0ca [test] setup istanbul coverage 2015-12-03 08:03:12 +01:00
AdrieanKhisbe
bdecdc29cf [travis] add v5 to node version tested 2015-12-03 07:48:52 +01:00
Wojtek Turyn
5d6e236b73 fixed 2015-10-15 10:44:26 +02:00
Wojtek Turyn
37a84ae8df required() method 2015-10-15 10:16:33 +02:00
indexzero
ddee9bc8f5 [dist] Version bump. 0.8.2 2015-10-07 15:32:55 -04:00
indexzero
86bfd7c5bc [fix] Do not trim \n from files read in. 2015-10-07 15:31:53 -04:00
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