Added specs for config APIs
Improved Ruby config API