evoye
5e8a34d6cf
enable use with webpack by removing unnecessary fs call ( #252 )
2017-08-15 23:39:34 -04:00
Chris Manson
608b607782
Add test for merging with defaults ( #255 )
...
* implementing a test for merging with defaults
* bypassing strange common tests
* trying to fix travis build in node 7
* adding node 8 to tests
* removing node 8
2017-08-15 23:37:19 -04:00
Charlie Robbins
0c5774fec7
Merge pull request #211 from vanjan/fix-env-ignore-case
...
Copy `process.env` before lower-casing the keys
2016-08-25 12:48:47 -04:00
Charlie Robbins
011be49a5c
Merge pull request #222 from katacarbix/patch-1
...
Fixed some issues with code escaping in README.md
2016-06-15 05:52:32 -04:00
Charter Jacobson
d70b6a0335
Fixed some issues with code escaping
2016-05-14 14:55:23 -05:00
Jan Klosinski
392c6022c9
Copy process.env
before lower-casing the keys
...
`process.env` is read-only in GitBash (and potentially other consoles),
so the `lowerCase` flag had no effect.
2016-03-01 17:08:35 +00:00
Jarrett Cruger
3d4e589578
[dist] Version bump. 0.8.4
2016-02-03 00:39:12 -08:00
Charlie Robbins
b065c4ccd9
Merge pull request #209 from indexzero/better-DX
...
[fix] handle buffers
2016-02-02 21:46:14 -08:00
Jarrett Cruger
4431c33162
[fix] handle buffers so we dont get ambiguous errors when we dont strictly read the file as utf8
2016-02-02 16:38:48 -08:00
Jarrett Cruger
54cab2059a
[dist] Version bump. 0.8.3
2016-02-01 22:26:12 -08:00
Charlie Robbins
f554382435
Merge pull request #208 from indexzero/clean-secure
...
[fix] cleanup secure with new module
2016-02-02 01:24:49 -05:00
Jarrett Cruger
b447268097
[fix] cleanup secure with new module
2016-02-01 22:21:15 -08:00
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