All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
Moved
ConfigSL::VERSION
toconfigsl/version
for easier reference. -
Exposed the shared example for file formats. Include it in your specs with:
require 'configsl/file_format/shared_spec' RSpec.describe MyFileFormat do it_behaves_like 'a file format', 'spec-config.json', %i[json], { format: 'JSON', name: 'config.json', nested: { title: 'JSON file for testing' } } end
- Subclasses of
ConfigSL::Config
initialized with sting keys no longer raise an error.
Initial release.
- Simple DSL for defining configuration
- JSON and YAML file reading support
- Environment variable reading support
- Formatting and validation of values