1.2.0 • Published 8 years ago

esf-bsc v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

ESF-Basic

Road map

VersionFunctionalityAPI ChangeStatus
0.1.0loadConfig from defaults (req: esf-bsc-0.2)released
0.2.0Implement .esfrc (req: esf-bsc-0.1)released
1.0.0Implement API v.1.0 (req: esf-bsc-1.0)loadConfig, reloadConfigreleased
1.1.0Check schemaVersion validity with a test (req: esf-bsc-1.1)released
1.2.0API v.1.1: Optional inMemory config loading (req: esf-bsc-1.4)loadConfig, reloadConfigreleased
1.3.0Check schemaVersion validity (req: esf-bsc-1.2)_

Requirements

esf-bsc-1

TPReqIdRequirementVerification Methods
esf-bsc-0.1It look for .esfrc file, containing path to config fileat/ut: loadConfig()
esf-bsc-0.2Defaults for ".esfrc".cfgPath should be tst/d/esfapp.cfg.jsonat/ut: loadConfig()
esf-bsc-0.3It should be possible to reload config from any local pathat/ut:
esf-bsc-1.0It should load config according defaults, .esfrc and reload from custom path on demandat/ut: loadConfig()
esf-bsc-1.1Test should check if config schemaVersion attribute is a valid SemVer version
esf-bsc-1.2It should check if config schemaVersion attribute is a valid SemVer versioncr
esf-bsc-1.3It should use babel 6 and esf-utl 2.1
esf-bsc-1.4loadConfig and reloadConfig should accept an optional config object argument to load config from it instead of file, if setat/ut: loadConfig()

API v.1.1

Promise loadConfig([object cfgObject])                            // optional config object can be set instead of loading cfg from file
Promise reloadConfig([string pathToConfigFile|object cfgObject])  // also for reloading

API v.1.0

Promise loadConfig()
Promise reloadConfig(string pathToConfigFile)

© MIT bondden 2009-2015

1.2.0

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago